A OWS context document contains one or more entries describing documents. Full specification for OWS documents is available at http://www.opengeospatial.org/standards/owc
Each document is identified with a unique identifier within the collection in which it is published. The following example describes step by step how to publish a user result in the “EO processing” collection.
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<id>urn:uuid:607ba1aa-7f43-4b85-9d75-adab715dc9c5</id>
<entry>
<id>ALOS.20070211_20100219.Nepal_S.2cmyr.tif</id>
<title type="text">Himalaya / Nepal - Landslide - ALOS.20070211_20100219</title>
<published>2015-05-04</published>
<updated>2015-05-04</updated>
<summary type="text/html"><![CDATA[
<table>
<tbody>
<tr valign="top">
<td>
<b>Source</b></td>
<td>
EO-WORLD
</td>
</tr>
<tr valign="top">
<td>
<b>Site</b></td>
<td>Himalaya - Nepal</td>
</tr>
<tr>
<td>
<strong>Platform</strong></td>
<td>
ALOS</td>
</tr>
<tr valign="top">
<td>
<b>Observations</b></td>
<td>
20070211_20100219</td>
</tr>
</tbody>
</table>
<p></p>
]]>
</summary>
<identifier xmlns="http://purl.org/dc/elements/1.1/">ALOS.20070211_20100219.Nepal_S.2cmyr.tif</identifier>
<box xmlns="http://www.georss.org/georss">27.328 86.35 28.15 87.1</box>
<offering xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.opengis.net/owc/1.0" code="http://www.opengis.net/spec/owc-atom/1.0/req/wms">
<operation code="GetMap" method="GET" href="https://maps.eo.esa.int/erdas-apollo/coverage_public/NEPAL?service=WMS&version=1.1.1&request=GetMap&layers=ALOS.20070211_20100219.Nepal_S.2cmyr&styles=&bbox=86.35,27.328,87.1,28.15&width=1024&height=1024&srs=EPSG:4326&format=image/png&transparent=TRUE" type="image/png"/>
</offering>
<date xmlns="http://purl.org/dc/elements/1.1/">2007-02-11/2010-02-19</date>
</entry>
</feed>
PLease note the important fields:
curl 'http://data.terradue.int/gs/catalogue/tepqwsr/gtfeature' -H 'Pragma: no-cache' -H 'Content-Type: application/atom+xml' -H 'Accept: application/xml' -H 'Cache-Control: no-cache' -d @file.atom
The collections to post to are: