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 12-15-2015, 08:21 PM   #1
jpope
Junior Member
jpope began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Paperwhite v2
JC News Tribune

I'm trying to put together a recipe for the Jefferson City News Tribune. The basic news recipe works for the bulk of it but, the individual RSS feeds (for example) are full of CDATA stuff that gets pulled into the final export as the title of the articles in the menu. The result is functional but, messy.

Can anyone help me out here please?
jpope is offline   Reply With Quote
Old 12-15-2015, 10:38 PM   #2
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: 43,843
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
You should contact the website and get them to fix their RSS feeds. Failing that you can always use some regexps to clear up the title manually. Just implement parse_feeds in your recipe, calling the base class version and then running through the articles, fixing the titles/descriptions.
kovidgoyal is offline   Reply With Quote
Advert
Old 12-16-2015, 08:05 PM   #3
jpope
Junior Member
jpope began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2015
Device: Paperwhite v2
I think you are correct on the site needing to fix their feeds, today's feeds aren't nearly as bad. Thanks for the response.
jpope is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Help Minneapolis Star Tribune Pmykland Recipes 3 07-20-2022 03:47 PM
Chicago Tribune Printer's Row moyogi2 General Discussions 1 02-09-2012 09:49 PM
International Herald Tribune? gianfri Recipes 3 12-27-2011 11:37 AM
Chronicle Tribune recipe help madman911 Recipes 0 01-29-2011 11:33 PM
Chicago Tribune now available on the Kindle! daffy4u Amazon Kindle 14 08-11-2008 01:10 PM


All times are GMT -4. The time now is 01:45 PM.


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