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

Class: Atom03

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

Class Overview

FeedParserBase
   |
   --Atom10
      |
      --Atom03

atom03 provides reading and writing of Atom 0.3 format syndication feeds.


Author(s):

  • Michael Jervis (mike@fuckingbrit.com)

Copyright:

  • Michael Jervis 2004

Methods


Inherited Constants

Inherited Variables

Inherited Methods

Class: Atom10

Atom10::__construct()
Atom10::charData()
Handles character data.
Atom10::endElement()
Handle the close of an XML element
Atom10::startElement()
Handle the begining of an XML element
Atom10::_createId()
Atom10::_feedFooter()
Return the formatted end of a feed.
Atom10::_feedHeader()
Return the formatted start of a feed.
Atom10::_formatArticle()
Format an article into an Atom 0.3 <entry> tag.
Atom10::_RFC3339Date()

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 232]
atom03 provides reading and writing of Atom 0.3 format syndication feeds.



Tags:

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


[ Top ]


Class Methods


constructor __construct [line 234]

Atom03 __construct( )



Tags:

access:  public


Overrides Atom10::__construct() (parent method not documented)

[ Top ]

method charData [line 307]

void charData( $parser, $data)

Handles character data.

Called by the parserfactory during parsing.




Tags:

access:  public


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

Parameters:

   $parser  
   $data  

[ Top ]

method _feedHeader [line 287]

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 Atom10::_feedHeader() (Return the formatted start of a feed.)

[ Top ]

method _formatArticle [line 248]

void _formatArticle( $article)

Format an article into an Atom 0.3 <entry> 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 Atom10::_formatArticle() (Format an article into an Atom 0.3 <entry> tag.)

Parameters:

array   $article   Associative array describing an article.

[ Top ]


Documentation generated on Sun, 02 Oct 2016 07:44:05 +0000 by phpDocumentor 1.4.3