Home page RSS feed time stamp appearance
-
I followed the guide and setup everything and it works!
Like any good coder, there’s one tweak I want to make.
Where my blog posts are displayed on my home page, it shows the title and date. However, the date appears as “Tue, 18 Jul 2006 04:38:07 +0000” I’d prefer it to appear as “Tue, Jul 18 2006” or “Tuesday, July 18 2006”. Is this something that would need to be done in the ColdFusion page, headlines.xsl file or in my WordPress blog?
The headlines.xsl blog RSS code is:
<xsl:for-each select=”rss/channel/item/title[position() <= $ItemsPerPage]”>
<xsl:sort select=”dc:date” order=”descending” />
<xsl:value-of select=”.”/>
<xsl:value-of select=”../pubDate”/>
</xsl:for-each>The page CF is:
<cfinvoke
component=”burnettcom.includes.MM_XSLTransform.MM_XSLTransform”
method=”transform”
returnvariable=”mm_xsl_output”>
<!— XSL Transformation —>
<cfinvokeargument name=”xml” value=”http://www.burnettcom.com/blog/?feed=rss2″>
<cfinvokeargument name=”xsl” value=”headlines.xsl”>
<cfinvokeargument name=”ItemsPerPage” value=”10″>
</cfinvoke>How can I get the date to appear as “Tue, Jul 18 2006” or “Tuesday, July 18 2006” instead of “Tue, 18 Jul 2006 04:38:07 +0000”?
P.S. In my blog options I set Time Options to nothing – yet the time is still appearing. Why?
- The topic ‘Home page RSS feed time stamp appearance’ is closed to new replies.