|
|
#1 |
|
Member
![]() ![]() Posts: 24
Karma: 142
Join Date: Sep 2010
Device: K3, KPW
|
How do we handle recipes where the url points to an article? (instead of a feed containing articles)
Seems like Code:
use_embedded_content = False Attached recipe has fix for today's date in url. However, running recipe fails in build_index by not finding articles.... Debug output has links to feed urls. Recipe: Spoiler:
Debug output: Spoiler:
Traceback: Spoiler:
Original thread: https://www.mobileread.com/forums/sho...d.php?t=154396 by entodoays https://www.mobileread.com/forums/member.php?u=139059 Last edited by _reader; 06-14-2012 at 04:50 PM. |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You implement parse_index() in your recipe. There are amny builtin recipes that do this, look at them for examples.
|
|
|
|
| Advert | |
|
|
|
|
#3 |
|
Member
![]() ![]() Posts: 24
Karma: 142
Join Date: Sep 2010
Device: K3, KPW
|
Thanks, Kovid. I'll look at parse_index().
|
|
|
|
![]() |
| Tags |
| article, date, url |
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| headline of first article is shown, furthers are not in the article pages | DisasterArea | Recipes | 1 | 02-02-2012 06:29 PM |
| Create Article Sections From Feed? | Finbar127 | Recipes | 5 | 02-26-2011 09:55 AM |
| Decorate article headings as hyperlinks to full article? | tomsem | Recipes | 5 | 10-15-2010 09:30 PM |
| Break up feed | BrianG | Calibre | 2 | 01-09-2010 07:13 PM |
| the feed only contains a link ... | alexxxm | Calibre | 7 | 02-18-2009 09:43 AM |