In lobid we use the gdata PercentEscaper ,which implements RFC 3986, instead of the java URLEncoder. With the former it's easy to escape URIs which have e.g. slashes in their URI path, see https://github.com/lobid/lodmill/issues/517.
It's deliberately a new morph function (and not just a bug fix of the existing URLEncode) because it uses a foreign library, gdata, and it is agreed to keep these at a minimum. For the ease of use it would be nice, though, if it would be part of metafacture-core.
I don't know why I opened this issue in the metafacture-documentation-repo.
Recommened way to add a function is to open a pull request and let discussion take place at the pull request.
Closing.
In lobid we use the gdata PercentEscaper ,which implements RFC 3986, instead of the java URLEncoder. With the former it's easy to escape URIs which have e.g. slashes in their URI path, see https://github.com/lobid/lodmill/issues/517. It's deliberately a new morph function (and not just a bug fix of the existing URLEncode) because it uses a foreign library,
gdata
, and it is agreed to keep these at a minimum. For the ease of use it would be nice, though, if it would be part of metafacture-core.