<?xml version='1.0'?>

<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:georss="http://www.georss.org/georss"  xmlns:media="http://search.yahoo.com/mrss/"  >
	<channel>
		<title><![CDATA[Community Software 24 Playground: Torsten Wesolek's blog: BLOG Claiming bei Technorati]]></title>
		<link>http://www.community-software-24.de/technorati-claiming-blog-153BLGtorwe.html?view=rss</link>
		<description /> 		
	<item>
	  <guid isPermaLink='true'>http://www.community-software-24.de/technorati-claiming-blog-153BLGtorwe.html</guid>
	  <pubDate>Tue, 19 Jan 2010 00:00:39 +0100</pubDate>
	  <link>http://www.community-software-24.de/technorati-claiming-blog-153BLGtorwe.html</link>
	  <title><![CDATA[BLOG Claiming bei Technorati]]></title>
	  <description><![CDATA[<p>Seit einigen Tagen nun habe ich versucht, meine BLOGS unter Elgg bei <a href="http://technorati.com/blogs/www.fitnesswelt.com">Technorati</a> bekannt zu machen. Technorati ist nun mal das f&uuml;r die BLOGS, was Google f&uuml;r die normale Suche ist. Deswegen wollte ich auch nicht aufgeben, als es nicht ging.</p>
<p>Man muss dazu einen BLOG Beitrag im Body mit einer bestimmten Kennung versehen, die einem von Technorati mitgeteilt wird.</p>
<p>Leider bekam ich immer wieder die folgende Meldung, wenn ich versuchte, meinen BLOG anzumelden:<br /><em>"...&nbsp;</em><span style="white-space: pre;"><em>Unfortunately, we have encountered a problem reading your site's data...."</em></span></p>
<p>Obwohl der feed mit den verschiedenen Feedreadern fehlerlos angezeigt wurde, hat dann aber der <a href="http://validator.w3.org/">Feedvalidator</a> neben ein paar weniger kritischen Meckereien vor allem den unvollst&auml;ndigen Permalink nicht akzeptiert.</p>
<p>Tats&auml;chlich lie&szlig; sich nach einer kleinen &Auml;nderung beim RSS-Feed das BLOG problemlos anmelden.</p>
<p>Die &Auml;nderungen m&uuml;ssen in /views/rss/object/default.php in folgender Form vorgenommen werden:</p>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> &nbsp;&lt;guid isPermaLink='true'&gt;&lt;?php</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>$permalink = $vars['entity']-&gt;getURL();</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>if (!strstr($permalink,'http://')) {</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>$permalink = 'http://' . $_SERVER["HTTP_HOST"] . $permalink;</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>}</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span>echo htmlspecialchars($permalink);</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> &nbsp;?&gt;&lt;/guid&gt;</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> &nbsp;&lt;pubDate&gt;&lt;?php echo date("r",$vars['entity']-&gt;time_created) ?&gt;&lt;/pubDate&gt;</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> &nbsp;&lt;link&gt;&lt;?php echo htmlspecialchars($permalink); ?&gt;&lt;/link&gt;</div>
<div style="absolute; left: -10000px; top: 51px; width: 1px; height: 1px; overflow-x: hidden; overflow-y: hidden;"><span style="white-space: pre;"> </span> &nbsp;&lt;title&gt;&lt;![CDATA[&lt;?php echo $title; ?&gt;]]&gt;&lt;/title&gt;</div>
<div><em>&lt;item&gt;</em></div>
<div><span style="white-space: pre;"><em> </em></span><em> &nbsp;&lt;guid isPermaLink='true'&gt;</em><strong><em>&lt;?php</em></strong></div>
<div><strong><em>$permalink = $vars['entity']-&gt;getURL();</em></strong></div>
<div><strong><em>if (!strstr($permalink,'http://')) {</em></strong></div>
<div><strong><em>&nbsp;&nbsp;$permalink = 'http://' . $_SERVER["HTTP_HOST"] . $permalink;</em></strong></div>
<div><strong><em>}</em></strong></div>
<div><strong><em>echo htmlspecialchars($permalink);</em></strong></div>
<div><span style="white-space: pre;"><strong><em> </em></strong></span><strong><em> &nbsp;?&gt;</em></strong><em>&lt;/guid&gt;</em></div>
<div><span style="white-space: pre;"><em> </em></span><em> &nbsp;&lt;pubDate&gt;&lt;?php echo date("r",$vars['entity']-&gt;time_created) ?&gt;&lt;/pubDate&gt;</em></div>
<div><span style="white-space: pre;"><em> </em></span><em> &nbsp;&lt;link&gt;&lt;?php echo htmlspecialchars(</em><strong><em>$permalink</em></strong><em>); ?&gt;&lt;/link&gt;</em></div>
<div><span style="white-space: pre;"><em> </em></span><em> &nbsp;&lt;title&gt;&lt;![CDATA[&lt;?php echo $title; ?&gt;]]&gt;&lt;/title&gt;</em></div>
<p>...</p>
<p>&nbsp;</p>
<p>Das Problem war also der zur Site-URL relative Link, das war wirklich nicht richtig "perma".</p>
]]></description>
	  	  <dc:creator>Torsten Wesolek</dc:creator>
	  	  	</item>

	<item>
	  <guid isPermaLink='true'>/technorati-claiming-blog-153BLGtorwe.html#1025</guid>
	  <pubDate>Tue, 19 Jan 2010 00:00:39 +0100</pubDate>
	  <link>/technorati-claiming-blog-153BLGtorwe.html#1025</link>
	  <title><![CDATA[<p>Mein eigener Kommentar dazu:  ...]]></title>
	  <description><![CDATA[<p>Mein eigener Kommentar dazu: Blah blah blah... test ich selbst.</p>
]]></description>
	  	  	  	</item>
	</channel>
</rss>
