XML_Feed_Parser
[ class tree: XML_Feed_Parser ] [ index: XML_Feed_Parser ] [ all elements ]

Class: XML_Feed_Parser_RSS09

Source Location: /XML_Feed_Parser-1.0.0RC1/Parser/RSS09.php

Class Overview

XML_Feed_Parser_Type
   |
   --XML_Feed_Parser_RSS09

This class handles RSS0.9 feeds.


Author(s):

Version:

  • Release: @package_version@

Methods


Child classes:

XML_Feed_Parser_RSS09Element
RSS0.9 Element class for XML_Feed_Parser

Inherited Variables

Inherited Methods

Class: XML_Feed_Parser_Type

XML_Feed_Parser_Type::addBase()
Determine whether we need to apply our xml:base rules
XML_Feed_Parser_Type::combineBases()
Utility function to help us resolve xml:base values
XML_Feed_Parser_Type::count()
Count occurrences of an element
XML_Feed_Parser_Type::getCategory()
Apply various rules to retrieve category data.
XML_Feed_Parser_Type::getContent()
Get content from RSS feeds (atom has its own implementation)
XML_Feed_Parser_Type::getDate()
Return a date in seconds since epoch.
XML_Feed_Parser_Type::getEntryByOffset()
Get an entry by its position in the feed, starting from zero
XML_Feed_Parser_Type::getSchemaDir()
Get directory holding RNG schemas. Method is based on that found in Contact_AddressBook.
XML_Feed_Parser_Type::getText()
Get a text construct.
XML_Feed_Parser_Type::hasKey()
Checks if this element has a particular child element.
XML_Feed_Parser_Type::processXHTMLAttributes()
Part of our xml:base processing code
XML_Feed_Parser_Type::traverseNode()
Part of our xml:base processing code

Class Details

[line 32]
This class handles RSS0.9 feeds.


[ Top ]


Method Detail

getEntryById   [line 125]

false getEntryById( string $id)

Included for compatibility -- will not work with RSS 0.9

This is not something that will work with RSS0.9 as it does not have clear restrictions on the global uniqueness of IDs.


Parameters:

string   $id     any valid ID.

[ Top ]

getImage   [line 135]

array|false getImage( )

Get details of the image associated with the feed.
  • Return: an array simply containing the child elements

[ Top ]

getLink   [line 203]

string getLink( [mixed $offset = 0], [mixed $attribute = 'href'], [mixed $params = false])

Get details of a link from the feed.

In RSS1 a link is a text element but in order to ensure that we resolve URLs properly we have a special function for them.


[ Top ]

getTextInput   [line 166]

array|false getTextInput( )

The textinput element is little used, but in the interests of completeness we will support it.

[ Top ]


Documentation generated on Thu, 27 Jul 2006 10:12:00 -0400 by phpDocumentor 1.2.3. PEAR Logo Copyright © PHP Group 2004.