Микроразметка phoneticText
Узнайте как использовать микроразметку phoneticText для представления текстов с фонетической разметкой.
phoneticText - Свойство Schema.org
Описание: Представление текста textValue с использованием указанной разметки речи-текст. Например, название города Хьюстон на IPA: /ˈhjuːstən/.
Representation of a text textValue using the specified speechToTextMarkup. For example the city name of Houston in IPA: /ˈhjuːstən/. Используйте эту микроразметку для отображения текста с аудио-фонетической разметкой, что может быть полезно при обучении произношению или представлении сложной фонетической информации.
Values expected to be one of these types
Used on these types
Source
https://github.com/schemaorg/schemaorg/issues/2108
Examples
Example 1
Copied
Example notes or example HTML without markup.
See JSON example.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "City", "name": { "@type": "PronounceableText", "inLanguage": "en-US", "textValue": "Worcester", "speechToTextMarkup": "IPA", "phoneticText": "/ËwÊstÉ/" } } </script>
Structured representation of the JSON-LD example.
Example 2
Copied
Example notes or example HTML without markup.
See JSON example.
Example encoded as JSON-LD in a HTML script tag.
<script type="application/ld+json"> { "@context": "https://schema.org/", "@type": "RadioStation", "name": ["WKRP", { "@type": "PronounceableText", "textValue": "WKRP", "speechToTextMarkup": "SSML", "phoneticText": "<speak><say-as interpret-as=\"characters\">WKRP</say-as>" } ] } </script>
Structured representation of the JSON-LD example.