URL:
http://en.wikipedia.org/w/api.php?action=parse&prop=text&page=Lost_(TV_series)&format=xml
this outputs something like:
<api><parse><text xml:space="preserve">text...</text></parse></api>
how do i get just the content between <text xml:space="preserve">
and </text>
?
i used curl
to fetch all the content from this url. so this gives me:
$html = curl_exec($curl_handle);
whats the next step?