A search interface for data from the Politics of Patents case study (part of Copim WP6): this parses data from the archive of RTF files and provides additional data from the European Patent Office API. https://patents.copim.ac.uk
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1234567891011121314151617181920212223242526272829303132
  1. <div id="query-box">
  2. <form id="query-form" action="#{url_for_home}" method="GET">
  3. $resource.find:
  4. <input type="text" id="q" name="q" style="width: 50%" value="$!esc.html($request.params.get('q'))"/>
  5. <input type="submit" value="$resource.submit"/>
  6. <div id="debug_query" class="debug">
  7. <span id="parsed_query">$esc.html($response.response.debug.parsedquery)</span>
  8. </div>
  9. <input type="hidden" name="type" value="#current_type"/>
  10. #if("#current_locale"!="")<input type="hidden" value="locale" value="#current_locale"/>#end
  11. #foreach($fq in $response.responseHeader.params.getAll("fq"))
  12. <input type="hidden" name="fq" id="allFQs" value="$esc.html($fq)"/>
  13. #end
  14. </form>
  15. <div id="constraints">
  16. #foreach($fq in $response.responseHeader.params.getAll("fq"))
  17. #set($previous_fq_count=$velocityCount - 1)
  18. #if($fq != '')
  19. &gt; $fq<a href="#url_for_filters($response.responseHeader.params.fq.subList(0,$previous_fq_count))">x</a>
  20. #end
  21. #end
  22. </div>
  23. </div>
  24. <div id="browse_results">
  25. #parse("results.vm")
  26. </div>