A
A
artem_bashev2014-09-02 11:30:07
RSS
artem_bashev, 2014-09-02 11:30:07

Is it possible to use nested tags in yandex:full-text?

Should the full text of the news be "pure" text? Are the following allowed:

<yandex:full-text>
      <h3>Котики бывают разные</h3>
      <p>
      Они все милые и все такое, но британские ученые выделили основные типы:
        <ol>
          <li> Домашние </li>
          <li> Дикие </li>
          <li> Шикарные </li>        
        <ol>
      </p>
</yandex:full-text>

Or the only acceptable option is:
<yandex:full-text>
      Котики бывают разные. Они все милые и все такое, но британские ученые выделили основные типы:
      1. Домашние.
      2. Дикие.
      3. Шикарные.        
</yandex:full-text>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander, 2014-09-02
@artem_bashev

Characters < > & ' " occurring in the text must be replaced with the corresponding elements:
& with &
< with <
> with >
' with '
" with "
(here the semicolon is not a separator of this list, but an obligatory part of the element!)
Replacements must be made in all <item> and <channel> elements - in <yandex:full-text>, <link>, <title>,
and etc.
Example, the link " some.host.ru/?id=1&page=10 " becomes
" some.host.ru/?id=1&page=10 "

Although judging by the type of news in Yandex, there is pure text.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question