<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket #2726: confusing logic on data preview formats</title>
    <link>http://localhost/ticket/2726</link>
    <description>&lt;ol&gt;&lt;li&gt;If a user enters the wrong format on a file that can be previewed - it simply won't be previewed (e.g. a CSV or XML file that can be filled in with JSON in format will just not work or check this
&lt;/li&gt;&lt;/ol&gt;&lt;ol start="2"&gt;&lt;li&gt;If I incorrectly edit format to one that data preview will try to preview it will work even for a format that it doesn't accept (sometimes) e.g. this PDF file I changed the metadata to HTML &lt;a class="ext-link" href="http://s031.okserver.org:2375/en/dataset/test-dataset/resource/9d27a9d9-36ec-460e-9edb-6dff7ba4fc28"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://s031.okserver.org:2375/en/dataset/test-dataset/resource/9d27a9d9-36ec-460e-9edb-6dff7ba4fc28&lt;/a&gt;
&lt;/li&gt;&lt;/ol&gt;</description>
    <language>en-us</language>
    <image>
      <title>CKAN</title>
      <url>http://assets.okfn.org/p/ckan/img/ckan_logo_shortname.png</url>
      <link>http://localhost/ticket/2726</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
      
        <dc:creator>shevski</dc:creator>

      <pubDate>Sun, 22 Jul 2012 09:39:59 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/2726#comment:1</link>
      <guid isPermaLink="false">http://localhost/ticket/2726#comment:1</guid>
      <description>
        &lt;p&gt;
Point 2 relies on the Chrome previews of PDFs, but can we not use this ability?
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item><item>
      
        <dc:creator>toby</dc:creator>

      <pubDate>Mon, 23 Jul 2012 08:08:26 GMT</pubDate>
      <title></title>
      <link>http://localhost/ticket/2726#comment:2</link>
      <guid isPermaLink="false">http://localhost/ticket/2726#comment:2</guid>
      <description>
        &lt;p&gt;
@ira,
&lt;/p&gt;
&lt;p&gt;
I think this is probably linked to the qa plugin and auto detecting formats rather than believing the user.
&lt;/p&gt;
      </description>
      <category>Ticket</category>
    </item>
 </channel>
</rss>