Sorry, how do I call this lib, a hello world sample?

9 views
Skip to first unread message

netsql

unread,
Jan 21, 2008, 10:51:52 PM1/21/08
to ActionScript 3 Syndication Library
I added swc of course and looked at test classes but I can't figure
out the "hello world"

Given a string url (http), how do I enumerate all the items and then
get info about item (title, etc.)

tia,
.V

Mike Chambers

unread,
Jan 22, 2008, 1:25:33 AM1/22/08
to as3syndi...@googlegroups.com
Look at the parse methods for the feed type you are parsing.

For example, for RSS 2.0 feeds:

http://as3syndicationlib.googlecode.com/svn/trunk/src/com/adobe/xml/syndication/rss/RSS20.as

---
import com.adobe.xml.syndication.rss.RSS20

var rss:RSS20 = new RSS20();
rss.parse(stringOfRSS);

var items:Array = rss.getItems();
---

There is also a generic parses which will handle the parsing if you
dont know the feed type.

Best best is to pull down the docs from subversion, and check out the
APIs for the feed type you have.

http://code.google.com/p/as3syndicationlib/source

hope that helps...

mike chambers

me...@adobe.com

Mike Chambers

unread,
Jan 22, 2008, 1:06:27 PM1/22/08
to as3syndi...@googlegroups.com
fyi

I just wrote up a simple tutorial / example of how to use the library
to parse RSS 2.0 feeds (also applies to RSS 1.0 and Atom 1.0).

http://www.mikechambers.com/blog/2008/01/22/parsing-rss-20-feeds-in-actionscript-3/

mike chambers

me...@adobe.com

Fech

unread,
Mar 3, 2008, 2:22:37 PM3/3/08
to ActionScript 3 Syndication Library
Hello, what I´m trying to do is get the news from my personal blog to
my personal flash website, I know hot to get the info on raw xml and
put it in a text field within flash cs3, but I can´t get to parse it
properly because blogger uses Atom feed right? So I guess using these
libraries will help me. I don´t really want to use Flex, just Flash
CS3 and actionscript 3 so how do I link the libraries to flash? And
also, all the examples that I get online are usign rss, can somebody
help me and tell me how to use the atom feeds?

I appreciate your help.

Mike Chambers

unread,
Mar 4, 2008, 12:34:36 AM3/4/08
to as3syndi...@googlegroups.com
http://www.mikechambers.com/blog/2008/01/22/parsing-rss-20-feeds-in-actionscript-3/

That covers RSS, but the same basically applies for ATOM (just use the
atom classes).

mike chambers

me...@adobe.com

Reply all
Reply to author
Forward
0 new messages