Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Plugins

Notices

Reply
 
Thread Tools Search this Thread
Old 04-18-2016, 11:29 PM   #856
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Yep - it's as easy as pie to put a link to a file or folder into an "Arbitrary Identifier"

In Look and Feel->Book Details->Arbitrary Identifiers (it's a wide button labelled "Create Rules to convert identifiers into links") enter fields such as this

Key:bookfolder | Name:Book Folder | Template:file:\\\{id}

Key and the Name can be what ever suits you, the Template shown is what worked for me on Windows, it may may need to be otherwise on OSX and/or Linux. Arbitrary Identifier rules are global, i.e. they apply to all libraries.

The first step is to get the path to the Anthology into the clipboard. Use the Click to Open link in the Book Details panel of the Anthology to open a file manager window, copy the path to that folder to the clipboard, close the file manager window.

Next for each split-off book open single Metadata Edit window. If the Identifiers field is empty you can simply type the Key, a colon, and then paste the clipboard and you will have something like this

bookfolder:D:\Calibre Libraries\_Test\Charles Dickens\Anthology 1 (367)

If the IDs field isn't empty right click in it and select "Edit Identifiers in a separate Window", the existing IDs will be listed, just tack the bookfolder:blah blah on the end. In the Book Details panel you will have a clickable link named with whatever you put in Name - eg Book Folder

Idea for a 'Book Linking' plugin, it would have a copy book folder path to clipboard item, and an Edit Identifiers item which would leverage the one in Metadata edit, it could have something to display, and maybe select from, the list of Arbitrary Identifier rules. Maybe it could have an option make the metadata.opf readable.

BR

Last edited by BetterRed; 04-19-2016 at 09:26 AM.
BetterRed is offline   Reply With Quote
Old 04-19-2016, 09:16 AM   #857
courtneydion
Junior Member
courtneydion began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: Kobo Mini
Quote:
Originally Posted by BetterRed View Post
Yep - it's as easy as pie to put a link to a file or folder into an "Arbitrary Identifier"

In Look and Feel->Book Details->Arbitrary Identifiers (it's a wide button labelled "Create Rules to convert identifiers into links") enter fields such as this

Key:bookfolder | Name:Book Folder | Template:file:\\\{id}

Key and the Name can be what ever suits you, the Template shown is what worked for me on Windows, it may may need to otherwise on OSX and/or Linux. Arbitrary Identifier rules are global, i.e. they apply to all libraries.

The first step is to get the path to the Anthology into the clipboard. Use the Click to Open link in the Book Details panel of the Anthology to open a file manager window, copy the path to that folder to the clipboard, close the file manager window.

Next for each split-off book open single Metadata Edit window. If the Identifiers field is empty you can simply type the Key, a colon, and then paste the clipboard and you will have something like this

"bookfolder:D:\Calibre Libraries\_Test\Charles Dickens\Anthology 1 (367)".

If the IDs field isn't empty right click in it and select "Edit Identifiers in a separate Window", the existing IDs will be listed, just tack the bookfolder:blah blah on the end. In the Book Details panel you will have a clickable link named with whatever you put in Name - eg Book Folder

Idea for a 'Book Linking' plugin, it would have a copy book folder path to clipboard item, and an Edit Identifiers item which would leverage the one in Metadata edit, it could have something to display, and maybe select from, the list of Arbitrary Identifier rules. Maybe it could have an option make the metadata.opf readable.

BR

I think you have just given me the best way to do this! Thanks so much!
courtneydion is offline   Reply With Quote
Advert
Old 04-21-2016, 07:17 AM   #858
compurandom
Wizard
compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.compurandom ought to be getting tired of karma fortunes by now.
 
Posts: 1,016
Karma: 500000
Join Date: Jun 2015
Device: Rocketbook, kobo aura h2o, kobo forma, kobo libra color
Quote:
Originally Posted by courtneydion View Post
So basically, I want to add an additional tab to the metadata editor that allows entering meta about the anthology, it would essentially look the same as the basic metadata tab, but would be additional info about the anth instead of the specific book.
Would it be enough to keep the metadata for the anthology in the original book, and then maybe add a tag to that book and all of its pieces so they can be searched for together?

I'd suggest using the series column for this, but it sounds like you might want to use that for something else too.
compurandom is online now   Reply With Quote
Old 04-21-2016, 09:31 AM   #859
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by compurandom View Post

I'd suggest using the series column for this, but it sounds like you might want to use that for something else too.

I did that, using the Anthology name as the series and the series_index for the story sequence (~chapter order)
theducks is online now   Reply With Quote
Old 04-21-2016, 07:15 PM   #860
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
I just thought of another way -

Add a long text custom column called something like Anthology Metadata

In the anthology book create a metadata-jacket in an ePUB, copy the HTML for the metadata-jacket to the clipboard.

In each split-off book paste the HTML into the Anthology Metadata column.

Custom long text columns are show in the book details panel above Comments.

BR
BetterRed is offline   Reply With Quote
Advert
Old 04-22-2016, 01:42 PM   #861
courtneydion
Junior Member
courtneydion began at the beginning.
 
Posts: 5
Karma: 10
Join Date: Apr 2016
Device: Kobo Mini
I decided that the best way to do what I wanted to do was to use the arbitary identifiers. Except instead of linking it to the folder that the anthology is in, I linked it to the goodreads page for that anth.
Then I created a custom column called "Anthology" and list the name of the anthology there since the identifiers just lists it as "anthology" in the details panel.
I'm also deleting the anthologies themselves out of my library as I do that. I don't feel I need it anymore since it is essentially a duplicate of all the stories I've just split off from it.
courtneydion is offline   Reply With Quote
Old 04-22-2016, 07:33 PM   #862
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by courtneydion View Post
I decided that the best way to do what I wanted to do was to use the arbitary identifiers. Except instead of linking it to the folder that the anthology is in, I linked it to the goodreads page for that anth.
Then I created a custom column called "Anthology" and list the name of the anthology there since the identifiers just lists it as "anthology" in the details panel.
I'm also deleting the anthologies themselves out of my library as I do that. I don't feel I need it anymore since it is essentially a duplicate of all the stories I've just split off from it.
Thanks for sharing you Solution. It just might provide an answer for someone else
theducks is online now   Reply With Quote
Old 05-06-2016, 12:26 AM   #863
Efreak
Junior Member
Efreak began at the beginning.
 
Posts: 8
Karma: 10
Join Date: Jul 2011
Device: Pandigital Novel 7
Two requests (itunes metadata, temporary columns)

Two requests:

1. Grab metadata from itunes (primarily cover art, since they frequently have hi-res cover images). This should be fairly simple. Currently I use Ben Dodson's iTunes Artwork Finder (source), but it would be nicer to automate it. Given that itunes frequently has two covers (smaller and larger), it might be nice for both to be available (though I only use the larger covers myself).

2. Temporary columns. Column names are prefixed with @ instead of #, and only the column names are saved to the database; the value is only valid for the current session (or is discarded on exit). Only allowing yes/no columns is sufficient; I simply want to have multiple sets of temporary markings, so the list of books whose metadata I rejected doesn't replace the list of added books (and given the frequency I have this issue, I find it hard to believe I'm the only one).
2a. Deeper integration would allow for even more useful things, such as automated session-based lists for updated metadata, rejected metadata, new books, new/replaced formats, new covers, metadata updated internally (ie, by calibre companion), books downloaded from the content server.

tl;dr: see bold.
Efreak is offline   Reply With Quote
Old 05-06-2016, 03:40 AM   #864
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Temporary columns - When I occasionally want to do something like this, I create Reading Lists. Reading lists don't need extra columns and they don't create tag browser clutter.

I name them !whatever so they appear at top of the lists of reading lists - they don't auto delete at end of session but the ! enables me to remove them manually as and when...

Maybe the RL PI could be enhanced to implement temporary reading lists that are removed at end of session, although I sometimes find I keep the !whatever lists for a couple of days.

BR
BetterRed is offline   Reply With Quote
Old 05-06-2016, 10:33 AM   #865
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,123
Karma: 60406498
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Go with the reading list (type) idea

Adding and removing columns is major surgery to the DB and resets the {last_modified} to NOW.
theducks is online now   Reply With Quote
Old 05-06-2016, 06:15 PM   #866
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
Quote:
Originally Posted by theducks View Post
. . . and resets the {last_modified} to NOW.
. . . and every metadata.opf gets refreshed at about a book a second.

BR
BetterRed is offline   Reply With Quote
Old 05-08-2016, 04:52 AM   #867
Mr.Husky
Member
Mr.Husky began at the beginning.
 
Mr.Husky's Avatar
 
Posts: 14
Karma: 10
Join Date: Nov 2015
Location: Russia
Device: Kindle PW2
Hey there. In Russia we have a few popular book info sources. Could you please create a metadata source plugin for them?


Last edited by Mr.Husky; 05-17-2016 at 02:56 PM.
Mr.Husky is offline   Reply With Quote
Old 06-07-2016, 06:30 PM   #868
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
PI IDEA: User Specified Word Search/Count return

NOTE: Plug-in ENF does not do this, not will it be expanded per dev.

For example, say I want to know the frequency of the word "hall" in a book. This would be basic text and thus include combinations that include it such as "hallmark" as well as including any capitalized version such as "Hall" or "Hallway". I'm sure a creator could add options for exact word and such...

It would search for multiple books at once for a word or group of user specified words and return that info as specified by the user: perhaps append or prepend comments or create tags in a custom column based on results such as tag: hall-55 .
These searches and group of user specified words could also be saved as a type of search withing the PI rather than retyping each time.


Statistical info like this can be very helpful to a user. For example, in my case I'm not fond of books full of vulgarity. Sometimes, you just don't know what you are going to be reading. I'd like to take what I already do via Calibre and improve my "word existence" search to including a count of the frequency of the word I specify as well as creating tags in a customized column based on the returned info (rather than the comments - example of tag: hall-50) This will help me to better categorize books as to the content and feel of the book.

I'm sure others would have other uses if such word counts help them deduce information about a book.

I haven't found any plug-in that does this. I use Quality Check/Search epubs currently to get some of this info in groups, but I'd like a method more efficient and more informative that what I already do with that.
jecilop is offline   Reply With Quote
Old 06-07-2016, 06:39 PM   #869
BetterRed
null operator (he/him)
BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.BetterRed ought to be getting tired of karma fortunes by now.
 
Posts: 21,811
Karma: 30277270
Join Date: Mar 2012
Location: Sydney Australia
Device: none
@jecilop - this thread might help do what you want ==>> Censorship - How to Censor ebooks

Don't bother reading past the first post, the replies add nothing useful.

Added : A nice way to implement this might be as a viewer plug-in. It would highlight all occurrences of words in a user supplied list. Toxaris has recently done this (at my request) in his Epub Tools addin for Word.

I don't know if the new browser based viewer will support plugins, nor if existing viewer plugins will be reusable (perhaps with some tweaks).

BR

Last edited by BetterRed; 06-07-2016 at 10:35 PM. Reason: see Added:
BetterRed is offline   Reply With Quote
Old 06-07-2016, 11:32 PM   #870
jecilop
Addict
jecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day nowjecilop will be dicovering the secret to cold fusion any day now
 
Posts: 260
Karma: 139980
Join Date: Mar 2014
Device: Android
Thanks @BetterRed,

I actually did something very similar with search and replace, but when I used my audio reader it doesn't like the * I used as a replacement. It's annoying to listen to the computer voice say "Asterisk" or "f Asterisk"...ha!
I decided not to edit them, BUT I do a search that tells me if certain words occur. However, the frequency and combination of certain words is the more informative analysis of overall content so I'm hoping to get that info returned directly if possible.

I've been surprised how some books appeared to be one thing and DEFINITELY were not as expected. The combo AND count analysis would be very beneficial and can have more uses than just mine. I can already think of other ways I'd use it for certain analysis.

Thank again. I hope someone can do this. I definitely do not have this skill.

Last edited by jecilop; 06-07-2016 at 11:34 PM.
jecilop is offline   Reply With Quote
Reply

Tags
calibre, chatbot, cover, epub fix, epub-fix, google books, kindle, metadata calibre title, missing, pdf, pdf and calibre, plugin development, scribe


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
PRS-505 Any ideas what this might be? Neupy Sony Reader 4 07-03-2012 07:19 AM
New Plugin Type Idea: Library Plugin cgranade Plugins 3 09-15-2010 12:11 PM
Ideas? mike_bike_kite Which one should I buy? 10 06-13-2010 03:37 PM
Ideas F1Wild Amazon Kindle 4 07-10-2009 06:01 AM


All times are GMT -4. The time now is 09:51 AM.


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