View Single Post
Old 02-03-2006, 07:35 AM   #5
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 BasilC
Does this mean that using Sunrise I could cut out all the links that appear on the sides of the page on my PC but at the top of the page on my PDA, and just go straight to the meat of each article? That's something that in theory you can do with HandStory, but doing it is far too complicated for a non-programmer like me.
Sunrise can rewrite links on-the-fly, making it possible to go straight to the PDA-friendly version (usually the "printer-friendly" version) of a page.

Taking the feed you mentioned as an example, it can rewrite
http://www.opendemocracy.net/debates...articleId=3233
to
http://www.opendemocracy.net/article...articleId=3233

Link rewriting filters are easy to write, provided you have some knowledge of regular expressions.

Link rewriting does not work for every site, though. Some sites require JavaScript to access the printer-friendly version, or sometimes there is no way to rewrite the link because the story IDs do not match.
Laurens is offline   Reply With Quote