View Single Post
Old 01-20-2012, 11:19 AM   #1
garylapointe
Book Geek
garylapointe began at the beginning.
 
garylapointe's Avatar
 
Posts: 8
Karma: 10
Join Date: Dec 2002
Location: Dearborn, Michnigan
Device: Kindle Keyboard 3G, iPad + iPhone with Kindle App
Smile Unique titles for new recipe output. Would like date appended for my Kindle files.

It's a problem distinguishing different "issues" of the same news source. All the output files for the same news source output with the same filename.

1) This is a problem when I have more than one of the same file in my Kindle.

2) Or I'm connecting to Amazon from a different device (say my iPhone) and all I see is a list of duplicate filenames and don't know which one to pick.

Trying to figure out what to add to the code to get unique names based on the dated and time the file was generated.

Preferred option would be - YY-MM-DD HH:MM with the empty digits with zeros (or spaces) and the hour in military time.

I'm sure I can figure out how to add my preferred date format if you can tell me how to get any portion of it into the output file by default.

If it did it do ALL my output news files (as some kind of post processing), that would be even better, then i wouldn't have to modify every recipe every time one gets updated.

I see that if "self.output_profile.periodical_date_in_title" is True, it will probably do what I want, but I'm not sure where how to do that...
I found the pyo file for calibre.web.feeds.news but that doesn't look like I should edit it directly(!).

Thank you,
Gary

(PS - I'm sure there is a reason to not do this, but my files from KindleFeeder.com have dates on them and it works very well for me; when KindleFeeder didn't have dates, I didn't like it).

Last edited by garylapointe; 01-20-2012 at 12:03 PM.
garylapointe is offline   Reply With Quote