Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > Miscellaneous > Archive > Sunrise

Notices

 
 
Thread Tools Search this Thread
Old 03-24-2006, 12:20 PM   #1
juanpoh
Junior Member
juanpoh began at the beginning.
 
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?
juanpoh is offline  
Old 03-24-2006, 08:25 PM   #2
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
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/
Alexander Turcic is offline  
Old 03-28-2006, 10:23 AM   #3
juanpoh
Junior Member
juanpoh began at the beginning.
 
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.
juanpoh is offline  
Old 03-28-2006, 11:46 AM   #4
Alexander Turcic
Fully Converged
Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.Alexander Turcic ought to be getting tired of karma fortunes by now.
 
Alexander Turcic's Avatar
 
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.
Alexander Turcic is offline  
Old 03-28-2006, 07:54 PM   #5
juanpoh
Junior Member
juanpoh began at the beginning.
 
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.
juanpoh is offline  
Old 03-29-2006, 09:42 AM   #6
juanpoh
Junior Member
juanpoh began at the beginning.
 
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/
juanpoh is offline  
 


Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 09:42 PM.


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