Results 1 to 2 of 2

Thread: RSS Template Question

  1. #1
    New user
    Join Date
    07-02-09.
    Posts
    6

    Default RSS Template Question

    Hi All,

    I am trying to edit the RSS_default template to include the <pubDate> field. This is the XML Snippet
    Code:
    <item>
          <title>Aged Care Nurses RN’s &amp; EEN’s</title>
    
          <description>QLD-Brisbane,  Would you like to work with an agency that cares? Do the best rates of pay, flexibility and freedom, a focus on work/life balance and dedicated support sound good to you? If so, make us your first choice! About First Choice Care: We believe nurses are the heartbeat of healthcare. While you give your care, expertise and compassion to your patients, we are here to look after you. We are Queensland’s</description>
          <link>http://jobview.careerone.com.au/getj...SDM=2009-09-08 03:17:00&amp;WT.mc_n=RSS2005_JSR</link>
          <guid isPermaLink="False">83259325</guid>
          <pubDate>Tue, 08 Sep 2009 01:59:37 GMT</pubDate>
        </item>
    I just don't know what to put into the template to have the date show up in the feed display?

    Any Help would be appreciated.

  2. #2
    New user
    Join Date
    06-23-09.
    Posts
    29

    Default Re: RSS Template Question

    Hi!
    I have something like this:
    Code:
    <p class="pubdate">Opublikowany: <?php $data = $item['pubdate']; $data2 = strtotime("$data+7200 seconds"); $pokazdate=date('H:i d-m-Y', $data2); echo $pokazdate; ?></p>
    And it works

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •