Help - Search - Members - Calendar
Full Version: How to install JPluck?
OESF Portables Forum > General Forums > General Discussion
Genki619
I just installed OpieReader and I heard JPluck is a good program to download as well. I'm not really good with Linux so I was wondering if anyone can help me install Jpluck. I tried searching for How-to install it but I couldn't find any for the Zaurus.

My ROM is V3.10
My Zaurus is SL-5500

I was wondering if any of you can help me out?

Thanks
Tehas
I'm not sure how much success you'd have with running JPluck on your Z. I think others have tried so you could search this site to see if anyone posted instructions. The JPLuck GUI uses Java Swing components so you won't be able to use that part on the Zaurus - you'd need to build the config files by hand or port them from a workstation. I'm also not sure what version of the Java Runtime Environment is required - my hunch is that it would need to be 1.3 or newer which is not on the default Zaurus configuration.

I'm running JPLuck on my Linux server. I have it configured to download (in batch via cron scheduler) specific websites 4 times a day and then compress them together into one file and ftp it to my website. Then when I'm out and about with my Zaurus, if I can get access to an internet connection, I can grab the file from my site and uncompress them. I put the retrieval process into a script and have an Icon on one of my tabs so all I need to do is tap on it and off it goes to do the work.

JPluck is available for Windows too, so you might be able to do something similar if you have specific sites that you want to pull off-line for reading. If you're intersted in my scripts (either for the server or the Zaurus) let me know and I'll post them.
padishah_emperor
QUOTE
I just installed OpieReader and I heard JPluck is a good program to download as well. I'm not really good with Linux so I was wondering if anyone can help me install Jpluck. I tried searching for How-to install it but I couldn't find any for the Zaurus.

My ROM is V3.10  
My Zaurus is SL-5500

I was wondering if any of you can help me out?

Thanks


I'm running Tim's cool Opie Reader, you run jPluck on the desktop not the Z, don't know about Windows stuff but it's running fine on my Debian Linux, you need Java though. Works great, I make web channels for BBC news and various newspapers etc. biggrin.gif
Genki619
Thanks for your guys help
PsionX
You can use mail too :
QUOTE
~ What is this 'pler' thing?
  --------------------------
  Plucker Email Reflector ("pler", a play on words, since it is entirely
  written using the Perl scripting language) is a tool that allows you to
  use Plucker through standard email, without installing any Plucker
  components on your machine at all.


~ Why would you want to do this?
  ------------------------------
  Many people don't have access to the Web from their desktop machine, or
  the web access they DO have is restricted for various reasons, such as by
  firewalls or prohibitive/secure work environments.

  Using Plucker Email Reflector (pler), you can take full advantage of the
  power of Plucker, without ever having to install any Plucker components on
  your computer at all. Everything works through email!

  This tool is also useful if you are running on a platform that does not
  support the tools Plucker requires, such as Python, Perl, shell tools, and
  the various image conversion tools. Amiga, OS/2 and Macintosh are three
  platforms that currently do not have 100% full support for Plucker. This
  may change in the near future as Plucker grows in popularity.


~ Sounds great, how do I get started?
  -----------------------------------
  All you need is a working email address, and if you received this message
  you're reading right now through email, you're already half-way there!

  The next step is to fill out a small template that includes your
  customized Plucker parameters, such as URL, maximum depth (maxdepth),
  bits-per-pixel (bpp), and so on.  Don't worry if these things confuse you,
  the three templates attached to this message are very well commented. Feel
  free to use them as a guide to get you started.


~ Ok, let's see the template already!
  -----------------------------------
  The template MUST be sent in the exact format shown in the attached zip
  file, which must be sent to the 'pler' server.  Comments beginning with
  the '#' sign in the template are ignored.

  If you wish to use this tool, open the attachment and put it in the BODY
  of a NEW message (attached templates or replies are not valid), and send
  it to:

 "Plucker Email Reflector" <pler@plkr.org>

 The template must begin with <template> delimiter, and end with
 </template>. If either of those two delimiters are missing, the
 system will reject the template as incomplete and you will not
 receive the data you expect.

 If you wish to keep the template small, use the second attachment,
 (small_template.pler) which is identical to the larger template, but
 does not contain comments.

 There is also an example template (example_template.pler) inside the
 zipfile as well. Feel free to use this as a model for your future
 templates.


~ It didn't work, where do I report problems?
  -------------------------------------------
  A bug? You jest! Seriously though, if you think you've found a bug in
  pler, you can report it in the online bugtracker used for reporting all
  bugs related to Plucker. You can find the bugtracker online at
  http://bugs.plkr.org/

  Simply log in, select Plucker as your project from the menu in the upper
  right corner, and report the bug. Try to be as detailed as possible, and
  remember to classify that it belongs to the pler project.


~ Well, it looks great, but what doesn't it do?
  -----------------------------------------
  It doesn't pluck me a warm cup of tea to go with the morning news I've
  just plucked, but that might be in a future release. In reality, there are
  a few things it may not do right now, but it will only improve in the
  future.

  Here's a short list of the features not currently supported in pler, but
  targeted for a future release (many are implemented, just not enabled):

  - Exclusion lists, either attached or declared within the template body
  - Support for attached plucker.ini files as input, instead of putting the
    template in the message body itself.
  - Anchor color support for full RGB and RRGGBB as well as string colors
  - Linting of illegal filename characters on the various platforms
  - Translations of the email and content into the language of the sender
  - Stripping of reply-string characters to allow replies to templates
  - Direct conversion of Microsoft Word and PDF documents
  - Converting attached Microsoft and PDF documents


~ I'm still confused, where can I get some help with this?
  --------------------------------------------------------
  You can get help with this tool through the use of the Plucker mailing
  lists or our irc channel. You can find our mailing lists by following the
  "Mailing List" link on the project homepage, or use the IRC facilities by
  pointing your irc client to irc.plkr.org, and joining the #plucker
  channel.

  Good luck, and keep on Plucking!
biggrin.gif
wayne
QUOTE(Tehas @ Apr 29 2004, 07:35 PM)
I'm running JPLuck on my Linux server.  I have it configured to download (in batch via cron scheduler) specific websites 4 times a day and then compress them together into one file and ftp it to my website.  Then when I'm out and about with my Zaurus, if I can get access to an internet connection, I can grab the file from my site and uncompress them.  I put the retrieval process into a script and have an Icon on one of my tabs so all I need to do is tap on it and off it goes to do the work.


Would you share with the world the scripting you've done for that? I also have a Linux server and your setup would be most convenient for me as well. smile.gif
Tehas
QUOTE(wayne @ Jun 3 2005, 09:22 AM)
Would you share with the world the scripting you've done for that? I also have a Linux server and your setup would be most convenient for me as well. smile.gif
*


Here's the script on the Linux server. I already ran jPluck to define the sites that I want to pluck and saved the config file. (I think I defined each site to be refreshed hourly in the config file so that they'd pluck no matter when I ran the script.) I've already set up a .netrc file to handle the userid / password for my public.ftp server.

I have my plucker config and logging stuff set up in a directory called ~/jpluck. The output of the pluck (pdb files) go to a different directory ~/zaurus/plucks. I scheduled the script to run a couple times a day so that I can pick up my news before leaving for work, or at lunch if I have a hot spot, etc.
CODE
#!/bin/bash                                                              
#-------------------------------------------------------------------#    
# This script will run the jPluck utility to search for any pages   #    
# that are due to be retrieved for the day.                         #    
# 06-04-2003  -  RL Stoner - Created                                #    
# 09-01-2003  -  RL Stoner                                          #    
#             -  Added steps to tar the pluck files and then ftp    #    
#                them to my web site.                               #    
# 09-10-2003  -  RL Stoner                                          #    
#             -  Supressed error messages during the ftp step.      #    
# 03-13-2004  -  RL Stoner                                          #    
#             -  Added GZip step                                    #    
#-------------------------------------------------------------------#    
                                                                         
#-------------------------------------------------------------------------
# Set the home location of the JDK software.                              
#-------------------------------------------------------------------------
export JDK_HOME=/usr/java/j2sdk1.4.1_01                                  
cd ~
rm -rf .java                                                              
rm -rf .jpluck/cache                                                      
                                                                         
cd ~/jpluck                                                          
#-------------------------------------------------
# run jpluck in batch mode
#-------------------------------------------------                                                                
$JDK_HOME/bin/java -Djava.awt.headless=true -Xmx128m -jar jpluckc.jar ./MyList.jxl -destination ~/zaurus/plucks > pluckit.log 2>&1                              
                                                                               
echo "@@@ Cleaning up"                                                          
cd ~                                                                        
rm -rf .java                                                                    
rm -rf .jpluck/cache                                                            
                                                                               
cd ~/zaurus/plucks                                                              
rm -f daily_pluck.tar                                                          
rm -f daily_pluck.tar.gz                                                        
                                                                               
echo "@@@ Taring the plucks"                                                    
tar -cf daily_pluck.tar *.pdb                                                  
echo "@@@ GZipping the plucks"                                                  
gzip daily_pluck.tar                                                            
                                                                               
echo "put daily_pluck.tar.gz" > /tmp/putpluck.txt                              
echo "ls -l d* " >> /tmp/putpluck.txt                                          
echo "y" >> /tmp/putpluck.txt                                                  
echo "bye" >> /tmp/putpluck.txt                                                
echo "@@@ Starting FTP"                                                        
ftp your.public.ftp.server < /tmp/putpluck.txt 1>>~/jpluck/pluckit.log              
echo "@@@ Finished - cleaning up"                                              
                                                                               
rm -f /tmp/putpluck.txt                                                        
                                                                               
#--- end of script ---              


The script for the Zaurus uses ftp to connect to my public ftp server, does a get of the daily_pluck file, gunzip and then untar's the plucker files to a dirctory on my zaurus. The last command requires opie-sh on the Zaurus to display a pop-up box when the script is done.
CODE
#!/bin/bash                                                              
#---------------------------------------------------------------        
# This script will login to my Linux server and get the latest          
# Plucker files                                                          
# 2003-09-01 RL Stoner                                                  
#            Mods to pickup plucks as a tar file from my website.        
# 2004-03-13 RL Stoner                                                  
#            Provide for gunzip of plucks.                              
#---------------------------------------------------------------        
                                                                       
echo "lcd /mnt/card/Documents/jpluck" > /tmp/getPluck.tmp              
echo "get daily_pluck.tar.gz" >> /tmp/getPluck.tmp                      
echo "bye" >> /tmp/getPluck.tmp                                        
ftp -i your.public.ftp.server < /tmp/getPluck.tmp >& /tmp/getPluck.log      
                                                                       
cd /mnt/card/Documents/jpluck                                          
rm -f daily_pluck.tar                                                  
gunzip daily_pluck.tar.gz                                              
tar -xf daily_pluck.tar                                                
                                                                       
opie-sh -m -I -t "Get Plucks" -M "Latest plucker files retrieved." -g  
exit 0
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2019 Invision Power Services, Inc.