You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Just like we have add_redirect in zim/creator and add_redirects_to_zim in zim/filesystem, we should now add support for the "new" ZIM alias with add_alias in zim/creator and add_aliases_to_zim in zim/filesystem
The text was updated successfully, but these errors were encountered:
I'd like us to implement this as zimwriterfs does (I don't think it's there yet) so this features keeps being a close-to-drop-in alternative (we should implement a drop-in zimwriterfs script at some point).
If we are to implement this first, maybe coordinate with @kelson42 so the input can be the same.
do you have any plans to add support for aliases in zimwriterfs?
do you intend to use a different format that the one used for redirects? (libzim API seems identical)
shouldn't we add support for isFront hint in the TSV file for both redirect and alias? (covering all hints is pretty difficult but this one is pretty important is most scenarii)
do you have any plans to add support for aliases in zimwriterfs?
No, not even a ticket! :(
do you intend to use a different format that the one used for redirects? (libzim API seems identical)
I guess you refer to the --redirects option, but this is actually not the only way to create redirects in a ZIM. If you have an HTML file with an HTML redirect, then it will create a redirect as well.
I believe that checking the files (symlink, hardlinks, same files) would be the first approach to create aliases.
If there is a clear need to support a similar option like --redirects for aliases, then I guess we will have to implement it.
shouldn't we add support for isFront hint in the TSV file for both redirect and alias? (covering all hints is pretty difficult but this one is pretty important is most scenarii)
AFAIK (hope I'm right here) everything is Front for zimwriterfs... so not sure about the need, but here again if there is a need, we will have too.
OK, then let's remove the milestone for now until the needs become clearer. I don't even remember when I found this need. Probably around Youtube or TED scrapers ... not sure.
Just like we have
add_redirect
inzim/creator
andadd_redirects_to_zim
inzim/filesystem
, we should now add support for the "new" ZIM alias withadd_alias
inzim/creator
andadd_aliases_to_zim
inzim/filesystem
The text was updated successfully, but these errors were encountered: