Sunday, March 07, 2010

Add Calibre libraries to Windows search Indexer and use it efficiently - (The Modern Reader Series - A guide to getting more out of Calibre – Issue #2)

Windows Indexing service is an operating system level service that maintains an index of most of the files on a computer and updates them without user intervention. To Modify your indexing options:

  1. Open the start menu and start typing “Indexing Options”. It should appear in the results. Select it to open
  2. You should see a list of locations already being indexed. Click the Modify Button.
  3. In the new window select the folders you want to index and press OK to save.

IndexingOptions

Or alternatively, when you are searching a location in explorer that is not indexed, you get a yellow bar at the top asking you to add it to the indexing service. Right click on that yellow bar and select ‘Index this location’.

IndexingOptions2

Now that you have indexed you calibre libraries it is time to have fun with the searches. I recommend reading  this short tutorial about windows searches and available operands like AND OR etc before continuing. (Power users: Advanced Guide)

We all agree that calibre does a great job of managing out ebooks and what not but in my personal opinion, calibre’s search and presentation is more targeted towards a user who knows what he is searching for. Say I want to see all the books in the Dune Series. I can go ahead and quite easily do that in calibre. But what about the peruser user. In today’s world an average personal library may hold anywhere from 1000 to 10000 books depending on how mad the owner of the library is :) . How about when you want to see the books you read in the last 2 weeks? or a list of reference books that one would want, usually, on a moments notice? etc etc… Well I have tried here to make some of those easy. Read on dear ebook worm (Open Explorer and navigate to one of you libraries. Now in the search box enter one of the following)

List all the books in a library -

NOT type:"file folder" NOT name:cover.jpg NOT name:metadata.db

tech books 

This works best when you want to quickly access a book and don’t want to wait for calibre to load. I use it all the time to access my tech books library. For smaller libraries such as a tech books library or an encyclopaedia this work very efficiently and the search is very fast. So create a separate calibre library for this kind of categories.

Create and save a search for recently accessed books -

date:thismonth OR date:lastmonth NOT type:"file folder" NOT name:cover.jpg NOT name:metadata.db

You should then see a list of all the books that have accessed this month or last month. Pretty Neat? :)

Browse the covers as if it were a bookshelf - 

NOT type:"file folder" name:cover.jpg NOT name:metadata.db

Select the “Extra large Icons” view option and you have a bare minimum of a bookshelf here.

  • I find this a very good way to browse thru what I have as it is much faster then calibre’s cover browser
  • I have found many interesting items to read that I added to the library and forgot.
  • This is also useful to remove useless covers like some group covers or default covers added to .lit files
  • Use the Preview Pane to see larger versions of the covers
  • Hide the navigation pane and the details pane and use full screen (F11) for best results
  • If you save this search(see below) Most newer applications like Windows Preview will treat it as a folder

Bookshelf

Save a search for easy future access -

For all of the above and any custom searches you make, you can save them. Just go ahead and click “Save Search” button in the explorer toolbar and give it a friendly name like “Recent books” or “My Covers” etc. This will add the search to you favourites(can be removed) and save it in the Searches folder under the current user (Start menu>[CurrentLoginName]>Searches). This way you can use the search as if it were a folder and apply additional search filters like by type or size and use various sorting and grouping options.

Filter Covers by Author-

For e.g., Navigate to you searches location and open “My Covers” and in the empty search box enter an author and see the magic happen. This will work even better with recent listing and book listing search above. (only work for author names due to the folder structure of calibre).

 Author

Use Saved searches smartly -

This technique can be used in countless ways like when you want to search for -

  • Authors : add author name e.g. “Robin Cook” to a saved search or ‘ name:”Robin Cook” ’
  • Title: add “name:dune” to list all books with “dune in their title”
  • Format: add “name:.mobi” or ‘ type:”MOBI” ‘ or “name:.lit” or ‘ type:”LIT” ‘
  • You can in fact use any column name in the format  columnname:”query” (note: remove space from column name like Date Modified becomes datemodified) See Rigth-Click in empty area> Sort/Group>More.. for a list of columns

Other options for cooler searches yet -

  • ViewsViews_s Use different View options to make the results more pleasing and fun
  • Preview_s Use the preview pane as windows can show content preview for some file types like text, rtf, doc, images etc
  • Right-click in an empty area and choose Sort By to get neat results. such as by folder or by name or size
  • Right-click in an empty area and choose Group By to group the search results. Very useful for separating by type so that you see all mobi files in one group and pub files in another
  • use the More… option in Sort, Group and Details View options to access from a ton of file property options.
  • You can increase the size of the search box by dragging the divider to the left of the search box
  • To view the location of a file in the search results Right Click>Open File Location (Press shift for a new window)
  • Indexing service also searches inside books it can read like txt, rtf, doc etc. If you dont want to search inside files then add column names to you searches. e.g. search for “name:dune” instead of “dune”

I think I have list a lot of options for you to play with and as it may be apparent it is just a beginning! Discover searches of your own and share

Friday, March 05, 2010

Jumplist for Calibre: The eBook Management Software - (The Modern Reader Series - A guide to getting more out of Calibre – Issue #1)

I am a reader. You are a reader. Everyone is a reader and Calibre is open source! Aren’t we living in a golden age?

Calibre is a great application and it belongs to the community, but this also means that the community is in return responsible for calibre and its development. I was thoroughly impressed by it the first time I used it and am still surprised by its modular flexibility and potential. So I decided to participate and try to make the ‘calibre experience’ more smarter as that seems to be the mantra of this age.  So I have decided to start with a simple yet powerful tip for Calibre Users in the form of utilizing Win7’s Jump list feature. Here is does….

Aim : Facilitate launching of calibre and related tools with different start parameters.

Side effects : Multiple libraries, Integration in Windows 7  using Jumplist feature, Easy of launching and grouping calibre related links

Requirements: Calibre eBook Management Software, Windows 7, Hedgehog’s JumplistLauncher (Download 476.6 KB), (Administrator Privileges may be required based on the location of the installation of the launcher)

Limitations: Only runs on Windows 7

Setting Up Icons:

  1. Open Explorer with Ctrl+Shift to start it in Admin mode and Navigate to calibre’s installation directory (usually C:\Program Files\Calibre2)
  2. Create a new folder and Extract JumplistLauncher e.g. C:\Program Files\Calibre2\Jumplist   (power user tip: can be anywhere, can have multiple installs)
  3. Right Click on JumplistLauncher.exe and select “Create Shortcut”. Select yes when asked to place on desktop. You can optionally cut-paste the shortcut back in the jumplist folder.
  4. Rename the shortcut to “Calibre E-Book Management”. Optionally change it’s Icon to use calibre’s. See tutorial to change icon here
  5. Right click the shortcut and select “Pin to Start Menu”
  6. Right click the shortcut and select “Pin to Taskbar” (drag the icon to your preferred location)
  7. The Icons should appear on you task bar as well as in start menu. Congratulations you are half done.

Setting up Jumplist items:

  1. Press Ctrl+Shift and Click on the new icon to start the JumplistLauncher interface in admin mode. (Don’t worry if yours is empty, We are going to create these links.)Launcher
  2. Add Items to the jump list
    1. Click the ‘Add File’ button to create a new item.
    2. Browse to calibre’s executable (C:\Program Files\Calibre2\calibre.exe) and press ‘Open’
    3. In the ‘Selected Entry’ field group you can specify the name of you choice. for e.g ‘Calibre’
    4. In the ‘Parameters’ field add command line configuration parameters. 
      1. To launch calibre with another library location then default enter “--with-library <path>” where <path> is the path to that library e.g. E:\Books\Library2 . See the official support guide for more parameters.
      2. To add a URL (for e.g. a friend’s content server) use a browser’s exe for the file and the URL for the parameter. For e.g. I used Firefox with is normally located at C:\Program Files\Mozilla Firefox\firefox.exe
      3. Add Calibre-server.exe to easily start your content server. see available params
      4. If you have a skydrive, network backup etc, you can specify it’s path for the library
      5. If you use the various modular executable in calibre’s directory, create batch files for common tasks and add them by creating a shortcut with the Run minimised option
    5. Optionally change the icon of the jump list item by pressing the icon button.
  3. Use the ‘Add Group’ button to great sections in the list. To edit a group’s name click on it in the list and it changes to a editable textbox.
  4. Selecting one of the checkboxes in the list makes it the default launch operation when clicking on the icons we added to the task bad and start menu. If none is selected then this configuration window opens up.
  5. Press the ‘Update Jumplist’ button to same you options and update the jump list without restarting the launcher.
  6. Exit the configuration  window and you are done!

StartMenu Jumplist Taskbar Jumplist

I hope this is a very helpful tutorial and will go a long way to utilizing calibre to its full potential. I will be create more posts and tutorials in the future so please send me feedback on the calibre’s mobileread forum or here.