Posted by: spaceufo on: October 31, 2007
$this->parser = xml_parser_create();
if(is_resource($this->parser)){
xml_set_object($this->parser, &$this);
xml_set_element_handler($this->parser, ‘feed_start_element’, ‘feed_end_element’);
xml_set_character_data_handler( $this->parser, ‘feed_cdata’ );
return true;
}
return false;
xml_parser_create
(PHP 3>= 3.0.6, PHP 4 , PHP 5)
xml_parser_create — Create an XML parser
Description
resource xml_parser_create ( [string encoding])
xml_parser_create()
creates a new XML parser and returns a resource handle referencing it to be used by the other XML functions.
xml_parser_create()는 [...]
Posted by: spaceufo on: September 15, 2007
*Licence(from) : http://www.atomenabled.org/developers/syndication/
Elements of <feed>
Required feed elements
id
Identifies the feed using a universally unique and permanent URI. If you have a long-term, renewable lease on your Internet domain name, then you can feel free to use your website’s address.
<id>http://example.com/</id>
title
Contains a human readable title for the feed. Often the same as the title of the associated website. [...]
Posted by: spaceufo on: September 15, 2007
The Atom Syndication Format
Wiki about Atom(korean)
Atom Syndication Format – Introduction
Examples of Atom 1.0 Feeds
Feed Validator
DeveloperWorks Overview
RSS 2.0 and Atom 1.0 Compared
IETF Charter
Atom Wiki