Wednesday, January 16, 2013

Prj - Times of India epub


Remember my old post about the TOI - Epub project? Yesterday, I published the source on github. If anyone still interested, go ahead and take a look at the source. Kindly go through the Dev-Notes.txt, as it has all the urls and image path used to inspect their mpaper hiearchy.

How does it work

  • It loads the mpaper in an iframe (test.php)
  • Uses jQuery to parse the iframe's html and get the article url.
  • Links of articles are combined as a JSON object
  • JSON dictionary then POST'd to (convert.php) which uses an opensource epub library to create the ebook version.
Github repo for toi-epub

0 comments:

Post a Comment