Class container for 'Feed' types.
Parameter | Type | Description |
---|---|---|
args | undefined |
Parameter | Type | Description |
---|---|---|
name | undefined | |
value | undefined |
Function to add in an author to the list of authors.
Parameter | Type | Description |
---|---|---|
name | String | The author's name. |
String | The author's e-mail address. |
|
uri | String | A URI associated with the author. |
Function to add in a category to the list of categories.
Parameter | Type | Description |
---|---|---|
scheme | String | |
term | String | |
label | String |
Function to add in an author to the list of authors.
Parameter | Type | Description |
---|---|---|
name | String | The author's name. |
String | The author's e-mail address. |
|
uri | String | A URI associated with the author. |
Function to add an entry to this feed.
Parameter | Type | Description |
---|---|---|
entry | object | The entry object to add. |
Function to add in an extension namespace into the item.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
attributes | Array | The attributes associated with the extension. |
content | String | The content of the extension. |
shortNS | String |
Function to add in a link to the list of links.
Parameter | Type | Description |
---|---|---|
href | String | |
rel | String | |
hrefLang | String | |
title | String | A title to associate with the link. |
type | String | The type of link is is. |
Parameter | Type | Description |
---|---|---|
fullName | undefined | |
shortName | undefined |
Function to Create a new entry object in the feed.
An empty entry object in the feed.
Function to get all categories that match a particular scheme.
Parameter | Type | Description |
---|---|---|
scheme | String | The scheme to filter on. |
Function to get an entry by its id.
Parameter | Type | Description |
---|---|---|
entryId | String |
The entry desired, or null if none.
Function to get extensions that match a namespace and name.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
Function to get the first entry of the feed.
The first entry in the feed.
Function to get the href that refers to this feed.
The href that refers to this feed or null if none.
Function to remove all basic links from the list of links.
Function to remove all categories that match a particular scheme and term.
Parameter | Type | Description |
---|---|---|
scheme | String | The scheme to filter on. |
term | String | The term to filter on. |
Function to remove an entry from the list of links.
Parameter | Type | Description |
---|---|---|
entry | object | The entry. |
Function to remove extensions that match a namespace and name.
Parameter | Type | Description |
---|---|---|
name_space | String | The namespace of the extension. |
name | String | The name of the extension |
Function to remove a link from the list of links.
Parameter | Type | Description |
---|---|---|
href | String | The href. |
rel | String |
Function to add a set of entries to the feed.
Parameter | Type | Description |
---|---|---|
arrayOfEntry | array | An array of entry objects to add to the feed. |
Function to set the title of the item.
Parameter | Type | Description |
---|---|---|
str | String | The title to set. |
type | String | The type of title format, text, xml, xhtml, etc. |
Function to construct string form of the feed tag, which is an XML structure.