Fields and methods of the jala.Rss20Writer class.
Class to create, modify and render standard-compliant
RSS 2.0 feeds.
parameters
String | header | Optional XML header. |
methods
- getRoot()
- extendChannel(ext)
- setChannel(data)
- extendItem(ext)
- createItem(data)
- addItem(item)
- addCategory(name, domain, parent)
- setImage(data)
- setTextInput(data)
inherits
createElement(data) from jala.XmlWriter
extend(template, ext) from jala.XmlWriter
addNamespace(name, url) from jala.XmlWriter
write() from jala.XmlWriter
toString() from jala.XmlWriter
clone(The) from jala.XmlWriter
Methods
Add child elements to the channel template.
parameters
Array | ext | List of additional child elements. |
Get the writer's channel element.
returns
The writer's channel element. |
Populate the channel element with data.
parameters
Object | data | An XmlWriter-compliant object structure. |
returns
The populated channel element. |
Add child elements to the item template.
parameters
Array | ext | List of additional child elements. |
Get a new and innocent item element.
parameters
Object | data | An XmlWriter-compliant object structure. |
returns
A new and innocent item element. |
Add an item element to the channel element.
parameters
jala.XmlWriter.XmlElement | item | The item element to add. |
Add a category element to an arbitrary element.
parameters
String | name | The name of the category. |
String | domain | The domain of the category. |
jala.XmlWriter.XmlElement | parent | The optional parent element. |
Populate the image element with data.
parameters
Object | data | An XmlWriter-compliant object structure. |
Populate the textInput element with data.
parameters
Object | data | An XmlWriter-compliant object structure. |