RSS Feeds into Blackboard

Not to be outdone by Brian (Displaying RSS Feeds in WebCT), I found a niche of time to do the same proof of concept in Blackboard.

Here are some screens of two feeds in one Bb page, one from HUMBUL:

and one from our MLX:

While one could use the same approach (using an external RSS to JavaScript parser, see details), I munged my own PHP parser- just pass it as a param your favorite XML and it returns a JavaScript set of commands that write the content to any web page.

For a rough version of the running parser see this example that does it for our MLX:

Tossing it into a Bb page is a matter of writing the correct JS tag:

<script src=”http://feed2js.org/rss2js.php?src=
http://www.blah.com/feed.xml”>&lt/script>

so one one just have to change the value of src= for the desired feed.

Getting fancier involved inserting some CSS. More on that later. It is really crude, but making it pretty would just take a bit more time.

Notes

(1) The XML Parser is the OnyxRSS conde from ReadingEd. Be sure to check the docs there.

(2) Because D’Arcy is listening, here is the source to my PHP script.

Creative Commons License
The RSS Feeds into Blackboard by CogDogBlog, unless otherwise expressly stated, is licensed under a Creative Commons Attribution 3.0 United States License.

9 Responses to “RSS Feeds into Blackboard”

  1. Alan, that’s great! Any chance you’d share that .php?

  2. Alan says:

    D’Arcy,

    See notes I added above. It likely would have been easier to use the same Adam Curry RSS parser Brian et al did, but I wanted to see what it took to run my own. That was the easy part, I fumbled more with typos and other goofs.

    Also, watch the items in the RSS that might need escaping in the JavaScript (quotes tripped me a few times),- I also do not know what do do about the XML that is dynamicly created by scripts (e.g. from CAREO and our MLS Search) as it yields calls to my parser with double query strings (??)

  3. D’Arcy is _always_ listening… Might not be communicative, but I’m listing.

    Thanks for posting the source to the PHP/RSS thingy!

  4. Randy Brown says:

    Thanks, Alan. Great resource. Hey, does anyoen know how to open another page within the WebCT Homepage? WebCT doesn’t like iframes and I’ve not had luck with bypassing the Javascript within WebCT. Would appreciate any hints.

  5. Alan,

    Great to see OnyxRSS is working out for you. I found this post of yours through my referral logs. The College I attend uses Blackboard, maybe I’ll show them the way. :)

  6. Adding Geology Objects to My Blackboard Course

    With a little help from a friend, I found out that my Geology course in Blackboard can now include dynamic feeds from any site that provides RSS links. This means I can offer current, up to date resources to my…

  7. cogdogblog says:

    RSS to JS examples+code

    To follow up on the RSS in Blackboard piece, I have posted a new page that documents and demos RSS to JS along with the source PHP code….

  8. blog tech

    It’s Brown But Looks Awfully Familiar .

  9. RSS2JS First Release

    Inspired by David Cater-Tod’s Wytheville Community College News Service, we created a basic prototype in May 2003 (using the now dormant OnyxPHP RSS Parser), and the first generation of RSS2JS…

Recent Barks and Howls: