Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Other API of what I’ve been reading Reply To: API of what I’ve been reading

#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);