Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre

Notices

Reply
 
Thread Tools Search this Thread
Old 11-27-2010, 08:36 PM   #1
johnb0647
Nameless Being
 
ADD Books & extract tags from title?

I have a 20 year collection of 9000+ documents and ebooks in several formats. I'd like to use Calibre to order and serve them out to my users.

The titles are currently coded by filename as follows:

Last, First[,Last, First,...]!Title[,The]+AA.FORMAT

Where "AA" is a two character case sensitive alpha numeric "tag" code indicating subject matter.

I could bulk ADD the books using "regular expression" something like:

(?P<author>.+)!(?P<title>[^_]+)\x2B(?P<tag>.+)

But "tag" or "tags" is apparently not a defined field.

For testing purposes with PREFERENCES/ADDING BOOKS/REGULAR EXPRESSION and TEST I used:

(?P<author>.+)!(?P<title>[^_]+)\x2B(?P<series>.+)

which worked exactly as I would like, putting the code in "series". So I'm close.

I could do it this way if I could write a script that would move "series" to "tags" and blank series for each metadata record where "series" contains one of the codes and nothing else. That's another entire education since I haven't done anything like that for at least 10 years.

If I can't do that.... then perhaps bulk edit would permit me to select all titles in series "XX", change the "tag" to "whatever" and blank "series".

OR I suppose I could use WinXP SEARCH to select the titles by "tag" then ADD them group by group and then bulk edit the tags in each group.

Unfortunately there are 150+ "tags" which would be a time consuming process.

Still, Calibre seems to have lots of ways to do things and
maybe some guru out there has a suggestion for a one step automation for this process?

As a separate issue, I'm trying to wean my users from Win to Linux so I want them to have access to the Calibre database from both WinXP and Ubuntu 10.04. The latest Win version of Calibre is 0.7.30 while the Ubuntu repository version is still 0.7.18. I skimmed through the revision log but perhaps someone can confirm that there have been no changes in the databases between those versions that would cause problems.

Finally, just something I'd like to throw out: I suspect most ebook libraries today are mostly novels but non-fiction will soon follow. Wouldn't it be nice to be ahead of the curve and implement something like the Dewey System in Calibre?

TIA

Last edited by johnb0647; 11-27-2010 at 08:40 PM. Reason: Clarification
  Reply With Quote
Old 11-28-2010, 06:08 AM   #2
Manichean
Wizard
Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.Manichean is the 'tall, dark, handsome stranger' all the fortune-tellers are referring to.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 91256
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
Quote:
Originally Posted by johnb0647 View Post
I could do it this way if I could write a script that would move "series" to "tags" and blank series for each metadata record where "series" contains one of the codes and nothing else. That's another entire education since I haven't done anything like that for at least 10 years.
You seem to have all the rest figured out, so I'll concentrate on this step: In bulk metadata edit, go to search and replace. Using the regular expression mode and backreferences, it should be possible to bring the info from series to tags.
Manichean is offline   Reply With Quote
Advert
Old 01-08-2011, 03:11 PM   #3
caluser2011
Junior Member
caluser2011 began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Jan 2011
Device: none
Quote:
Originally Posted by johnb0647 View Post
Finally, just something I'd like to throw out: I suspect most ebook libraries today are mostly novels but non-fiction will soon follow. Wouldn't it be nice to be ahead of the curve and implement something like the Dewey System in Calibre?

TIA
Agreed... a Dewey Metadata field is an absolute requirement. I'm surprised it has not been added yet this far in development. It would be most useful to see this feild sortable in the list view. Perhaps a collapsible tree with subs, like when we create categories and sub-categories, would be most appropriate.
caluser2011 is offline   Reply With Quote
Old 01-08-2011, 05:36 PM   #4
tantrictami
Junior Member
tantrictami began at the beginning.
 
Posts: 2
Karma: 10
Join Date: Dec 2010
Device: kindle
Does anyone know what if calibre will change a file into a format that Adobe indesign can open so I can edit an ebook?
tantrictami is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Add HTML with meta tags Pixelmagic Calibre 9 04-19-2020 05:47 PM
How To: Getting summary metadata and images, not tags, author, title Starson17 Calibre 21 01-10-2011 09:51 AM
Metadata extract from Title 507Tuli Calibre 14 05-29-2009 03:13 AM
HTML author / title tags ? romi Bookeen 0 05-11-2009 07:47 AM


All times are GMT -4. The time now is 04:37 PM.


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