Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Getting rid of the namespaces #15

Closed
kelson42 opened this issue May 8, 2017 · 7 comments
Closed

Getting rid of the namespaces #15

kelson42 opened this issue May 8, 2017 · 7 comments
Assignees

Comments

@kelson42
Copy link
Contributor

kelson42 commented May 8, 2017

The ZIM namespaces in the ZIM force to rewrite directory/file structure following a certain scheme.

This is/was necessary to distinguish file types and allow certain features (like the ZIM file suggestion system which should only returns articles - and not images).

The problem is that by not respecting the original directory/file organisation, it breaks the links between the contents, forces the URL rewriting and in many case this is really annoying for the people creating ZIM files.

For these reasons we should remove the namespaces and find a few new ideas to keep the level of features without using them. Of course this would be a serious ZIM spec change, so we need to find solutions to keep backward compatibility in the libzim.

Remark: Of course zimwriterfs needs to be modified too.

@julianharty
Copy link

See also kiwix/kiwix-js#220 for a possible problem when using --uniqueNamespace I'll test the ZIM file to see what the content-type is for ./A/style.css

@kelson42
Copy link
Contributor Author

I have posted a concept at http://www.openzim.org/wiki/Remove_namespaces. @mgautierfr please have a look to it and comment if you need to refine or see problem I might have overseen.

@kelson42
Copy link
Contributor Author

kelson42 commented Mar 1, 2019

@mgautierfr If we want to do that in Q1/Q2 like planned, we will have to slowly elaborate a strategy on this.

@JerwuQu
Copy link

JerwuQu commented Sep 14, 2019

If holding off on creating a new ZIM format major version, wouldn't it work to just place everything into namespace - for now?

@kelson42
Copy link
Contributor Author

@JerwuQu This is not stopping us to do any big ZIM file

@Jaifroid
Copy link

Jaifroid commented Mar 4, 2020

Subscribing to this issue so we can be prepared over at Kiwix JS for this change...

@mgautierfr
Copy link
Collaborator

Just to mention it is done in libzim_next branch. Not yet in master.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants