Sample RSS Widget

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

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

recentwidgets_ss.jpg

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 chumby.com 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 chumby.com 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: