 |
? |
Author |
Message |
mattpark
Joined: 16 Mar 2006
Posts: 4
|
Posted: Thu Mar 16, 2006 6:53 pm |

|
Hi there,
First off, great script!
Got it all up and running just fine, however it displays the current time and date next to each article - not the actual published date and time.
Any idea how o go about fixing this?
Using this as my template bit:
Code: |
? ? ~~~BeginItemsRecord~~~
? ?
~~~ItemLink~~~ ~~~ItemTitle~~~ ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~ |
? ?
? ?
? ?? ?~~~ItemDescription~~~ |
? ?
? ?
? ?? ?Click Here for full story |
? ?
? ? ~~~EndItemsRecord~~~
|
Thanks for your help,
Matt :)
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Thu Mar 16, 2006 6:57 pm |

|
mattpark wrote: |
Hi there,
First off, great script!
Got it all up and running just fine, however it displays the current time and date next to each article - not the actual published date and time.
Any idea how o go about fixing this?
Using this as my template bit:
Code: |
? ? ~~~BeginItemsRecord~~~
? ?
~~~ItemLink~~~ ~~~ItemTitle~~~ ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~ |
? ?
? ?
? ?? ?~~~ItemDescription~~~ |
? ?
? ?
? ?? ?Click Here for full story |
? ?
? ? ~~~EndItemsRecord~~~
|
Thanks for your help,
Matt :)
|
Yes I know how to fix it. If you give me a link to your feed with the problem I will tell you the answer.
Jim
|
|
|
 
|
 |
mattpark
Joined: 16 Mar 2006
Posts: 4
|
Posted: Thu Mar 16, 2006 7:03 pm |

|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Thu Mar 16, 2006 7:09 pm |

|
Thanks, as I suspected there is no "pubDate" in the items. That is why the current time and date are used. I do see that the items have a element, but that meaningless since it is not part of the RSS 2.0 spec the feed says it is using.
Jim
|
|
|
 
|
 |
mattpark
Joined: 16 Mar 2006
Posts: 4
|
Posted: Thu Mar 16, 2006 7:14 pm |

|
rats....
So no easy work around...
Is the only fix to edit the code to grab a unix date and convert it?
|
|
|

|
 |
MacSupport
Joined: 24 Feb 2005
Posts: 648
|
Posted: Thu Mar 16, 2006 7:18 pm |

|
mattpark wrote: |
rats....
So no easy work around...
Is the only fix to edit the code to grab a unix date and convert it? |
Yup, since in not part of RSS.
Jim
|
|
|
 
|
 |
mattpark
Joined: 16 Mar 2006
Posts: 4
|
Posted: Thu Mar 16, 2006 7:25 pm |

|
Oh well.
I'll save that for a rany day and post it up when i do.
Cheers for you input Jim
|
|
|

|
 |
|
|
|