Project

General

Profile

« Previous | Next » 

Revision 1675

digir_client: Filter by darwin:Kingdom=PLANTAE because presumably all records will have this. Don't debug-print URL.

View differences:

bin/digir_client
37 37
    </header>
38 38
    <search>
39 39
        <filter>
40
            <like>
41
                <darwin:Genus>ace%</darwin:Genus>
42
            </like>
40
            <equals>
41
                <darwin:Kingdom>PLANTAE</darwin:Kingdom>
42
            </equals>
43 43
        </filter>
44 44
        <records limit="[count]" start="[start]">
45 45
            <structure schemaLocation="http://digir.sourceforge.net/schema/conceptual/darwin/full/2003/1.0/darwin2full.xsd"/>
......
67 67
    
68 68
    request_xml = this_request_xml_template.replace('[start]', str(start))
69 69
    this_url = url+'?'+urllib.urlencode({'request': request_xml})
70
    print this_url
71 70
    stream = streams.StreamIter(streams.TimeoutInputStream(
72 71
        urllib2.urlopen(this_url), timeout))
73 72
    

Also available in: Unified diff