View Single Post
Old 04-09-2010, 05:58 AM   #23
Matthijs
Groupie
Matthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enoughMatthijs will become famous soon enough
 
Matthijs's Avatar
 
Posts: 199
Karma: 666
Join Date: Oct 2006
Location: Eindhoven, the Netherlands
Device: iLiad, DR1000S, DR800SG
Quote:
Originally Posted by Mackx View Post
Hi Matthijs,

The new mechanism only shows 'known' files (file extensions). I.e. Xournal files are not shown until the .xoj-extension is installed. At least in SDCard-mode, in the Books-mode there seems to be another mechanism (only formats supported by build-in apps?)
Can you explain the difference and the rationale (why are they not shown)?
"Books" is not a folder view, it is a TAG. Everything that is tagged as a Book is shown when you click 'Books' from the Home screen as a flat list.

There are two ways to get tagged as a book:
1) Be located inside the Books folder
2) Have one of the following hardcoded (ctb/src/tags.c) extensions: pdf, epub, pdb and *not* be inside one of the other tag folders (Images, News, Notes, Help, Personal Documents)

In the SD card, it shows all files that are registered in GConf as valid filetypes.

There is currently no way to tell which extension should get which default TAG (it's hardcoded). That may be a nice future improvement (as part of the filetypes GConf tree, e.g. /apps/er/sys/ctb/filetypes/*/default_tag). If anyone feels like implementing that, they could contribute it and we'd gladly integrate.

Last edited by Matthijs; 04-09-2010 at 06:02 AM.
Matthijs is offline   Reply With Quote