<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — how to get link canonical?]]></title>
		<link>https://punbb.informer.com/forums/topic/29873/how-to-get-link-canonical/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/29873/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in how to get link canonical?.]]></description>
		<lastBuildDate>Thu, 21 Apr 2016 01:11:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: how to get link canonical?]]></title>
			<link>https://punbb.informer.com/forums/post/155821/#p155821</link>
			<description><![CDATA[<div class="quotebox"><cite>PanBB.Ru wrote:</cite><blockquote><p>в файле <strong>viewtopic.php</strong> вставить<br />навесить на хук <strong>hd_head</strong></p></blockquote></div><p>case close, love u panbb.ru<br />thx u so much for answer<br />working fine :3<br /><span class="postimg"><img src="https://media.giphy.com/media/jQqU9dCKUOdri/giphy.gif" alt="https://media.giphy.com/media/jQqU9dCKUOdri/giphy.gif" /></span></p>]]></description>
			<author><![CDATA[null@example.com (kudataz)]]></author>
			<pubDate>Thu, 21 Apr 2016 01:11:30 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155821/#p155821</guid>
		</item>
		<item>
			<title><![CDATA[Re: how to get link canonical?]]></title>
			<link>https://punbb.informer.com/forums/post/155818/#p155818</link>
			<description><![CDATA[<p>в файле <strong>viewtopic.php</strong> вставить<br /></p><div class="codebox"><pre><code>$link_canonical = forum_link($forum_url[&#039;topic&#039;], array($id, sef_friendly($cur_topic[&#039;subject&#039;])));

echo $link_canonical;</code></pre></div><p>если вам нужно получить каноническую ссылку на топик для отображения мета тега <strong>rel=&quot;canonical&quot;</strong><br /></p><div class="codebox"><pre><code>        if (FORUM_PAGE == &#039;viewtopic&#039;)
        {
            if ($pid &gt; 0)
            {
                $link_canonical = forum_link($forum_url[&#039;topic&#039;], array($id, sef_friendly($cur_topic[&#039;subject&#039;])));
                $forum_head[&#039;canonical&#039;] = &#039;&lt;link rel=&quot;canonical&quot; href=&quot;&#039;.$link_canonical.&#039;&quot; /&gt;&#039;;
            }
        }</code></pre></div><p>навесить на хук <strong>hd_head</strong></p>]]></description>
			<author><![CDATA[null@example.com (PanBB.Ru)]]></author>
			<pubDate>Wed, 20 Apr 2016 07:16:11 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155818/#p155818</guid>
		</item>
		<item>
			<title><![CDATA[how to get link canonical?]]></title>
			<link>https://punbb.informer.com/forums/post/155815/#p155815</link>
			<description><![CDATA[<p>Hy punbb<br />i have question<br />how to get link canonical ?<br />when i browse in <a href="http://punbb.informer.com/forums/post/155736/#p155736">http://punbb.informer.com/forums/post/155736/#p155736</a><br />in manifest.xml this will get the link of post not canonical<br /></p><div class="codebox"><pre><code>forum_link($forum_url[&#039;post&#039;], $cur_post[&#039;id&#039;])</code></pre></div><p>how to i get link <a href="http://punbb.informer.com/forums/topic/26318/extension-omsubforums-003/">http://punbb.informer.com/forums/topic/ … orums-003/</a></p><br /><p>please your help punbb ^^</p>]]></description>
			<author><![CDATA[null@example.com (kudataz)]]></author>
			<pubDate>Wed, 20 Apr 2016 04:50:01 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/155815/#p155815</guid>
		</item>
	</channel>
</rss>
