RSS Feeds into Blackboard

Alan Levine aka CogDog barked this May 5th, 2003 1:04 pm

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.

Start Slide Show with PicLens Lite PicLens

Technorati Tags:

This entry was posted 5 years, 3 months ago and is filed under Blog Pile. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

9 Responses to “RSS Feeds into Blackboard”

  1. D'Arcy Norman Says:

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

  2. geology objects Says:

    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…

  3. 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 (??)

  4. D'Arcy Norman Says:

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

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

  5. 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.

  6. 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….

  7. Ed Swindelles Says:

    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. :)

  8. Bruce Landon's Weblog for Students Says:

    blog tech

    It’s Brown But Looks Awfully Familiar .

  9. Feed2JS Updates Says:

    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…


Creative Commons License
This work is licensed under a Creative Commons Attribution 2.5 License
and may be patrolled by a friendly small dog (with a wagging tail)
This means you are free to use any original content published here (begs the question why)
as long as you provide linktribution.

.
Clicky Web Analytics