<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>
<channel>
	<title>Comments on: Wordpress Digg Widget</title>
	<atom:link href="http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/</link>
	<description>Vino2Vino wine 2.0 weblog</description>
	<pubDate>Wed, 07 Jan 2009 12:07:02 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.5</generator>
		<item>
		<title>By: Javascript, PHP, CGI, Perl, ASP, Vbscript, Ajax articles, resources and programming tutorials</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-234</link>
		<dc:creator>Javascript, PHP, CGI, Perl, ASP, Vbscript, Ajax articles, resources and programming tutorials</dc:creator>
		<pubDate>Wed, 16 May 2007 21:39:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-234</guid>
		<description>&lt;strong&gt;Top wordpress tools of the month...&lt;/strong&gt;

Wordpress is the phenomenon (yeah I do believe it is one) that made a lot of dreams come true. It created a bridge between people without any kind of programming knowledge and the fact of being live and writing for people. The road is so much shorter f...</description>
		<content:encoded><![CDATA[<p><strong>Top wordpress tools of the month&#8230;</strong></p>
<p>Wordpress is the phenomenon (yeah I do believe it is one) that made a lot of dreams come true. It created a bridge between people without any kind of programming knowledge and the fact of being live and writing for people. The road is so much shorter f&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: I&#8217;m Mike &#187; Blog Archive &#187; Digg Widget 2.0</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-134</link>
		<dc:creator>I&#8217;m Mike &#187; Blog Archive &#187; Digg Widget 2.0</dc:creator>
		<pubDate>Mon, 30 Apr 2007 14:59:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-134</guid>
		<description>[...] couple of weeks ago I wrote a post on the Vino2Vino development blog about a digg widget that displayed your friends&#8217; digg activity on your blog. I wrote the widget in response to a [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] couple of weeks ago I wrote a post on the Vino2Vino development blog about a digg widget that displayed your friends&#8217; digg activity on your blog. I wrote the widget in response to a [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Motorcycle Guy</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-126</link>
		<dc:creator>Motorcycle Guy</dc:creator>
		<pubDate>Fri, 27 Apr 2007 18:03:21 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-126</guid>
		<description>This shows a lot of promise.</description>
		<content:encoded><![CDATA[<p>This shows a lot of promise.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yuzle!</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-94</link>
		<dc:creator>Yuzle!</dc:creator>
		<pubDate>Sun, 22 Apr 2007 22:44:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-94</guid>
		<description>Thanks man</description>
		<content:encoded><![CDATA[<p>Thanks man</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Devlounge &#124; Friday Focus #27</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-90</link>
		<dc:creator>Devlounge &#124; Friday Focus #27</dc:creator>
		<pubDate>Sat, 21 Apr 2007 11:39:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-90</guid>
		<description>[...] - Wordpress Digg Widget The past 7 days in Programming only saw a few items get hot, and I though the most interesting [or [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] - Wordpress Digg Widget The past 7 days in Programming only saw a few items get hot, and I though the most interesting [or [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 和谐，自由</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-88</link>
		<dc:creator>和谐，自由</dc:creator>
		<pubDate>Sat, 21 Apr 2007 02:38:58 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-88</guid>
		<description>&lt;strong&gt;把朋友 digg 的文章显示到你的 Blog...&lt;/strong&gt;

CoolCode 看来还是有问题， 本来要帖的一段代码都不能显示了。
这个 Digg Friends 的插件很有用的。 Delicious 应该也有类似的插件吧？

......</description>
		<content:encoded><![CDATA[<p><strong>把朋友 digg 的文章显示到你的 Blog&#8230;</strong></p>
<p>CoolCode 看来还是有问题， 本来要帖的一段代码都不能显示了。<br />
这个 Digg Friends 的插件很有用的。 Delicious 应该也有类似的插件吧？</p>
<p>&#8230;&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wordpress Digg Widget &#171; News Coctail</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-83</link>
		<dc:creator>Wordpress Digg Widget &#171; News Coctail</dc:creator>
		<pubDate>Fri, 20 Apr 2007 04:56:11 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-83</guid>
		<description>[...] Digg&#160;Widget Filed under: Uncategorized &#8212; recar @ 4:56 am   Wordpress Digg Widget Ask, and ye shall receive! WP digg widget that let&#8217;s you put your friends diggs in your [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Digg&nbsp;Widget Filed under: Uncategorized &#8212; recar @ 4:56 am   Wordpress Digg Widget Ask, and ye shall receive! WP digg widget that let&#8217;s you put your friends diggs in your [&#8230;]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Cj B</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-75</link>
		<dc:creator>Cj B</dc:creator>
		<pubDate>Mon, 16 Apr 2007 18:39:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-75</guid>
		<description>Hi. I wrote a digg widget a couple weeks ago that uses the official digg javascript. You can download it here:
http://www.cjbonline.org/index.php/2007/04/01/dugg-widget/</description>
		<content:encoded><![CDATA[<p>Hi. I wrote a digg widget a couple weeks ago that uses the official digg javascript. You can download it here:<br />
<a href="http://www.cjbonline.org/index.php/2007/04/01/dugg-widget/" rel="nofollow">http://www.cjbonline.org/index.php/2007/04/01/dugg-widget/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mike</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-74</link>
		<dc:creator>mike</dc:creator>
		<pubDate>Mon, 16 Apr 2007 17:12:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-74</guid>
		<description>There are several efficient XML parsers, but using an XML parser doesn't avoid string operations... Although I suppose the RSS feed is smaller.

I'm not disagreeing with your point on RSS. I should have used it, my bad. Re: caching to disk - that's what I would have done except that the Wordpress installation documents recommend that you chmod all of the non-upload directories to be non-writable. Many people follow these directions, which makes it more difficult to cache to disk. I could have cached to /tmp, but that wouldn't work on Windows... I figured any reasonably highly trafficked blog would have WP Cache installed, and that would mitigate the problem.</description>
		<content:encoded><![CDATA[<p>There are several efficient XML parsers, but using an XML parser doesn&#8217;t avoid string operations&#8230; Although I suppose the RSS feed is smaller.</p>
<p>I&#8217;m not disagreeing with your point on RSS. I should have used it, my bad. Re: caching to disk - that&#8217;s what I would have done except that the Wordpress installation documents recommend that you chmod all of the non-upload directories to be non-writable. Many people follow these directions, which makes it more difficult to cache to disk. I could have cached to /tmp, but that wouldn&#8217;t work on Windows&#8230; I figured any reasonably highly trafficked blog would have WP Cache installed, and that would mitigate the problem.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-73</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Mon, 16 Apr 2007 16:42:10 +0000</pubDate>
		<guid isPermaLink="false">http://blog.vino2vino.com/2007/04/14/wordpress-digg-widget/#comment-73</guid>
		<description>1) With the XML parser vs regular expressions, I'm sure there's a highly efficient xml parser in php by now that works better than performing string operations on  a 35kb string.  Maybe there isn't though, php isn't my forte.

2) It's not a best practice, it's the method with the lightest load.  I'm not sure if curl supports gzip or not but the RSS feeds on digg seem to be ~4kb gzipped, 35kb raw.  By comparison the page is 11kb gzipped and 44kb uncompressed.  When you're distributing a blog widgit for one of, if not the most popular blogging platforms on the internet you should keep in mind that kind of significant saving for the host site.

3) You always have a very simple caching option available - write the file to disk.  For maximum benefit to the blog you'd do so after processing it.  Then all you need to do is check the creation time, if it's more than x minutes old refetch it and overwrite it. 

As far as it just being a proof of  concept, I don't think that removes any (purely ethical) obligations a developer has.  It's just rude to write and distribute a script that hits another site as hard as possible for the sake of saving 5 minutes writing a cleaner version, and it sets a poor example that's likely to be followed in other plugins.</description>
		<content:encoded><![CDATA[<p>1) With the XML parser vs regular expressions, I&#8217;m sure there&#8217;s a highly efficient xml parser in php by now that works better than performing string operations on  a 35kb string.  Maybe there isn&#8217;t though, php isn&#8217;t my forte.</p>
<p>2) It&#8217;s not a best practice, it&#8217;s the method with the lightest load.  I&#8217;m not sure if curl supports gzip or not but the RSS feeds on digg seem to be ~4kb gzipped, 35kb raw.  By comparison the page is 11kb gzipped and 44kb uncompressed.  When you&#8217;re distributing a blog widgit for one of, if not the most popular blogging platforms on the internet you should keep in mind that kind of significant saving for the host site.</p>
<p>3) You always have a very simple caching option available - write the file to disk.  For maximum benefit to the blog you&#8217;d do so after processing it.  Then all you need to do is check the creation time, if it&#8217;s more than x minutes old refetch it and overwrite it. </p>
<p>As far as it just being a proof of  concept, I don&#8217;t think that removes any (purely ethical) obligations a developer has.  It&#8217;s just rude to write and distribute a script that hits another site as hard as possible for the sake of saving 5 minutes writing a cleaner version, and it sets a poor example that&#8217;s likely to be followed in other plugins.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
