Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 07-22-2005, 12:39 AM   #1
brent
Junior Member
brent began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Jul 2005
Device: Tungsten e
Using regex to filter content

This is GOT to be somewhere that I'm too stupid to find - a simple example would be loverly...

My geek-level is Mechanical Engineer. I'm shit-hot at building an 80 component 3d CAD model of a 250 tonne rotary press tool including all the CNC machining profiles and EDMed surfaces... but not very clever at scripting.

How do I convince Sunrise to run a regex on the local weather

http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDV10450.txt

so that it only returns everything afer the word Forecast?

I think it's something to do with anchor.link and something to do with var regexp = but that's as far as I've got.
brent is offline  
Old 07-22-2005, 01:42 AM   #2
Laurens
Jah Blessed
Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.Laurens is no ebook tyro.
 
Laurens's Avatar
 
Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
Quote:
Originally Posted by brent
How do I convince Sunrise to run a regex on the local weather
Unfortunately, you can't. It's not possible to filter the actual content (i.e. the text itself) of a page through scripting. Scripting can only be used to filter and rewrite llinks, using Regular Expressions for matching link URLs.
Laurens is offline  
Advert
Old 07-22-2005, 04:04 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: 617
Karma: 2561
Join Date: Feb 2003
Location: East Lyme, CT
Device: Direct Neural Implant
Try using Sitescooper. It was designed for exactly this purpose (and supports quite a few other file formats, including Plucker).
hacker is offline  
Old 07-22-2005, 12:27 PM   #4
macrotor
Connoisseur
macrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it ismacrotor knows what time it is
 
macrotor's Avatar
 
Posts: 59
Karma: 2418
Join Date: Nov 2002
Location: Fremont, CA, USA
Device: Tungsten|C with Nokia6200
hacker beat me to the punch. I can vouch that Sitescooper does exactly what you need. It'll even export formatted html so that you can then use any Palm encoder of your choice (Plucker, iSilo, etc...)
macrotor is offline  
 


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to filter feeds t3d Recipes 8 10-03-2010 12:45 PM
TOC Filter Help???? erics1019 Calibre 1 06-10-2010 01:53 PM
Filter question edbro Calibre 2 01-20-2010 08:44 PM
Need to filter German ebooks akadaedalus Feedback 2 01-19-2010 05:31 AM


All times are GMT -4. The time now is 10:00 PM.


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