This example reads the news feed of cnn.com. Just click on the text, to see the next news title. [show demo]
This demonstration uses the Kuler API from Adobe. You can choose between three feeds and watch the color themes. [show demo]
SWXml parses the feeds and returns the hex values of the colors, that are stored in special elements from the Kuler namespaces. At the right side, it displays the title of the theme.
The Kuler feed looks like this:
... <kuler:themeItem> <kuler:themeID>15325</kuler:themeID> <kuler:themeTitle>sandy stone beach ocean diver</kuler:themeTitle> ... <kuler:themeSwatches> <kuler:swatch> <kuler:swatchHexColor>E6E2AF</kuler:swatchHexColor> ...
The Media Player demonstration is based on a Media RSS feed which is a RSS module used for syndicating multimedia files. You can watch the videos (.flv) of the feed. [show demo]
Here a part of the Media RSS feed:
<entry> <title>Apple Wreath</title> <summary>Make a wreath that's the apple of anyone's eye. .. </summary> [...] <media:content url="[......]videos/a_100_appleWreath.flv" type="video/x-flv" /> <media:thumbnail url="[......]images/a_100_appleWreath_t.jpg" /></entry> ...
Since the example feed (better.tv) is prepared for the branding features of the new Adobe Media Player, this demo places the banner at the top and the background picture, specified in the feed. The corresponding part in the XML file looks like this:
<amp:background>[.....]bhg/files/bettertv/images/background.jpg</amp:background> <amp:banner>[.....]bhg/files/bettertv/images/fullbanner.jpg</amp:banner>
This widget displays the last five items of the swxformat.org RSS feed. You can click each entry for the full article. [show demo]
This demo shows you how to determine a feed format with SWXml. Choose one of the predefined feeds or send your own feed URL and see what type of feed it is (RSS 0.92, RDF, RSS2 or Atom). [show demo]
You can choose between several lists (new releases, top song, ...) from the iTunes Music store. This example takes some RSS feeds of the US iTMS and displays them. [show demo]
Using the RSS API of Yahoo! Weather, this demo sends a requests for the current weather in Berlin, Germany. [show demo]
You can also use SWXml in Flash Lite. This example is a RSS feed reader for your mobile device. [blog entry with screencast and download]
This example shows the element "title" of the CNN feed. [show example]
This example reads the element "title" and "description" of the CNN News Feed. It shows the latest three news entry, too. [show example]
This example shows the items of the NYT feed (title and link). [show example]
Look at the ActionScript Code to see ho to create a subset. [show example]
With SWXml, you can parse a local string. This example sends a simple string with some XML code to SWXml. [show example]
This examples show you how to handle an error from a broken XML file. [show example], [show example]
This example shows you how to handle if the XML file is not found. [show example]
This example shows you how to handle an error if the URL doesn't start with 'http'. [show example]
www.video-flash.de, Florian Plag, 12.11.2007