![]() |
#1 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
deleting info from xhtml -> catalogue
I'll tell you what : I get sick and tired of this tool that is basically accessible to VERY computer-literate persons.
What I want to do : create catalogues WITHOUT the "published date", that happens NEVER to be the correct published date in the first place and i should know, because books I certainly do know far better than computers). So I look everywhere, it takes me a full 3 hours, I reach the point where I have dug out the "catalogue" in Windows, transferred it in Calibre itself, and then I open the XHTML file in order to delete "published date", and HOW THE HELL do you ever even MANAGE to delete anything out of an XHTML file ? Any explanation you find online takes you to half a dozen more explanations, each one in semi-coded language that one cannot grasp if one hasn't been into developing software. Mr. Goyal has done a magnificent job with Calibre, but I think that, after over 10 years, it might be time for someone to adapt it for more "basic" users and do some (to real computer lovers certainly horrible, but still) work that makes it the equivalent of a WYSIWYG software. Right now, past a certain comparatively basic point, it is a tool for people used to deal with computer machinery on a daily basis, NOT fit for anyone basically interested in e-books and how to best handle them, and I resent that very sorely. |
![]() |
![]() |
![]() |
#2 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,366
Karma: 78877538
Join Date: Nov 2007
Location: Toronto
Device: Libra H2O, Libra Colour
|
Why not create the catalogue in a different format such as CSV, open it in a spreadsheet like Excel and delete the unwanted columns
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Well trained by Cats
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 30,936
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
CSV format allows you to configure which fields are INCLUDED.
Look at the other TAB when CSV format is selected as the output format. |
![]() |
![]() |
![]() |
#4 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,283
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
What catalogue are you blathering about? If you are going on about the one that is generated from the Convert Books menu item in calibre, for XML and CSV you can choose what items to include in the file. For EPub, Mobi and AZW3, the published date will be added as ' (1234)'. If you choose EPub or AZW3, open the catalog in calibre's editor and use a regex search for ' \([0-9][0-9][0-9][0-9]\)' with a replace of nothing and search in all files. There are simpler ways to write this regex but this is about as basic as it gets.
\( is an escaped ( [0-9] match any digit from 0 to 9 (repeated 4 times) \) is an escaped ) Leave out the two ' when entering the regex, they are just there to make the space in front of the \( easier to notice. To open the calibre editor either highlight the catalog and hit T on your keyboard or use the right click menu and select Edit book. Yes, calibre includes a editor which, gee, gosh, golly, will edit xhtml files. Last edited by DNSB; 07-21-2020 at 10:13 PM. |
![]() |
![]() |
![]() |
#5 |
Grand Sorcerer
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 24,905
Karma: 47303824
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
I'm curious, if this is a such a big problem, why aren't you fixing the published date? If you know what it is, then you can enter it. If you are using the metadata download to get it, then you can choose the edition with the correct date. Or, you can completely turn off getting the published date. Then it will be empty in calibre, and will probably not be shown in the catalogue.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 |
Custom User Title
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 10,787
Karma: 74203799
Join Date: Oct 2018
Location: Canada
Device: Kobo Libra H2O, formerly Aura HD
|
XHTML catalogs...aren't even an option?
|
![]() |
![]() |
![]() |
#7 |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,283
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
I thought he was creating an EPub catalog but looking at the EPub and AZW3 catalog files, the internal files are html not xhtml. The other oddity is that calibre adds the EPub, AZW3 and mobi catalogs to the library, The BIB, CSV and XML catalogs are stored outside the library since calibre does not consider them as a ebook format.
I'm starting to suspect our OP is the Rincewind of computer literacy. Last edited by DNSB; 07-22-2020 at 08:02 PM. |
![]() |
![]() |
![]() |
#8 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
Hello. May sound like a good idea, thanks, but the fact is I want to have the catalogue in EPub (and hence Mobi) to put in my devices, because one of Kindle's limitations is that the devices will only be able to list 15000 items (including collections), so if you happen to have more than 15000 you just can't remember that precisely (although they are stored in Amazon Cloud without any hassle from Amazon) and download them if you want them (if they're not among the 15000 that get listed, that is).
|
![]() |
![]() |
![]() |
#9 |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
No, you cannot choose whether publication date can be left out, the option just isn't there, sorry.
|
![]() |
![]() |
![]() |
#10 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
Quote:
Thanks to all who mattered to post a reply, and sorry if I sounded like "the Rincewind of computer literacy". (I happen to teach how to read and write to illiterate immigrants, and it does not occur to me I am doing a bad job not starting with Victor Hugo and Jane Austen...) |
|
![]() |
![]() |
![]() |
#11 |
Resident Curmudgeon
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 79,392
Karma: 145491800
Join Date: Nov 2006
Location: Roslindale, Massachusetts
Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3
|
|
![]() |
![]() |
![]() |
#12 | |
Bibliophagist
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,283
Karma: 168808723
Join Date: Jul 2010
Location: Vancouver
Device: Kobo Sage, Libra Colour, Lenovo M8 FHD, Paperwhite 4, Tolino epos
|
Quote:
|
|
![]() |
![]() |
![]() |
#13 | |
Zealot
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 109
Karma: 1544
Join Date: Jul 2020
Location: Paris
Device: quite a few Kindles...
|
Quote:
Thanks anyway, I managed to work around the issue with the help of participants in this forum (by deleting all "published date" information in metadata). |
|
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Android catalogue app using calibre catalogue | amokima | Reading and Management | 1 | 12-02-2017 03:37 PM |
Some files.html & toc.xhtml (also Cover.xhtml) | chaot | Workshop | 23 | 02-13-2017 12:20 PM |
same catalogue across different OS | alanHd | Library Management | 0 | 04-03-2013 06:15 PM |
Catalogue | sceadugenga | Calibre | 2 | 07-30-2010 12:18 AM |
Catalogue | GeoffC | Bookeen | 7 | 08-19-2008 03:00 AM |