SWXml is an Open Source API for SWX. It provides flash developers with a very easy way to create applications using the popular XML format (e.g. RSS Feeds, Atom, Media RSS, …). In short, SWXml is a generic XML parser for SWX.
SWXml parses an XML file and returns an array containing all the information. So you don’t need to write ActionScript Code for parsing, you can just use the data of the XML file in a native way
Link: Beispiele / Examples (english)
Link: Dokumentation / Documentation (english)
Download: SWXml 0.8.2 (.zip)
German:
SWXml ist eine Open Source API für SWX. Mit SWXml kann man auf einfache Weise Flashanwendungen erstellen, die das beliebte XML Format (z.B. RSS Feeds, Atom, Media RSS, …) nutzen. SWXml ist ein generischer XML Parser für SWX.
SWXml liest eine XML Datei aus und gibt ein Array mit allen Informationen an Flash zurück. So muss man keine ActionScript Code schreiben, um den Feed zu parsen. Man kann die Daten aus dem Feed nativ in Flash nutzen.
16 Kommentare zum Beitrag "SWXml: XML API for SWX"
Aral was kind enough to point me in the direction of this great util class. Unfortunately it only take a remote path as input.
Would you be able to refactor this class slightly so I can pass a local string for processing too? This would allow me to perform a call to any application API which returns an xml file as a result and then ask SWXml to process it for me. And if you’re busy I’d be more than happy to contribute :)
Nice work!
[…] SWXml by Florian Plag has me really excited! SWXml is a SWX API that provides a generic XML to SWX parser that can be used over SWX RPC. You can see examples, read the documentation, and download SWXml from the see the SWXml home page. […]
Just updated the download with the iTunes and the weather examples.
[…] just read Aral’’s post about Florian’’s SWXml (an xml parser for SWX). I finished reading that post at 18:22 and by 18:25 I’d loaded my […]
Aral has added SWXml to the SWX Public Gateway, so you can start using SWXml in your applications today.
swx.gateway = „http://swxformat.org/php/swx.php“;
Here’s a screencast without sound, showing the basics of SWXml (2 min 48 sec).
http://www.screencast.com/users/videoflash/folders/Jing/media/1854fd67-f726-491c-92f0-84b0539b317b
[…] i have found a post at MXNA that links to SWXml a xml api for SWX that can be useful mainly for rss data reading. I have been playing just a while […]
SWXml: Neue Beispiele, Tutorial und Public Gateway…
SWXml ist eine Open Source API für SWX, mit der man auf einfache Weise Flashanwendungen erstellen, die das beliebte XML Format (z.B. RSS Feeds, Atom, Media RSS, …) nutzen.
Seit gestern ist SWXml auf dem Public Gateway von swxformat.org. Mit dem Pub…
Any chance you’re going to do a SAVE xml from flash extension for this?
[…] SWXml ist eine Open Source API für SWX, um das XML Format (z.B. RSS Feeds, Atom, Media RSS, …) einfach nutzen zu können. Beispiele für die Anwendung sind hier zu finden. […]
I updated the SWXml class (0.8.2):
I added the possibility to send a local string containing XML to SWXml, e.g. <xml><demo>Hello World</demo></xml>.
Therefore, there’s a new parameter called “xmlType”. If you set it to “string”, SWXml interprets the XML source as a local string, not as a URL (which is default). The parameter is optional, so the new version is fully backward compatible.
I also prepared SWXml for mock data support.
And last but not least: SWXml now checks if you send a valid URL that starts with ‘http’.
By the way,SWX and SWXml also work perfect in the dashboard: SWXml dashboard picture (Mac OS X 10.5)
Flash Lite: miniRSS Reader mit SWX und SWXml…
Inspiriert vom miniFlickr Beispiel in SWX, habe ich einen kleinen RSS Reader für Flash Lite 2 geschrieben.
Das Beispiel nutzt SWXml. SWXml ist eine Serviceklasse für SWX, mit der man problemlos die Inhalte aus XML Dateien oder RSS Feeds einlesen. Di…
[…] with this one. For those interested, this update adds a ‘_xmlCall’ method which uses SWXml to translate the xml result of an api call to object form. It adds SSL fall back support if cURL is […]
[…] SWXml by Florian Palg is a generic XML parser for SWX. SWXml provides flash developers with a very easy way to create applications using the popular XML format (e.g. RSS Feeds, Atom, Media RSS, etc.). […]
[…] either Flickr or Picasa (Web Albums). Pviewr is built using the Flickr API that comes with SWX, and SWXml to incorporate data from the Picasa […]
SWXml und miniRSS gewinnen den SWX Contest!…
Großartige Neuigkeiten: Meine beiden Beiträge SWXml und miniRSS haben haben jeweils den ersten Platz im SWX Contest gemacht! Vielen Dank, Aral !!!
Schaut Euch auch die anderen Beiträge an, es sind sehr schöne Einreichungen dabei: SWX Contest
SWXm…
[…] of Flash programming, did you see the Blogger browser I made and put on my website homepage? I used SWXml by Florian Plag as a starting […]
Schreibe einen Kommentar