<div dir="ltr">Hi, <div><br></div><div>ok, I think I understood my mistake... ResourceType needs to be left as csw. The reason is, that the CSW I'm querying only supports gmd:MD_Metadata as typename and not csw:Record. But I think only csw:Record is requested from pycsw...</div>
<div><br></div><div>Cheers, Michael</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014-02-20 13:15 GMT+01:00 Michael Schulz <span dir="ltr"><<a href="mailto:mandschulz@googlemail.com" target="_blank">mandschulz@googlemail.com</a>></span>:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, <div><br></div><div>I was wondering whether it should be in principle possible to harvest a remote CSW returning APISO metadata records? No problem in loading them from a file, but I didn't succeed in harvesting a CSW endpoint, using something like this (following the example in the tester, using another local csw instance):</div>

<div><br></div><div><div><div><span><<span>Harvest</span><span> <span>xmlns</span>="<span><a href="http://www.opengis.net/cat/csw/2.0.2" target="_blank">http://www.opengis.net/cat/csw/2.0.2</a></span>"</span><span> <span>xmlns:ogc</span>="<span><a href="http://www.opengis.net/ogc" target="_blank">http://www.opengis.net/ogc</a></span>"</span><span> <span>xmlns:gmd</span>="<span><a href="http://www.isotc211.org/2005/gmd" target="_blank">http://www.isotc211.org/2005/gmd</a></span>"</span><span> <span>xmlns:ows</span>="<span><a href="http://www.opengis.net/ows" target="_blank">http://www.opengis.net/ows</a></span>"</span><span> <span>xmlns:xsd</span>="<span><a href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a></span>"</span><span> <span>xmlns:dc</span>="<span><a href="http://purl.org/dc/elements/1.1/" target="_blank">http://purl.org/dc/elements/1.1/</a></span>"</span><span> <span>xmlns:dct</span>="<span><a href="http://purl.org/dc/terms/" target="_blank">http://purl.org/dc/terms/</a></span>"</span><span> <span>xmlns:gml</span>="<span><a href="http://www.opengis.net/gml" target="_blank">http://www.opengis.net/gml</a></span>"</span><span> <span>xmlns:xsi</span>="<span><a href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a></span>"</span><span> <span>xsi:schemaLocation</span>="<span><a href="http://www.opengis.net/cat/csw/2.0.2" target="_blank">http://www.opengis.net/cat/csw/2.0.2</a> <a href="http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd" target="_blank">http://schemas.opengis.net/csw/2.0.2/CSW-publication.xsd</a></span>"</span><span> <span>service</span>="<span>CSW</span>"</span><span> <span>version</span>="<span>2.0.2</span>"</span><span>></span></span></div>

<div><div><div><span><<span>Source</span><span>></span><span><span><a href="http://mylocal_csw_instance?request=GetCapabilities&service=CSW" target="_blank">http://mylocal_csw_instance?request=GetCapabilities&service=CSW</a></span></span></<span>Source</span>></span></div>

</div><div><div><span><<span>ResourceType</span><span>></span><span><span><a href="http://www.isotc211.org/schemas/2005/gmd/" target="_blank">http://www.isotc211.org/schemas/2005/gmd/</a></span></span></<span>ResourceType</span>></span></div>

</div><div><div><span><<span>ResourceFormat</span><span>></span><span><span>application/xml</span></span></<span>ResourceFormat</span>></span></div>
</div></div><div></<span>Harvest</span>></div></div></div><div><br clear="all"><div>And if I'm not wrong, then it won't parse the metadata records, because this case is not implemented in metadata.parse_record. If that's the case, then it should be just about adding a new condition to check for gmd resourceType and use parse_iso?</div>

<div><br></div><div>Cheers, Michael</div><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div dir="ltr">-----------------------------------------------------------<br>Michael Schulz<br><br><div><br></div>
</div>
</font></span></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div dir="ltr">-----------------------------------------------------------<br>Michael Schulz<br><br>Bahnhofstr. 62<div>D-63477 Maintal<br><br></div></div>
</div>