Python script for automatic synchronisation of ‘Read it later’ list and webpage
[caption id="attachment_461" align="alignright" width="229" caption="Adding to 'Read it later' list"][/caption]
One of the powerful features of firefox is that it has thousands of useful addons. We are going to deal with such an addon - Read it later. It allows us to book mark page to read later with just a click. I was happy living with it.
But on one fine day, Hrishiettan told me about sharing the links we read and its advantages. Sharing links will help many people to find interesting articles easily and it will also act as a link-index in case if we want to refer it again. The idea is really good and he told he would start working on a php app.
On another day, I told about this to Raghesh sir. He told there's an option to export our list to html in 'Read it later'. That's it! They have an API too! Got the API key from their website, cleared all existing links as they contain irrelevant news links, and wrote following script. It now updates the links in http://ershadk.com/links/ every 5 minutes automatically from my 'Read it later' list. Thank you :)
ps: The standard way of xml parsing didn't work, that's why I wrote it rude :)
Leave a Comment