classafAtom::Feed

sys::Obj
  afAtom::Feed

Represents the top-level Atom Feed Document.

@see The atom:feed Element

authors

Source

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

Source

Category[] categories := Category[,]

(Optional) Specifies a category that the feed belongs to.

<category term="sports"/>
contributors

Source

Person[] contributors := Person[,]

(Optional) Contributors to the feed.

<contributor>
  <name>Jane Doe</name>
</contributor>
entries

Source

Entry[] entries := Entry[,]

(Recommended) Entries of the feed.

generator

Source

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

Source

Uri? icon

(Optional) Identifies a small image which provides iconic visual identification for the feed. Icons should be square.

<icon>/icon.jpg</icon>
id

Source

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>

Source

Link[] links := Link[,]

(Recommended) Identifies a related Web page. The type of relation is defined by the rel attribute. A feed is limited to one alternate per type and hreflang. A feed should contain a link back to the feed itself.

<link rel="self" href="http://example.com/feed" />

Source

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

Source

new make(Uri id, Text title, DateTime updated)

Creates a Feed with the required fields.

rights

Source

Text? rights

(Optional) Conveys information about rights, e.g. copyrights, held in and over the feed.

<rights> © 2005 John Doe </rights>
subtitle

Source

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

Source

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

Source

XDoc toXml()

Serialises the Atom feed to an XML document.

updated

Source

DateTime updated

(Required) Indicates the last time the feed was modified in a significant way.

<updated>2003-12-13T18:30:02Z</updated>
xmlBase

Source

Uri? xmlBase

(Optional) Used to control how relative URIs are resolved.

xmlLang

Source

Str? xmlLang

(Optional) Used to identify the language of any human readable text.