Introduction to Atom
5 hours ago
- #XML Feed
- #Web Publishing
- #Atom Syndication
- Atom is an XML-based syndication format and protocol for publishing and editing web resources.
- Atom feeds must be XML documents with the application/atom+xml media type and use the http://www.w3.org/2005/Atom namespace.
- Timestamps in Atom must follow RFC 3339, and human-readable text can use xml:lang and xml:base for language and URI resolution.
- Required feed elements include id (unique URI), title (human-readable), and updated (last modification time).
- Recommended feed elements include author (feed author) and link (related web page), with optional elements like category, contributor, generator, icon, logo, rights, and subtitle.
- Required entry elements are id (unique URI), title, and updated; recommended elements include author, content, link, and summary.
- Common constructs in Atom include category (with term, scheme, label), content (with type or src), link (with href, rel, type, etc.), person (author/contributor with name, uri, email), and text (title, summary, etc., with type attributes for encoding).
- Atom can be extended to include other XML vocabularies, such as RSS modules, and allows fully qualified URIs for link rel attributes.