Register Guidelines E-Books Today's Posts Search

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

Notices

Closed Thread
 
Thread Tools Search this Thread
Old 08-07-2010, 03:50 PM   #2401
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
New Recipe: The Skeptical Inquirer

New Recipe: The Skeptical Inquirer
Attached Files
File Type: zip TheSkepticalInquirer.zip (1,018 Bytes, 214 views)
Starson17 is offline  
Old 08-07-2010, 08:14 PM   #2402
roguefan99
Zealot
roguefan99 began at the beginning.
 
Posts: 106
Karma: 16
Join Date: Jul 2009
Location: Adelaide, Australia
Device: Smart Q7, and Kobo
Dunno if anyone has reported this but the Esquire reciepe is returning blank articles for me at the moment. I guess they have changed their site design so that calibre doesn't see it correctly at the moment.

Its been doing it for a few weeks now.
roguefan99 is offline  
Old 08-07-2010, 11:19 PM   #2403
SSH
Junior Member
SSH began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle2
Glad you are collecting requests. I have never posted and don't know if this is the right way. I would like to be able to download www.americanbanker.com to my Kindle2.
SSH is offline  
Old 08-07-2010, 11:35 PM   #2404
SSH
Junior Member
SSH began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle2
New recipes

I would like to have a recipe for downloading the American Banker, at www.americanbanker.com
SSH is offline  
Old 08-08-2010, 03:49 AM   #2405
wyh
Junior Member
wyh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle 2
Excluding URLs

Hello,

Could someone clue me in as to how to exclude certain articles from within a feed? I'm trying to customize the New Yorker recipe to exclude a bunch of articles called "Goings On Around Town." They usually have URLs that look like:
http://www.newyorker.com/arts/events/..._GOAT_..... (examples below).

I have a clue that it involves using the filter_regexps command but haven't gotten it to work correctly.

Many thanks in advance!

http://www.newyorker.com/arts/events...h_GOAT_theatre
http://www.newyorker.com/arts/events...ab_GOAT_above1
http://www.newyorker.com/arts/events...z_GOAT_horizon
http://www.newyorker.com/arts/events...GOAT_nightlife
wyh is offline  
Old 08-08-2010, 10:35 AM   #2406
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 wyh View Post
I'm trying to customize the New Yorker recipe to exclude a bunch of articles called "Goings On Around Town."
...
I have a clue that it involves using the filter_regexps command but haven't gotten it to work correctly.
I don't think filter_regexps will work. I believe it operates after the feed is parsed for articles.

There is a lengthy discussion of how exclude articles in a feed in this thread between me and another poster. Search my posts and "parse_index" in this thread. Basically, one method is to use parse_index to read the rss page and build your own feed list without GOAT.

Since that time, I've realized that you can process the articles in the feed list with parse_feeds. See here for some info: http://www.feedparser.org/docs/ Also here.

Last edited by Starson17; 08-08-2010 at 03:02 PM.
Starson17 is offline  
Old 08-08-2010, 11:27 PM   #2407
wyh
Junior Member
wyh began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Aug 2010
Device: Kindle 2
Thanks for the tip. It looks a bit involved, so I'll have to take some time to try it out. But I do appreciate being pointed in the right direction.
wyh is offline  
Old 08-09-2010, 08:52 AM   #2408
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 wyh View Post
Thanks for the tip. It looks a bit involved, so I'll have to take some time to try it out. But I do appreciate being pointed in the right direction.
You're welcome. Yes, it's a bit complex for the small benefit of removing something from the article list of a feed. As you would have found by reading this thread, I've previously believed that the best way to do the job you want to do is to treat the feed page as a plain web page and build your new feed list (omitting GOAT articles) with parse_index. More recently, I've realized that parse_feeds may be the better way, but I haven't seen it used by others, and haven't had a chance to figure it out for myself yet.

As an aside - I once tried to write a recipe for the New Yorker, before realizing there was a built-in (stored under "The", not "New"). As I was building my own, I found there were multiple other feeds available that split up the single feed used in the built-in. I can't recall if the GOAT feeds are separated, but you might consider looking for other feeds, and if the GOAT feeds are separate, you can just eliminate that feed and use the other separated feeds. (I kept the recipe I wrote as a New Yorker Cartoon only recipe, but never released it, as it duplicates some of the built-in New Yorker recipe).

You may also want to review the Scientific American recipe, as I believe it uses parse_index. Good luck
Starson17 is offline  
Old 08-09-2010, 01:52 PM   #2409
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
New Recipe: Yahoo News

There are dozens of specialized Yahoo News feeds. I've only included the Top Stories and General Science. Others can be added from the link in the recipe.
Attached Files
File Type: zip YahooNews.zip (768 Bytes, 222 views)
Starson17 is offline  
Old 08-09-2010, 04:26 PM   #2410
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 eric11210 View Post
Hi folks, I know there is a place somewhere on the Calibre site to post custom recipes that people created, but I haven't found it.

This is the right place. You can also post in the bug tracker

If you post here, you should post it as a zip file, or you should post it inside of code tags (the hash/pound symbol). Otherwise, your indents are lost, and indents are critical in a recipe.
Starson17 is offline  
Old 08-09-2010, 04:39 PM   #2411
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
This thread?

This thread is kind of long.

Does anyone think this sticky thread would be better off being split into two threads - one for pure requests by those who just want it done for them and don't have the skills/time/desire to write their own recipe and a second thread for those who want technical help writing their own recipe?

Comments? Do the mixed-in "how-to" discussions bother those who just want to post or find a recipe request?
Starson17 is offline  
Old 08-09-2010, 04:43 PM   #2412
DoctorOhh
US Navy, Retired
DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.DoctorOhh ought to be getting tired of karma fortunes by now.
 
DoctorOhh's Avatar
 
Posts: 9,897
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen
Quote:
Originally Posted by Starson17 View Post
Comments? Do the mixed-in "how-to" discussions bother those who just want to post or find a recipe request?
The mixed in how-to discussions actually encouraged me to create 5 or 6 recipes myself, even though I lack any programing skills.
DoctorOhh is offline  
Old 08-09-2010, 05:47 PM   #2413
trinigyal
Junior Member
trinigyal began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Aug 2010
Device: Sony PSC 600
Hello,

Can you help me with the following feed:


http://www.ctntworld.com/LocalCategories.aspx?show=true
trinigyal is offline  
Old 08-09-2010, 08:09 PM   #2414
Dmurphy
Junior Member
Dmurphy began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Aug 2010
Device: iPad & nook
Not sure if this is the right place for this or not but...I was trying to read Strategy + Business and noticed that each article ends on my reader after the first page from the article on the website. It appears to not be capturing text past the first page. any help is appreciated.
Dmurphy is offline  
Old 08-10-2010, 10:34 AM   #2415
eric11210
Addict
eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.eric11210 ought to be getting tired of karma fortunes by now.
 
Posts: 295
Karma: 400001
Join Date: Aug 2010
Device: Sony Reader PRS-600
Edit: Never mind. I just looked at what I had asked about and it turns out what I wanted wouldn't help me since the site doesn't offer a complete copy of the articles in question.
eric11210 is offline  
Closed Thread


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom column read ? pchrist7 Calibre 2 10-04-2010 02:52 AM
Archive for custom screensavers sleeplessdave Amazon Kindle 1 07-07-2010 12:33 PM
How to back up preferences and custom recipes? greenapple Calibre 3 03-29-2010 05:08 AM
Donations for Custom Recipes ddavtian Calibre 5 01-23-2010 04:54 PM
Help understanding custom recipes andersent Calibre 0 12-17-2009 02:37 PM


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


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