FeedForAll Forum Index ?
?Home?????FAQ????? Search ?????Memberlist ?????Register ?????Profile? ????Log in
?Wrong date displayed View next topic
View previous topic
Post new topicReply to topic
Author Message
mattpark



Joined: 16 Mar 2006
Posts: 4

PostPosted: Thu Mar 16, 2006 6:53 pm Reply with quoteBack to top

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~~~
? ?

? ?
? ?
? ?? ?
? ?
? ?
? ?? ?
? ?
? ? ~~~EndItemsRecord~~~
~~~ItemLink~~~ ~~~ItemTitle~~~ ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~
~~~ItemDescription~~~
Click Here for full story


Thanks for your help,

Matt :)
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Thu Mar 16, 2006 6:57 pm Reply with quoteBack to top

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~~~
? ?

? ?
? ?
? ?? ?
? ?
? ?
? ?? ?
? ?
? ? ~~~EndItemsRecord~~~
~~~ItemLink~~~ ~~~ItemTitle~~~ ~~~ItemPubShortDate~~~ ~~~ItemPubShortTime~~~
~~~ItemDescription~~~
Click Here for full story


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
View user's profileSend private messageVisit poster's website
mattpark



Joined: 16 Mar 2006
Posts: 4

PostPosted: Thu Mar 16, 2006 7:03 pm Reply with quoteBack to top

The feed itself is coming from:
[url]
http://support.penteksystems.co.uk/rss/index.php?_m=news&_a=view&group=default
[/url]
Cheers bud
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Thu Mar 16, 2006 7:09 pm Reply with quoteBack to top

mattpark wrote:
The feed itself is coming from:
[url]
http://support.penteksystems.co.uk/rss/index.php?_m=news&_a=view&group=default
[/url]
Cheers bud


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
View user's profileSend private messageVisit poster's website
mattpark



Joined: 16 Mar 2006
Posts: 4

PostPosted: Thu Mar 16, 2006 7:14 pm Reply with quoteBack to top

rats....

So no easy work around...

Is the only fix to edit the code to grab a unix date and convert it?
View user's profileSend private message
MacSupport



Joined: 24 Feb 2005
Posts: 648

PostPosted: Thu Mar 16, 2006 7:18 pm Reply with quoteBack to top

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
View user's profileSend private messageVisit poster's website
mattpark



Joined: 16 Mar 2006
Posts: 4

PostPosted: Thu Mar 16, 2006 7:25 pm Reply with quoteBack to top

Oh well.

I'll save that for a rany day and post it up when i do.

Cheers for you input Jim
View user's profileSend private message
Display posts from previous:?? ? ?
Post new topicReply to topic


?Jump to:? ?



View next topic
View previous topic


Powered by phpBB ? 2001, 2002 phpBB Group :: FI Theme