Feed item field ID's (indexed)
[Feed and feed item field ID's]


Defines

#define AFPFID_ITEM_CONTENT   2100
 Used to retrieve a content node for a feed item.
#define AFPFID_ITEM_CONTENTMEDIATYPE   2101
 Used to retrieve the media type of a feed item's content node.
#define AFPFID_ITEM_CONTENTLANGUAGE   2102
 Used to retrieve the language used by a feed item's content node.
#define AFPFID_ITEM_SUMMARY   2110
 Used to retrieve a summary node for a feed item.
#define AFPFID_ITEM_SUMMARYMEDIATYPE   2111
 Used to retrieve the media type of a feed item's summary node.
#define AFPFID_ITEM_SUMMARYLANGUAGE   2112
 Used to retrieve the language used by a feed item's summary node.
#define AFPFID_ITEM_LINKURL   2120
 Used to retrieve the URL of a feed item link.
#define AFPFID_ITEM_LINKTITLE   2121
 Used to retrieve the title of a feed item link.
#define AFPFID_ITEM_LINKRELTYPE   2122
 Used to retrieve the reltype of a feed item link.
#define AFPFID_ITEM_LINKMEDIATYPE   2123
 Used to retrieve the media type of a feed item link.
#define AFPFID_ITEM_LINKSIZE   2124
 Used to retrieve the size of a feed item link.
#define AFPFID_ITEM_CONTRIBUTORNAME   2130
 Used to retrieve the name of a feed item contributor.
#define AFPFID_ITEM_CONTRIBUTORURL   2131
 Used to retrieve the home URL of a feed item contributor.
#define AFPFID_ITEM_CONTRIBUTOREMAIL   2132
 Used to retrieve the email address of a feed item contributor.

Define Documentation

#define AFPFID_ITEM_CONTENT   2100
 

Used to retrieve a content node for a feed item.

Feed items can have zero or more content nodes associated with them that usually represent the content of the item in different formats. Each content node can be retrieved by repeatedly calling AFP_GetIndexedFeedItemField() until AFPRC_BADINDEX is returned. The content node's media type should also be checked to determine the format of the content.

For RSS feeds:
Feed items will have one content node created for each of <dc:description>, <description>, <xhtml:body> and <content:encoded> element found in the feed.
For Atom feeds:
Feed items will have one content node created for each <content> element found in the feed.
Note:
This field will have relative links translated.
See also:
AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_CONTENTMEDIATYPE   2101
 

Used to retrieve the media type of a feed item's content node.

See also:
AFPFID_ITEM_CONTENT, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_CONTENTLANGUAGE   2102
 

Used to retrieve the language used by a feed item's content node.

See also:
AFPFID_ITEM_CONTENT, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_SUMMARY   2110
 

Used to retrieve a summary node for a feed item.

Feed items can have zero or more summary nodes associated with them that usually represent a summary of the content of the item in different formats. Each summary node can be retrieved by repeatedly calling AFP_GetIndexedFeedItemField() until AFPRC_BADINDEX is returned. The summary node's media type should also be checked to determine the format of the summary.

For RSS feeds:
Not used.
For Atom feeds:
Feed items will have one summary node created for each <summary> element found in the feed.
Note:
This field will have relative links translated.
See also:
AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_SUMMARYMEDIATYPE   2111
 

Used to retrieve the media type of a feed item's summary node.

See also:
AFPFID_ITEM_SUMMARY, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_SUMMARYLANGUAGE   2112
 

Used to retrieve the language used by a feed item's summary node.

See also:
AFPFID_ITEM_SUMMARY, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_LINKURL   2120
 

Used to retrieve the URL of a feed item link.

Feed items can have one or more links associated with them. URL's can be retrieved by repeatedly calling AFP_GetIndexedFeedItemField() until AFPRC_BADINDEX is returned. The feed item link's reltype should also be checked to determine what type of link is being returned.

For RSS feeds:
The following elements are included in a feed item's links:
  • the feed item's <link> element (if present).
  • the feed item's permalink (if present). This will have a special reltype that can be found by getting the AFPOPT_PERMALINK_PSEUDORELTYPE config option.
  • any enclosures. These will have a special reltype that can be found be getting the AFPOPT_ENCLOSURE_PSEUDORELTYPE config option.
For Atom feeds:
Any <link> elements found in the feed item will be included.
See also:
AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_LINKTITLE   2121
 

Used to retrieve the title of a feed item link.

See also:
AFPFID_ITEM_LINKURL, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_LINKRELTYPE   2122
 

Used to retrieve the reltype of a feed item link.

See also:
AFPFID_ITEM_LINKURL, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_LINKMEDIATYPE   2123
 

Used to retrieve the media type of a feed item link.

See also:
AFPFID_ITEM_LINKURL, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_LINKSIZE   2124
 

Used to retrieve the size of a feed item link.

See also:
AFPFID_ITEM_LINKURL, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_CONTRIBUTORNAME   2130
 

Used to retrieve the name of a feed item contributor.

Feed items can have zero or more contributors. Each contributor can be retrieved by repeatedly calling AFP_GetIndexedFeedItemField() until AFPRC_BADINDEX is returned.

For RSS feeds:
Not used.
For Atom feeds:
One contributor is returned for each <contributor> element found in the feed item.
See also:
AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_CONTRIBUTORURL   2131
 

Used to retrieve the home URL of a feed item contributor.

See also:
AFPFID_ITEM_CONTRIBUTORNAME, AFP_GetIndexedFeedItemField()

#define AFPFID_ITEM_CONTRIBUTOREMAIL   2132
 

Used to retrieve the email address of a feed item contributor.

See also:
AFPFID_ITEM_CONTRIBUTORNAME, AFP_GetIndexedFeedItemField()