note 105689 added to book.simplexml

From: Date: Wed, 07 Sep 2011 15:40:58 +0000
Subject: note 105689 added to book.simplexml
Groups: php.notes 
Request: Send a blank email to php-notes+get-183009@lists.php.net to get a copy of this message
rss/atom feed to array directly from a URL. I combined the idea from soloman with the file_get_contents() function and put it in one line. <? $array = json_decode(json_encode(simplexml_load_string(file_get_contents("http://www.example.de/rss"))),TRUE); ?> ---- Server IP: 212.124.37.9 Probable Submitter: 109.90.44.74 ---- Manual Page -- http://www.php.net/manual/en/book.simplexml.php Edit -- https://master.php.net/note/edit/105689 Del: integrated -- https://master.php.net/note/delete/105689/integrated Del: useless -- https://master.php.net/note/delete/105689/useless Del: bad code -- https://master.php.net/note/delete/105689/bad+code Del: spam -- https://master.php.net/note/delete/105689/spam Del: non-english -- https://master.php.net/note/delete/105689/non-english Del: in docs -- https://master.php.net/note/delete/105689/in+docs Del: other reasons-- https://master.php.net/note/delete/105689 Reject -- https://master.php.net/note/reject/105689 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#183009) next »