Reply
Thread Tools
Posts: 5,795 | Thanked: 3,151 times | Joined on Feb 2007 @ Agoura Hills Calif
#31
Yes, some sort of Avant-go like syncing like my Rexx 6000 had in 2000 is important. I spend all day in a non-wifi environment. I have wifi at home, but I also have three desktop computers there. The amount of time I spend in places where I have wifi but don't have a desktop computer is usually 0%. Syncing would be great, for the times I don't have wifi or a desktop computer.
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2008
#32
The great offline issue - finally solved!?!

Thanks to loki and his version of pyplucker (Forum Post, Repository) you can gather relevant news right on your device, whenever you are online, without the need for syncing.

(I assume here in this post you have heard of the excellent FBReader for Maemo, which displays ebooks. Coupled with a PC based web site converter like Sunrise (or others) you can convert arbitrary websites into "take away ebooks" on your device. But this has been a two step solution until now...)

After you installed pyPlucker from the above repository, open an X Terminal on your device. You should execute "plucker-setup" now, but some error message appears, which fails on missing rights on the directory ".plucker" and sometimes ".pluckerrc". After you granted those rights for everyone (search for "how to become root" in this forum), execute "plucker-setup" again. Now it works.

You could now invoke the plucker (the web site converter) by loki's command line (for more reference on the plucker check the Documentation). But I prefer to set up a "home.html" file, which acts as a default for plucker and contains all the news I'd like to update onroad.

A sample is already installed in .plucker, you just have to change it to the news you prefer. I print mine for reference:

Code:
<HTML>
<HEAD>
<TITLE>Plucker Home Page</TITLE>
</HEAD>

<BODY>

<H1>_Chris_'s News on the go...</H1>

<P><A HREF="http://www.tagesschau.de/mobileTSpic/" MAXDEPTH=2>Tagesschau</A><P>

<A HREF="http://www.heise.de/pda/newsticker" MAXDEPTH=2>Heise Newsticker</A><P>

<A HREF="http://www.golem.de/pda/pdahome.html" MAXDEPTH=2 STAYONHOST>Golem News</A><P>
</BODY>
</HTML>
If you now set some additional defaults in the ".pluckerrc", than averything works smooth:


Code:
;;   0 - silent except for errors
;;   1 - progress status
;;   2 - debugging
;;
verbosity = 0

;;
;; Path to the plucker dir.
;;
;;pluckerdir =

;;
;; Document name
;;
doc_name = Chris's news on the go

;;
;; Filename for the document
;;
doc_file = ../MyDocs/.documents/ChrisNews

;;
;; Compression type 
;;
;;   doc  - use the DOC compression (works on all supported versions)
;;   zlib - use ZLib compression (doesn't work on 2.x devices)
;;
;; Zlib compression is typically much better than DOC compression.
;;
compression = zlib

;;
;; Bits per pixel for images (0 to means 'no images')
;;
bpp = 8

;;
;; Max width and height for the images. Alternative maximum width 
;; and height can also be specified. These values are used for 'big' 
;; versions of inlined images that had to be scaled down in size to 
;; obey the maxwidth and maxheight parameters.
;;
maxwidth      = 400
maxheight     = 240
;;alt_maxwidth  =
;;alt_maxheight =

;;
;; If an image is smaller or equal to the given limit (in bytes)
;; the image will not be compressed.
;;
image_compression_limit = 300

Voila, you are ready to start your first plucker by entering "plucker-build". On my WLAN-connection it takes roughly 3-5 minutes for the above 3 sites, which is ok for me in the morning. I tried once over the mobile (3G), but canceled after 10 minutes...

After it finished, there should be a document called "ChrisNews" (or what you have named it ) ready to open with FBReader or Plucker.

By the way: since out beloved tablets are not rockets, you should restrict the updates to the absolutely neccessary pages. It helps to add:

Code:
0:-:http://heise.ivwbox.de/.*
0:-:http://www.heise.de/ivw-bin/.*
0:-:http://tagessch.ivwbox.de/.*
0:-:http://golem.ivwbox.de/.*
to the end of the file "exclusionlist.txt" in the ".plucker" directory to avoid a lot of web-bug-links...


Ok folks,
happy news-harvesting on the go!

Cheers,
Chris

PS: anyone knows how to make a start menu entry for the shell command "plucker-build"? I would like to start it with a tap...
 
Posts: 566 | Thanked: 150 times | Joined on Dec 2007
#33
Originally Posted by _Chris_ View Post
PS: anyone knows how to make a start menu entry for the shell command "plucker-build"? I would like to start it with a tap...
Add a .Desktop file in /usr/share/applications/hildon

Seems like a very useful script! Do you have any plans to make a graphical frontend and single click install/repo ?
 
Posts: 3 | Thanked: 0 times | Joined on Jan 2008
#34
Originally Posted by iamthewalrus View Post
Add a .Desktop file in /usr/share/applications/hildon
Thanks for the fast reply. Edit: I now have the following "plucker.desktop" file in the above location:

Code:
[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=PluckerIt
Exec=/usr/bin/plucker-build
Icon=terminal
Terminal=false
Type=Application
X-HildonDesk-ShowInToolbar=true
X-Osso-Type=application/x-executable
Works in starting the script without an open xterm (so you can't can see when it has finished though...). Can be startet by SimpleLauncher (Just one tap! ). Thanks to Maddler for the template...

Originally Posted by iamthewalrus View Post
Seems like a very useful script! Do you have any plans to make a graphical frontend and single click install/repo ?
I thought about writing a Python frontend, where you could enter the webadress, specify outputfilename, image dimensions etc., in fact did already the user interface design, but so far didn't find the time to implement it. Maybe later...

Cheers and thanks for the hint!

_Chris_

Last edited by _Chris_; 2008-01-25 at 22:38. Reason: minor correction in destop shortcut
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 16:06.