Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 11-18-2011, 10:11 PM   #1
anleva
Enthusiast
anleva began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Nov 2011
Device: Kindle Paperwhite
The Week magazine

Is there any way to improve the recipe for The Week magazine to strip out the extraneous links and information that appears with each article?
anleva is offline   Reply With Quote
Advert
Old 11-19-2011, 10:04 AM   #2
Starson17
Wizard
Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.Starson17 can program the VCR without an owner's manual.
 
Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
Quote:
Originally Posted by anleva View Post
Is there any way to improve the recipe for The Week magazine to strip out the extraneous links and information that appears with each article?
Yes, but you will have to modify the recipe. FireFox and FireBug are used to find the tags for the extraneous items to remove and remove_tags is the method commonly used to remove them.
Starson17 is offline   Reply With Quote
Old 11-19-2011, 02:30 PM   #3
anleva
Enthusiast
anleva began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Nov 2011
Device: Kindle Paperwhite
Quote:
Originally Posted by Starson17 View Post
Yes, but you will have to modify the recipe. FireFox and FireBug are used to find the tags for the extraneous items to remove and remove_tags is the method commonly used to remove them.
Thanks. I thought that since there was the ability to print the article, and the print version was clean, there might be a way to use that to our advantage. But in looking at the URLs there I don't notice a difference between the pages so that was a dead end.

Not sure how to use the FireFox or FireBug method. I'm new to Calibre and not a programmer or scripting literate so making those modifications are beyond me. Maybe someone more knowledgeable could make the modifications.
anleva is offline   Reply With Quote
Old 11-19-2011, 10:55 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 31,717
Karma: 8695932
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
I've already fixed this recipe (used the new auto_cleanup functionality)
kovidgoyal is offline   Reply With Quote
Old 11-20-2011, 12:23 PM   #5
anleva
Enthusiast
anleva began at the beginning.
 
Posts: 38
Karma: 10
Join Date: Nov 2011
Device: Kindle Paperwhite
Thank you! It looks much better.
anleva is offline   Reply With Quote
Advert
Old 01-01-2012, 04:47 PM   #6
jimolo
Junior Member
jimolo began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Dec 2010
Device: Kindle
Excellent work! Thank you!
jimolo is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Magazine-like PDF viewer (like the flash magazine viewer on certain sites?)? Huyggy Reading and Management 6 12-12-2013 05:35 AM
"The Week" Magazine Request Oilfieldtrash Recipes 9 01-16-2012 02:11 PM
? about magazine cjrenick Barnes & Noble NOOK 8 12-29-2010 01:01 PM
The Magazine is Dead. Long Live the Magazine! kennyc News 17 11-01-2010 01:36 PM
Magazine FREEBIES - HUB magazine: Weekly Tales of SF Dr. Drib Deals, Freebies, and Resources (No Self-Promotion) 3 11-07-2009 01:07 PM


All times are GMT -4. The time now is 03:40 PM.


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