Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - RSS Bug
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

RSS Bug

 Post Reply Post Reply Page  12>
Author
Clovis View Drop Down
Newbie
Newbie


Joined: 03 March 2006
Location: France
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Clovis Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Ritchie View Drop Down
Groupie
Groupie
Avatar

Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ritchie Quote  Post ReplyReply Direct Link To This Post 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?

 
 
 
 
Чем дальше в лес, тем толще партизаны
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Ritchie View Drop Down
Groupie
Groupie
Avatar

Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ritchie Quote  Post ReplyReply Direct Link To This Post 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
Чем дальше в лес, тем толще партизаны
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Ritchie View Drop Down
Groupie
Groupie
Avatar

Joined: 14 June 2005
Location: Russian Federation
Status: Offline
Points: 91
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ritchie Quote  Post ReplyReply Direct Link To This Post 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"
Чем дальше в лес, тем толще партизаны
Back to Top
 Post Reply Post Reply Page  12>

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.