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

Class: RSS0x

Source Location: /system/classes/syndication/rss.feed.class.php

Class Overview

FeedParserBase
   |
   --RSS0x

rss0x provides reading and writing of RSS 0.91 format syndication feeds.


Author(s):

  • Michael Jervis (mike@fuckingbrit.com)

Copyright:

  • Michael Jervis 2004

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: FeedParserBase

FeedParserBase::__construct()
FeedParserBase::charData()
Handles character data.
FeedParserBase::createFeed()
Create a file for the stream
FeedParserBase::endElement()
Handle the close of an XML element
FeedParserBase::startElement()
Handle the begining of an XML element
FeedParserBase::_feedFooter()
Return the formatted end of a feed.
FeedParserBase::_feedHeader()
Return the formatted start of a feed.
FeedParserBase::_formatArticle()
Format an article into feed specific XML.
FeedParserBase::_injectExtendingTags()
Inject extending tags into the feed header, if needed.
FeedParserBase::_injectNamespaces()
Inject XMLNS items into the feed master element, if needed.
FeedParserBase::_safeXML()
Make sure a string is safe to be chardata in an xml element
FeedParserBase::_writeFile()

Class Details

[line 307]
rss0x provides reading and writing of RSS 0.91 format syndication feeds.



Tags:

author:  Michael Jervis (mike@fuckingbrit.com)
copyright:  Michael Jervis 2004
abstract:  


[ Top ]


Class Methods


method charData [line 425]

void charData( $parser, $data)

Handles character data.

Called by the parserfactory during parsing.




Tags:

access:  public


Overrides FeedParserBase::charData() (Handles character data.)

Parameters:

   $parser  
   $data  

[ Top ]

method endElement [line 410]

void endElement( $parser, $name)

Handle the close of an XML element

Called by the parserfactory during parsing.




Tags:

access:  public


Overrides FeedParserBase::endElement() (Handle the close of an XML element)

Parameters:

   $parser  
   $name  

[ Top ]

method startElement [line 391]

void startElement( $parser, $name, $attributes)

Handle the begining of an XML element

This is called from the parserfactory once the type of data has been determined. Standard XML_PARSER element handler.




Tags:

author:  Michael Jervis (mike@fuckingbrit.com)
copyright:  Michael Jervis 2004
access:  public


Overrides FeedParserBase::startElement() (Handle the begining of an XML element)

Parameters:

   $parser  
   $name  
   $attributes  

[ Top ]

method _feedFooter [line 377]

void _feedFooter( )

Return the formatted end of a feed.

just closes things off nicely.




Tags:

access:  protected


Overrides FeedParserBase::_feedFooter() (Return the formatted end of a feed.)

[ Top ]

method _feedHeader [line 344]

void _feedHeader( )

Return the formatted start of a feed.

This will start the xml and create header information about the feed itself.




Tags:

access:  protected


Overrides FeedParserBase::_feedHeader() (Return the formatted start of a feed.)

[ Top ]

method _formatArticle [line 317]

void _formatArticle( $article)

Format an article into an RSS 0.91 <item> tag.

Takes an associative article array and turns it into an XML definition of an article. Uses merely title, link and summary.




Tags:

access:  protected


Overrides FeedParserBase::_formatArticle() (Format an article into feed specific XML.)

Parameters:

array   $article   Associative array describing an article.

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:54:08 +0000 by phpDocumentor 1.4.3