![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,538
Karma: 264065402
Join Date: Jun 2009
Location: Taiwan
Device: HP Touchpad, Sony Duo 13, Lumia 920, Kobo Aura HD
|
Exclude files from indexing?
I have a number of documents in PDF format that I would prefer not to have show up in the "books" section, but would prefer that they could only be accessed through the file structure on the SD card. For this purpose I created various subdirectories by category on the SD card. That works, but they are still being indexed and clog up my book section.
I have noticed that items in "Image" and "Personal Documents" folders won't be indexed, but when I press on "Personal Documents" all items in that directory appear, regardless of what subfolder of that directory they are actually in. Is there any way around this? I can imagine 2 methods: 1.)You can specify which items are to be excluded from indexing. 2.)An easier way would be that subdirectories in Personal Documents are being shown and not everything shows up in the root of that folder when opening it from the home screen. |
![]() |
![]() |
![]() |
#2 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
When doing it, some of them get a special tag. For example, files inside Books folder get "book" tag, files in Images folder get "image" tag, and so on. These tags are included in the global.db sqlite database, as the last field of the file register. Thus, when you browse to Books folder, only files with "book" tag are shown, in fact all files inside the SD Books folder. By now, there are only a few tags supported (in fact, they are hardcoded in firmware sources). if you want to have a "secret" folder, just create a special folder in the SD root (f.e. "Secret docs"). The files inside, as they don't have any of the predefined tags, will not shown on existing folders and you will have to browse through SD to reach them. |
|
![]() |
![]() |
Advert | |
|
![]() |
#3 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,538
Karma: 264065402
Join Date: Jun 2009
Location: Taiwan
Device: HP Touchpad, Sony Duo 13, Lumia 920, Kobo Aura HD
|
Unfortunately that is not that way it works. I created a number of different folders on the SD card and put the files there. But it seems all PDF, epub (and perhaps others, I only have these and *.np) will be indexed no matter where they are, except if they are in the "Image" and "Personal Documents" folders. So in the end they show up in the "books" section.
|
![]() |
![]() |
![]() |
#4 | |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 189
Karma: 2190
Join Date: Aug 2007
Device: Sony PRS-500
|
Quote:
|
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,293
Karma: 529619
Join Date: May 2007
Device: iRex iLiad, DR800SG
|
As Iņigo says, all files on the SD are indexed. The question is how they are tagged and in what views they show up. If I remember correctly, Matthijs had a previous post explaining how this worked. I'd have to find it though.
|
![]() |
![]() |
Advert | |
|
![]() |
#6 | |
Guru
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 730
Karma: 72743
Join Date: Feb 2008
Location: Here or there
Device: iRex iLiad, iRex DR800S. K4NT. Kobo Aura, Aura One, Libra 2.
|
Quote:
But it's not so clear. For example I have a file named "agenda-2010.pdf" inside "Personal Documents" folder. It is shown on "Personal Documents" view, but not on "Books" view. But if I do a search under "Books" view it finds it... ![]() My hypothesis: every .pdf or .epub file appears in Books view, regardless the physical folder *unless they appear on any other view like Personal Documents or Images* (i.e. unless they have any other tag attached). Search is system-wide. If this is correct, you could modify/delete the tag of your secret files after being indexed. |
|
![]() |
![]() |
![]() |
#7 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,538
Karma: 264065402
Join Date: Jun 2009
Location: Taiwan
Device: HP Touchpad, Sony Duo 13, Lumia 920, Kobo Aura HD
|
Quote:
2.)Won't they be automatically "re-tagged" next time? My idea would be that Irex does not include folders that we created in the indexing process. That would be good (and time saving, since indexing will be faster) solution. Or that there is an option for each folder. Last edited by HansTWN; 04-20-2010 at 02:28 AM. |
|
![]() |
![]() |
![]() |
#8 |
Groupie
![]() ![]() ![]() ![]() ![]() ![]() Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
|
Search will search the entire card, regardless of the view you are in when you click Search.
As Shaggy points out, I explained how the tagging works in one of my other posts. The hypothesis is correct: every PDF or EPUB document that is not inside one of the special folders (News, Images, Personal Documents, Help) is tagged as a book. You can edit the 'global.db' SQLite3 database to change the tag. But that is experimental. The idea is that you put all your personal documents (not being books) inside the 'Personal Documents' folder. Once the sources are released, it will be trivial to change the 'Personal Documents' to use folder-based browsing. If you want a file to be excluded from indexing you can put it somewhere inside the 'System' folder, but then it will not be accessible at all (also not through the SD Card view). Also, you can make hidden files and folders by starting the name with a dot or an underscore. These will also not be indexed (and therefore also not be accessible). Hope that helps. |
![]() |
![]() |
![]() |
#9 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 4,538
Karma: 264065402
Join Date: Jun 2009
Location: Taiwan
Device: HP Touchpad, Sony Duo 13, Lumia 920, Kobo Aura HD
|
Quote:
|
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Is it possible to exclude tags/titles in the default view? | texasnightowl | Calibre | 17 | 08-18-2010 12:11 PM |
How to exclude a forum from new posts list on frontpage? | Ea | Feedback | 4 | 07-06-2009 10:05 AM |
Exclude <div>s from processing in HTML2LRF | MTBSJC | Calibre | 1 | 02-13-2009 03:26 AM |
MobileRead improvements: Exclude forums, et al. | Alexander Turcic | Announcements | 20 | 05-09-2008 06:33 PM |
Battery life, indexing, and corrupt files | cathyWeeks | Amazon Kindle | 5 | 01-13-2008 04:56 PM |