Welcome Guest, Not a member yet? Register   Sign In
RSS FEED from derekallard.com Problem at server
#11

[eluser]attos[/eluser]
Ooops. Just DATE_RSS that will return something like:
Mon, 15 Aug 2005 15:52:01 +0000

RSS_ATOM would return:
2005-08-15T15:52:01+00:00
#12

[eluser]Asinox[/eluser]
jejeej im tried both Tongue

but i want to ask...

there's some problem if in database i save the data in ths format : 2009-03-17 05:10:35 ?
#13

[eluser]attos[/eluser]
The DB might no be saving the date properly.

I didn't notice that the error you're getting is after the <pubDate> tag. The error might be in the function that converts the date from the database, either in your model, controller or view.

I use different databases and because each stores dates and time in different formats I try to save them as strings. I use the date() function before saving to the database. Then in the view I just echo the date:

Code:
<pubDate>&lt;?php echo $entry->created; ?&gt;</pubDate>
#14

[eluser]attos[/eluser]
Está definido $entry->date y tiene un valor válido?
#15

[eluser]Asinox[/eluser]
well, just i make the echo like u said... and is working fine... but i want to know why Derek use date('r',$row->date_pub)

but is ok...

thanks for the advice.
#16

[eluser]Asinox[/eluser]
[quote author="attos" date="1237353521"]Está definido $entry->date y tiene un valor válido?[/quote]

ehhh jeje sii, claro!, es la fecha que guardo automaticamente cuando creo un registro jeejje




Theme © iAndrew 2016 - Forum software by © MyBB