Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
(Created page with ' * all lowercase * diacritics removed * special chars and spaces converted to _ * all multiple _ converted to one _')
 
No edit summary
 
(21 intermediate revisions by the same user not shown)
Line 1: Line 1:
== Overview ==
A '''tango.info az 09 name''' only includes letters a-z, numbers 0-9 and underscores. regex: [_a-z0-9]


* all lowercase
== Transformation ==
* diacritics removed
To transform a string into a '''az_09_name''' the following conversion is applied
* special chars and spaces converted to _  
* convert each uppercase letter to lowercase
* all multiple _ converted to one _
* remove each diacritic
* convert each non "a-z0-9" character to _
* convert the sequence "__" to "_" until there is no more sequence "__"
* remove leading and trailing "_"
 
== Usage ==
The harmonized name is used in work title links, e.g. :
* 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 ==
* https://tango.info/x/php/tools/string_conversion.php (not working for numbers)
 
== See also ==
* [[tango.info azname]]

Latest revision as of 2013-12-07T22:24:18

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 "__"
  • remove leading and trailing "_"

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