|  12-31-2010, 05:00 PM | #166 | |||
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 Quote: 
 Quote: 
   | |||
|   | 
|  12-31-2010, 05:06 PM | #167 | 
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | 
			
			The category shows only for custom items. You might be looking at a standard one? The rationale is that the standard items can be determined from the icon, but the custom ones cannot. If you truly are not seeing the category name in the tooltip for custom fields, then I have some debugging to do.   | 
|   | 
|  12-31-2010, 05:11 PM | #168 | |
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 | |
|   | 
|  01-01-2011, 08:01 AM | #169 | |
| Zealot            Posts: 146 Karma: 2594 Join Date: May 2009 Device: Kindle PW,Sony 700, Sony 950 (Daily Edition),Nook Color,iPad | 
				
				Search the Internet Plug In
			 
			
			I am trying to figure out how to use this... I want to add Barnes and Nobles to it? Just can't seem to get it. Thanks for any help Quote: 
 Last edited by Maggie-Me; 01-01-2011 at 09:58 AM. | |
|   | 
|  01-01-2011, 11:16 AM | #170 | |
| Grand Sorcerer            Posts: 12,525 Karma: 8065948 Join Date: Jan 2010 Location: Notts, England Device: Kobo Libra 2 | Quote: 
  I also added a 'collapse button' where you suggested. I didn't add an 'expand button'. It didn't seem worth the trouble and real estate. | |
|   | 
|  01-01-2011, 01:25 PM | #171 | 
| Wizard            Posts: 3,465 Karma: 10684861 Join Date: May 2006 Device: PocketBook 360, before it was Sony Reader, cassiopeia A-20 | 
			
			Hi. I would like to have a plugin that would enable me to put a frequently used option directly on a toolbar. There is an option in Preferences -> Import / Export -> Adding books -> swap author Firstname and Lastname. I change that option very often and it is always lots of clicks, plus I sometimes forget what is the latest setting. Another User Unfiendly feature of that panel is that the Apply button is in the top left corner, the Close button in the parent dialog is in the right left. Another lot candidate for placing on the "Toolbar Frequently Used Options" would be 4 versions of regular expression for importing new books. Is it possible to make such plugin? Could I make a my private version of Calibre by simply copying a little piece of code from the settings dialog to the source for the toolbar layout? | 
|   | 
|  01-01-2011, 03:04 PM | #172 | |
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 As that was posted with an older version of this plugin that did not have the encoding or keyboard shortcut parameters you would want to add those columns in. So it would look like this if you added his items exactly with the icon: Code: stip_search_internet_menus = [
    ('FantasticFiction for Author', 'stip_fantastic_fiction.png', 'http://www.fantasticfiction.co.uk/search/?searchfor=author&keywords={author}', 'utf-8', _('Alt+F')),
    ('FantasticFiction for Title', 'stip_fantastic_fiction.png', 'http://www.fantasticfiction.co.uk/search/?searchfor=book&keywords={title}', 'utf-8', None),
    (None, None, None, None, None),
    ('Barnes and Noble by Author',    'stip_bn.png', 'http://productsearch.barnesandnoble.com/search/results.aspx?store=EBOOK&WRD={author}&box={author}&pos=-1&ugrp=1', 'utf-8', None),
    ('Barnes and Noble by Title',    'stip_bn.png', 'http://productsearch.barnesandnoble.com/search/results.aspx?store=EBOOK&WRD={title}+by+{author}', 'utf-8', None),
    ('Barnes and Noble by isbn',    'stip_bn.png', 'http://search.barnesandnoble.com/books/product.aspx?EAN={isbn}&page=index&prod=univ&choice=allproducts&query={isbn}&flag=False&ugrp=1', 'utf-8', None),
    (None, None, None, None, None),
    ('Amazon.com for Book', 'stip_amazon.png', 'http://www.amazon.com/s/ref=nb_sb_noss?url=search-alias%3Dstripbooks&field-keywords={author}+{title}', 'latin-1', _('Alt+Z')),
(None, None, None, None, None),
    ('Google.com for Book', 'stip_google.png', 'http://www.google.com/#sclient=psy&q={author}+"{title}"', 'utf-8', None),
    ('Google images for Book', 'stip_google.png', 'http://www.google.com/images?q={author}+{title}', 'utf-8', _('Alt+I')),
    (None, None, None, None, None),
    ('Wikipedia for Author', 'stip_wikipedia.png', 'http://en.wikipedia.org/w/index.php?title=Special%3ASearch&search={author}', 'utf-8', _('Alt+W'))] | |
|   | 
|  01-01-2011, 03:12 PM | #173 | |
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 The last comment I would have about that expand button is whether its function should actually be similar to the "reset search" button next to the search bar for the books. In that it both collapses the tree and clears the find text. I'm ok with it either way but just raising it for consideration if you had not already.   | |
|   | 
|  01-01-2011, 03:28 PM | #174 | |||
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | Quote: 
 Quote: 
 What I do is use a tool to rename the files before adding to Calibre so they always match my regex but if you want to avoid that I can see this as a popular solution. Quote: 
 If you want to write these yourself, go for it. If you want me to do them for you I'm happy to do so, on holiday at the moment so thumb twiddling... EDIT: Ok, I couldn't resist. I'm working on writing this for you. I will combine all the requirements into one button. Basically it will let you change any of the adding preferences by clicking on the toolbar dropdown menu button, so the three checkbox options that are there now, plus the ability to switch between up to 4 user configurable regular expressions. We'll see how it goes... Last edited by kiwidude; 01-01-2011 at 09:01 PM. Reason: Further comments | |||
|   | 
|  01-02-2011, 02:56 AM | #175 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
				
				Quick Preferences plugin
			 
			
			*** This plugin has now been moved to it's own thread - download from the link below *** https://www.mobileread.com/forums/sho...d.php?t=118772 This plugin provides a way to quickly switch between certain preferences values without going into the preferences dialog. Specifically it currently caters for preferences related to adding books but could be added to in future if needed. This gives you a toolbar button (see screenshot below) which allows you to: 
 By default I have included two regex patterns - the default Calibre one, and a second for handling titles in "author [- optional series #] - title" format. Special Notes: 
 
 Feedback/suggestions as always welcomed. Last edited by kiwidude; 01-27-2011 at 08:37 PM. Reason: Moved to own thread | 
|   | 
|  01-02-2011, 03:20 AM | #176 | |
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | Quote: 
 In other words your Quick preference has this one exactly backwards. | |
|   | 
|  01-02-2011, 03:37 AM | #177 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			Actually it is just the text description that is wrong, not the preference. Thanks for picking that up. Will push up a new version shortly.
		 | 
|   | 
|  01-02-2011, 03:40 AM | #178 | 
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | |
|   | 
|  01-02-2011, 03:45 AM | #179 | 
| Calibre Plugins Developer            Posts: 4,735 Karma: 2197770 Join Date: Oct 2010 Location: Australia Device: Kindle Oasis | 
			
			New version up now. Every time I push a plugin I wonder whether to offer it at some sort of "beta" first but any errors tend to get found pretty quickly by the likes of yourself   It took a fair bit of work to write this one but it was an interesting exercise. Slowly my knowledge of Qt is increasing as I force myself to try a few new things with each plugin. The Calibre architecture is so cool to allow this, credit again to Kovid and co. | 
|   | 
|  01-02-2011, 03:55 AM | #180 | |
| US Navy, Retired            Posts: 9,897 Karma: 13806776 Join Date: Feb 2009 Location: North Carolina Device: Icarus Illumina XL HD, Kindle PaperWhite SE 11th Gen | Quote: 
 I guess we can't have it all. | |
|   | 
|  | 
| Thread Tools | Search this Thread | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| Custom external commands in the GUI | janvanmaar | Calibre | 18 | 11-28-2010 10:35 AM | 
| Calibre GUI behavior between machines | phenomshel | Calibre | 2 | 08-21-2010 06:28 PM | 
| Calibre 0.6.10 GUI crashes on startup | Wagenius | Calibre | 1 | 09-03-2009 01:53 AM | 
| --breadth-first option in calibre GUI | osmo79 | Calibre | 1 | 05-30-2009 11:45 AM | 
| Calibre GUI crash on convert | aapezzuto | Calibre | 1 | 08-02-2008 06:39 PM |