Register Guidelines E-Books Search Today's Posts Mark Forums Read

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

Notices

Reply
 
Thread Tools Search this Thread
Old 10-01-2020, 12:06 PM   #1
heberlima
Junior Member
heberlima began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (B024 - PW1)
RSS limited articles on Kindle?

Hi. I own a Kindle Paperwhite (PW1). I use a custom recipe to get rss feeds from my personal blog and create an ebook with lyrics and other texts. However I noticed that no matter what I put in "max_articles_per_feed" in the recipe, my device only shows up to 10 links in the menu. When I add a new post in my blog and run the recipe again, the latest article becomes the first item in the menu and the former 10th article disappears, keeping only 10 items listed in the menu. Is this a Kindle limitation or is there something wrong with my recipe? Here is the code:



#!/usr/bin/env python
# vim:fileencoding=utf-8
from calibre.web.feeds.news import BasicNewsRecipe

class AdvancedUserRecipe1601310754(BasicNewsRecipe):
title = 'MÚSICAS, SERMÕES E TEXTOS DIVERSOS'
oldest_article = 120
max_articles_per_feed = 30
auto_cleanup = True

feeds = [
('SERMÕES', 'https://letrasdoheber.wordpress.com/tag/sermoes/feed'),
('ILUSTRAÇÕES', 'https://letrasdoheber.wordpress.com/tag/Ilustrações/feed'),
('POEMAS', 'https://letrasdoheber.wordpress.com/tag/poemas/feed'),
('SOLOS', 'https://letrasdoheber.wordpress.com/tag/solos/feed'),
('TRIO L3', 'https://letrasdoheber.wordpress.com/tag/trio-l3/feed'),
('AUTORAIS', 'https://letrasdoheber.wordpress.com/tag/composicoes-proprias/feed'),
]

Last edited by heberlima; 10-01-2020 at 12:09 PM. Reason: mistype
heberlima is offline   Reply With Quote
Old 10-01-2020, 12:33 PM   #2
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
Look at the rss feed, many rss feeds show only a few entries at a time, ten being a common number.
kovidgoyal is offline   Reply With Quote
Old 10-01-2020, 02:53 PM   #3
heberlima
Junior Member
heberlima began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (B024 - PW1)
Quote:
Originally Posted by kovidgoyal View Post
Look at the rss feed, many rss feeds show only a few entries at a time, ten being a common number.
Tks. Found it at Wordpress's control panel. All working like a charm now.

Also, another menu related question, although not specifically to recipes (sorry, didn't know exactly where to post it, I'm new to the forum):

While looking for a solution to the recipe menu limitation problem, I also decided to create an azw3 file from a MS Word document, save it as html and add the book to Calibre's Library so that I could create a multi level menu with the xPath functionality. The lyrics are categorized in a 4 level tree, such as:

1.PERSONAL COMPOSITIONS
2.SPECIAL OCASIONS
3.RANDOM
4. LYRIC 1
4. LYRIC 2
4. LYRIC 3
3.SPECIFIC EVENTS
4. LYRIC 1
4. LYRIC 2

Everything looks fine in Calibre's ebook viewer with all the levels working properly. However, when I transfer the file to my device, the "Go To" button inside the book opens a menu with only 3 levels. Given my above example, I'm stuck at level 3 (RANDOM and SPECIFIC EVENTS) and the fourth level does not appear. Am I missing something? As far as I could understand, Calibre creates up to 5 levels of menu with xPath, right?
heberlima is offline   Reply With Quote
Old 10-01-2020, 09:40 PM   #4
kovidgoyal
creator of calibre
kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.kovidgoyal ought to be getting tired of karma fortunes by now.
 
kovidgoyal's Avatar
 
Posts: 45,349
Karma: 27182818
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
kindles support only 3 level tocs at max.
kovidgoyal is offline   Reply With Quote
Old 10-01-2020, 10:04 PM   #5
heberlima
Junior Member
heberlima began at the beginning.
 
Posts: 3
Karma: 10
Join Date: Oct 2020
Device: Kindle Paperwhite (B024 - PW1)
Quote:
Originally Posted by kovidgoyal View Post
kindles support only 3 level tocs at max.
Ok. That's frustrating. Tks, anyway.
heberlima is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Don't download RSS articles Sevens Recipes 4 03-17-2020 12:39 PM
Offline access to RSS and articles and sync across devices TalSO Amazon Kindle 0 07-22-2018 08:33 AM
rss articles web articles - not showing pocket? they used to be able too wakkaday Kobo Reader 4 03-05-2016 04:35 AM
Sorting articles of RSS feed miwie Recipes 1 11-21-2010 01:02 AM
Full Articles via RSS jotheman Reading and Management 17 07-06-2008 05:12 AM


All times are GMT -4. The time now is 02:18 PM.


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