Sample RSS Widget

From Chumby Wiki
Revision as of 06:21, 1 March 2007 by (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search


FLA source file (requires Flash MX or later): recentwidgets.fla

This example file shows how to make a simple widget that displays an RSS feed.

In this case, we're using Chumby: Recent Widgets RSS feed that the website provides that lists the most recent 10 new or updated public widgets. The source file is heavily commented and can be used as a template for your own RSS-based widgets.

One thing to keep in mind when you create an RSS-based widget is that the server that is providing the RSS *must* allow Flash access to that feed by using a "crossdomain.xml" file - you can read more about this at:

This example widget works because has the necessary file that grants access here.

If you have a widget that seems to work fine standalone, but not from a physical chumby or virtual chumby, that's very likely the cause - it will probably also fail if run from a web page. If you don't have access to the source of the feed to implement the proper access rights, then you can get around this by creating another server with the proper access rights that can proxy the original feed.

Other examples: