Syndicate::Atom

NAME

Syndicate::Atom - Atom 1.0 feed

SYNOPSIS

my $feed = Syndicate::Atom.new($xml-string);
my $feed = Syndicate::Atom.new(:title("My Feed"), :id("urn:uuid:..."), ...);
say ~$feed;

DESCRIPTION

Parses and generates Atom 1.0 feeds. Does Syndicate::Feed.

ATTRIBUTES

  • $.title, $.link, $.description - from Feed role (description → subtitle)

  • $.generator, $.language - from Feed role

  • $.id - Atom feed ID

  • $.subtitle - Feed subtitle

  • %.author-detail - Author hash (name, email, uri)

  • @.categories - Category terms

  • $.updated - Last updated timestamp

  • $.rights - Rights/license text

  • $.icon - Feed icon URL

  • $.logo - Feed logo URL

  • @.contributors - Array of contributor hashes

  • @.link-self - Self link hashes (href, type)

  • @.link-alternate - Alternate link hashes (href, type)

updated DIVERGENCE

Atom requires an updated timestamp, so XML()/Str() die when neither the feed nor any entry carries one. to-hash() is intentionally lenient for inspection: it simply omits the updated key in that case rather than throwing, mirroring the computed value (newest entry timestamp) when one exists.

Syndicate v0.0.7

Syndication feed parser and generator

Authors

  • Sasha Abbott

License

CC0-1.0

Dependencies

XMLJSON::Fast:auth<zef:timo>DateTime::GrammarDateTime::FormatHTTP::Tiny:auth<zef:jjatria>IO::Socket::SSLURI

Test Dependencies

Provides

  • Syndicate
  • Syndicate::Atom
  • Syndicate::Atom::Item
  • Syndicate::Builder::Entry
  • Syndicate::Builder::Feed
  • Syndicate::Discovery
  • Syndicate::Extension::DublinCore
  • Syndicate::Extension::ITunes
  • Syndicate::Extension::MediaRSS
  • Syndicate::Extensions
  • Syndicate::Feed
  • Syndicate::FeedResult
  • Syndicate::Format
  • Syndicate::Item
  • Syndicate::JSONFeed
  • Syndicate::JSONFeed::Item
  • Syndicate::Parse
  • Syndicate::RSS
  • Syndicate::RSS::Common
  • Syndicate::RSS::Item
  • Syndicate::RSS::Item::Common
  • Syndicate::RSS::V0_91
  • Syndicate::RSS::V0_91::Item
  • Syndicate::RSS::V1_0
  • Syndicate::RSS::V1_0::Item
  • Syndicate::Stats
  • Syndicate::Utils

The Camelia image is copyright 2009 by Larry Wall. "Raku" is a trademark of the Yet Another Society. All rights reserved.

Built with Podlite — the markup and publishing tools behind this site.