string|array|false getCategory(
string
$call, [array
$arguments = array()])
|
|
Get a category from the element
The category element is a simple text construct which can occur any number of times. We allow access by offset or access to an array of results.
Overrides
XML_Feed_Parser_Type::getCategory() (Apply various rules to retrieve category data.)
Parameters:
Return content of the little-used 'cloud' element
The cloud element is rarely used. It is designed to provide some details of a location to update the feed.
Retrieves an entry by ID, if the ID is specified with the guid element
This is not really something that will work with RSS2 as it does not have clear restrictions on the global uniqueness of IDs. But we can emulate it by allowing access based on the 'guid' element. If DOMXPath::evaluate is available, we also use that to store a reference to the entry in the array used by getEntryByOffset so that method does not have to seek out the entry if it's requested that way.
Parameters:
string getLink(
int
$offset, [string
$attribute = 'href'], [array
$params = array()])
|
|
Get link URL
In RSS2 a link is a text element but in order to ensure that we resolve URLs properly we have a special function for them. We maintain the parameter used by the atom getLink method, though we only use the offset parameter.
Parameters:
array|false getSkips(
string
$tagName)
|
|
Utility function for getSkipDays and getSkipHours
This is a general function used by both getSkipDays and getSkipHours. It simply returns an array of the values of the children of the appropriate tag.
Parameters: