04-22-2014, 07:10 PM | #1 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
Idea for adding search tags functionality
I had an idea how to add the ability to search for tags/keywords as a way to get around Kobo's slow collections implementation. (I don't use collections myself, I usually just use the search function to find the book directly, or to get a list of all books by an author or series, so the following is just from what I have seen others posting about the speed of collections.)
The search function operates on the title, author, series, and subtitle fields, and it appears to be very fast. I have 650+ books on my Glo and if I search for "k" it takes only a second to build and display a list of 287 books containing the letter "k" in one of those four fields. In theory if I added these 287 books to a collection called "k" then it should be even faster to display that collection (since it only has to search one field). I haven't tried this, but I gather from what others have posted that it would probably take longer than 1 second to display a collection of 287 books. The subtitle field seems pretty much useless. The subtitle just gets added to the end of the title, so if I wanted a subtitle I could just include it in the title and get exactly the same effect. So the idea is to somehow disable the display of the subtitle (firmware patch), and add a feature to Calibre to insert the book's tags into the subtitle field in the form t::<tag name>. Then if I had tags such as t::fantasy and t::mystery for example, entering "t::" into the search bar would bring up a pick list of all my tags, and performing the search for say "t::fantasy" would bring up a list of all books with the t::fantasy tag. My questions are: Would this work? If so, would it be faster than collections? And if so, would it be more useful than having subtitles? Last edited by GeoffR; 04-22-2014 at 07:15 PM. Reason: spelling |
04-23-2014, 12:18 AM | #2 |
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Interesting idea. And my first reaction was that it would work. But, I did some playing and I'm not as sure.
The problem is search results. I made a quick change to the utilities plugin to add the tags as the subtitle. The following are four of the values set: Code:
t::Science Fiction t::Fantasy t::Science Fiction t::Science Fiction t::Young Adult t::Fantasy t::Science Fiction t::Action & Adventure It worked because I had a book that "Science Fiction" as its only tag. Searching for "Fantasy" didn't work as well. I don't have any books that have "Fantasy" as their only tag. When the initial search results comes back, there isn't an entry I can select to display all the books with "Fantasy" as a tag. I have to press the "Go" button down the bottom to do that search. That still works, but it might not be as good. One other thing, while doing the searches I found that the colon isn't a good separator. I had to change keyboards to use it. Geoff: I have sent you a PM. |
04-23-2014, 01:03 AM | #3 |
Wizard
Posts: 3,821
Karma: 19162882
Join Date: Nov 2012
Location: Te Riu-a-Māui
Device: Kobo Glo
|
You're right of course, the search pick list isn't going to be very useful. While "t::" is not a good tag prefix for the keyboard, perhaps "@" would work well, as in @fantasy, @crime, etc.
I realised though that there is are no sort options on the list of search results, they are only sorted by title. That isn't a problem when I am searching by author or series because the results are usually all by the same author, but sort options are an advantage for collections. Thanks! |
04-23-2014, 01:39 AM | #4 | ||
Grand Sorcerer
Posts: 24,905
Karma: 47303822
Join Date: Jul 2011
Location: Sydney, Australia
Device: Kobo:Touch,Glo, AuraH2O, GloHD,AuraONE, ClaraHD, Libra H2O; tolinoepos
|
Quote:
Quote:
|
||
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Metadata tags idea | toomuchreading | Library Management | 8 | 11-10-2012 05:15 PM |
Calibre Feature Request / Idea: Tags as Status Tracker | talonius | Calibre | 4 | 09-12-2012 01:04 AM |
Adding books and tags | paulfiera | Calibre | 2 | 09-04-2011 02:19 PM |
PDF, Tags and Keywords | RockyBubba | Library Management | 4 | 04-03-2011 08:41 AM |
Crazy idea - search? | atesta | Sony Reader Dev Corner | 12 | 08-23-2008 06:33 PM |