About Duffbert...

Duffbert's Random Musings is a blog where I talk about whatever happens to be running through my head at any given moment... I'm Thomas Duff, and you can find out more about me here...

Email Me!

Search This Site!

Custom Search

I'm published!

Co-author of the book IBM Lotus Sametime 8 Essentials: A User's Guide
SametimeBookCoverImage.jpg

Purchase on Amazon

Co-author of the book IBM Sametime 8.5.2 Administration Guide
SametimeAdminBookCoverImage.jpg

Purchase on Amazon

MiscLinks

Visitor Count...



View My Stats

« A time and a place for our Lotusphere session... | Main| Book Review - Living With Prozac »

Fix for the RSS validation problem with the latest release of the BlogSphere template...

Category Blogging

Ever since I upgraded to the latest version of BlogSphere, my RSS feed quit working in the Awasu reader.  Also, I couldn't pass the RSS validation due to an invalid LatBuildDate value and invalid entries in the Description tag.  In order to fix that, you need to make the following changes to the RSS/Stories view.  Basically, I fixed the date formatting to use 24 hour times and added a CDATA tag within the Description tag.  I'll pass this along to Declan for inclusion in the next release...

Column 2 of the view - the formula should read:

REM {START - W3C UTC Time Conversion - Mike Golding - May 2003};
vDate := Storydate;
vWeekDay := @Select(@Weekday(vDate);"Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat");
vDay := @Text(@Day(vDate));
vMonth := @Select(@Month(vDate);"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec");
vYear := @Text(@Year(vDate));
REM {vTime := @Text(vDate;"S1T0");};
vHour := @Right("0" + @Text(@Hour(vDate));2);
vMinute := @Right("0" + @Text(@Minute(vDate));2);
vSecond := @Right("0" + @Text(@Second(vDate));2);
vTime := VHour + ":" + VMinute + ":" + VSecond;

vZone := @Zone;
vZoneDST := @If(@Abs(vZone-@Integer(vZone)) > 0 ; 1 ; 0);
vZoneOffset := @Integer(vZone) - vZoneDST;
vSign := @If(vZoneOffset > 0; "-"; "+");
vZoneFull := @Right("0" + @Text(@Abs(vZoneOffset));2) + @Right("0" + @Text(@If(vZoneOffset > 99 ; @Integer(@Abs(vZoneOffset)/100);0));2);

vWeekDay + ", " + vDay + " " + vMonth + " " + vYear + " " + vTime + " " + vSign + vZoneFull


Column 3 of the view - the formula should read:

REM {START - W3C UTC Time Conversion - Mike Golding - May 2003};
vDate := Storydate;
vWeekDay := @Select(@Weekday(vDate);"Sun";"Mon";"Tue";"Wed";"Thu";"Fri";"Sat");
vDay := @Text(@Day(vDate));
vMonth := @Select(@Month(vDate);"Jan";"Feb";"Mar";"Apr";"May";"Jun";"Jul";"Aug";"Sep";"Oct";"Nov";"Dec");
vYear := @Text(@Year(vDate));
REM {vTime := @Text(vDate;"S1T0");};
vHour := @Right("0" + @Text(@Hour(vDate));2);
vMinute := @Right("0" + @Text(@Minute(vDate));2);
vSecond := @Right("0" + @Text(@Second(vDate));2);
vTime := VHour + ":" + VMinute + ":" + VSecond;

vZone := @Zone;
vZoneDST := @If(@Abs(vZone-@Integer(vZone)) > 0 ; 1 ; 0);
vZoneOffset := @Integer(vZone) - vZoneDST;
vSign := @If(vZoneOffset > 0; "-"; "+");
vZoneFull := @Right("0" + @Text(@Abs(vZoneOffset));2) + @Right("0" + @Text(@If(vZoneOffset > 99 ; @Integer(@Abs(vZoneOffset)/100);0));2);
REM {END - W3C UTC Time Conversion - Mike Golding - May 2003};


"<item>" +
"<title>" + StoryTitle + "</title>"+
"<link>" + FullURL + "</link>"+
"<description>" + "<![CDATA[ " + TXTRSSABSTRACT + "]]>" + "</description>"+
"<dc:subject>" + StoryCategory + "</dc:subject>"+
"<dc:creator>" + StoryAuthor + "</dc:creator>"+
"<comments>" + FullURL  + "</comments>"+
"<guid isPermaLink=\"true\">" + FullURL  + "</guid>"+
"<content:encoded><![CDATA[ " + FinalStoryText+ "]]></content:encoded>"+
"<pubDate>" + vWeekDay + ", " + vDay + " " + vMonth + " " + vYear + " " + vTime + " " + vSign + vZoneFull +"</pubDate>" +
"<slash:comments>"+@Text(Children)+"</slash:comments>" +
"<wfw:commentRss> " + ShortURL + "/CommentsRSS?Open&amp;id="+ txtdocid + "</wfw:commentRss>"+
"<wfw:comment> " + ShortURL + "/PostComment?RunAgent&amp;id="+ txtdocid + "</wfw:comment>"+
"</item>"

Comments

Gravatar Image1 - While on the Feedreader topic... If you include the following on the Stories.Xml page you can have an image at the top of your own fed when others read it....

<image>
<title>Title of your Blog</title>
<url>http://Link/To/an/Image.gif</url>
<link>http://Link/To/Your/Blog</link>
</image>

Have a look at the top of mine or the BBC feed for an example...

Gravatar Image2 - Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon
TNX
Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon Emoticon

Gravatar Image3 - Emoticon TNX

Post A Comment

:-D:-o:-p:-x:-(:-):-\:angry::cool::cry::emb::grin::huh::laugh::lips::rolleyes:;-)

Want to support this blog or just say thanks?

When you shop Amazon, start your shopping experience here.

When you do that, all your purchases during that session earn me an affiliate commission via the Amazon Affiliate program. You don't have to buy the book I linked you to (although I wouldn't complain!). Simply use that as your starting point.

Thanks!

Thomas "Duffbert" Duff

Ads of Relevance...