View Single Post
Old 08-27-2006, 01:26 PM   #1
verbosus
Unicoder
verbosus began at the beginning.
 
Posts: 15
Karma: 10
Join Date: Aug 2006
Location: Sassuolo, Modena, Italy
Device: iRex iLiad
Newspaper to iLiad

(Before I start: I originally sent this as a private email to TadW, Matt Jadud and TomBolini, then TadW suggested reposting it here. He also mentioned the Sitescooper project, which Iíll be sure to check out right away).

I just finished another hack you guys might be interested in.

Basically itís a shell script that downloads the contents of a mobile version of a newspaper, in this case the Italian La Repubblica, does a bit of cleanup and copies the contents over the the iLiadís ďnewspapersĒ folder, for convenient offline reading. Currently it works on my Mac, and assumes you have wget and growlnotify (which is a command line client to the Growl notification system) installed on your machine under /usr/local/bin

I have set it up so that when I plug in my iLiad, through an app called Do Something When I fire a custom (one-liner) AppleScript app that fires up this script and updates my iLiad. The content of this one-liner AppleScript app is: do shell script "~/bin/repubblica-iliad.sh"

Iíve posted the source code to the shell script and the custom icon I created for that newspaper.

The shell script assumes youíve copied it in ~/lib/misc, but you can tweak the paths as needed.

Of course this is not very useful in itself if you donít happen to like Italian newspapers :-p

But with a bit of tweaking it should be a start in developing something geared towards your favourite newspaper.

Iím attaching also two pictures of the results as shown on the iLiad.
Attached Thumbnails
Click image for larger version

Name:	IMG_0347.jpg
Views:	412
Size:	423.9 KB
ID:	1464   Click image for larger version

Name:	IMG_0348.jpg
Views:	558
Size:	440.5 KB
ID:	1465  

Last edited by verbosus; 08-31-2006 at 01:12 PM. Reason: Fixed missing quote
verbosus is offline   Reply With Quote