|
|
#1 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle Keyboard
|
Updated Hacker News Recipe
So I wanted to be able to click on a link to the HN comments thread of articles downloaded with the Hacker News Recipe. So I made it do that. Not being familiar with calibre recipes I'm sure I've made a pig's breakfast of it. But it does work! Hurray! If someone would like to take a look and help me clean it up that would be nice.
Also I wasn't sure what the etiquette for editing someone else's recipe was exactly. So for author I just tacked my name on the end. Hope that's OK. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Calling parse_feeds in get obfuscated_article will cause the feed to be re-downloaded for every article. Instead override parse_feeds and store the result of calling the base class implementation, so that you can access it in get_obfuscated_article
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Junior Member
![]() Posts: 2
Karma: 10
Join Date: Dec 2011
Device: Kindle Keyboard
|
Here's the update. I'm gonna blame that on being tired :-p
|
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,611
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
Merged, cleaning up the regex.
|
|
|
|
![]() |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Nature news - updated recipe | Alexis | Recipes | 3 | 10-05-2012 03:36 PM |
| Fairbanks Daily News-miner News Recipe Submission | rogerx | Recipes | 2 | 08-25-2011 08:30 PM |
| New Fairbanks Daily News-miner News Recipe -- Need Date inclusion only | rogerx | Recipes | 5 | 08-24-2011 10:12 AM |
| Updated Telepolis (News+Artikel) Recipe | syntaxis | Recipes | 8 | 05-15-2011 07:40 AM |
| please help a newbie recipe hacker :) | Alexis | Recipes | 12 | 01-17-2011 03:34 PM |