Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 11-11-2012, 12:09 AM   #1
ohemeffgee
Junior Member
ohemeffgee began at the beginning.
 
Posts: 7
Karma: 10
Join Date: Nov 2012
Device: none
Automate Calibre Tagging

I was wondering if there was a simple way to automate metadata in Calibre in an "if then" sort of format e.g. if a book was tagged "history," then add value "textbook" to custom column. It's easy to tag everything when I add it to Calibre, but I would love it if Calibre would then automatically add the appropriate items to custom collections I have set up.

Thanks!
ohemeffgee is offline   Reply With Quote
Old 11-11-2012, 07:56 AM   #2
speakingtohe
Wizard
speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.speakingtohe ought to be getting tired of karma fortunes by now.
 
Posts: 4,633
Karma: 25186576
Join Date: Apr 2010
Device: sony PRS-T1 and T3, Kobo Mini and Aura HD, Tablet
One of these perhaps
•If-then-else ◦contains(val, pattern, text if match, text if not match)
◦ifempty(val, text if empty)
◦test(val, text if not empty, text if empty)

•Iterating over values ◦first_non_empty(value, value, ...)
◦lookup(val, pattern, field, pattern, field, ..., else_field)
◦switch(val, pattern, value, pattern, value, ..., else_value)

•List lookup ◦identifier_in_list(val, id, found_val, not_found_val)
◦in_list(val, separator, pattern, found_val, not_found_val)
◦list_item(val, index, separator)
◦select(val, key)
◦str_in_list(val, separator, string, found_val, not_found_val)

•List manipulation ◦count(val, separator)
◦list_difference(list1, list2, separator)
◦list_equals(list1, sep1, list2, sep2, yes_val, no_val)
◦list_intersection(list1, list2, separator)
◦list_re(src_list, separator, search_re, opt_replace)
◦list_sort(list, direction, separator)
◦list_union(list1, list2, separator)
◦subitems(val, start_index, end_index)
◦sublist(val, start_index, end_index, separator)

http://manual.calibre-ebook.com/template_ref.html#id39

Helen
speakingtohe is online now   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Any way to automate editting metadata? louwin Library Management 4 04-24-2012 07:58 PM
Automate Trook Downloads (cron-like)? spedinfargo Nook Developer's Corner 5 06-01-2011 03:40 PM
How to automate Fetch News in Kindle? remei Calibre 0 02-04-2011 01:30 PM
I am looking for a tool that could automate convertion of... astra Workshop 24 08-30-2009 07:38 AM
Restore Missing Library? Plug in to automate? Debby Calibre 7 03-24-2009 07:44 PM


All times are GMT -4. The time now is 02:59 PM.


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