![]() |
#1 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2006
Device: Tungsten E
|
![]()
I have a question about link rewriting.
I want to download an RSS feed for a webcomic, Ctrl+Alt+Del. The RSS feed links to both news items and comic pages. The comic page links, from the XML page of the RSS feed, are in the format: http://cad-comic.com/comic.php?d=2006-04-29 When the actual link is follow, though, it appears as: http://cad-comic.com/comic.php?d=20060429 ...in the location bar of the browser. On each of these pages, the comic is a JPG image, with the link: http://cad-comic.com/comics/20060429.jpg What I want to do is re-write the RSS feed links to point directly to the jpg images, rather than the entire page, which contains a heap of formatting and graphics and has no printable/PDA version. I've tried... (.*)/comic\.php?d=(.*)-(.*)-(.*) ...rewritten into... $1/comics/$2$3$4.jpg And also... (.*)/comic\.php?d=(.*) ...rewritten into... $1/comics/$2.jpg ...and neither seem to work. They still link to the full pages. Any suggestions? Does Sunrise XP support rewriting URL links to direct image links? I am using Sunrise XP Beta 9f. |
![]() |
![]() |
#2 |
Jah Blessed
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,295
Karma: 1373
Join Date: Apr 2003
Location: The Netherlands
Device: iPod Touch
|
You need to escape the question mark as well:
(.*)/comic\.php\?d=(.*)-(.*)-(.*) |
![]() |
Advert | |
|
![]() |
#3 |
Junior Member
![]() Posts: 3
Karma: 10
Join Date: Apr 2006
Device: Tungsten E
|
Ah - awesome. Thanks for the prompt reply, Laurens. This is an awesome piece of software you have here - as far as I'm concerned, it is the most essential piece of software I have on my PDA. And that includes Calendar! *grin*
|
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Firmware Update 2.3.3 download link? | kaiynne | Amazon Kindle | 14 | 07-30-2010 11:33 AM |
Apple Censors 'Ulysses' Webcomic, Fails to See Irony of Situation | m-reader | General Discussions | 95 | 06-28-2010 05:26 AM |
A Question about a Link | patrisha w | Amazon Kindle | 2 | 02-21-2009 05:16 PM |
the feed only contains a link ... | alexxxm | Calibre | 7 | 02-18-2009 08:43 AM |