TSM
08-03-10, 05:41 PM
Im dying from XML Hell... I hate this and im not anywhere near finished.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:ABCD_mm="http://feed.example.com/2010/03/ABCD_mm" xmlns:ABCD_cm="http://feed.example.com/2010/03/ABCD_cm" xmlns:ABCD_nm="http://feed.example.com/2010/03/ABCD_nm" xmlns:georss="http://www.georss.org/georss" xml:lang="en">
<title type="text">ABCD Feed</title>
<subtitle type="text">Entertainment News</subtitle>
<link href="http://feed.ABCD.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>ABCD Newsdesk</name>
<email>newsdesk@example.com</email>
</author>
<ABCD_nm:NewsManagement type="feed">
<ABCD_nm:feed_type>news</ABCD_nm:feed_type>
<ABCD_nm:feed_id>1</ABCD_nm:feed_id>
<ABCD_nm:feed_name>ENT</ABCD_nm:feed_name>
</ABCD_nm:NewsManagement>
<id>urn:ABCD-com:newsfeed</id>
<entry>
<title type="text">Article 1</title>
<summary type="text">Some text.</summary>
<content type="text">Some text.</content>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:ABCD-com:newsfeed:1:200:500</id>
<published>2010-03-08T05:31:40Z</published>
<updated>2003-12-13T18:30:02Z</updated>
<category term="Film" />
<ABCD_nm:NewsManagement type="feedarticle">
<ABCD_nm:feed_type>news</ABCD_nm:feed_type>
<ABCD_nm:feed_id>1</ABCD_nm:feed_id>
<ABCD_nm:feedinstance_id>200</ABCD_nm:feedinstance_id>
<ABCD_nm:feedarticle_id>500</ABCD_nm:feedarticle_id>
<ABCD_nm:feedarticle_section id="1">Film</ABCD_nm:feedarticle_section>
<ABCD_nm:article_id>232333</ABCD_nm:article_id>
<ABCD_nm:published>2010-03-08T05:31:40Z</ABCD_nm:published>
<ABCD_nm:updated>2003-12-13T18:30:02Z</ABCD_nm:updated>
<ABCD_nm:publishing_status>Usable</ABCD_nm:publishing_status>
</ABCD_nm:NewsManagement>
<ABCD_cm:ContentMetadata type="newsarticle">
<ABCD_cm:title>Title</ABCD_cm:title>
<ABCD_cm:first_line>First Line</ABCD_cm:first_line>
<ABCD_cm:body>Body</ABCD_cm:body>
<ABCD_cm:slug>Body</ABCD_cm:slug>
<ABCD_cm:tags>
<ABCD_cm:tags term="Person" id="22">Tag 1</ABCD_cm:tags>
<ABCD_cm:tags term="Place" id="33">Tag 2</ABCD_cm:tags>
</ABCD_cm:tags>
<ABCD_cm:categories>
<ABCD_cm:category id="4">Cat 1</ABCD_cm:category>
<ABCD_cm:category id="2">Cat 2</ABCD_cm:category>
</ABCD_cm:categories>
</ABCD_cm:ContentMetadata>
<ABCD_mm:MediaMetadata>
<ABCD_mm:media version="Small1" id="12345" type="image" mimetype="image/jpeg" filename="file://ABCD1234567.jpg">
<ABCD_mm:width>1200</ABCD_mm:width>
<ABCD_mm:height>800</ABCD_mm:height>
</ABCD_mm:media>
</ABCD_mm:MediaMetadata>
</entry>
</feed>
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:ABCD_mm="http://feed.example.com/2010/03/ABCD_mm" xmlns:ABCD_cm="http://feed.example.com/2010/03/ABCD_cm" xmlns:ABCD_nm="http://feed.example.com/2010/03/ABCD_nm" xmlns:georss="http://www.georss.org/georss" xml:lang="en">
<title type="text">ABCD Feed</title>
<subtitle type="text">Entertainment News</subtitle>
<link href="http://feed.ABCD.org/"/>
<updated>2003-12-13T18:30:02Z</updated>
<author>
<name>ABCD Newsdesk</name>
<email>newsdesk@example.com</email>
</author>
<ABCD_nm:NewsManagement type="feed">
<ABCD_nm:feed_type>news</ABCD_nm:feed_type>
<ABCD_nm:feed_id>1</ABCD_nm:feed_id>
<ABCD_nm:feed_name>ENT</ABCD_nm:feed_name>
</ABCD_nm:NewsManagement>
<id>urn:ABCD-com:newsfeed</id>
<entry>
<title type="text">Article 1</title>
<summary type="text">Some text.</summary>
<content type="text">Some text.</content>
<link href="http://example.org/2003/12/13/atom03"/>
<id>urn:ABCD-com:newsfeed:1:200:500</id>
<published>2010-03-08T05:31:40Z</published>
<updated>2003-12-13T18:30:02Z</updated>
<category term="Film" />
<ABCD_nm:NewsManagement type="feedarticle">
<ABCD_nm:feed_type>news</ABCD_nm:feed_type>
<ABCD_nm:feed_id>1</ABCD_nm:feed_id>
<ABCD_nm:feedinstance_id>200</ABCD_nm:feedinstance_id>
<ABCD_nm:feedarticle_id>500</ABCD_nm:feedarticle_id>
<ABCD_nm:feedarticle_section id="1">Film</ABCD_nm:feedarticle_section>
<ABCD_nm:article_id>232333</ABCD_nm:article_id>
<ABCD_nm:published>2010-03-08T05:31:40Z</ABCD_nm:published>
<ABCD_nm:updated>2003-12-13T18:30:02Z</ABCD_nm:updated>
<ABCD_nm:publishing_status>Usable</ABCD_nm:publishing_status>
</ABCD_nm:NewsManagement>
<ABCD_cm:ContentMetadata type="newsarticle">
<ABCD_cm:title>Title</ABCD_cm:title>
<ABCD_cm:first_line>First Line</ABCD_cm:first_line>
<ABCD_cm:body>Body</ABCD_cm:body>
<ABCD_cm:slug>Body</ABCD_cm:slug>
<ABCD_cm:tags>
<ABCD_cm:tags term="Person" id="22">Tag 1</ABCD_cm:tags>
<ABCD_cm:tags term="Place" id="33">Tag 2</ABCD_cm:tags>
</ABCD_cm:tags>
<ABCD_cm:categories>
<ABCD_cm:category id="4">Cat 1</ABCD_cm:category>
<ABCD_cm:category id="2">Cat 2</ABCD_cm:category>
</ABCD_cm:categories>
</ABCD_cm:ContentMetadata>
<ABCD_mm:MediaMetadata>
<ABCD_mm:media version="Small1" id="12345" type="image" mimetype="image/jpeg" filename="file://ABCD1234567.jpg">
<ABCD_mm:width>1200</ABCD_mm:width>
<ABCD_mm:height>800</ABCD_mm:height>
</ABCD_mm:media>
</ABCD_mm:MediaMetadata>
</entry>
</feed>