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 02-18-2011, 10:07 AM   #1
Ahroo
Junior Member
Ahroo began at the beginning.
 
Ahroo's Avatar
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Recipe request: Cleveland Plain Dealer

I am totally new to Calibre and recipes and python. I was attempting to create a recipe for my local newspaper, the Cleveland Plain Dealer, but all I get is either a bunch of HTML coding or a list of articles but no content. Obviously, there is a lot I don't understand!

Could some kind soul help me out with a working recipe?

The RSS link is:
http://www.cleveland.com/rss/

There is also a link to a mobile version of the paper - should this be used instead?
http://mobile.cleveland.com/advcleve/index.htm

Thank you very much in advance!
Ahroo is offline   Reply With Quote
Old 02-19-2011, 08:23 AM   #2
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
I took a look at that, and I can see why you'd have trouble. Lots of it.

In a typical feed, links to the articles are of a certain format, and you modify part of the link to get the printable article. For example, with my local paper, the Royal Oak Daily Tribune, you simply replace "txt" with "prt", and you're done. Very simple.

The Detroit News made it a bit more difficult, because each feed uses a different subsititution. But that just meant that I needed to work out what that substitution should be for each feed. Straightforward, but a lot more work.

The Plain Dealer uses a different substitution for every article in each feed. I'm new to Calibre, but I've used other similar types of programs for years and have never seen anything like that. On top of that, some of the articles don't use a simple substitution to get to the printable version, and I don't have any idea how to handle that.

So, I'm going to throw up my hands and hope a more advanced user will take this as a challenge. Sorry.
DTM is offline   Reply With Quote
Old 02-19-2011, 11:08 AM   #3
Ahroo
Junior Member
Ahroo began at the beginning.
 
Ahroo's Avatar
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Thank you very much for the attempt and the explanation, DTM. I'm glad that it wasn't just that I am a complete idiot!

Hopefully someone else will come along with some further assistance and then we both can learn.
Ahroo is offline   Reply With Quote
Old 03-07-2011, 02:58 PM   #4
spockmay
Junior Member
spockmay began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Mar 2011
Device: Sony PRS950
I've made a rough hack at a recipe for the Plain Dealer. I've been using it for a while and think I've finally got most of the formatting issues resolved. What a pain. It's slow to run due to the number of tags that have to be searched for and removed. Also, they keep changing the site tag names and classes so it may just stop working one day...

Let me know if it works for you and if you have any problems or changes you'd like to see!
Attached Files
File Type: txt ClePD_v0_3.txt (1.7 KB, 176 views)
spockmay is offline   Reply With Quote
Old 03-11-2011, 06:18 PM   #5
Ahroo
Junior Member
Ahroo began at the beginning.
 
Ahroo's Avatar
 
Posts: 3
Karma: 10
Join Date: Feb 2011
Device: Kindle 3
Thank you, thank you, thank you!!!! It works great! I really appreciate it.
Ahroo is offline   Reply With Quote
Old 03-12-2011, 08:33 AM   #6
DTM
Intentionally Left Blank
DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.DTM ought to be getting tired of karma fortunes by now.
 
DTM's Avatar
 
Posts: 172
Karma: 300106
Join Date: Feb 2006
Location: Royal Oak, MI, USA
Device: Nook STR
Quite an accomplishment, spockmay! My hat is off!
DTM 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
recipe request Torx Recipes 0 12-20-2010 08:33 AM
Request for recipe sumper Recipes 2 10-11-2010 02:25 AM
Request for recipe exdream Calibre 3 04-24-2010 10:13 AM
Request for Recipe girlperson1 Calibre 2 11-14-2008 10:43 PM
Request for Recipe girlperson1 Calibre 2 11-14-2008 07:59 AM


All times are GMT -4. The time now is 02:38 PM.


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