Field mapping
Mapping tells the adapter where each piece of content comes from. You do it in the Fields Mapping area of the pipe editor.
The two kinds of fields
- [oe] fields are the outputs of the engine, such as the feed item's
titleorlink. - Processor outputs are the fields a processor adds, such as
fulltextfrom Get Fulltext. They are grouped under the processor's name and its number in the list, so you can tell two processors of the same kind apart. - [ia] fields are the inputs of the adapter, such as the article's
title,introtextorimages.
Map an adapter field
- Click the field in Adapter Input [ia].
- In the window, choose the engine field or processor output that fills it, or Leave blank.
- Save the pipe.
Each adapter field takes one source. To join several fields into one, use the Combine processor first, or Static Value to add fixed text.
Choose a processor's input
When you add a processor, pick its Input Fields in the same way: an engine field, or the output of a processor above it. This is how processors are chained:
[oe] link → Get Fulltext → fulltext
fulltext → Get Images → html
html → Strip Tags → html
[ia] fulltext ← Strip Tags html
Tips
- Use Preview in Engine Output [oe] to see which fields actually have values before you map them.
- Map
original_urlfor Joomla articles to the item'slinkif you want a link to the source in the article. - Map
aliasonly if the source gives a clean one. Otherwise leave it empty and Joomla makes it from the title, or use the Alias processor. - When you change the engine, its fields change too. Check the mapping again after saving.
- Adapters with extra fields, such as Joomla custom fields or K2 extra fields, list them as more [ia] fields.