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.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=82642\"][{POST_SNAPBACK}][/a][/div]
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.
#!/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.
#!/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