<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
			<channel>
			<title>Турбо-страницы Яндекс — RSS с турбо / Вопросы, проблемы и их решения / Alto CMS</title>
			<link>http://79.174.14.219/comments/1912/</link>
			<description><![CDATA[У Яндекса есть так называемые «Турбо-страницы», которые добавляют информацию с RSS лент сайтов в Новости или Дзен. RSS вывод должен]]></description>
			<language>ru</language>
			<managingEditor>noreply@altocms.ru</managingEditor>
			<webMaster>noreply@altocms.ru</webMaster>
			<generator>Alto CMS v.1.5.0b1</generator>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29676)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29676</guid>
					<link>http://79.174.14.219/1912.html#comment29676</link>
					<author>vchebaxteam@yandex.ru</author>
					<description><![CDATA[Есть плагин <strong>Универсальные RSS фиды</strong> <a href="http://altocms.ru/addons/item/31">RSS фиды</a> только я не курсе работает он или нет.]]></description>
					<pubDate>Wed, 05 Sep 2018 13:33:59 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29679)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29679</guid>
					<link>http://79.174.14.219/1912.html#comment29679</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[Шаблон то не проблема, проблема в другом. <br>
Когда я сменил это на это , то все норм, но когда я вставил после это: &#60;turbo:content&#62;, выдало ошибку.<br>
Шаблон для смены тут: common/templates/skin/название шаблона/tpls/action/rss]]></description>
					<pubDate>Thu, 13 Sep 2018 12:43:38 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29680)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29680</guid>
					<link>http://79.174.14.219/1912.html#comment29680</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[Есть кто тут кто может показать, куда лезть с исправлениями?]]></description>
					<pubDate>Mon, 24 Sep 2018 10:14:29 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29683)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29683</guid>
					<link>http://79.174.14.219/1912.html#comment29683</link>
					<author>sportooyou@ya.ru</author>
					<description><![CDATA[<pre class="prettyprint"><code>&#60;?xml version=&#34;1.0&#34; encoding=&#34;UTF-8&#34;?&#62;
&#60;rss version=&#34;2.0&#34; {$oRss-&#62;getRssAttributesStr()}&#62;
    {foreach $oRss-&#62;getChannels() as $oRssChannel}
    &#60;channel&#62;
        &#60;title&#62;{$oRssChannel-&#62;getTitle()}&#60;/title&#62;
        &#60;link&#62;{$oRssChannel-&#62;getLink()}&#60;/link&#62;
        &#60;description&#62;&#60;![CDATA[{$oRssChannel-&#62;getDescription()}]]&#62;&#60;/description&#62;
        &#60;language&#62;{$oRssChannel-&#62;getLanguage()}&#60;/language&#62;
        &#60;managingEditor&#62;{$oRssChannel-&#62;getManagingEditor()}&#60;/managingEditor&#62;
        &#60;webMaster&#62;{$oRssChannel-&#62;getWebMaster()}&#60;/webMaster&#62;
        &#60;generator&#62;{$oRssChannel-&#62;getGenerator()}&#60;/generator&#62;
        {foreach $oRssChannel-&#62;getItems() as $oRssItem}
            &#60;item turbo=&#34;true&#34;&#62;
			&#60;turbo:content&#62;
                &#60;title&#62;{$oRssItem-&#62;getTitle()|escape:&#39;html&#39;}&#60;/title&#62;
                &#60;guid isPermaLink=&#34;true&#34;&#62;{$oRssItem-&#62;getGuid()}&#60;/guid&#62;
                &#60;link&#62;{$oRssItem-&#62;getLink()}&#60;/link&#62;
                &#60;author&#62;{$oRssItem-&#62;getAuthor()}&#60;/author&#62;
                &#60;description&#62;&#60;![CDATA[{$oRssItem-&#62;getDescription()}]]&#62;&#60;/description&#62;
                &#60;pubDate&#62;{$oRssItem-&#62;getPubDate()}&#60;/pubDate&#62;
                {foreach $oRssItem-&#62;getCategories() as $sCategory}
                    &#60;category&#62;{$sCategory}&#60;/category&#62;
                {/foreach}
            &#60;/turbo:content&#62;
			&#60;/item&#62;
        {/foreach}
    &#60;/channel&#62;
    {/foreach}
&#60;/rss&#62;</code></pre>]]></description>
					<pubDate>Mon, 24 Sep 2018 19:18:10 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29684)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29684</guid>
					<link>http://79.174.14.219/1912.html#comment29684</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[Не работает. На тег &#60;turbo:content&#62; ругается. <br>
This page contains the following errors:<br>
error on line 12 at column 18: Namespace prefix turbo on content is not defined<br>
Below is a rendering of the page up to the first error.<br>
Может где то не в шаблоне менять?]]></description>
					<pubDate>Mon, 24 Sep 2018 19:44:00 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29686)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29686</guid>
					<link>http://79.174.14.219/1912.html#comment29686</link>
					<author>sportooyou@ya.ru</author>
					<description><![CDATA[<a href="https://сайт.ru/rss" rel="nofollow">https://сайт.ru/rss</a><br>
<br>
Я правда добавил еще в /common/classes/modules/rss/entity/Rss.entity.class.php это:<br>
<br>
<pre class="prettyprint"><code>public function __construct() {

        $this-&#62;AddRssAttribute(&#39;xmlns:atom&#39;, &#39;http://www.w3.org/2005/Atom&#39;);
        $this-&#62;AddRssAttribute(&#39;xmlns:dc&#39;, &#39;http://purl.org/dc/elements/1.1/&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:content&#39;, &#39;http://purl.org/rss/1.0/modules/content/&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:slash&#39;, &#39;http://purl.org/rss/1.0/modules/slash/&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:wfw&#39;, &#39;http://wellformedweb.org/CommentAPI/&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:sy&#39;, &#39;http://purl.org/rss/1.0/modules/syndication/&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:georss&#39;, &#39;http://www.georss.org/georss&#39;);
	$this-&#62;AddRssAttribute(&#39;xmlns:turbo&#39;, &#39;http://turbo.yandex.ru&#39;);
    }</code></pre><br>
<br>
Выводит так <br>
&#60;rss xmlns:atom=&#34;<a href="http://www.w3.org/2005/Atom" rel="nofollow">http://www.w3.org/2005/Atom</a>&#34; xmlns:dc=&#34;<a href="http://purl.org/dc/elements/1.1/" rel="nofollow">http://purl.org/dc/elements/1.1/</a>&#34; xmlns:content=&#34;<a href="http://purl.org/rss/1.0/modules/content/" rel="nofollow">http://purl.org/rss/1.0/modules/content/</a>&#34; xmlns:slash=&#34;<a href="http://purl.org/rss/1.0/modules/slash/" rel="nofollow">http://purl.org/rss/1.0/modules/slash/</a>&#34; xmlns:wfw=&#34;<a href="http://wellformedweb.org/CommentAPI/" rel="nofollow">http://wellformedweb.org/CommentAPI/</a>&#34; xmlns:sy=&#34;<a href="http://purl.org/rss/1.0/modules/syndication/" rel="nofollow">http://purl.org/rss/1.0/modules/syndication/</a>&#34; xmlns:georss=&#34;<a href="http://www.georss.org/georss" rel="nofollow">http://www.georss.org/georss</a>&#34; xmlns:turbo=&#34;<a href="http://turbo.yandex.ru" rel="nofollow">http://turbo.yandex.ru</a>&#34; version=&#34;2.0&#34;&#62;]]></description>
					<pubDate>Mon, 24 Sep 2018 20:56:08 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29687)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29687</guid>
					<link>http://79.174.14.219/1912.html#comment29687</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[Круто. Спасибо.]]></description>
					<pubDate>Mon, 24 Sep 2018 21:00:48 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29688)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29688</guid>
					<link>http://79.174.14.219/1912.html#comment29688</link>
					<author>sportooyou@ya.ru</author>
					<description><![CDATA[Если Яндекс.Турбо съесть это (на проверке), то можно будет считать рабочим вариантом :-)]]></description>
					<pubDate>Mon, 24 Sep 2018 21:03:04 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29689)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29689</guid>
					<link>http://79.174.14.219/1912.html#comment29689</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[одно изменение. И яндекс съел:<br>
<pre class="prettyprint"><code> &#60;item turbo=&#34;true&#34;&#62;
			 &#60;title&#62;{$oRssItem-&#62;getTitle()|escape:&#39;html&#39;}&#60;/title&#62;
			 &#60;link&#62;{$oRssItem-&#62;getLink()}&#60;/link&#62;
			&#60;turbo:content&#62;
			&#60;guid isPermaLink=&#34;true&#34;&#62;{$oRssItem-&#62;getGuid()}&#60;/guid&#62;
			&#60;author&#62;{$oRssItem-&#62;getAuthor()}&#60;/author&#62;
                &#60;description&#62;&#60;![CDATA[{$oRssItem-&#62;getDescription()}]]&#62;&#60;/description&#62;
                &#60;pubDate&#62;{$oRssItem-&#62;getPubDate()}&#60;/pubDate&#62;
                {foreach $oRssItem-&#62;getCategories() as $sCategory}
                    &#60;category&#62;{$sCategory}&#60;/category&#62;
                {/foreach}
            &#60;/turbo:content&#62;
			&#60;/item&#62;</code></pre><br>
<br>
<br>
Т,Е, между <pre class="prettyprint"><code>&#60;item turbo=&#34;true&#34;&#62; и &#60;/turbo:content&#62;</code></pre> нужно ставить титл и линк.]]></description>
					<pubDate>Mon, 24 Sep 2018 21:17:51 +0300</pubDate>
									</item>
							<item>
					<title>Турбо-страницы Яндекс — RSS с турбо (comment #29685)</title>
					<guid isPermaLink="true">http://79.174.14.219/t/1912/#comment29685</guid>
					<link>http://79.174.14.219/1912.html#comment29685</link>
					<author>uncaballero@yandex.com</author>
					<description><![CDATA[В каком файле и как формируется лента?]]></description>
					<pubDate>Mon, 24 Sep 2018 19:45:08 +0300</pubDate>
									</item>
					</channel>
	</rss>
