atomex v0.2.0 Atomex.Feed
Represent an Atom feed. Embed many Atomex.Entry
Summary
Functions
Add a custom field to the feed
Add a custom field to the feed
Add an author to the feed. See Atomex.Types.Person
for accepted attributes
Must be called before build_document, once the feed is fully prepared
Add given entries to the feed
Add a link to the feed. See Atomex.Types.Link
for accepted attributes
Create a new feed
Functions
Add a custom field to the feed
Parameters
- feed: The feed to which you want to add a field
- xml_element: An xml element as returned by
XmlBuilder.element/3
Add a custom field to the feed
Parameters
- feed: The feed to which you want to add a field
- tag: String or atom with the name of the tag
- attributes: A map of attributes
- content: String, or list of xml_elements as created by
XmlBuilder.element/3
Add an author to the feed. See Atomex.Types.Person
for accepted attributes
Must be called before build_document, once the feed is fully prepared
Add a link to the feed. See Atomex.Types.Link
for accepted attributes