<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	>

<channel>
	<title>sacha chua :: enterprise 2.0 consultant, storyteller, geek &#187; del.icio.us</title>
	<atom:link href="http://sachachua.com/wp/category/delicious/feed/" rel="self" type="application/rss+xml" />
	<link>http://sachachua.com/wp</link>
	<description>I help people connect through blogs, wikis, other Web 2.0 tools. I'm also writing a book about Emacs.</description>
	<pubDate>Sat, 06 Sep 2008 03:47:23 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
			<item>
		<title>The Year in Bookmarks</title>
		<link>http://sachachua.com/wp/2005/12/16/the-year-in-bookmarks/</link>
		<comments>http://sachachua.com/wp/2005/12/16/the-year-in-bookmarks/#comments</comments>
		<pubDate>Fri, 16 Dec 2005 22:37:00 +0000</pubDate>
		<dc:creator>Sacha Chua</dc:creator>
		
		<category><![CDATA[code]]></category>

		<category><![CDATA[del.icio.us]]></category>

		<category><![CDATA[emacs]]></category>

		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://sachachua.com/notebook/wiki/2005.12.16.php#anchor-1</guid>
		<description><![CDATA[<table class="muse-table" border="2" cellpadding="5">
  <tbody>
    <tr>
      <td>Top 10 tags for 2005</td>
      <td><a href="http://del.icio.us/sachac/productivity">productivity</a>(104) <a href="http://del.icio.us/sachac/web2.0">web2.0</a>(88) <a href="http://del.icio.us/sachac/digitalpinay">digitalpinay</a>(88) <a href="http://del.icio.us/sachac/social">social</a>(84) <a href="http://del.icio.us/sachac/useful">useful</a>(83) <a href="http://del.icio.us/sachac/business">business</a>(80) <a href="http://del.icio.us/sachac/blogs">blogs</a>(70) <a href="http://del.icio.us/sachac/research">research</a>(69) <a href="http://del.icio.us/sachac/lifehacks">lifehacks</a>(68) <a href="http://del.icio.us/sachac/blogging">blogging</a>(60)</td>
    </tr>
  </tbody>
</table>

<p>Check out <a href="http://sacha.free.net.ph/notebook/wiki/2005.12.16.php">my year in bookmarks</a> for more detail. =) If you want me to analyze yours, just save <a href="http://del.icio.us/api/posts/all">http://del.icio.us/api/posts/all</a> to all.xml and run this Ruby script. You can also e-mail me (<a href="mailto:sacha@plannerlove.com">sacha@plannerlove.com</a>) your all.xml if you don't want to go through the hassle yourself.</p>

<p>Much fun!</p>

<pre class="example">
#!/usr/bin/ruby

require 'rexml/document'
require 'date'

include REXML

YEAR = 2005
USER = "sachac"
doc = Document::new(File::new('all.xml'))

month_hash = {}
month_total = {}
tag_total = {}
doc.elements[1].elements.each {
  &#124;x&#124;
  date = DateTime::parse(x.attributes['time'])
  if (date.year == YEAR)
    x.attributes['tag'].split(' ').each {
      &#124;tag&#124;
      month_hash[date.month] &#124;&#124;= {}
      month_hash[date.month][tag] &#124;&#124;= 0
      month_hash[date.month][tag] += 1
      tag_total[tag] &#124;&#124;= 0
      tag_total[tag] += 1
    }
    month_total[date.month] &#124;&#124;= 0
    month_total[date.month] += 1
  end
}

s = "Top 10 tags for " + YEAR.to_s + " &#124;"
tag_total.sort_by { &#124;tag,total&#124; -total }.slice(0, 10).each { &#124;tag,total&#124;
  s += ' <a href="http://del.icio.us/' + USER + '/' + tag + "\">" + tag + "</a>(" + total.to_s + ")"
}
puts s

month_hash.sort.each { &#124;month,tags&#124;
  s = Date::MONTHNAMES[month] + "<br/>(" + month_total[month].to_s + " bookmarks) &#124;"
  tags.sort_by { &#124;tag,total&#124; -total }.each {
    &#124;tag,total&#124;
    s += ' <a href="http://del.icio.us/' + USER + '/' + tag + "\">" + tag + "</a>(" + total.to_s + ")"
  }
  puts s
}
</pre>

<p>On Technorati: <a href="http://www.technorati.com/tag/ruby" rel="tag">ruby</a>, <a href="http://www.technorati.com/tag/code" rel="tag">code</a>, <a href="http://www.technorati.com/tag/del.icio.us" rel="tag">del.icio.us</a></p>
]]></description>
			<content:encoded><![CDATA[<table class="muse-table" border="2" cellpadding="5">
  <tbody>
    <tr>
      <td>Top 10 tags for 2005</td>
      <td><a href="http://del.icio.us/sachac/productivity">productivity</a>(104) <a href="http://del.icio.us/sachac/web2.0">web2.0</a>(88) <a href="http://del.icio.us/sachac/digitalpinay">digitalpinay</a>(88) <a href="http://del.icio.us/sachac/social">social</a>(84) <a href="http://del.icio.us/sachac/useful">useful</a>(83) <a href="http://del.icio.us/sachac/business">business</a>(80) <a href="http://del.icio.us/sachac/blogs">blogs</a>(70) <a href="http://del.icio.us/sachac/research">research</a>(69) <a href="http://del.icio.us/sachac/lifehacks">lifehacks</a>(68) <a href="http://del.icio.us/sachac/blogging">blogging</a>(60)</td>
    </tr>
  </tbody>
</table>

<p>Check out <a href="http://sacha.free.net.ph/notebook/wiki/2005.12.16.php">my year in bookmarks</a> for more detail. =) If you want me to analyze yours, just save <a href="http://del.icio.us/api/posts/all">http://del.icio.us/api/posts/all</a> to all.xml and run this Ruby script. You can also e-mail me (<a href="mailto:sacha@plannerlove.com">sacha@plannerlove.com</a>) your all.xml if you don't want to go through the hassle yourself.</p>

<p>Much fun!</p>

<pre class="example">
#!/usr/bin/ruby

require 'rexml/document'
require 'date'

include REXML

YEAR = 2005
USER = "sachac"
doc = Document::new(File::new('all.xml'))

month_hash = {}
month_total = {}
tag_total = {}
doc.elements[1].elements.each {
  |x|
  date = DateTime::parse(x.attributes['time'])
  if (date.year == YEAR)
    x.attributes['tag'].split(' ').each {
      |tag|
      month_hash[date.month] ||= {}
      month_hash[date.month][tag] ||= 0
      month_hash[date.month][tag] += 1
      tag_total[tag] ||= 0
      tag_total[tag] += 1
    }
    month_total[date.month] ||= 0
    month_total[date.month] += 1
  end
}

s = "Top 10 tags for " + YEAR.to_s + " |"
tag_total.sort_by { |tag,total| -total }.slice(0, 10).each { |tag,total|
  s += ' <a href="http://del.icio.us/' + USER + '/' + tag + "\">" + tag + "</a>(" + total.to_s + ")"
}
puts s

month_hash.sort.each { |month,tags|
  s = Date::MONTHNAMES[month] + "<br/>(" + month_total[month].to_s + " bookmarks) |"
  tags.sort_by { |tag,total| -total }.each {
    |tag,total|
    s += ' <a href="http://del.icio.us/' + USER + '/' + tag + "\">" + tag + "</a>(" + total.to_s + ")"
  }
  puts s
}
</pre>

<p>On Technorati: <a href="http://www.technorati.com/tag/ruby" rel="tag">ruby</a>, <a href="http://www.technorati.com/tag/code" rel="tag">code</a>, <a href="http://www.technorati.com/tag/del.icio.us" rel="tag">del.icio.us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sachachua.com/wp/2005/12/16/the-year-in-bookmarks/feed/</wfw:commentRss>
		</item>
		<item>
		<title>del.icio.us direc.tor</title>
		<link>http://sachachua.com/wp/2005/07/16/delicious-director/</link>
		<comments>http://sachachua.com/wp/2005/07/16/delicious-director/#comments</comments>
		<pubDate>Sun, 17 Jul 2005 03:18:00 +0000</pubDate>
		<dc:creator>Sacha Chua</dc:creator>
		
		<category><![CDATA[del.icio.us]]></category>

		<guid isPermaLink="false">http://sachachua.com/notebook/wiki/2005.07.16.php#anchor-5</guid>
		<description><![CDATA[<p>Check out <a href="http://johnvey.com/features/deliciousdirector/">del.icio.us direc.tor</a> for a slick Javascript+XML interface to the popular social bookmarking service. The linked page goes into the detail behind the Javascript wizardry, but you don't need to understand any of that to take advantage of the thing. You do, however, need an XSLT/Javascript-capable browser like <a href="http://www.mozilla.org/products/firefox/">Firefox</a> or Internet Explorer. =) Have fun!</p>

<p>ÃƒÂ¥Ã‚Â…Ã‚ÂˆÃƒÂ¦Ã‚Â—Ã‚Â¥ÃƒÂ£Ã‚Â€Ã‚ÂÃƒÂ£Ã‚ÂƒÃ‚Â‘ÃƒÂ£Ã‚Â‚Ã‚Â½ÃƒÂ£Ã‚Â‚Ã‚Â³ÃƒÂ£Ã‚ÂƒÃ‚Â³ÃƒÂ£Ã‚Â‚Ã‚Â·ÃƒÂ£Ã‚ÂƒÃ‚Â§ÃƒÂ£Ã‚ÂƒÃ‚ÂƒÃƒÂ£Ã‚ÂƒÃ‚Â—ÃƒÂ£Ã‚ÂÃ‚Â§ÃƒÂ¯Ã‚Â¼Ã‚Â³ÃƒÂ¯Ã‚Â¼Ã‚Â©ÃƒÂ¯Ã‚Â¼Ã‚Â­ÃƒÂ¯Ã‚Â¼Ã‚Â­ÃƒÂ£Ã‚ÂÃ‚Â®ÃƒÂ¦Ã‚ÂŽÃ‚Â´ÃƒÂ£Ã‚ÂÃ‚Â¿ÃƒÂ¥Ã‚ÂÃ‚Â–ÃƒÂ£Ã‚Â‚Ã‚ÂŠÃƒÂ£Ã‚Â‚Ã‚Â’ÃƒÂ£Ã‚Â‚Ã‚Â„ÃƒÂ£Ã‚ÂÃ‚Â£ÃƒÂ£Ã‚ÂÃ‚Â¦ÃƒÂ£Ã‚ÂÃ‚Â„ÃƒÂ£Ã‚ÂÃ‚ÂŸÃƒÂ£Ã‚Â€Ã‚Â‚ÃƒÂ£Ã‚ÂÃ‚Â„ÃƒÂ£Ã‚ÂÃ‚ÂÃƒÂ£Ã‚Â‚Ã‚Â‰ÃƒÂ£Ã‚ÂÃ‚ÂªÃƒÂ£Ã‚Â‚Ã‚Â“ÃƒÂ£Ã‚ÂÃ‚Â§ÃƒÂ£Ã‚Â‚Ã‚Â‚ÃƒÂ£Ã‚ÂƒÃ‚ÂžÃƒÂ£Ã‚ÂƒÃ‚Â‹ÃƒÂ£Ã‚Â‚Ã‚Â¢ÃƒÂ£Ã‚ÂƒÃ‚ÂƒÃƒÂ£Ã‚Â‚Ã‚Â¯ÃƒÂ£Ã‚ÂÃ‚Â™ÃƒÂ£Ã‚ÂÃ‚ÂŽÃƒÂ£Ã‚Â‚Ã‚Â‹ÃƒÂ£Ã‚Â€Ã‚Â‚	SIMM had been grasped as much as possible in the personal computer shop the other day. It is too maniac.</p>

<p>On Technorati: <a href="http://www.technorati.com/tag/del.icio.us" rel="tag">del.icio.us</a></p>
]]></description>
			<content:encoded><![CDATA[<p>Check out <a href="http://johnvey.com/features/deliciousdirector/">del.icio.us direc.tor</a> for a slick Javascript+XML interface to the popular social bookmarking service. The linked page goes into the detail behind the Javascript wizardry, but you don't need to understand any of that to take advantage of the thing. You do, however, need an XSLT/Javascript-capable browser like <a href="http://www.mozilla.org/products/firefox/">Firefox</a> or Internet Explorer. =) Have fun!</p>

<p>ÃƒÂ¥Ã‚Â…Ã‚ÂˆÃƒÂ¦Ã‚Â—Ã‚Â¥ÃƒÂ£Ã‚Â€Ã‚ÂÃƒÂ£Ã‚ÂƒÃ‚Â‘ÃƒÂ£Ã‚Â‚Ã‚Â½ÃƒÂ£Ã‚Â‚Ã‚Â³ÃƒÂ£Ã‚ÂƒÃ‚Â³ÃƒÂ£Ã‚Â‚Ã‚Â·ÃƒÂ£Ã‚ÂƒÃ‚Â§ÃƒÂ£Ã‚ÂƒÃ‚ÂƒÃƒÂ£Ã‚ÂƒÃ‚Â—ÃƒÂ£Ã‚ÂÃ‚Â§ÃƒÂ¯Ã‚Â¼Ã‚Â³ÃƒÂ¯Ã‚Â¼Ã‚Â©ÃƒÂ¯Ã‚Â¼Ã‚Â­ÃƒÂ¯Ã‚Â¼Ã‚Â­ÃƒÂ£Ã‚ÂÃ‚Â®ÃƒÂ¦Ã‚ÂŽÃ‚Â´ÃƒÂ£Ã‚ÂÃ‚Â¿ÃƒÂ¥Ã‚ÂÃ‚Â–ÃƒÂ£Ã‚Â‚Ã‚ÂŠÃƒÂ£Ã‚Â‚Ã‚Â’ÃƒÂ£Ã‚Â‚Ã‚Â„ÃƒÂ£Ã‚ÂÃ‚Â£ÃƒÂ£Ã‚ÂÃ‚Â¦ÃƒÂ£Ã‚ÂÃ‚Â„ÃƒÂ£Ã‚ÂÃ‚ÂŸÃƒÂ£Ã‚Â€Ã‚Â‚ÃƒÂ£Ã‚ÂÃ‚Â„ÃƒÂ£Ã‚ÂÃ‚ÂÃƒÂ£Ã‚Â‚Ã‚Â‰ÃƒÂ£Ã‚ÂÃ‚ÂªÃƒÂ£Ã‚Â‚Ã‚Â“ÃƒÂ£Ã‚ÂÃ‚Â§ÃƒÂ£Ã‚Â‚Ã‚Â‚ÃƒÂ£Ã‚ÂƒÃ‚ÂžÃƒÂ£Ã‚ÂƒÃ‚Â‹ÃƒÂ£Ã‚Â‚Ã‚Â¢ÃƒÂ£Ã‚ÂƒÃ‚ÂƒÃƒÂ£Ã‚Â‚Ã‚Â¯ÃƒÂ£Ã‚ÂÃ‚Â™ÃƒÂ£Ã‚ÂÃ‚ÂŽÃƒÂ£Ã‚Â‚Ã‚Â‹ÃƒÂ£Ã‚Â€Ã‚Â‚	SIMM had been grasped as much as possible in the personal computer shop the other day. It is too maniac.</p>

<p>On Technorati: <a href="http://www.technorati.com/tag/del.icio.us" rel="tag">del.icio.us</a></p>
]]></content:encoded>
			<wfw:commentRss>http://sachachua.com/wp/2005/07/16/delicious-director/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
