Alo,
What is the proper syntax for RFC-822 date function.
I am making my first manual RSS feed, and the RSS validator is saying the date is wrong in format...
Google says:
date = 1*2DIGIT month 2*4DIGIT
But when i put, say:
<lastBuildDate>15 Nov 2005</lastBuildDate>
It parses an error.
Could someone help me out with what today would look like.
[SOLVED]RFC-822 Date
Moderator: General Moderators
[SOLVED]RFC-822 Date
Last edited by $var on Tue Nov 15, 2005 1:25 pm, edited 1 time in total.
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
Here: http://php.net/date it seems to indicate that an RFC 822 date is something like - Tue, 10 Apr 2005 18:34:07 +0300
Mac
Mac
The definitive source: ftp://ftp.rfc-editor.org/in-notes/rfc822.txt (See section 5. Date and Time Specification).
Btw, that RFC is obsoleted by RFC2822 and updated by RFC1123, RFC1138, RFC1148, RFC1327, RFC2156.
Btw, that RFC is obsoleted by RFC2822 and updated by RFC1123, RFC1138, RFC1148, RFC1327, RFC2156.
Simply go to http://www.rfc-editor.org/cgi-bin/rfcsearch.pl, type in the number and you get an overview 
If you are a programmer i find it as important to know where/how you can find something than knowing stuff by heart
If you are a programmer i find it as important to know where/how you can find something than knowing stuff by heart
Thanks for reassuring me that when I go pro, I'll at least have a shred of a life left.timvw wrote:Simply go to http://www.rfc-editor.org/cgi-bin/rfcsearch.pl, type in the number and you get an overview
If you are a programmer i find it as important to know where/how you can find something than knowing stuff by heart