Home » Docs » Constants

Constants

The following table lists the constants used by Php FeedWriter, including a brief description of the purpose of each.

Constant Value Description
Recommended Output Formats:
RSS_2_0 RSS 2.0 RSS 2.0 Feed Format
RSS_1_0 RSS 1.0 RSS 1.0 Feed Format
Atom_1 Atom 1.0 Atom 1.0 Feed Format
Other Supported Output Formats:
RSS_0_91 RSS 0.91 RSS 0.91 Feed Format
RSS_0_92 RSS 0.92 RSS 0.92 Feed Format
Feed Generator:
GENERATOR Free Php FeedWriter v3.0 ( http://phpFeedWriter.WebmasterHub.net/ ) The value included as the generator of the feed if applicable.
Date Types:
DATE_UPDATED 1 Used to indicate that a date being included in the feed is the data the the feed / item was last updated.
DATE_PUBLISHED 2 Used to indicate that a date being included in the feed is the data the the feed / item was first published.
Core Feed Construct Identifiers:
ITEM_CONSTRUCT item Used as the commonName of feed constructs for the primary components of a feed output format.  Identifies a construct as the root item construct (items container) or first item in some cases.
ROOT_CONSTRUCT feed Used as the commonName of feed constructs for the primary components of a feed output format.  Identifies a construct as the root construct, which is the outer most element of the feed XML document.
CHANNEL_DATA_CONSTRUCT feedChannel Used as the commonName of feed constructs for the primary components of a feed output format. Identifies a construct as the root channel construct, which contains child constructs for channel / feed data elements.

 

For additional information about commonName values used by Php FeedWriter including a complete list, see the commonName values and Predefined Feed Constructs pages.

  • Php FeedWriter (c) Copyright 2011 Daniel Soutter. Php FeedWriter and the information on this site has been designed to benefit website developers, owners and users, but may contain errors and is provided as is, with no warranty. Terms.