Hello,
I have created a recipe to generate a Huffingtonpost.fr ebook, I then email it to my kindle 2nd generation.
My kindle only shows the latest issue and not the ones I produced in previous days, I believe it is an overwrite issue.
I thought about adding the date to the title of the huffingtopost.fr issue title so I would keep previous versions and I quickly identified when they were produced.
If you have a better idea about how to sort the problem (i.e. keeping more than an issue in the kindle), it is more than welcome.
I post my recipe below, my knowledge of coding is very very limited.
Thanks in advance
José
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1472049895(BasicNewsRecipe):
title = 'Huffington Post - France'
oldest_article = 7
max_articles_per_feed = 20
publisher = 'huffingtonpost.fr'
category = 'news, France, world'
language = 'fr'
auto_cleanup = True
feeds = [
("L'ACTUALIT\xc9", 'http://www.huffingtonpost.fr/feeds/news.xml'),
('Blog', 'http://www.huffingtonpost.fr/feeds/blog.xml'),
]
remove_empty_feeds = True
filterDuplicates = True
I have created a recipe to generate a Huffingtonpost.fr ebook, I then email it to my kindle 2nd generation.
My kindle only shows the latest issue and not the ones I produced in previous days, I believe it is an overwrite issue.
I thought about adding the date to the title of the huffingtopost.fr issue title so I would keep previous versions and I quickly identified when they were produced.
If you have a better idea about how to sort the problem (i.e. keeping more than an issue in the kindle), it is more than welcome.
I post my recipe below, my knowledge of coding is very very limited.
Thanks in advance
José
#!/usr/bin/env python2
# vim:fileencoding=utf-8
from __future__ import unicode_literals, division, absolute_import, print_function
from calibre.web.feeds.news import BasicNewsRecipe
class AdvancedUserRecipe1472049895(BasicNewsRecipe):
title = 'Huffington Post - France'
oldest_article = 7
max_articles_per_feed = 20
publisher = 'huffingtonpost.fr'
category = 'news, France, world'
language = 'fr'
auto_cleanup = True
feeds = [
("L'ACTUALIT\xc9", 'http://www.huffingtonpost.fr/feeds/news.xml'),
('Blog', 'http://www.huffingtonpost.fr/feeds/blog.xml'),
]
remove_empty_feeds = True
filterDuplicates = True