Description
This script generates output almost identical to that created by my Python RSS script, displaying a list of the recent stories on Slashdot. However, aside from being written in Ruby it has three differences:
- Unlike the Python script, which treated the RSS feed simply as XML, this script makes use of Ruby's built-in RSS support and treats the feed as such,
- Unicode characters (such as Å and ß) are replaced by a question mark (?), and
- A script button and the feed retrieval time is displayed at the top of the topic page which allows the user to refresh the feed.
Requirements
ConnectedText 2.0.0.4 (or later) and an Internet connection. Tested with ActiveScriptRuby 1.8.
Installation
Download this script into your /ConnectedText/Scripts folder and register it with the "Manage Scripts" feature. Create a topic called "Slashdot RSS Feed", then simply run the script.
Enhancements, Suggestions, Etc.
Obviously the inability to display Unicode characters could be annoying, especially if your language requires them! If you come up with a way to get these to display in CT, please let me know.