Hi,
I'm thinking about the layout of pages in zim files. I have some ideas, what to
do and I would like to share thes with you. Especially I would like to hear
your expectations about the content of zim files.
Let me explain the problem. In the german wikipedia DVD the layout of the page
was partly hardcoded into the reader. The html-frame, css, images and
javascript-files were compiled into the application. With a special namespace
'-', these files were accessable. E.g. "/-/monobookde.css" loads the css file
from the application.
It is easy to move these into the zim file.
The html-frame is more difficult, since it contains dynamic parts like
"<title>...</title>" or the actual article text. So to move this page into the
zim file, we need some placeholders, which need to be parsed at runtime.
My plan is to introduce a special syntax for these placeholders. The tag
"<%something%>" may be replaced. This "something" need to be defined. This
syntax may be used in the layout page, which is already in the zim file header
as well as in arbitrary pages. We might also add a special mime type in
addition to zimMimeTextHtml, where the zimlib parses these tags.
This "something" may be:
<%title%> title of the page
<%url%> the url of the page (e.g. /A/Linux)
<%namespace%> the namespace
<%/A/Linux%> insert another article here
<%content%> placeholder for the article content in the layout page
... (maybe more in the future)
In the zim lib we have a class "zim::Article". This has a method "getData()",
which returns the article data of the page. I would add a new method
"getPage()", which uses the layout page to return the complete page.
This layout page should only be used, when the mime type is zimMimeTextHtml.
This way the creator of the zim file can specify, how to show pages without
repeating the html-header and footer on each page. A reader may ignore this
layout if wanted.
Tommi
Dear openZIM developers team!
As I wrote last week I was at the Wikimedia Conference in Berlin.
== Wikimedia Israel / hebrew Wikipedia on OLPC ==
One result was that I meet Asaf Bartov from Israel who is working on hebrew
Wikipedia for the One Laptop Per Child project (OLPC, XO). I haven't heard
from him since I came back, but I am pretty sure we will hear from him after
the Easter holidays. I keep him up-to-date by forwarding the most relevant
mails from this mailinglist.
== Wikimedia Italia / italian Wikipedia on DVD ==
I also talked to Frieda Brioschi from Wikimedia Italia concerning their
Wikipedia DVD. They have a company in Italy which created a proprietary
software with GUI for the DVD and an "unknown" storage for the data (reminds
me of the Directmedia approach in the first place). She said the software
was "awkward". They plan to have a new DVD this year and the company promised
to write a new software which is better. Frieda stated that WMIT is not yet
sure if they will sign a contract with this company again.
After talking about openZIM Frieda said that she will take that into account.
I offered her that WMIT can make their DVD on its own by using our software
and maybe Kiwix, or they point the company to our software which they can use
and integrate zimlib or she may also ask Emmanuel - maybe he would be willing
to make a DVD for WMIT.
== Wikimedia Polska / polish Wikipedia on DVD ==
Wikimedia Polska had a DVD using HTML dumps and a Java applet as search
engine. Didn't sell, no current plans on having a new DVD.
== Wikimedia Foundation Conference Call ==
Erik Möller (Deputy Director of Wikimedia Foundation) contacted me after the
conference by mail, stating that he heard from openZIM and would like to talk
to me about that.
Quote:
"Since it seems like prior offline reader efforts are
merging into it, I would like to understand the goals and deliverables
of the project better, and also discuss whether we could support it in
any fashion."
We have now fixed a date with James Owen, his assistant, for a conference call
at Thursday evening, April 16th at 20:00 our local time (CEST).
I would like to collect some statements and ideas how Wikimedia Foundation
could help us.
To do that in a collaborative way I created
http://openzim.org/Wikimedia_Foundation_Relationship
and will now start filling in what I have in mind, but invite you to add what
you feel is important to mention from your point of view.
Thanks for your attention,
Manuel
--
Regards
Manuel Schneider
Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch
Hi,
the ZimReader is fixed and I can browse through the zim file I created from
Josch's dewiki-Dump. There were some smaller bugs in the reader as well as in
the library, but the main bug was in cxxtools. So if you want to test the
reader please update cxxtools.
There are still some tasks to do in the reader. There is many hardcoded stuff
from the old wikipedida DVD, like the text "DVD-ROM-Ausgabe 2007" in the title
area and a reference to Directmedia.
I also updated the status and next steps page in our wiki.
Tommi
Hi,
i have seen that the code from tntzenoreader has been migrated to the openZIM subversion repository.
Thank you Tommi for this work.
I have consequently adapted the Kiwix code and I'm now almost ready to release a beta of Kiwix 0.8 for Linux.
I will do that next week and I will certainly also provide nightly builds in a near future.
But, now I need to build multiple ZIM files to "feed" it : I want in the next 2-3 months to do following:
* Like you know, we are working on the last details on a 30.000 good and essential articles selection in English (issued from Wikipedia)
* I want to do a ~50.000 big selection from essential articles issued from Wikipedia in French and in Spanish.
* I want to make the Ubuntu documentation, issue from the Ubuntu-fr wiki (we have had some collaboration in the past, s. dokukiwix)
* I want also make ZIM files with other selections like the SOS children village one.
All these ZIM files will be with pictures.
Unfortunately, almost every time I try to run the zimwriter on a "big" selection, it dies. This is not something new, we have talk about that during our meeting... but I write again today to ask Tommi if he had have time to have a look to this annoying issue... and otherwise maybe to try to motivate him to do it ;)
An other point essential point IMO, is the "Welcome page" header, I have seen that the new header was integrated, but I do not know how to specify it to the zimwriter.
Regards
Emmanuel
Le mar 10/03/09 14:42, "Manuel Schneider" manuel.schneider(a)wikimedia.ch a écrit:
> Tommi, you can apply for a booth for tntnet and name openZIM as a "project
> partner". I listed "tntnet, Wikipedia, openmoko" as project partner of
> openZIM.
I think we should not add "Wikipedia", at least as long as the Foundation does not officialy support OpenZim.
But we should add "Moulinwiki", "Kiwix" and maybe "Wikimedia CH".
Emmanuel
Hi,
the LinuxTag 2009 in Berlin will take place from Jone 24th to 27th.
I have applied for a booth, Tommi has handed in a paper for a talk about ZIM.
I'm pretty confident that we will have a booth there.
Tommi, you can apply for a booth for tntnet and name openZIM as a "project
partner". I listed "tntnet, Wikipedia, openmoko" as project partner of
openZIM.
DVDs will cost about 1000 EUR, Wikimedia CH is willing to vote about the
sponsoring and I am very confident that we will get this money.
Greets,
Manuel
--
Regards
Manuel Schneider
Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch
Hi,
the LinuxTag 2009 in Berlin will take place from Jone 24th to 27th.
I have applied for a booth, Tommi has handed in a paper for a talk about ZIM.
I'm pretty confident that we will have a booth there.
Tommi, you can apply for a booth for tntnet and name openZIM as a "project
partner". I listed "tntnet, Wikipedia, openmoko" as project partner of
openZIM.
DVDs will cost about 1000 EUR, Wikimedia CH is willing to vote about the
sponsoring and I am very confident that we will get this money.
Greets,
Manuel
--
Regards
Manuel Schneider
Wikimedia CH - Verein zur Förderung Freien Wissens
Wikimedia CH - Association for the advancement of free knowledge
www.wikimedia.ch