Tango.info az 09 name: Difference between revisions

From tango.info wiki
Jump to navigation Jump to search
No edit summary
 
(8 intermediate revisions by the same user not shown)
Line 1: Line 1:
:needs fix - 0-9 undefined
== Overview ==
A '''tango.info a z name''' only includes letters a-z and underscores. regex: [_a-z]
A '''tango.info az 09 name''' only includes letters a-z, numbers 0-9 and underscores. regex: [_a-z0-9]


To transform a string into a '''a_z_name''' the following conversion is applied
== Transformation ==
* all lowercase
To transform a string into a '''az_09_name''' the following conversion is applied
* diacritics removed
* convert each uppercase letter to lowercase
* special chars and spaces converted to _  
* remove each diacritic
* all multiple _ converted to one _
* convert each non "a-z0-9" character to _  
== Link ==
* convert the sequence "__" to "_" until there is no more sequence "__"
* https://tango.info/tools/string_conversion.php
* remove leading and trailing "_"


==See also==
== 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]]
* [[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