Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

...

...

...

...

...

...

...

Rationale

We are planning a "Publish to HDX" functionality from KoBo and HOT-OSM, and will be discussing with other partners as well (e.g. DHIS2). OSM will likely use the CKAN API, but for others, it would make sense to design a reusable framework where we can easily support publish buttons from any number of additional partners with little or no incremental effort on our part.

...

<form method="post" action="https://data.humdata.org/contribute/new">

    <input type="hidden" name="url" value="http://example.org/api/12345.csv"/>

    <input type="hidden" name="title" value="Sample dataset"/>

    <input type="hidden" name="org" value="foo_org"/>

    <input type="hidden" name="location" value="SYR"/>

    <button type="submit" class="btn btn-success">Publish to HDX</button>

</form>


We can publish samples that clients can easily copy and paste into their HTML templates. Since a contributor still needs to log in, any organisation could include this in their site, without even needing to contact us first.

...