Difference between revisions of "2009-11-23 Report Developers Meeting 2009-2"

Jump to navigation Jump to search
Line 35: Line 35:


=== addressing articles; title vs. URL ===
=== addressing articles; title vs. URL ===
We had a discussion about the fact that maybe there is a case where the article names (=titles) are not represented by the URL of an article. Kiwix is currently doing that for reason and changing all URLs to some kind of a short hash key.
The former idea was to just use the URL as the article identifier and add another field in the directory entry to define the title of a given article. But as we are relying on a working poor-mans-search on small device that do not se fulltext search but do a binary seach on the article index, we decided to add another index. So each article will refenced twice, in the titlePtrList (formerly indexPtrList) and the new urlPtrList. Each list contains the same entries, but once ordered by title and once by URL.
This means that the ZIM file header gets another field urlPtrPos to reference the start of the urlPtrList.


=== global metadata ===
=== global metadata ===

Navigation menu