08-25-2018, 01:44 PM | #1 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2013
Location: Northern Germany
Device: kindle 3 iPhone 6+, Kindle HDX 8.9, Kindle paperwhite
|
Problems with own recipe
I have a couple of problems with a self written recipe for RSS-feeds 1. in the feed list there is a category-name and the url as u'' strings. I'd like the category name omitted in the content-post if there are no articles in this category. Currently there are articles linked to some other categories, alternatively I'd post a self-supplied "no articles" article 2. In each article there is a text 'Category: ' with the category-name, directly followed by 'Added: " with the added timestamp and two other similar entries. I need these elements shown on separate lines (probably preceded by <br/>). I tried with the soup, raw_html - alas no success up to now 3. I want to embed an own picture for each category. Where to put the pictures and where to put/define the os-path to these pics? The obvious method would be to expand the feed-parameters with a third param with the pic-name, but I guess the following changes would be numerous. As the feed-urls are nearly identical; where to change to the resulting url when leaving out the identical parts??? TIA for ideas to solve my current problems. |
08-25-2018, 10:51 PM | #2 |
creator of calibre
Posts: 43,839
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
1. remove_empty_feeds = True
2. You can make any changes to article HTML you like by implementing preprocess_html in your recipe 3. Not sure what you mean by that. If you mean you want pictures in article or feed descriptions, that is not supported |
Advert | |
|
08-26-2018, 06:03 AM | #3 |
Member
Posts: 11
Karma: 10
Join Date: Jun 2013
Location: Northern Germany
Device: kindle 3 iPhone 6+, Kindle HDX 8.9, Kindle paperwhite
|
@Kovid:
so much |
Tags |
calibre, recipes |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Politifact Recipe Problems | grizliez | Recipes | 17 | 09-09-2011 02:09 PM |
Recipe problems | aessedai44 | Recipes | 0 | 10-27-2010 12:17 AM |
Problems with economist recipe | lady kay | Calibre | 1 | 08-06-2010 07:49 AM |
Problems with Economist recipe 0.5.1 | MTBSJC | Calibre | 7 | 03-23-2009 01:54 PM |
Problems writing recipe | kiklop74 | Calibre | 9 | 10-28-2008 06:58 PM |