Fix URLs which had long strings of encoded "space" characters, making it difficult...
authorDavid Crossley <dcrossley@indexgeo.com.au>
Wed, 26 Aug 2015 08:13:01 +0000 (18:13 +1000)
committerAdam Dickmeiss <adam@indexdata.dk>
Thu, 27 Aug 2015 15:48:42 +0000 (17:48 +0200)
doc/tutorial.xml

index d04b5a1..730b884 100644 (file)
     correct &acro.pqf; query. For example, to search in titles only,
     we use
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr
-     1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr
-     1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr 1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@attr 1=title the&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
     <literal>description</literal> using the query
     <literal>@and @attr 1=title the @attr 1=description fish</literal>.
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and
-     @attr 1=title the
-     @attr 1=description
-     fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and
-     @attr 1=title the
-     @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and @attr 1=title the @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;x-pquery=@and @attr 1=title the @attr 1=description fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
     <literal>dc.title=the
      and dc.description=fish</literal> results in the following page
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish
-     &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=dc
     </ulink>
    </para>
 
     schema's of the form
     <literal>zebra::</literal> just work right out of the box
     <ulink
-     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish
-     &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet">
-     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the
-     and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet
+     url="http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish&amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet">
+     http://localhost:9999/?version=1.1&amp;operation=searchRetrieve&amp;query=dc.title=the and dc.description=fish &amp;startRecord=1&amp;maximumRecords=1&amp;recordSchema=zebra::snippet
     </ulink>
    </para>