09-04-2010, 01:53 PM | #1 |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Editing the date in metadata query
I like put the year the book was originally published in the metadata but strangely although you can put any year you want you cant remove the month field. So for example the book you edit was published in 1955 but you have no idea what month, so you would normnally leave the month field blank, but you cant!
|
09-04-2010, 02:07 PM | #2 |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
See the tweak gui_pubdate_display_format. Tweaks are found in preferences -> advanced -> tweaks tab. You need to restart calibre after changing a tweak.
Documentation from the tweaks file: Code:
# Format to be used for publication date and the timestamp (date). # A string controlling how the publication date is displayed in the GUI # d the day as number without a leading zero (1 to 31) # dd the day as number with a leading zero (01 to 31) # ddd the abbreviated localized day name (e.g. 'Mon' to 'Sun'). # dddd the long localized day name (e.g. 'Monday' to 'Qt::Sunday'). # M the month as number without a leading zero (1-12) # MM the month as number with a leading zero (01-12) # MMM the abbreviated localized month name (e.g. 'Jan' to 'Dec'). # MMMM the long localized month name (e.g. 'January' to 'December'). # yy the year as two digit number (00-99) # yyyy the year as four digit number # For example, given the date of 9 Jan 2010, the following formats show # MMM yyyy ==> Jan 2010 yyyy ==> 2010 dd MMM yyyy ==> 09 Jan 2010 # MM/yyyy ==> 01/2010 d/M/yy ==> 9/1/10 yy ==> 10 # publication default if not set: MMM yyyy # timestamp default if not set: dd MMM yyyy gui_pubdate_display_format = 'MMM yyyy' gui_timestamp_display_format = 'dd MMM yyyy' gui_pubdate_display_format = 'yyyy' |
Advert | |
|
09-04-2010, 04:07 PM | #3 | |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Quote:
You guys are brilliant! |
|
09-12-2010, 10:00 AM | #4 |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Ah poo I been editing the wrong field! Its the one above it I should change, Date rather than Published! The 'Published' field doesnt show on the Reader, but if you select Books By Date you get all books by the year they were put on the device-not much use!
Back to square one! |
09-12-2010, 09:21 PM | #5 | |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Quote:
What is your goal? |
|
Advert | |
|
09-13-2010, 04:01 AM | #6 |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Thanks! My goal is to get the books with their year of publication so that when I click on Books by Date on the reader I get 1726,1810,1901 etc instead of 18-8-2009, 10-6-2010 etc
|
09-13-2010, 04:08 AM | #7 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
Sounds like a good goal, please let us know if you get it working or if you determine it can't be done.
|
09-13-2010, 05:00 AM | #8 |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Hmmm looks like the latter case! I edited the date in Calibre fine so Gulliver's Travels had 1727 in the date field (I forget the true year now) but on the reader it shows as something like 10-08-2010!
|
09-13-2010, 06:30 AM | #9 | |
Grand Sorcerer
Posts: 11,742
Karma: 6997045
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
The 'date' in the sony is the date the book was sent to the reader. That date is stored in the Sony's database, and it must match exactly the date the file containing the book was written to the device. If it does not, then the reader will erase the database entry and re-create it from metadata in the book. Does us no good, and takes a long time in addition. Once calibre supports collections made from custom fields (a few weeks, probably), you will be able to make collections from pubdate (or any other field). Not sure if that will help, especially if you have a lot of books all having different dates. |
|
09-13-2010, 08:43 AM | #10 | |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
Quote:
|
|
09-13-2010, 08:55 AM | #11 |
US Navy, Retired
Posts: 9,864
Karma: 13806776
Join Date: Feb 2009
Location: North Carolina
Device: Icarus Illumina XL HD, Nexus 7
|
|
09-22-2010, 11:58 AM | #12 |
Only need one eye to read
Posts: 796
Karma: 6277024
Join Date: Sep 2010
Location: Darlington, England
Device: Kobo Touch N905C, Sony PRS-300, Nintendo DSi XL,
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Editing Metadata for Kindle ... ??? | ToeRag | Calibre | 11 | 02-05-2010 10:00 AM |
Editing metadata | dande | Calibre | 2 | 07-02-2009 08:17 AM |
Help needed with editing Metadata | rhino27 | Calibre | 10 | 06-26-2008 01:59 AM |
Editing LRF metadata? | curtw | Sony Reader | 11 | 02-01-2008 12:43 AM |
Shipping Date query | Loopy65 | Bookeen | 11 | 11-01-2007 10:50 PM |