Ezhil Posted October 20, 2010 Share Posted October 20, 2010 Hello this url https://www.googleapis.com/buzz/v1/people/sportsstatus/@groups/@followers?max-results=0 return an xml . I need to parse <totalResults> </totalResults> out of this feed using php .I need to retrieve data for the <totalresults> field. Iam stuck with this could not move further as iam new to php. Link to comment https://forums.phpfreaks.com/topic/216336-how-to-parse-data-from-an-url/ Share on other sites More sharing options...
sasa Posted October 20, 2010 Share Posted October 20, 2010 try <?xml version="1.0" encoding="UTF-8"?><response gd:kind="buzz#peopleFeed" xmlns="http://portablecontacts.net/ns/1.0" xmlns:gd="http://schemas.google.com/g/2005"><startIndex>0</startIndex><itemsPerPage>0</itemsPerPage><totalResults>20</totalResults></response> Link to comment https://forums.phpfreaks.com/topic/216336-how-to-parse-data-from-an-url/#findComment-1124275 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.