| Author |
Topic Search Topic Options
|
Clovis
Newbie
Joined: 03 March 2006
Location: France
Status: Offline
Points: 5
|
Post Options
Thanks(0)
Quote Reply
Topic: RSS Bug Posted: 04 March 2006 at 7:35pm |
|
Hi Borg,
If you insert the character "&" in the title of a forum or a topic then the RSS produces an error when rendering. Here is the message (in french) I get :
"Erreur d'analyse XML : mal form Emplacement : http://www.mywebsite.com/forum/rss_forum_feed.asp Numro de ligne 18, Colonne 18 : <title>Something & another : My topic title</title> -----------------^"
It might be the same case with other special characters.
Hope it helps.
Edited by Clovis - 05 March 2006 at 11:34am
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 06 March 2006 at 10:09am |
|
Thanks clovis, something I didn't know about.
I'll have to do some testing and find a solution to this.
|
 |
Ritchie
Groupie
Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 8:21am |
There is a problem with display of date of messages in RSS to a tape. In different RSS readers the problem proves on a miscellaneous. Whether it is possible to solve the given problem?
|
|
Чем дальше в лес, тем толще партизаны
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 9:02am |
|
The time difference is that the publish date uses the server time in RTF format as required for RSS Feeds.
The posted date, within the actual News Item, is HTML and therefore uses the date/time format set by the forum admin and also includes any date/time off-set the forum admin has set.
|
|
|
 |
Ritchie
Groupie
Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 10:28am |
I have understood all. But the basic problem that different news agregators display absolutely different time of the publication! In Opera time shift of 5 hours, and in in Feed Demon 4 hours!
If to make some changes in a code, RSS the tape will be correctly displayed in all News readers. For this purpose it is necessary to represent date thus
Instead of
<lastBuildDate> Mon, 24 Apr 2006 1:06:00 PM GMT </lastBuildDate>
To change so
<lastBuildDate> Mon, 24 Apr 2006 1:06:00 PM +0400 </lastBuildDate>
At such change date correctly will be displayed for for example for Moscow in view of shift in time.
Edited by Ritchie - 24 April 2006 at 10:29am
|
|
Чем дальше в лес, тем толще партизаны
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 10:39am |
|
According the the RFC date time format used for RSS 'GMT' is an acceptable time format for Greenwich meantime, and they recommend that you use that.
I will do some tests though and see if altering it will make much difference.
Edited by -boRg- - 24 April 2006 at 10:41am
|
|
|
 |
WebWiz-Bruce
Admin Group
Web Wiz Developer
Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 10:44am |
|
I've just checked and the date and time format should be set to 'UT' for Universal time as setout in the following specification:-
http://www.sendmail.org/rfc/0822.html#5
If you need to change this for your own forum you can do so by editing the files beginning with RSS_ and changing the following part to your own time zone:-
strTimeZone = "UT"
Change the part 'UT' to your own time zone as setout in the RFC specifications.
|
|
|
 |
Ritchie
Groupie
Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
|
Post Options
Thanks(0)
Quote Reply
Posted: 24 April 2006 at 10:57am |
Many thanks for a prompt reply. I have made necessary changes. All works!
/ ( ("+" / "-") 4DIGIT ) ; Local differential ; hours+min. (HHMM)
'Set this to the time zone you require strTimeZone = "+4000"
|
|
Чем дальше в лес, тем толще партизаны
|
 |