Турбо страницы для MODX EVO
Всем привет! Есть ли плагин или какое-то готовое решение для внедрения Турбостраниц Яндекс для Modx Evolution?
Комментарии: 11
Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
https://modx.pro/help/16578
Для EVO аналогично можно сделать.
Возможно ли их поставить на MODX EVO?
Ваша цель — сгенерировать XML, это можно и нативно в PHP сделать и в сниппете исполнить.
This page contains the following errors:
error on line 11 at column 19: Namespace prefix turbo on content is not defined
Below is a rendering of the page up to the first error.
и взглянуть бы, как создаете ленту и что в итоге получаете.
tech.yandex.ru/turbo/doc/rss/troubleshooting-docpage/ -может это поможет?
hol-rem.ru/turborss.html
Вывод в шаблоне страницы:
[[Ditto? &parents=`181` &format=`rss` &display=`all` &total=`all` &depth=`3` ]]
Вывод в шаблоне Ditto:
$rss_tpl = <<<TPL
<turbo:content>
[+rss_pagetitle+]
[(site_url)][~[+id+]~]
<![CDATA[ [+content+] ]]>
[+rss_date+]
[(site_url)][~[+id+]~]
<dc:creator>[+rss_author+]</dc:creator>
[+tagLinks+]
</turbo:content>
TPL;
[[Ditto? &parents=`181` &format=`rss` &display=`all` &total=`all` &depth=`3` ]]
и в шаблоне самого сниппета:
$rss_tpl = <<<TPL
<turbo:content>
[+rss_pagetitle+]
[(site_url)][~[+id+]~]
<![CDATA[ [+content+] ]]>
[+rss_date+]
[(site_url)][~[+id+]~]
<dc:creator>[+rss_author+]</dc:creator>
[+tagLinks+]
</turbo:content>