Mountain View 1600, CA 94043
+1 650-253-0000
name@example.com
Web
Site
Search
Register
Login
DNN Home
Services
-
DotNetNuke Support
-
CRM Systems
DNN
-
DotNetNuke Modules
-
Module Downloads
-
Module Upgrade Policy
DNN Support
-
Module Update News
-
Knowledge Base
-
License Management
-
Invoice History
Module Downloads
Blog
Store
Contact Us
-
About Us
Search
Home
1
2
3
4
5
Home
Support
Mushroom Lite
Format ${item.pubdate}
Previous
Next
7/19/2011 12:45 AM
Steve Cocks
Joined: 7/14/2011
Posts: 1
Format ${item.pubdate}
(Sweden)
Hi
I am looking at formatting the RSS feed that I have incoming to mt site.
The feed is coming from
http://sama82falklands.wordpress.com
The date and time is in the field ${item.pubdate} but appears as "6/30/2011 8:32:41 AM"
Is there a way to format this so I just get "30 JUNE"
The code handling the display of the feed consists mainly of the following:
<div class="wsc_posts_list">
#foreach($item in $items)
${item.pubdate}
<div style="text-align: justify;" class="wsc_post_item">
<div class="wsc_pi_post_header">
<h3 class="wsc_title">
<a style="text-decoration: none;" onclick="window.open(this.href, 'SAMA82NewsEvents', 'resizable=yes,status=no,location=no,toolbar=no,menubar=no,fullscreen=no,scrollbars=yes,dependent=no'); return false;" href="$%7Bitem.link%7D">${item.title}</a>
</h3>
<div class="clear"></div>
</div>
<p id="main_rss_$velocityCount"></p>
<p>
<a class="button wsc_pi_button wsc_readmore" href="$%7Bitem.link%7D" rel="#inline_rss_$velocityCount"><span><strong>read more..</strong></span></a></p>
<hr>
<div class="wsc_clear"></div>
</div>
#end
</div>
Cheers
Steve
7/20/2011 6:49 PM
DNN Module Support
Joined: 8/28/2006
Posts: 2065
Re: Format ${item.pubdate}
(Australia)
The easy way to manipulate a feed is to use Yahoo Pipes.
http://pipes.yahoo.com/pipes/
This will allow you to do this and almost anything you like off a feed. There is much assistance online about how to program pipes.
Page 1 of 1
Previous
Next
Home
Support
Mushroom Lite
Format ${item.pubdate}