Home » Docs » FeedConstruct » Output Data Types

Output Data Types

Feed Construct Output data types

The following table contains details of each of the data types that are outputted in a feed by Php FeedWriter.  These types are set in the construct corresponding to each element in each feed format and are used to control the output.

Data Type Details Example Output
xml contains xml markup – sub-elements <link rel=”alternate” …>
uri web address, including port and protocol (http://www.w3.org/TR/uri-clarification/ ) http://phpfeedwriter.webmasterhub.net/
int Integer value, whole number 5
date_iso ISO-8601 (Atom) 2011-05-01T00:00:01Z
date_rfc RFC-822 (RSS) Sun, 01 May 2011 00:00:01 GMT
string String of characters or text, CDATA applied if enabled.  Character limits enforced if applicable. text text
text No CDATA. Character limits enforced if applicable. text text
file file associated with a feed item.  Common attributes: url, length(size), type jpeg image, mgeg video file.
html HTML markup <p>text text</p>
id unique identifier usually a URI

Comments (0)

No comments yet

Leave a Reply

You must be logged in to post a comment.
  • 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.