Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
Line 12: Line 12:
The harmonized name is used in work title links, e.g. :
The harmonized name is used in work title links, e.g. :
* https://tango.info/work.te_fuiste_ja_ja
* https://tango.info/work.te_fuiste_ja_ja
It is used to derive the string shown on a work page under the field "Title in ISWC format:", e.g.:
* TE FUISTE JA JA
== Tool ==
== Tool ==
* https://tango.info/x/php/tools/string_conversion.php (not working for numbers)
* https://tango.info/x/php/tools/string_conversion.php (not working for numbers)

Revision as of 2013-12-07T21:29:41

Overview

A tango.info az 09 name only includes letters a-z, numbers 0-9 and underscores. regex: [_a-z0-9]

Transformation

To transform a string into a az_09_name the following conversion is applied

  • convert each uppercase letter to lowercase
  • remove each diacritic
  • convert each non "a-z0-9" character to _
  • convert the sequence "__" to "_" until there is no more sequence "__"

Usage

The harmonized name is used in work title links, e.g. :

It is used to derive the string shown on a work page under the field "Title in ISWC format:", e.g.:

  • TE FUISTE JA JA

Tool

See also