com.osinka

slugify

package slugify

Visibility
  1. Public
  2. All

Type Members

  1. class Slugify extends AnyRef

Value Members

  1. object Slugify

    This makes pretty slugs out of any string in any charset.

    This makes pretty slugs out of any string in any charset.

    There is an alternate implementation at https://github.com/slugify/slugify , but - it has GNU license - it just passes cyrillic letters along!

    Most reasonable seems to use Transliterator from ICU4J library with custom mappings. This is very likely quite slow: needs benchmarking.

    Credits: http://stackoverflow.com/questions/10188575/convert-latin-characters-to-normal-text-in-java http://stackoverflow.com/questions/1657193/java-code-library-for-generating-slugs-for-use-in-pretty-urls

Ungrouped