Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > Miscellaneous > Archive > Mobile Sites

Notices

 
 
Thread Tools Search this Thread
Old 02-22-2005, 05:28 PM   #1
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 614
Karma: 2561
Join Date: Feb 2003
Location: New London, CT
Device: Direct Neural Implant
Announcing RSS-to-Memo

I've been playing around with lots of RSS, RDF, and Atom code lately in a stealth project (major annoucement soon, Alexander has already seen some of the project), and in testing, I came up with some interesting bits of Perl that I think others will find useful.

So in that vein, attached is a small perl script that will take a feed (specified by you) and convert it to a MemoDB record that you can read in MemoPad on your Palm device.

It works like this:
Code:
./rss-to-memo --name Plucker --feed http://www.plkr.org/rss.pl
It will either append or create anew, MemoDB.pdb, with the feed of your choice as a record in MemoPad.

It requires a few non-core Perl modules, so you'll have to install those. To do that, just use the following syntax:
Code:
perl -MCPAN -e 'install "Getopt::Long"'
The Palm-specific modules (Palm::PDB and Palm::Memo) can be found at the Coldsync homepage. I cooked this up quick, but I could also use the Perl bindings in pilot-link, but I decided not to, because it requires a bit more work to get the pilot-link Perl bindings installed on most systems.

Simple, and all in 33 lines of code!
Attached Files
File Type: txt rss-to-memo.pl.txt (3.0 KB, 171 views)

Last edited by hacker; 02-22-2005 at 05:53 PM.
hacker is offline  
Old 02-23-2005, 06:00 AM   #2
melvynadam
Connoisseur
melvynadam began at the beginning.
 
melvynadam's Avatar
 
Posts: 64
Karma: 10
Join Date: Jan 2004
Location: Israel
Device: Tungsten T3, HTC Wizard
Any chance of an installer for those of us that found the OP a tad confusing?
melvynadam is offline  
 
Enthusiast
Old 02-23-2005, 11:12 AM   #3
hacker
Technology Mercenary
hacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with othershacker plays well with others
 
hacker's Avatar
 
Posts: 614
Karma: 2561
Join Date: Feb 2003
Location: New London, CT
Device: Direct Neural Implant
Quote:
Originally Posted by melvynadam
Any chance of an installer for those of us that found the OP a tad confusing?
An installer for what? Its a Perl script... just run it. If it complains that modules are missing, install those modules and run it again.
hacker is offline  
Old 02-23-2005, 10:42 PM   #4
Chaos
Evangelist
Chaos has a complete set of Star Wars action figures.Chaos has a complete set of Star Wars action figures.Chaos has a complete set of Star Wars action figures.
 
Posts: 418
Karma: 281
Join Date: Jul 2004
Location: Canada
Device: Assorted older devices
Pretty nice. I might play with it a bit when I get the chance... Along with that mapquest script from a couple weeks ago when the workload lightens (with luck, this weekend!).

"Stealth project" involving RSS, and other feed types... I'm going to guess RSS support for Plucker (or something similar)? Of course I could and probably am wrong, but anything to do with hacker and RSS and Palm devices and Perl has to end very well for everyone. Indeed, that's a compliment to your high skills.
Chaos is offline  
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Unutterably Silly Announcing America's Next President! recluse Lounge 4 10-11-2010 01:15 PM
Transfering memo? Calaquendi iRiver Story 6 09-30-2010 10:25 AM
Which one to buy? for memo, To-do lists, good pdf support Prash Which one should I buy? 1 09-03-2010 04:30 PM
Announcing RSS/Atom/Podcast Downloader for Reader Sorcerous Sony Reader 12 03-05-2007 07:29 PM
Handstory Memo incompatibility with PALM DESKTOP 4.2 Dbrando Reading and Management 0 08-14-2006 03:05 PM


All times are GMT -4. The time now is 10:15 AM.


MobileRead.com is a privately owned, operated and funded community.