Home › Forums › Other › API of what I’ve been reading › Reply To: API of what I’ve been reading
July 22, 2013 at 5:16 pm
#144111
chrisburton
Participant
Just in case anyone comes across this, I am using Readability to save articles that I’ve read.
This is my process:
+Read an article
+Choose Read Later
by clicking the Readability toolbar extension.
+ Create a tag (you don’t have to).
+ With PHP, grab the data from the RSS Feed http://readability.com/username/latest/feed
$xml = simplexml_load_file( “http://readability.com/christopherburton/latest/feed” );
$json = json_encode( $xml );
$array = json_decode( $json,TRUE );
$items = $array[‘channel’][‘item’];
And to see what that outputs, use:
var_dump($items);