From ollieman@gmail.com Sun Mar 26 09:52:00 2006 From: Oliver Taylor To: textmate@lists.macromates.com Subject: [TxMt] automated RSS feeds with TextMate Date: Sun, 26 Mar 2006 01:48:51 -0800 Message-ID: MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============8249814706812865333==" --===============8249814706812865333== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit I use this to create the feeds for ollieman.net. I thought you guys might like this... You'll want to start out with a valid RSS2 feed like this: en-us Now to the real fun; it's just a snippet but it makes hand-coding RSS feeds a breeze. Here it is: $1 Read more ]]> ${3:`date +%a,\ %d\ %b\ %Y\ %H:%M:%S\ %Z`} ${4:Oliver Taylor} nospam(a)example.com ${5:http://ollieman.net/$6} $5 $7 The only thing of real note here is getting the pubDate correct. If you want it to insert GMT instead of your local time you'll have to tweak that. Lastly, make sure to set the scope to text.xml and you're all set. That's it! 1,2,3-easy RSS feed. --===============8249814706812865333==--