classafAtom::Feed
sys::Obj afAtom::Feed
Represents the top-level Atom Feed Document.
@see The atom:feed Element
Person[] authors := Person[,](Recommended) Authors of the feed. A feed must contain at least one author element unless all of the entry elements contain at least one author element.
<author> <name>John Doe</name> <email>JohnDoe@example.com</email> <uri>http://example.com/~johndoe</uri> </author>
- categories
Category[] categories := Category[,](Optional) Specifies a category that the feed belongs to.
<category term="sports"/>
- contributors
Person[] contributors := Person[,](Optional) Contributors to the feed.
<contributor> <name>Jane Doe</name> </contributor>
- entries
Entry[] entries := Entry[,](Recommended) Entries of the feed.
- generator
Generator? generator(Optional) Identifies the software used to generate the feed, for debugging and other purposes.
<generator uri="/myblog.php" version="1.0"> Example Toolkit </generator>
- icon
Uri? icon(Optional) Identifies a small image which provides iconic visual identification for the feed. Icons should be square.
<icon>/icon.jpg</icon>
- id
Uri id(Required) Identifies the feed using a universally unique and permanent URI. If you have a long-term, renewable lease on your Internet domain name, then you can feel free to use your website’s address.
<id>http://example.com/</id>
- links
Link[] links := Link[,](Recommended) Identifies a related Web page. The type of relation is defined by the
relattribute. A feed is limited to onealternatepertypeandhreflang. A feed should contain a link back to the feed itself.<link rel="self" href="http://example.com/feed" />
- logo
Uri? logo(Optional) Identifies a larger image which provides visual identification for the feed. Images should be twice as wide as they are tall.
<logo>/logo.jpg</logo>
- make
new make(Uri id, Text title, DateTime updated)Creates a
Feedwith the required fields.- rights
Text? rights(Optional) Conveys information about rights, e.g. copyrights, held in and over the feed.
<rights> © 2005 John Doe </rights>
- subtitle
Text? subtitle(Optional) Contains a human-readable description or subtitle for the feed.
<subtitle type="text">all your examples are belong to us</subtitle>
- title
Text title(Required) A human readable title for the feed. Often the same as the title of the associated website. This value should not be blank.
<title>Example, Inc.</title>
- toXml
XDoc toXml()Serialises the Atom feed to an XML document.
- updated
DateTime updated(Required) Indicates the last time the feed was modified in a significant way.
<updated>2003-12-13T18:30:02Z</updated>
- xmlBase
Uri? xmlBase(Optional) Used to control how relative URIs are resolved.
- xmlLang
Str? xmlLang(Optional) Used to identify the language of any human readable text.