<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DZone Snippets: smart code</title>
    <link>http://snippets.dzone.com/posts</link>
    <pubDate>Tue, 07 Oct 2008 18:19:26 GMT</pubDate>
    <description>DZone Snippets: smart code</description>
    <item>
      <title>quote-delineated tag sets</title>
      <link>http://snippets.dzone.com/posts/show/5228</link>
      <description>snippet to surround a tag with &#8220;smart quotes&#8221; if it contains any odd characters. i.e. to display tags entered in a flickr-like style (space separated except inside quotes)&lt;br /&gt;&lt;br /&gt;&lt;code&gt;&lt;br /&gt;tag.gsub(/^/,'&amp;ldquo;').gsub(/$/,'&amp;rdquo;') if tag[0].match(/[^A-Za-z0-9\-_.]/)&lt;br /&gt;&lt;/code&gt;</description>
      <pubDate>Thu, 13 Mar 2008 21:16:57 GMT</pubDate>
      <guid>http://snippets.dzone.com/posts/show/5228</guid>
      <author>elliottcable (elliott cable)</author>
    </item>
  </channel>
</rss>
