Page is a not externally linkable
- Code, Content, and Presentation
-- RSS, ATOM, and Related Technologies
---- Can I remove the time from pubDate?


eelixduppy - 5:00 pm on Jul 16, 2008 (gmt 0)


I think I understand what you want here. Try the following code:

<pubDate>
<%
dateString = Replace(Recordset("DatePublished"), "00:00:00", "")
Response.Write(ApplyXMLFormatting(FormatDateInXMLStyle(dateString)))
%>
</pubDate>

>> I don't really understand the link you sent me

He meant that you cannot get rid of "pubDate: from your RSS feed, which I've come to realize that you aren't, you just want to format the date/time differently since all the times are at 00:00:00. Try my changes above and see where that brings you.


Thread source:: http://www.webmasterworld.com/rss_atom/3694348.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com