public static function defineFeedType(xml:XML):String
Determines the type of the feed and returns it's type name.
Supported types include: KML 2.1/2.2, GeoRSS, GPX.
Parameters
| xml:XML — XML object with the feed data.
|
Returns
| String — Feed type or FeedType.UNDEFINED if the feed type cannot be determined.
|
public static function getFeedTypeFromNSUri(nsuri:String):String
Determines the type of the feed and based on it's NS Uri.
Supported types include: KML 2.1/2.2, GeoRSS, GPX.
Parameters
| nsuri:String — Namespace uri.
|
Returns
| String — Feed type or FeedType.UNDEFINED if the feed type cannot be defined.
|
public static const GEO_RSS:String = "geoRSSFeed"
public static const GEO_RSS_NSURI:Array
public static const GPX:String = "GPXFeed"
public static const GPX_NSURI:Array
public static const KML:String = "KMLFeed"
public static const KML_NSURI:Array
public static const UNDEFINED:String = "undefined"
© 2007-2008 advanced flash components