rssChat: Chat Client Based on RSS-feed
This chat window is an example of an AJAX application based on the universal XML webservice from an earlier article.
Messages are added to and stored in an XML file following the RSS standard. This way one can even subscribe to the replies in the chat using the RSS reader commonly built into browsers and email clients.
Storing Chat Messages in an RSS-feed.
The message window below continualy updates the list of chat messages from an RSS feed. Using the form, new messages can be added.
{title}
- {author} in reply to
- {description}
The script tries to manage the message post times using the client's regional settings. The success of this varies wildly between browsers and operating systems.
Required Files
-
jQuery Addon Script: jquery.classbehaviours.rsschat.js
- Prerequisite Script: jquery.classbehaviours.js
- Example Markup: rssChat.html
- Example Stylesheet: rssChat.css
Comments on this Article