Welcome to Merauderweb

Atom Feed

Merauderweb now has an Atom Feed to compliment it's RSS feed. Next stop is a Google Sitemap.

[Valid Atom]

While creating the feed I came across the slight issue that Atom uses W3CDTF ("2005-06-21T17:19:53+12:00") for dates, whereas RSS uses W3CUTC format ("Tue, 21 Jun 2005 17:19:53 +1300"). Neat. Fortunately, someone out there has already done all the hard work. Here is a permalink to a site containing the neccesary @Functions to create a W3CDTF date. Or, in case of a broken link:

t:=@Created;
y:=@Right("00" + @Text(@Year(t)); 4);
m:=@Right("0" + @Text(@Month(t)); 2);
d:=@Right("0" + @Text(@Day(t)); 2);
s1:="-";
s2:=":";
h:=@Right("0" + @Text(@Hour(t)); 2);
mm:=@Right("0" + @Text(@Minute(t)); 2);
s:=@Right("0" + @Text(@Second(t)); 2);
zone:=@Integer(0-@Zone(t));
z:=@If(zone > 0; "+"; zone < 0; "-"; "Z") +
@If(zone=0; ""; @Right("0" + @Text(zone); 2) + ":00");

 
y + s1 + m + s1 + d + "T" + h + s2 + mm + s2 + s + z;

  Print | posted on Wednesday, June 22, 2005 8:54 AM






Welcome

Merauderweb is the personal website of a New Zealand based web developer and technologist, covering whatever interests or amuses him. Subjects include online gaming, music, gadgets/technology, ASP.NET, Web Development, JavaScript, jQuery, IBM Lotus Notes/Domino and are presented in a linkblog/tumble style.

Subscribe

RSS 2.0 Feed

Links

Archives