openzim / python-libzim

Libzim binding for Python: read/write ZIM files in Python
https://pypi.org/project/libzim/
GNU General Public License v3.0
62 stars 20 forks source link

The `getMainUrl()`, `getLayoutUrl()` and `getUuid()` follow the same logic that for the article #11

Closed jdcaballerov closed 3 years ago

jdcaballerov commented 4 years ago

The getMainUrl(), getLayoutUrl() and getUuid() follow the same logic that for the article, the user code should implement a class inhering the zim::writer::Creator and provides those methods.

However, storing a url is not be big deal. We can move on with this.

Originally posted by @mgautierfr in https://github.com/openzim/python-libzim/pull/3

kelson42 commented 4 years ago

@rgaudin Still a valid ticket?

rgaudin commented 4 years ago

Yes, this has not been done. The goal is to provide flexibility in subclassing Creator to get those information. It's not of much use at the moment, except for the main_url which must be set at Creator instantiation.

rgaudin commented 3 years ago

Obsolete now.