HomeHomeSupportSupportMushroom LiteMushroom LiteFormat ${item.pubdate}Format ${item.pubdate}
Previous
 
Next
New Post
7/19/2011 12:45 AM
 
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




 
New Post
7/20/2011 6:49 PM
 
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.
 
Previous
 
Next
HomeHomeSupportSupportMushroom LiteMushroom LiteFormat ${item.pubdate}Format ${item.pubdate}


Recent News

iPhone Apps

Connect to us

Untitled Document

BlogBlogBlog
BlogBlogBlog