![]() |
#31 | |
Addict
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 281
Karma: 904
Join Date: Oct 2007
Location: Kent, UK
Device: iRex iLiad, Psion 5MX, nokia n800
|
Quote:
Here's the code for the script. I'll attach it as well. At the moment it is a bash script that is hard-coded to work with World.pdf. With a little more work it could download the PDF, but this will do for now. Code:
cat << EOF > temp.tex \documentclass[a4paper]{article} \usepackage{pdfpages} \usepackage[lmargin=0cm,rmargin=0cm,tmargin=0cm,bmargin=0cm,nohead,paperwidth=124mm]{geometry} \begin{document} \includepdf[pages=1, pagecommand={\thispagestyle{empty}}]{World.pdf} EOF ## Get number of pages NUMPAGES=$(pdfinfo World.pdf | grep Pages | awk '{ print $2 }') for i in $(seq 2 $NUMPAGES) do echo \\includepdf[pages=$i, trim=0 0mm 107mm 0, clip, pagecommand={\\thispagestyle{empty}}]{World.pdf} >> temp.tex echo \\includepdf[pages=$i, trim=107mm 0mm 0 0, clip, pagecommand={\\thispagestyle{empty}}]{World.pdf} >> temp.tex done cat <<EOF >> temp.tex \end{document} EOF pdflatex temp.tex mv temp.pdf World-iliad.pdf |
|
![]() |
![]() |
![]() |
#32 |
Junior Member
![]() Posts: 5
Karma: 10
Join Date: Mar 2008
Location: Alcorcón
Device: iRex iLiad
|
Hello, this is my first post. I've found useful rio script, so I've modified it for download 20minutos.es spanish free newspaper.
Also I've created an icon for it, close to rio Guardian ico. Thanks to rio for this script, only it must uncomment download destination an add the Wi-Fi parameters. ![]() Last edited by sinman; 04-01-2008 at 01:45 PM. |
![]() |
![]() |
Advert | |
|
![]() |
#33 |
Connoisseur
![]() ![]() Posts: 53
Karma: 140
Join Date: Mar 2008
Device: iRex iLiad (v1) / Sony Librie
|
|
![]() |
![]() |
![]() |
#34 |
Nameless Being
|
The Guardian 24 automatic download
Hi,
Looks very interesting. I want to try this out on my iLiad. But can the content downloader for guardian24 be used at a free wifi hotspot so that I do not have to use set the ssid / enc / key?? I do not know anything about Linux so please in easy steps?? |
![]() |
![]() |
#35 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jul 2008
Device: Iliad
|
Hello,
I have downloaded this and installed it on my Iliad but cannot seem to get it to work. Any help would be appreciated. I have downloaded the latest version (as detailed on page 2 by cen ) on my Iliad's MMC memory. I did the necessary change to the run file using notepad, i.e. deleted the comment for the MMC memory. I am using a wired connection so did not touch anything else. Saved the file. Then booted up the Iliad and selected the Guardian UK run file on the iLiad. Up came the blinking loading bar and after 10 seconds the screen renewed. Nothing appears to have happened however and there is no pdf file anywhere to be found on my MMC memory! Any help would be appreciated. Thanks, D. |
![]() |
![]() |
Advert | |
|
![]() |
#36 | |
Connoisseur
![]() ![]() Posts: 73
Karma: 156
Join Date: Dec 2006
Device: iLiad
|
Quote:
Watch out for CR/LF line breaks! Dirk ![]() |
|
![]() |
![]() |
![]() |
#37 |
Member
![]() Posts: 15
Karma: 10
Join Date: Jul 2008
Device: Iliad
|
Thanks for the reply Dirk.
I take it that using Windows Notepad is not recommended then? I didn't do anything to the file apart from replace the relevant '#' symbol with a space. I hope this is correct. I'm afraid to say that I am a novice when it comes to this kind of thing. Any advice about how to get this Guardian 24 downloader up and running would be great. D. |
![]() |
![]() |
![]() |
#38 |
Connoisseur
![]() ![]() Posts: 53
Karma: 140
Join Date: Mar 2008
Device: iRex iLiad (v1) / Sony Librie
|
DigiDirk is correct, the Windows Notepad will cause problems, start from scratch using Wordpad, iirc that should work fine or alternatively download something like Notepad++ and use it to make the changes.
|
![]() |
![]() |
![]() |
#39 |
Junior Member
![]() Posts: 1
Karma: 10
Join Date: Jun 2009
Device: Iliad version 2
|
Guardian 24 problems?
Hi
I have just got my 2nd version Iliad and have been trying to work this zipped folder. I must admit I am not really computer literate but so far have managed to download the Guardian PDF into newspapers. I have tried to use the programme CEN suggestd, but can't seem to get the Iliad to read any of my CF cards or SD cards? Also I don't know how to send the zipped file to the SD ofr CF card. I have tried various cards, and have never used both SD and CF together? Help to a complete novice would be much appreciated Thanks Chris |
![]() |
![]() |
![]() |
#40 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Nov 2009
Device: iRex Iliad
|
however i tried, it didn't work. could it be that the iliad does not recognize wpa2-personal? thanks a lot!
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
The Guardian, modified | ajnorman | Recipes | 20 | 01-10-2014 11:02 AM |
Automatic News Download | brewjono | Calibre | 3 | 10-09-2010 08:49 AM |
Automatic Index of Books Available for Download | HarryT | BBeB/LRF Books | 6 | 09-11-2009 09:49 PM |
The Guardian Reviews the DX | poohbear_nc | News | 3 | 07-06-2009 09:33 AM |
Automatic Daily Comic Strip Download | Adam B. | iRex | 10 | 08-11-2007 05:33 AM |