2011-06-25 7 views
0

私はダッシュコードアプリの開発に慣れていません。私はRSSのiphoneアプリケーションを学ぼうとしています。私は私のサイトでRSSフィードを作った。以下はxmlファイルのコードです。 PC上のインターナショナルエクスプローラでは、自分のrssが動作していることを示していますが、dashcodeはエラーを出していて、フィードの内容を表示していません。次のようにxmlファイルは次のとおりです。ダッシュコードxmlの問題

<?xml version="1.0" encoding="ISO-8859-1" ?> 
<rss version="2.0"> 
<channel> 
<title>Webzians Library</title> 
<link>http://www.webzians.com</link> 
<description>website building and design</description> 
<generator>Notepad</generator> 
<item> 
<title>First Item</title> 
<link>http://www.webzians.com/first.html</link> 
<description>this is first item</description> 
</item> 
<item> 
<title>Second Item</title> 
<link>http://www.webzians.com/Second.html</link> 
<description>this is Second item</description> 
</item> 
<item> 
<title>Third Item</title> 
<link>http://www.webzians.com/third.html</link> 
<description>this is third item</description> 
</item> 
<item> 
<title>Fourth Item</title> 
<link>http://www.webzians.com/fourth.html</link> 
<description>this is fourth item</description> 
</item> 
</channel> 
</rss> 

あなたのXML内の任意の名前空間を指定していない

+0

どのようなエラーが発生しますか? – jtbandes

答えて

3

を助けてください。

これを修正する最も簡単な方法は、おそらく他のRSSを見つけてそこから名前空間を取ることです:)またはRSS specificationに問い合わせることもできます。