Difference between revisions of "Talk:Build your ZIM file"

From openZIM
Jump to navigation Jump to search
 
(4 intermediate revisions by 2 users not shown)
Line 7: Line 7:
:Hi Ijon! This week we are on an exhibition and just released an alpha version of a Wikipedia DVD. I am pretty sure that as we are together now for some days we will manage it to fill that page.
:Hi Ijon! This week we are on an exhibition and just released an alpha version of a Wikipedia DVD. I am pretty sure that as we are together now for some days we will manage it to fill that page.
:I have created a poster to show the process a bit: [[Image:Poster_ZIM_Creation.pdf]]. Thanks for your patience and support. --[[User:Manuel Schneider|Manuel Schneider]] 12:29, 23 June 2009 (UTC)
:I have created a poster to show the process a bit: [[Image:Poster_ZIM_Creation.pdf]]. Thanks for your patience and support. --[[User:Manuel Schneider|Manuel Schneider]] 12:29, 23 June 2009 (UTC)
:Hi Ijon. The perl script buildZimFileFromDirectory.pl is currently the only way to produce a ZIM file from your Mediawiki dumped HTML files. I can help you to use it, but please tell me what does not work. Regards [[User:Kelson|Kelson]] 09:31, 24 June 2009 (UTC)
== Including images ==
If I have all the files locally, it seems relatively easy to include images in addition to the text. But how do I include images if I'm starting from a Wikimedia project dump? It's obviously possible to do and to automate, because it's done [http://www.kiwix.org/wiki/Wikipedia here], but I can't find instructions on how. Is that just automatically handled by the Wikimedia export or something? --[[User:DanielH|DanielH]] ([[User talk:DanielH|talk]]) 07:46, 8 March 2014 (CET)
: I see that you start to see the difficulties of wanting to base the ZIM creation process on the XML tarballa... [[User:Kelson|Kelson]] ([[User talk:Kelson|talk]]) 11:10, 8 March 2014 (CET)
== Difference between zimwriterfs and buildZimFileFromDirectory.pl ==
These two files seem to have exactly the same purpose. I notice that zimwriterfs is newer, but other than this and the fact that it's written in C++ instead of perl, what are the major differences? Should I always use zimwriterfs, or might the perl script be better in some cases? --[[User:DanielH|DanielH]] ([[User talk:DanielH|talk]]) 05:36, 9 March 2014 (CET)
: They both have the same purpose, but use zimwriterfs, buildZimFileFromDirectory.pl == is deprecated. [[User:Kelson|Kelson]] ([[User talk:Kelson|talk]]) 10:46, 9 March 2014 (CET)

Latest revision as of 09:46, 9 March 2014

Could someone clarify and expand this page? I finally have time to try to build a ZIM file for the Hebrew Wikipedia to see how we can integrate openZIM in our project of bundling the Hebrew Wikipedia in the One Computer Per Child computers distributed by the Israeli Prime Minister's Office.

I have a dump created with dumpHTML.php, per [Wiki2html|these instructions]. But how do I get this into the custom PostgreSQL database? Some samples or scripts would help considerably.

Thanks in advance! Ijon 13:42, 22 June 2009 (UTC)

Hi Ijon! This week we are on an exhibition and just released an alpha version of a Wikipedia DVD. I am pretty sure that as we are together now for some days we will manage it to fill that page.
I have created a poster to show the process a bit: File:Poster ZIM Creation.pdf. Thanks for your patience and support. --Manuel Schneider 12:29, 23 June 2009 (UTC)
Hi Ijon. The perl script buildZimFileFromDirectory.pl is currently the only way to produce a ZIM file from your Mediawiki dumped HTML files. I can help you to use it, but please tell me what does not work. Regards Kelson 09:31, 24 June 2009 (UTC)

Including images

If I have all the files locally, it seems relatively easy to include images in addition to the text. But how do I include images if I'm starting from a Wikimedia project dump? It's obviously possible to do and to automate, because it's done here, but I can't find instructions on how. Is that just automatically handled by the Wikimedia export or something? --DanielH (talk) 07:46, 8 March 2014 (CET)

I see that you start to see the difficulties of wanting to base the ZIM creation process on the XML tarballa... Kelson (talk) 11:10, 8 March 2014 (CET)

Difference between zimwriterfs and buildZimFileFromDirectory.pl

These two files seem to have exactly the same purpose. I notice that zimwriterfs is newer, but other than this and the fact that it's written in C++ instead of perl, what are the major differences? Should I always use zimwriterfs, or might the perl script be better in some cases? --DanielH (talk) 05:36, 9 March 2014 (CET)

They both have the same purpose, but use zimwriterfs, buildZimFileFromDirectory.pl == is deprecated. Kelson (talk) 10:46, 9 March 2014 (CET)