Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Readers > Amazon Kindle

Notices

Reply
 
Thread Tools Search this Thread
Old 12-14-2009, 03:51 PM   #16
jj2me
Guru
jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.jj2me ought to be getting tired of karma fortunes by now.
 
Posts: 820
Karma: 8820388
Join Date: Dec 2008
Device: Sony PRS-505, -350; Kindle 3 3G, DX, PW 2; various tablets
Quote:
Originally Posted by daffy4u View Post
In Calibre 0.6.27 it's under "English [137]" and listed alphabetically as "The Los Angeles Times". Yesterday I tried to find a way to open the recipe and dissect it but couldn't. Let us know if you find a way.
I found the built-in recipe files at C:\Program Files\Calibre2\resources\recipes on a Windows PC.

For Custom recipes, they show up in the Calibre GUI when you click the down-arrow on the right of the "Fetch news" button and select "Add a custom news source", then select a recipe title and click the Advanced tab on the right.
jj2me is offline   Reply With Quote
Old 12-14-2009, 04:11 PM   #17
daffy4u
I'm Super Kindle-icious
daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.
 
daffy4u's Avatar
 
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
Quote:
Originally Posted by jj2me View Post
I found the built-in recipe files at C:\Program Files\Calibre2\resources\recipes on a Windows PC.
That's what we were looking for! Thanks.

The rest I knew as you can see from the images I attached in an earlier post.
daffy4u is offline   Reply With Quote
Old 12-14-2009, 05:14 PM   #18
daffy4u
I'm Super Kindle-icious
daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.
 
daffy4u's Avatar
 
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
Quote:
Originally Posted by jj2me View Post
For Custom recipes, they show up in the Calibre GUI when you click the down-arrow on the right of the "Fetch news" button and select "Add a custom news source", then select a recipe title and click the Advanced tab on the right.
Okay, now I have a better understanding of what you were saying for this part.

Once in the area where you create your own custom feed, there is and option to look at and further customize a built-in recipe. In the case of the L.A. Times, the recipe is actually a Python script not just the normal feeds we pull from the we pull from a web site.

Just a snippet of the code:

Code:
    feeds          = [(u'News', u'http://feeds.latimes.com/latimes/news')
                      ,(u'Local','http://feeds.latimes.com/latimes/news/local')
                      ,(u'MostEmailed','http://feeds.latimes.com/MostEmailed')
                      ,(u'Politics','http://feeds.latimes.com/latimes/news/local/politics/cal/')
                      ,('OrangeCounty','http://feeds.latimes.com/latimes/news/local/orange/')
                      ,('National','http://feeds.latimes.com/latimes/news/nationworld/nation')
                      ,('Politics','http://feeds.latimes.com/latimes/news/politics/')
                      ,('Business','http://feeds.latimes.com/latimes/business')
                      ,('Sports','http://feeds.latimes.com/latimes/sports/')
                      ,('Entertainment','http://feeds.latimes.com/latimes/entertainment/')
                      ]


    def get_article_url(self, article):
        ans = article.get('feedburner_origlink').rpartition('?')[0]
It looks like it might be simple enough to swap out the L.A. Times feeds with other feeds (carefully checking the whole script not just this section).

And it looks like feedburner is used to create the feeds (which I just realized I've used before to create a feed for a Pre app for a site that didn't have an RSS feed).

BTW, I tried to copy and paste the urls directly into my browser and they didn't work, it just sent me to my Google Reader "add a feed" page.

I don't think it can hurt to try, just don't email it to your Kindle until the bugs are worked out. Just fetch it directly into Calibre.

I am going to play with it over the week to see what I can do.
Attached Thumbnails
Click image for larger version

Name:	latimes 1.JPG
Views:	228
Size:	64.8 KB
ID:	41277   Click image for larger version

Name:	latimes 2.JPG
Views:	236
Size:	88.8 KB
ID:	41278   Click image for larger version

Name:	latimes 3.JPG
Views:	239
Size:	66.9 KB
ID:	41279  

Last edited by daffy4u; 12-14-2009 at 05:21 PM. Reason: left out some info
daffy4u is offline   Reply With Quote
Old 12-14-2009, 08:54 PM   #19
daffy4u
I'm Super Kindle-icious
daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.
 
daffy4u's Avatar
 
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
For those playing along with me, the Calibre online user guide has a section called "Customizing the Fetch Process" which walks us through creating the more complex recipes.
daffy4u is offline   Reply With Quote
Old 12-15-2009, 03:25 PM   #20
Mike L
Wizard
Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.Mike L ought to be getting tired of karma fortunes by now.
 
Mike L's Avatar
 
Posts: 1,479
Karma: 3846231
Join Date: Apr 2009
Location: Edinburgh, Scotland
Device: Kindle 3, Samsung Galaxy
Quote:
Originally Posted by daffy4u View Post
For those playing along with me, the Calibre online user guide has a section called "Customizing the Fetch Process" which walks us through creating the more complex recipes.
Yes, I am playing along with you - with some success.

I mentioned earlier that I was irritated by the junk that gets downloaded at the end of every article. This includes all the usual "email to a friend" stuff, plus links to all the other articles in that day's paper, and a lot more.

I studied the page of the user manual that you gave a link for, and realised I could get rid of the junk. I've now managed to do that, although it was by trial and error rather than a deep understanding of how the recipes work.

But I've ended up with a simple download containing just the articles without the junk, each starting on a new page - and only the sections of the paper I'm interested in.

So thanks for poining out what's possible. I'm encouraged to go further with this process.
Mike L is offline   Reply With Quote
Old 12-15-2009, 04:30 PM   #21
daffy4u
I'm Super Kindle-icious
daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.daffy4u ought to be getting tired of karma fortunes by now.
 
daffy4u's Avatar
 
Posts: 6,734
Karma: 2434103
Join Date: Apr 2008
Location: Long Drive, Calinadia Candafornia
Device: KDXG, KT, Oasis
Yay! I won't get to do my own playing until the weekend but I too am encouraged by your progress. Thanks!
daffy4u is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Newspaper Subscriptions reech Amazon Kindle 0 08-26-2010 04:18 PM
Content How do you save newspaper subscriptions on your Kindle indefinitely? katherine Amazon Kindle 3 06-23-2010 09:09 AM
Newspaper subscriptions question jasonfedelem Amazon Kindle 2 06-11-2010 06:34 PM
Best eReader for getting UK Newspaper subscriptions? Pascual Which one should I buy? 6 12-07-2009 12:29 PM
Question for those with magazine and newspaper subscriptions. GatorDeb Amazon Kindle 3 01-02-2008 03:19 PM


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


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