Up

module Atom

: sig

The Atom Syndication format. See RFC4287 for the full specification.

Deprecated Please use the Syndic package instead.
#
type author = {
# name
: string;
# uri
: string option;
# email
: string option;
}
#
type date = int * int * int * int * int

year, month, date, hour, minute

#
val compare : date -> date -> int
#
type meta = {
# id
: string;
# title
: string;
# subtitle
: string option;
# author
: author option;
# rights
: string option;
# updated
: date;
: link list;
}
#
type summary = string option

A single entry in the Atom feed. The base represents the base href for the contents of the feed, in case it has relative links.

#
type entry = {
# entry
: meta;
# summary
: summary;
# content
: Xml.t;
# base
: string option;
}
#
type feed = {
# feed
: meta;
# entries
: entry list;
}
#
val xml_of_feed : ?self:string -> feed -> Xml.t
end