I have the following RSS feed that I'm trying to parse using touchXML for an iphone application.
我有以下RSS源,我正在尝试使用touchXML解析iphone应用程序。
<rss version="2.0" xmlns:media="http://search.yahoo.com/mrss/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:ext="http://ooyala.com/syndication/ext/" xmlns:mediasl="http://www.slide.com/funspace/developer/" xmlns:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd" xmlns:boxee="http://boxee.tv/spec/rss/">
<channel>
<title>Channel Title</title>
<description>Channel Description</description>
<link>link</link>
<item>
<title>title</title>
<guid isPermaLink="false">k2dDRpMTpto4kdpU_NhGmNGKRK0Ny0PH</guid>
<pubDate>Fri, 25 Jun 2010 06:53:48 +0000</pubDate>
<media:title>title</media:title>
<media:keywords>Others</media:keywords>
<media:category scheme="http://www.ooyala.com">/JBay10</media:category>
<media:category scheme="http://www.ooyala.com">/JBay10/Webisodes</media:category>
<media:thumbnail url="http://ak.c.ooyala.com/k2dDRpMTpto4kdpU_NhGmNGKRK0Ny0PH/BqcWmm1bH0zjWgL35lMDoxOjBrO7OBB8" width="640" height="360"/>
<dcterms:valid>start=2010-06-25T06:53+00:00;scheme=W3C-DTF</dcterms:valid>
<media:group>
<media:content url="http://api.ooyala.com/syndication/stream_redirect?pcode=N2d2U6Azh1SxAcZeoJia-srBQAtY&expires=1277743230&streamID=2678810&signature=beZ2o45XNredayqbtIzzL7khsnt1EEjwByf0yMgSEv8&size=20985109&length=163280" type="video/mp4" medium="video" expression="full" bitrate="900" framerate="25.0" samplingrate="32.0" duration="163" lang="en"/>
</media:group>
</item>
...
</channel>
The problem I'm having is that I cannot access the <media:...>
tags especially the url at <media:content>
. The code I'm using the following method to parse the rss feed.
我遇到的问题是我无法访问
<...>
<
<>
<>
<>
>>
<>
<>
>>