| [ Index ] |
|
Code source de GeekLog 1.4.1 |
[Code source] [Imprimer] [Statistiques]
Provides feed handlers for Atom 0.3 and Atom 1.0
| Author: | Michael Jervis (mike@fuckingbrit.com) |
| Version: | 1.1 |
| Poids: | 461 lignes (15 kb) |
| Inclus ou requis: | 0 fois |
| Référencé: | 0 fois |
| Nécessite: | 0 fichiers |
Atom03:: (8 méthodes):
Atom03()
_RFC3339Date()
_formatArticle()
_feedHeader()
_feedFooter()
startElement()
endElement()
charData()
Atom10:: (9 méthodes):
Atom10()
_formatArticle()
_createId()
_RFC3339Date()
_feedHeader()
_feedFooter()
startElement()
endElement()
charData()
| Atom03() X-Ref |
| _RFC3339Date($timestamp='') X-Ref |
| Pas de description |
| _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. |
| Atom10() 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. |
| _createId($url, $date) X-Ref |
| Pas de description |
| _RFC3339Date($timestamp='') X-Ref |
| Pas de description |
| _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 |
|