View Single Post
Old 09-26-2011, 06:41 AM   #5
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,361
Karma: 8012652
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by Manichean View Post
There's a probably-largely-forgotten feature that allows you to specify folders via tags. The first tag starting with a slash will be used as a folder name, for example, an item with the tag '/News' will be sent to the subfolder 'News'. I don't know if this feature or the standard send to device- template takes precedence.
Hadn't noticed that, even though I have looked at that code a thousand times.

This technique works only for send-to-device.

Some details gathered by code examination:
- If the book has the tag "News", then except for the Nook color, the book will be placed into a News folder. I have no idea why the Nook Color turns this feature off.
- If the book has a tag that begins with a '/', then that tag will be used as the folder name. Note that the tag can have embedded slashes, which creates a path.
- If a book has both a "News" tag and a tag beginning with a slash, then one of them will win. Which one depends on the order the tags were added to the library.
- If a book has more than one tag beginning with a slash, then one of them will win. Which one depends on the order the tags were added to the library.

In all the above cases, all but the last component (after the last slash) of the path template are ignored.

Last edited by chaley; 09-26-2011 at 07:31 AM.
chaley is offline   Reply With Quote