<?xml version="1.0"?>
<rss version="2.0" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:media="http://search.yahoo.com/mrss/" xmlns:yt="http://gdata.youtube.com/schemas/2007">
   <channel>
      <title>pubDate and guid in RSS Demo</title>
      <description>Here's how to add pubDate and guid fields to your RSS output from JSON input. -- http://pipes.tumblr.com/post/32331202</description>
      <link>http://pipes.yahoo.com/pipes/pipe.info?_id=Iq4alPIO3RGgAbcrw5tC8g</link>
      <pubDate>Sun, 29 Nov 2009 02:29:09 -0800</pubDate>
      <generator>http://pipes.yahoo.com/pipes/</generator>
      <item>
         <title>pubDate and guid in RSS</title>
         <link>http://pipes.tumblr.com/post/32331202</link>
         <description>&lt;p&gt;&lt;img src=&quot;http://74.54.212.169/Dlqj2c1fR81dyqcbvjSLBKrO_500.png&quot; height=&quot;248&quot; width=&quot;500&quot;/&gt;&lt;/p&gt;
&lt;p&gt;When creating a custom feed from e.g. a JSON source, it&amp;#8217;s so irritating not to have &lt;i&gt;pubDate&lt;/i&gt; or proper &lt;i&gt;guid&lt;/i&gt; fields in the output RSS. Creating &lt;i&gt;item.pubDate&lt;/i&gt; and &lt;i&gt;item.guid&lt;/i&gt; entries won&amp;#8217;t work. Here&amp;#8217;s how to do it.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/dateguid&quot;&gt;pipes.yahoo.com/plumber/dateguid&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="true">http://pipes.tumblr.com/post/32331202</guid>
         <pubDate>Sun, 20 Apr 2008 09:39:00 -0700</pubDate>
      </item>
      <item>
         <title>Relative Time</title>
         <link>http://pipes.tumblr.com/post/32192166</link>
         <description>&lt;p&gt;&lt;img src=&quot;http://74.54.212.169/Dlqj2c1fR7yscgcvFwxIH5Zm_r4_500.png&quot; height=&quot;381&quot; width=&quot;500&quot;/&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s a module that converts date/time strings to relative time, e.g. &amp;#8220;less than a minute ago&amp;#8221;, &amp;#8220;about 3 hours ago&amp;#8221;, &amp;#8220;about 26 days from now&amp;#8221;, etc. It handles past and future dates and outputs relative time from minutes to years. The &lt;i&gt;Date Input&lt;/i&gt; module is quite lax as to what constitutes a valid date, and everything is converted to UTC &amp;#8212; make sure you test it first so there are no surprises. &lt;/p&gt;
&lt;p&gt;For a demo, please see &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/reltimedemo&quot;&gt;pipes.yahoo.com/plumber/reltimedemo&lt;/a&gt;. You can see it running below:&lt;/p&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;p&gt;This module is for &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://melecio.org/&quot;&gt;Gari&lt;/a&gt;. Hi, bro! :-) &lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/reltime&quot;&gt;pipes.yahoo.com/plumber/reltime&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="true">http://pipes.tumblr.com/post/32192166</guid>
         <pubDate>Fri, 18 Apr 2008 16:03:00 -0700</pubDate>
      </item>
      <item>
         <title>Field(s) in Regex</title>
         <link>http://pipes.tumblr.com/post/32153703</link>
         <description>&lt;p&gt;&lt;img src=&quot;http://74.54.212.169/Dlqj2c1fR7yi2oj2uCzdm0Tc_500.png&quot; align=&quot;middle&quot; height=&quot;353&quot; width=&quot;500&quot;/&gt;&lt;/p&gt;
&lt;p&gt;To use a field as part of the replacement value in a &lt;i&gt;Regex&lt;/i&gt;, use the following: &lt;b&gt;${fieldname}. &lt;/b&gt;You can use this with a &lt;i&gt;String Builder&lt;/i&gt; as well.&lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/fieldinregex&quot;&gt;pipes.yahoo.com/plumber/fieldinregex&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="true">http://pipes.tumblr.com/post/32153703</guid>
         <pubDate>Fri, 18 Apr 2008 08:45:00 -0700</pubDate>
      </item>
      <item>
         <title>Array to string</title>
         <link>http://pipes.tumblr.com/post/32153333</link>
         <description>&lt;p align=&quot;center&quot;&gt;&lt;img src=&quot;http://74.54.212.169/Dlqj2c1fR7yhs28xYIJs240m_500.png&quot; height=&quot;249&quot; width=&quot;421&quot;/&gt;&lt;/p&gt;
&lt;p&gt;Here&amp;#8217;s a neat trick. Did you know that you can use the &lt;i&gt;URL Builder&lt;/i&gt; to turn array elements into a slash-delimited string? &lt;/p&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/a2str&quot;&gt;pipes.yahoo.com/plumber/a2str&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="true">http://pipes.tumblr.com/post/32153333</guid>
         <pubDate>Fri, 18 Apr 2008 08:44:00 -0700</pubDate>
      </item>
      <item>
         <title>Tumblr Titles with Tags</title>
         <link>http://pipes.tumblr.com/post/32152064</link>
         <description>&lt;p&gt;&lt;img src=&quot;http://74.54.212.169/Dlqj2c1fR7ygz2fakbJaqzuy_r1_500.png&quot; height=&quot;466&quot; width=&quot;500&quot;/&gt;&lt;/p&gt;
&lt;p&gt;Given the &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.tumblr.com/post/32153703&quot;&gt;Field in Regex&lt;/a&gt; and &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.tumblr.com/post/32153333&quot;&gt;Array To String&lt;/a&gt; tricks, here&amp;#8217;s a standalone tool that modifes your &lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://www.tumblr.com/&quot;&gt;Tumblr&lt;/a&gt; feed such that the tags you assign to a post are appended to the title. You can optionally specify a regex for the tags that you want to exclude.&lt;/p&gt;
&lt;p&gt;Check it out!&lt;/p&gt;
&lt;hr&gt;
&lt;hr&gt;
&lt;p&gt;&lt;a rel=&quot;nofollow&quot; target=&quot;_blank&quot; href=&quot;http://pipes.yahoo.com/plumber/tttags&quot;&gt;pipes.yahoo.com/plumber/tttags&lt;/a&gt;&lt;/p&gt;</description>
         <guid isPermaLink="true">http://pipes.tumblr.com/post/32152064</guid>
         <pubDate>Fri, 18 Apr 2008 08:43:00 -0700</pubDate>
      </item>
   </channel>
</rss>
<!-- fe4.pipes.sp1.yahoo.com uncompressed/chunked Sun Nov 29 02:29:08 PST 2009 -->
