It returns a new list made by extracting from each item the components from start_index to end_index, then merging the results back together. It interprets the value as a comma-separated list of tag-like items, where each item is a period-separated list. Subitems(start_index, end_index) – This function breaks apart lists of tag-like hierarchical items such as genres. If none of the strings match then not_found_value is returned. Now select the newly converted books and click Edit metadata -> Download metadata and covers. The string and found_value pairs can be repeated as many times as desired, permitting returning different values depending on string’s value. If string contains separators then it is also treated as a list and each subvalue is checked. If string is equal to any item (ignoring case) then return the corresponding found_val. Str_in_list(separator, + not_found_val) – interpret the value as a list of items separated by separator then compare string against each value in the list. Open Library is an initiative of the Internet Archive, a 501(c)(3) non-profit, building a digital library of Internet sites and other cultural artifacts in digital form.Other projects include the Wayback. For example, the title The Dome would not be changed. If the value’s length is less than left chars + right chars + the length of middle text then the value will be returned unchanged. For a book with the title Ancient English Laws in the Times of Ivanhoe the result will be Ancient E-anhoe: the first 9 characters of the title, a -, then the last 5 characters. A template expression consists of text and names in curly brackets (. Basic templates ¶Ī basic template consists one or more template expressions. The language is built around the notion of a template, which specifies which book metadata to use, computations on that metadata, and how it is to be formatted. Specify the folder structure and file names when saving files from the calibre library to the disk or e-book reader.ĭefine rules for adding icons and colors to the calibre book list.ĭefine virtual columns that contain data from other columns. The calibre template language is a calibre-specific language used throughout calibre for tasks such as specifying file paths, formatting values, and computing the value for user-specified columns.
0 Comments
Leave a Reply. |