<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<title><![CDATA[PunBB Forums — text/xml is deprecated]]></title>
		<link>https://punbb.informer.com/forums/topic/20563/textxml-is-deprecated/</link>
		<atom:link href="https://punbb.informer.com/forums/feed/rss/topic/20563/" rel="self" type="application/rss+xml" />
		<description><![CDATA[The most recent posts in text/xml is deprecated.]]></description>
		<lastBuildDate>Wed, 31 Dec 2008 18:46:30 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121866/#p121866</link>
			<description><![CDATA[<p>If the client accepts application/xml, then it should be XML aware, meaning that it should be able to handle all derivatives. If not, you can easily set the client to palm the unknown mimetype off to an externall application. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> I.E, as always, is an absolute waste of space in this regard. <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 18:46:30 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121866/#p121866</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121865/#p121865</link>
			<description><![CDATA[<p>How could the script know if the client accepts application/rss+xml (or atom, etc)?</p>]]></description>
			<author><![CDATA[null@example.com (User33)]]></author>
			<pubDate>Wed, 31 Dec 2008 18:19:04 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121865/#p121865</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121861/#p121861</link>
			<description><![CDATA[<div class="quotebox"><cite>Garciat wrote:</cite><blockquote><p>I know the article is really old, but Wikipedia still shows &quot;(Registration Being Prepared)&quot; for the MIME type.</p></blockquote></div><p>It&#039;s in the RFC&#039;s. I always use those for basing a decision on. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 17:32:03 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121861/#p121861</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121860/#p121860</link>
			<description><![CDATA[<p>I use something similar to the following code.</p><div class="codebox"><pre><code>$accept_tag = isset($_SERVER[&#039;HTTP_ACCEPT&#039;]) ? strtolower($_SERVER[&#039;HTTP_ACCEPT&#039;]) : &#039;&#039;;

if (isset($accept_tag) &amp;&amp; strpos($accept_tag, &#039;application/xml&#039;) !== false)
{
    [ code ]
}</code></pre></div><p>The strtolower is used over stripos due to the latter only being available in PHP5 upwards. If you use your code above, (which appears fine too), I would add a strtolower on the tag before exploding it. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 17:28:38 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121860/#p121860</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121859/#p121859</link>
			<description><![CDATA[<p>Do you approve this code?<br /></p><div class="codebox"><pre><code>if(empty($_SERVER[&#039;HTTP_ACCEPT&#039;]) || !in_array(&#039;application/xml&#039;, explode(&#039;,&#039;, $_SERVER[&#039;HTTP_ACCEPT&#039;]))
//No HTTP_ACCEPT header or no application/xml support, use text/xml
else
//We can use application/xml</code></pre></div><p>About application/rss+xml: <a href="http://duncanmackenzie.net/blog/application-rss+xml-vs-text-xml/default.aspx">http://duncanmackenzie.net/blog/applica … fault.aspx</a></p><p>I know the article is really old, but Wikipedia still shows &quot;(Registration Being Prepared)&quot; for the MIME type.</p>]]></description>
			<author><![CDATA[null@example.com (User33)]]></author>
			<pubDate>Wed, 31 Dec 2008 16:04:35 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121859/#p121859</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121850/#p121850</link>
			<description><![CDATA[<p>I personally use the specific type for each one, i.e: application/atom+xml &amp; application/rss+xml, as mentioned above. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> Unless the client doesn&#039;t list application/xml as one of its accepted types, in which case text/xml is used.</p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 14:38:32 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121850/#p121850</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121849/#p121849</link>
			<description><![CDATA[<p>Actually, for Atom I think it should be application/atom+xml</p><p>And for RSS probably application/rss+xml</p>]]></description>
			<author><![CDATA[null@example.com (patheticcockroach)]]></author>
			<pubDate>Wed, 31 Dec 2008 14:32:28 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121849/#p121849</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121848/#p121848</link>
			<description><![CDATA[<p>So... RSS and Atom - application/xml and XML - text/xml? I&#039;ll commit the changes to SVN depending on your answers <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (User33)]]></author>
			<pubDate>Wed, 31 Dec 2008 14:16:59 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121848/#p121848</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121847/#p121847</link>
			<description><![CDATA[<div class="quotebox"><cite>patheticcockroach wrote:</cite><blockquote><div class="quotebox"><cite>MattF wrote:</cite><blockquote><p>Besides, if 1.3 truly is XHTML compliant, then that shouldn&#039;t be a problem in any area of the forum.</p></blockquote></div><p>Actually, I was rather thinking about the possibility of broken extensions.</p></blockquote></div><br /><p>True. I was forgetting about that potential problem area. <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /></p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 14:03:16 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121847/#p121847</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121846/#p121846</link>
			<description><![CDATA[<div class="quotebox"><cite>MattF wrote:</cite><blockquote><p>Besides, if 1.3 truly is XHTML compliant, then that shouldn&#039;t be a problem in any area of the forum.</p></blockquote></div><p>Actually, I was rather thinking about the possibility of broken extensions. <img src="https://punbb.informer.com/forums/img/smilies/wink.png" width="15" height="15" alt="wink" /></p>]]></description>
			<author><![CDATA[null@example.com (patheticcockroach)]]></author>
			<pubDate>Wed, 31 Dec 2008 14:01:37 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121846/#p121846</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121845/#p121845</link>
			<description><![CDATA[<div class="quotebox"><cite>patheticcockroach wrote:</cite><blockquote><p>As far as I know, the proper solution to handle this is to check whether or not the browser supports application/xhtml, then set the page type consequently. The resulting page may still fail at some validators, but the fault will be on the validator&#039;s side, because it doesn&#039;t send out a proper list of its supported page types.</p></blockquote></div><p>That is the preferable way to do it.</p><br /><div class="quotebox"><cite>patheticcockroach wrote:</cite><blockquote><p>Re-edit: I think sending out the page as application/xhtml should be toggleable by the board administrator. Because in some browsers (Firefox, anyone? ), when an application/xhtml page contains a single error, it won&#039;t be displayed at all. Great for debugging, not cool for publishing <em>Last edited by patheticcockroach (Today 09:24:09)</em></p></blockquote></div><p>The mimetype, application/xml, would only be applied for the RSS/Atom feeds. <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /> Besides, if 1.3 truly is XHTML compliant, then that shouldn&#039;t be a problem in any area of the forum.</p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Wed, 31 Dec 2008 13:58:26 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121845/#p121845</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121834/#p121834</link>
			<description><![CDATA[<p>As far as I know, the proper solution to handle this is to check whether or not the browser supports application/xhtml, then set the page type consequently. The resulting page may still fail at some validators, but the fault will be on the validator&#039;s side, because it doesn&#039;t send out a proper list of its supported page types.</p><p>I have this on my site, I just can&#039;t access the FTP from work. Will check later if still needed.</p><p>Re-edit: I think sending out the page as application/xhtml should be toggleable by the board administrator. Because in some browsers (Firefox, anyone? <img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" />), when an application/xhtml page contains a single error, it won&#039;t be displayed at all. Great for debugging, not cool for publishing <img src="https://punbb.informer.com/forums/img/smilies/hmm.png" width="15" height="15" alt="hmm" /></p>]]></description>
			<author><![CDATA[null@example.com (patheticcockroach)]]></author>
			<pubDate>Wed, 31 Dec 2008 09:19:19 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121834/#p121834</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121661/#p121661</link>
			<description><![CDATA[<p>One point to note, however, is that if you change the type to application/xml, and no programme is set to handle that mimetype, it will just prompt the user to save the file or select a programme with which to view it. Text/xml will at least display the content within the browser if no feed reader or such like is registered for that protocol. It&#039;s horses for courses.</p>]]></description>
			<author><![CDATA[null@example.com (MattF)]]></author>
			<pubDate>Fri, 26 Dec 2008 20:20:42 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121661/#p121661</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121553/#p121553</link>
			<description><![CDATA[<p><img src="https://punbb.informer.com/forums/img/smilies/big_smile.png" width="15" height="15" alt="big_smile" /> Ok, cool!</p>]]></description>
			<author><![CDATA[null@example.com (User33)]]></author>
			<pubDate>Wed, 24 Dec 2008 13:56:25 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121553/#p121553</guid>
		</item>
		<item>
			<title><![CDATA[Re: text/xml is deprecated]]></title>
			<link>https://punbb.informer.com/forums/post/121549/#p121549</link>
			<description><![CDATA[<p>Well... Please, try to fix, test and commit to SVN <img src="https://punbb.informer.com/forums/img/smilies/smile.png" width="15" height="15" alt="smile" /></p>]]></description>
			<author><![CDATA[null@example.com (Parpalak)]]></author>
			<pubDate>Wed, 24 Dec 2008 13:25:17 +0000</pubDate>
			<guid>https://punbb.informer.com/forums/post/121549/#p121549</guid>
		</item>
	</channel>
</rss>
