Search tutorials
The XML
<%lt%>?xml version="1.0" encoding="iso-8859-1" ?<%gt%> <%lt%>!DOCTYPE moreovernews (View Source for full doctype...)<%gt%> <%lt%>-- Document definition. We can ignore this line for our purposes. <%lt%>moreovernews<%gt%><%lt%>-- The document's top-level element. This is known as the root node. <%lt%>article id="_12591194"<%gt%><%lt%>-- An article node. It is a child node of the moreovernews tag above. <%lt%>-- 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--<%gt%> <%lt%>url<%gt%>http://c.moreover.com/click/here.pl?x12591193<%lt%>/url<%gt%><%lt%>-- We want this, our link <%lt%>headline_text<%gt%>PlayStation 2 continues the legend<%lt%>/headline_text<%gt%> <%lt%>-- TAnd we want this, our link text. <%lt%>source<%gt%>STUFF<%lt%>/source<%gt%> <%lt%>media_type<%gt%>text<%lt%>/media_type<%gt%> <%lt%>cluster<%gt%>Computer games news<%lt%>/cluster<%gt%> <%lt%>tagline /<%gt%> <%lt%>document_url<%gt%>http://www.stuff.co.nz/inl/index/0,1008,0a28,FF.html<%lt%>/document_url<%gt%> <%lt%>harvest_time<%gt%>Nov 26 2000 7:10PM<%lt%>/harvest_time<%gt%> <%lt%>access_registration /<%gt%> <%lt%>access_status /<%gt%> <%lt%>/article<%gt%> ...more article nodes... <%lt%>/moreovernews<%gt%> <%lt%>-- Close of the moreovernews node.
| » Level Advanced |
|
Added: 2000-12-13 Rating: 9 Votes: 705 |
| » Author |
| No information about the author has been provided |
| » Download |
| Download the files used in this tutorial. |
| Download (44 kb) |
| » Forums |
| More help? Search our boards for quick answers! |
-
You must have javascript enabled in order to post comments.


Comments
There are no comments yet. Be the first to comment!