[ Index ]
 

Code source de GeekLog 1.4.1

Accédez au Source d'autres logiciels libres

title

Body

[fermer]

/system/classes/syndication/ -> rdf.feed.class.php (sommaire)

Provides feed handlers for RDF 1.0

Author: Michael Jervis (mike@fuckingbrit.com)
Version: 1.0
Poids: 237 lignes (8 kb)
Inclus ou requis:0 fois
Référencé: 0 fois
Nécessite: 0 fichiers

Définit 1 class

RDF:: (7 méthodes):
  RDF()
  _formatArticle()
  _feedHeader()
  _feedFooter()
  startElement()
  endElement()
  charData()


Classe: RDF  - X-Ref

RDF provides reading and writing of RDF 1.0 format syndication feeds.

RDF()   X-Ref


_formatArticle( $article )   X-Ref
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.

param: array $article Associative array describing an article.

_feedHeader()   X-Ref
Return the formatted start of a feed.

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

_feedFooter()   X-Ref
Return the formatted end of a feed.

just closes things off nicely.

startElement($parser, $name, $attributes)   X-Ref
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.

author: Michael Jervis (mike@fuckingbrit.com)

endElement($parser, $name)   X-Ref
Handle the close of an XML element

Called by the parserfactory during parsing.

charData($parser, $data)   X-Ref
Handles character data.

Called by the parserfactory during parsing.



Généré le : Wed Nov 21 12:27:40 2007 par Balluche grâce à PHPXref 0.7
  Clicky Web Analytics