Zim

Comment 4 for bug 705479

Revision history for this message
Oliver Joos (oliver-joos) wrote :

I tried to check if using the index would change anything: I did 'echo "Hello" >MyNotebook/TestPage.txt', and with the current Zim I was not able to make this TestPage appear in Zims outline unless I rebuilt the index. If I did not miss anything, it seems ok to use the index instead of the directory listing.

> Also need to make the filtering for the attachment folder more advanced.
Do you mean the Attachment Browser plugin? For plugins it would be nice to have a function that enumerates Zim pages, so that they don't have to do the filtering on their own.

> That would just be the first line, the Content-Type line.
Sounds good to me. The first line probably never changes in the future. This also allows to add Zim pages to the mime database of freedesktop one day. (The filtering capabilities of this database are a bit limited).
The only difficulty I see here is a BOM:
http://greeennotebook.com/2010/06/watch-out-for-the-byte-order-mark-bom-in-linux/