<?xml version="1.0"?>
<rss xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>CKAN: Ticket Query</title>
    <link>http://localhost/query?component=dgu&amp;milestone=ckan-sprint-2012-03-19&amp;group=status&amp;order=time</link>
    <description>The open source data portal software</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/query?component=dgu&amp;milestone=ckan-sprint-2012-03-19&amp;group=status&amp;order=time</link>
    </image>
    <generator>Trac 0.12.3</generator>
    <item>
        <link>http://localhost/ticket/1711</link>
        <guid isPermaLink="false">http://localhost/ticket/1711</guid>
        <title>#1711: Resource validation page</title>
        <pubDate>Thu, 26 Jan 2012 14:55:59 GMT</pubDate>
        
        <dc:creator>icmurray</dc:creator>

        <description>&lt;ul&gt;&lt;li&gt;On the resources tab, there's a "Check Resources" button which, when clicked makes an ajax request
with the list of URLs entered by the user.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The server checka each link for errors and header information about the linked resource.  (Using
ckanext/archiver/tasks.py:link_checker()).
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;The server returns a list of dicts (json), containing information about the linked resource, and
the client uses that to:
&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;populate the format field of each resource
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;
The (guessed) 'file_extension' populates the '&lt;span class="underline"&gt;format' field.  If it's 'htm' or 'html',
then we assume it's a listing page, and so don't populate the format field with 'htm' or
'html'.
&lt;/span&gt;&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;provide feedback if a URL appears to be invalid
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
&lt;/p&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;blockquote&gt;
&lt;p&gt;
If the URL doesn't appear to be a URL at all, or returns a HTTP error, or times-out, then
URL field is highlighted in red to indicate it's a bad URL.  A tooltip shows the
error message to the user.
&lt;/p&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;/blockquote&gt;
&lt;p&gt;
&lt;/p&gt;
&lt;ul&gt;&lt;li&gt;[Optional] provide feedback if a URL appears to point to "Additional Information" - ie the
Resource should be entered under "Additional Resources", rather than "Timeseries" or
"Individual" datasets.
&lt;/li&gt;&lt;/ul&gt;&lt;p&gt;
Analysis and further description on etherpad: &lt;a class="ext-link" href="http://ckan.okfnpad.org/dgu-package-form"&gt;&lt;span class="icon"&gt;​&lt;/span&gt;http://ckan.okfnpad.org/dgu-package-form&lt;/a&gt;? [Section I]
&lt;/p&gt;
</description>
        <category>Results</category>
        <comments>http://localhost/ticket/1711#changelog</comments>
    </item>
 </channel>
</rss>