Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Recipes

Notices

Reply
 
Thread Tools Search this Thread
Old 04-12-2011, 12:12 AM   #1
audreypots
Member
audreypots began at the beginning.
 
audreypots's Avatar
 
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: Kindle
Print versions of articles question

Hi,

Sorry guys but I need some help, so far I have been enjoying myself with recipies and I have made a few already (easy rss feeds only ).

My question is this, is there a way to manipulate the url to remove some of the url? Sorry for my bad english (not my main language).

For example:

Code:
URL: 

http://newsinfo.inquirer.net/breakingnews/nation/view/20110411-330586/Honasan-hints-at-giving-Aquino-emergency-powers-over-oil-crisis


Print:

http://services.inquirer.net/print/print.php?article_id=20110411-330586
as you can see in my example I only need a specific portion of the url.
In the tutorial we were adding to the url:

Code:
return url.replace('http://www.philstar.com/Article', 'http://www.philstar.com/ArticlePrinterFriendly')

Is there a documentation for the URL object or class? I want to know the other methods of the url object like url.replace() above.


again many thanks for the help and enjoy the rest of your day...
audreypots is offline   Reply With Quote
Old 04-12-2011, 12:45 AM   #2
audreypots
Member
audreypots began at the beginning.
 
audreypots's Avatar
 
Posts: 10
Karma: 10
Join Date: Apr 2011
Device: Kindle
I found my answer:

https://www.mobileread.com/forums/sho...d.php?t=129150

I'll do a search next time (I just hope I get the key words right)....
audreypots is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Electronic versions of out-of-print paperbacks Gannett General Discussions 78 10-19-2010 04:03 PM
Print vs Pixel: retailers experiment with print/ebook bundles DMcCunney General Discussions 42 09-15-2010 11:29 AM
Print versions and multiple feed sources msgnfg Calibre 0 01-12-2010 02:07 AM
K1 vs K2 anyone have both versions? tapar Amazon Kindle 12 12-26-2009 07:47 AM
Sur Amazon, des versions électroniques plus chères que les versions papier IreneDelse Amazon Kindle 8 08-29-2008 08:35 AM


All times are GMT -4. The time now is 10:31 AM.


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