-1
표준 RSS 피드를 구문 분석하여 테이블에 표시하는 iphone 앱이 있습니다. 그러나 클라이언트의 피드가 제공되었지만 응용 프로그램의 파서는 노드를 픽업 할 수 없으며 표준 RSS 피드가 아니므로 데이터를 구문 분석 할 수 없습니다.XSLT 또는 PHP 스크립트를 사용하여 XML 파일 재구성
<rss version="0.92">
<channel>
<title>Feed</title>
<link>http://google.com</link>
<description>
Description here
</description>
<lastBuildDate>30 June +0100</lastBuildDate>
<language>en</language>
<event>
<eventID>123</eventID>
<name>Name here</name>
<date>2012-06-29</date>
<time>21:00</time>
<category>Arts</category>
<info>
Info here
</info>
</event>
<event>
<eventID>223</eventID>
<name>Name here</name>
<date>2012-06-30</date>
<time>22:00</time>
<category>Dance</category>
<info>
Info here
</info>
</event>
</channel>
</rss>
XSLT 또는 PHP 스크립트를 사용하여 표준의 RSS 피드 레이아웃이 XML 파일을 재구성 할 수있는 방법이 있나요 :
그들이 나에게 준 레이아웃은 다음과 같다? 인 다음 표준의 RSS 피드 레이아웃 :
<rss>
<channel>
<item>
<title>
<![CDATA[ Title here ]]>
</title>
<link>
http://www.theatre.com/
</link>
<guid>
http://www.theatre.com
</guid>
<description>
<p> Description </p>
</description>
<dc:subject>
<![CDATA[ ]]>
</dc:subject>
<dc:date>2013-02-01T18:00:04+00:00</dc:date>
</item>
</channel>
</rss>
하지도 않습니다 RSS의 유효성을 확인하십시오 : http://validator.w3.org/appc/#validate_by_input – Gordon
출력 guid 요소의 컨텐츠는 어디에서 유래 되었습니까? 입력의 이벤트가 출력과 어떤 관련이 있습니까? cd : date의 컨텐츠는 어디에서 유래 되었습니까? –
dc 출력에 대한 URL 바운딩이란 무엇입니까? –