Difference between revisions of "Zimwriterdb"

From openZIM
Jump to: navigation, search
(New page: The zimwriter is a tool to create zim files. The articles for the files are read from a postgresql database. The schema for the database is documented in the zimwriter source as a sql scri...)
 
Line 2: Line 2:
  
 
The current implementation has a abstraction for the data source, so that it will be possible to implement other data sources (as a replacement to the database) e.g. the file system.
 
The current implementation has a abstraction for the data source, so that it will be possible to implement other data sources (as a replacement to the database) e.g. the file system.
 
  
 
== zimindexer ==
 
== zimindexer ==
Line 8: Line 7:
  
 
The indexer, which creates that index file is implemented as a data source in zimwriter. It reads the articles from a zim file to create the full text index. To use it, pass -Z ''zimfile'' to the writer e.g. ''zimwriter -Z wikipedia-de.zim wikipedia-de-x''.
 
The indexer, which creates that index file is implemented as a data source in zimwriter. It reads the articles from a zim file to create the full text index. To use it, pass -Z ''zimfile'' to the writer e.g. ''zimwriter -Z wikipedia-de.zim wikipedia-de-x''.
 +
 +
== Binary ==
 +
''coming soon...''

Revision as of 09:43, 25 June 2009

The zimwriter is a tool to create zim files. The articles for the files are read from a postgresql database. The schema for the database is documented in the zimwriter source as a sql script de/zim-postgresql.sql.

The current implementation has a abstraction for the data source, so that it will be possible to implement other data sources (as a replacement to the database) e.g. the file system.

zimindexer

The full text search implemented in zimlib and used in zimreader there is a index file needed. The index file is actually a zim file with special articles in namespace X.

The indexer, which creates that index file is implemented as a data source in zimwriter. It reads the articles from a zim file to create the full text index. To use it, pass -Z zimfile to the writer e.g. zimwriter -Z wikipedia-de.zim wikipedia-de-x.

Binary

coming soon...