![]() |
#1 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2006
Device: O2 Mini
|
Newsweek Tech and Science feed
From this feed
http://feeds.newsweek.com/headlines/technology/science, I tried rewrite link with this pattern: http://*.\.msnbc\.msn\.com/*./newsweek/from/RSS/$ to $&/print/1/displaymode/1098/ I have not been be able to get the results I want. Is my regexp correct? |
![]() |
![]() |
#2 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
I think that doesn't work because the feed contains urls like this one:
http://feeds.newsweek.com/headlines/...y/science?m=56 - and not the msnbc urls to which you are redirected when you click on a feed item. You may want to try it out with the direct RSS feed from MSNBC: http://rss.msnbc.msn.com/id/3032117/device/rss/rss.xml via http://www.msnbc.msn.com/id/5216556/ |
![]() |
![]() |
#3 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2006
Device: O2 Mini
|
Thanks Alexander for your suggestion. I have tried the above rule with http://rss.msnbc.msn.com/id/3637971/device/rss/rss.xml but still has not been successful.
|
![]() |
![]() |
#4 |
Fully Converged
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 18,175
Karma: 14021202
Join Date: Oct 2002
Location: Switzerland
Device: Too many to count here.
|
Well the print pages a little bit different on msnbc. You want to turn e.g.
http://www.msnbc.msn.com/id/12011437...week/from/RSS/ into http://www.msnbc.msn.com/id/12011437...playmode/1098/ So that's pretty easy, you only need to attach print/1/displaymode/1098/ to each feed item's URL. Try: Pattern: http://www\.msnbc\.msn\.com/id/(\d+)/site/newsweek/from/RSS/ Rewrite to: http://www.msnbc.msn.com/id/$1/site/newsweek/from/RSS/print/1/displaymode/1098/ I haven't tested this myself but I think it should work. |
![]() |
![]() |
#5 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2006
Device: O2 Mini
|
Yes, I thought this should be straight forward. However, the rules don't seem to take effect on this site.
|
![]() |
![]() |
#6 |
Junior Member
![]() Posts: 4
Karma: 10
Join Date: Mar 2006
Device: O2 Mini
|
Following the example in the showcase, the following pattern finally works:
(http://www\.msnbc\.msn\.com/id)/(.*\d)/(site/newsweek/from/RSS)/ $1/$2/$3/print/1/displaymode/1098/ |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Will Newsweek ever work again? | stevejay | Calibre | 3 | 05-21-2009 10:57 PM |
when does the Newsweek come out? | stevejay | Calibre | 1 | 05-11-2009 09:28 AM |
Seriously thoughtful When science fiction meets science fact | pilotbob | Lounge | 51 | 04-25-2009 03:30 PM |
POPULAR SCIENCE NAMES TOP TECH INNOVATIONS OF 2006 | SoCal Bob | Sony Reader | 0 | 11-17-2006 11:27 AM |
Soft on the Science - Science Fiction | Domokos | Reading Recommendations | 0 | 01-29-2006 09:18 PM |