Search Tutorials
The XML
<?xml version="1.0" encoding="iso-8859-1" ?> <!DOCTYPE moreovernews (View Source for full doctype...)> <-- Document definition. We can ignore this line for our purposes. <moreovernews><-- The document's top-level element. This is known as the root node. <article id="_12591194"><-- An article node. It is a child node of the moreovernews tag above. <-- Now on to the children of each article. This is the meat and potatoes we are after. Particularly the url data and the headline_text data--> <url>http://c.moreover.com/click/here.pl?x12591193</url><-- We want this, our link <headline_text>PlayStation 2 continues the legend</headline_text> <-- TAnd we want this, our link text. <source>STUFF</source> <media_type>text</media_type> <cluster>Computer games news</cluster> <tagline /> <document_url>http://www.stuff.co.nz/inl/index/0,1008,0a28,FF.html</document_url> <harvest_time>Nov 26 2000 7:10PM</harvest_time> <access_registration /> <access_status /> </article> ...more article nodes... </moreovernews> <-- Close of the moreovernews node.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|