![]() |
#2776 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
not an expert, but...
reddit.com's rss is a list of links to all sorts of different data (articles, movies, music and so on). i dont think much can be done for this.
i may be wrong ( i wrote my 1st recipe a week ago. and i am still writing). |
![]() |
![]() |
#2777 |
Zealot
![]() Posts: 122
Karma: 10
Join Date: Jul 2010
Device: nook
|
new recipe TheMarker to be builtin
this is good enough to get in to calibre.
and thanks to TonyTheBookworm. I couldn't do this with out you. Now its time for my next recipe. Spoiler:
Last edited by marbs; 09-20-2010 at 11:33 AM. |
![]() |
Advert | |
|
![]() |
#2778 |
Junior Member
![]() Posts: 8
Karma: 10
Join Date: Aug 2010
Device: Kobo
|
Hello. Has something changed in the GoComics site that the built-in recipe no longer works? I have not been able to get this recipe to work in a while. The error generated is this;
Spoiler:
I run with the supplied preferences in Calibre, so I am hoping that I haven't caused this issue myself. I have really enjoyed this recipe and how easily it works with Calibre. Thanks. |
![]() |
![]() |
#2779 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
Edit: I checked and apparently, I did upload the revised recipe. I tested the current built in and it works fine. Are you perhaps using an earlier version that I uploaded here? If you are, switch to the built in that is now supplied with Calibre. The error you are getting looks like the error from the earlier version. Last edited by Starson17; 09-20-2010 at 07:03 PM. |
|
![]() |
![]() |
#2780 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
there is already a recipe for foreign policy but it covers rss feeds can anyone make the recipe for print edition
http://www.foreignpolicy.com/issues/current thanks in advance |
![]() |
Advert | |
|
![]() |
#2781 |
Enthusiast
![]() Posts: 49
Karma: 10
Join Date: Aug 2009
Device: none
|
|
![]() |
![]() |
#2782 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
If your actually trying to modify the built in recipe. I do not see why. I testing it on my end and do not see after running it where any of the articles were not in print version. Also, I ran a test with print statements included and I do not see anywhere where the original url is what you stated of being changed. It appears to follow the flow that the original author of the recipe expected and looked for. In other words, kinda hard to fix something that isn't broken. <shrug>
As far as the indents you have to make sure they are spaced out correctly. Spoiler:
****notice the return statement is directly under the print_url statement. Last edited by TonytheBookworm; 09-21-2010 at 12:18 AM. |
![]() |
![]() |
#2783 |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
I know calibre appears to get the title for the news feed from the recipe section of title =
I'm curious to know is there a way to make the title where it puts the date next to the title? For example something like this Spoiler:
thanks |
![]() |
![]() |
#2784 |
Junior Member
![]() Posts: 6
Karma: 10
Join Date: Sep 2010
Device: Kindle
|
Custom recipe help/request: The Bay Citizen
I've been trying to get a custom recipe for The Bay Citizen to work. I've successfully created custom recipes for other sites, but this one is giving me problems.
I'm using this feed: http://www.baycitizen.org/feeds/stories/ I'm in "Basic Mode" and leaving all other settings at their defaults. When I attempt to fetch this recipe, Calibre tells me "Failed: Fetch news from The Bay Citizen". The error output is too long to paste here, so I'm attaching it. I'm sorry, but I don't understand what's going on. |
![]() |
![]() |
#2785 | |
Addict
![]() Posts: 264
Karma: 62
Join Date: May 2010
Device: kindle 2, kindle 3, Kindle fire
|
Quote:
Here you go... Please read the #'s (comments) in the code so you can get an understanding of what you needed to do. Spoiler:
Last edited by TonytheBookworm; 09-21-2010 at 01:52 PM. Reason: posted code |
|
![]() |
![]() |
#2786 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2010
Location: Los Angeles, CA
Device: Kindle 3
|
I'm getting the following error in a custom recipe:
Code:
1% Fetching feed Skeptic Blog... Failed feed: Skeptic Blog Traceback (most recent call last): File "site-packages/calibre/web/feeds/news.py", line 1274, in parse_feeds File "site-packages/mechanize/_mechanize.py", line 209, in open File "site-packages/mechanize/_mechanize.py", line 261, in _mech_open httperror_seek_wrapper: HTTP Error 403: Bad Behavior Code:
def get_browser(self): br = BasicNewsRecipe.get_browser() br.open(my_url) return br This doesn't occur with a vanilla mechanize browser. Right now I'm doing: Code:
def get_browser(self): br = mechanize.Browser() br.open(my_url) return br |
![]() |
![]() |
#2787 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,004
Karma: 177841
Join Date: Dec 2009
Device: WinMo: IPAQ; Android: HTC HD2, Archos 7o; Java:Gravity T
|
Quote:
https://www.mobileread.com/forums/sho...postcount=2399 Or you can use TamperData to track down exactly why FireFox passes the test and Calibre does not. Last edited by Starson17; 09-21-2010 at 02:28 PM. |
|
![]() |
![]() |
#2788 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,302
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
@krunk: the exact code setting up browser is in calibre/__init__.py you can copy paste it and comment out things one by one to see what's causing the problem.
|
![]() |
![]() |
#2789 |
Member
![]() Posts: 19
Karma: 10
Join Date: Feb 2010
Location: Los Angeles, CA
Device: Kindle 3
|
@Starson17
Many thanks, that's a far more thorough recipe than I was working on. @Kovid: Thank you, I'll poke around in there. I'm curious why there's not a dedicated Calibre Recipe's forum? It seems worthy topic. ![]() |
![]() |
![]() |
#2790 |
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 44,302
Karma: 23661992
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
I am not an MR moderator, so it's not really upto me. You should start a thread in the feedback forum requesting it.
|
![]() |
![]() |
|
![]() |
||||
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 |