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 09-11-2016, 05:16 AM   #1
joseant.hernande
Junior Member
joseant.hernande began at the beginning.
 
Posts: 1
Karma: 10
Join Date: Sep 2016
Device: Kindle 2nd generation
How to add date to Recipe Title

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
joseant.hernande is offline   Reply With Quote
Advert
Old 09-12-2016, 08:30 AM   #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: 32,893
Karma: 10034422
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
If you are going to email your files to the kindle then amazon will auto-convert them from periodicals to books.Instead use the USB connection and the periodicals will show up as peridicals with the date below the title.
kovidgoyal is offline   Reply With Quote
Reply

Tags
book issues, kindle 2, recipe

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Insert date in the title of the news recipe mendesitba Recipes 4 12-09-2015 01:35 PM
How to avoid [date] behind title? chaot Plugins 0 10-25-2012 01:29 PM
Pubit!/Add Title Previewer shows ellipsis in title bar schooner1892 General Discussions 0 09-15-2012 07:04 PM
Add date to "Title" for WSJ export to Kindle format johnnymacg Recipes 0 05-07-2012 12:27 PM
How to Include Date in Title? awitko Recipes 2 11-02-2011 04:40 PM


All times are GMT -4. The time now is 11:24 AM.


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