View Single Post
Old 03-31-2008, 03:29 PM   #25
DiaLogical
Logical Project
DiaLogical began at the beginning.
 
DiaLogical's Avatar
 
Posts: 5
Karma: 10
Join Date: Mar 2008
Device: iRex iLiad
Hi guys, I recently got an iLiad myself and it's great to see all kind of user created content. And this one in particular has me very interested. Since I didn't have a problem with other 3th party progs like the browser, reader(s), etc and the code seems clean I didn't expect any now either. But for some reason it doesn't seem to actually create or rather get the required .pdf file.

In short this is all I did;
  • extracted the latest .zip folder on my iLiad's internal memory in the newspaper folder (icon, manifest and run file)
  • changed the following to the run file (see quote below; uncomment + wireless info)
  • Selected the Guardian UK run file on the iLiad, it gives the blinking loading bar, after say 10 seconds the screen renews and nothing happened or opened. No .pdf file (not even a 0 kb) either.

The information about my wireless network is definitely correct, that's for the wep key and the SSID name, the ENC_TYPE is 128bit wep so I filled in <wep> lowercase, which should be fine as well I guess.

Any idea what could be the problem here? Thanks in advance.

Quote:
#!/bin/sh

####
# Uncomment one of the following depending on storage device
#export GUARDIAN_PATH=/media/cf/newspapers/Guardian24 # CF storage
#export GUARDIAN_PATH=/media/card/newspapers/Guardian24 # SD/MMC card
export GUARDIAN_PATH=/mnt/free/newspapers/Guardian24 # Internal storage


/usr/bin/wired.sh start
/usr/bin/wireless.sh start <mynetworkSSIDname> <wep> <WEP0EX1AM2PL3E>

for i in World Business Media Sport Topstories
do
rm -rf $GUARDIAN_PATH/$i.pdf
mkdir -p $GUARDIAN_PATH/$i.pdf

echo "<?xml version=\"1.0\" encoding=\"utf-8\"?><package><metadata><dc-metadata><Title>The Guardian 24h - $i</Title><Description>Downloaded: `echo \`date\``</Description></dc-metadata><y-metadata><startpage>$i.pdf</startpage><image>icon.png</image><version>000</version></y-metadata></metadata></package>" > $GUARDIAN_PATH/$i.pdf/manifest.xml

wget -O /tmp/$i.pdf http://download.guardian.co.uk/g24/$i.pdf
mv /tmp/$i.pdf $GUARDIAN_PATH/$i.pdf/$i.pdf

cp $GUARDIAN_PATH/get-guardian/icon.png $GUARDIAN_PATH/$i.pdf/icon.png
done

/usr/bin/wired.sh stop
/usr/bin/wireless.sh stop

Last edited by DiaLogical; 04-01-2008 at 06:23 AM. Reason: spelling correction
DiaLogical is offline   Reply With Quote