A search interface for the Performing Patents Otherwise publication as part of 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 OPS 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.

index.html 3.1KB

2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. {% extends "base.html" %}
  2. {% block content %}
  3. <div class="">
  4. <button id="notes-operations" onclick="hideShowInfo()">?</button>
  5. <!-- 👁 ⓘ ⅈ ✍ ⁐ -->
  6. </div>
  7. <div class="index-row button-search random-interferences mt-5 interferences" style="display: none;">
  8. <div class="col text-center p-2">
  9. <!-- random titles -->
  10. <a href="{{ url_for('interferences.ten_random_titles') }}">a poetics of titles</a>
  11. </div>
  12. <div class="col text-center p-2">
  13. <!-- random abstracts -->
  14. <a href="{{ url_for('interferences.ten_random_abstracts') }}">a handful of fragments</a>
  15. </div>
  16. <div class="col text-center p-2">
  17. <!-- random images -->
  18. <a href="{{ url_for('interferences.random_images') }}">a scattering of images</a>
  19. </div>
  20. </div>
  21. <div class="index-row">
  22. <div class="col text-center m-5">
  23. <p class="h1">Performing Patents Otherwise</p>
  24. <div>
  25. <p>
  26. <i>An experimental book querying two hundred years of clothing inventions</i>
  27. </p>
  28. </div>
  29. </div>
  30. </div>
  31. <div class="row justify-content-center mt-3">
  32. <div class="col-sm-10 text-center button-search">
  33. <form action="{{ url_for('search.basic_search') }}" method="POST">
  34. <input type="text" name="query" id="inputsearch" placeholder="type to perform a search...">
  35. <input type="submit" id="submit" value="search">
  36. </form>
  37. </div>
  38. </div>
  39. <div class="info" style="display: none;">
  40. <p class="code">
  41. ↪ Main search engine sorting code:
  42. solrurl = 'http://' + solr_hostname + ':' + solr_port + '/solr/' + core + '/select?q.op=OR&q=content%3A' + urllib.parse.quote_plus(search) + '&wt=json&sort=' + sort; request = requests.get(solrurl); json = request.json()
  43. </p>
  44. </div>
  45. <div class="index-row button-search random-interferences mt-5 interferences" style="display: none;">
  46. <div class="col text-center p-2">
  47. <!-- random record -->
  48. <a href="{{ url_for('interferences.random_record') }}">a random entry</a>
  49. </div>
  50. <div class="col text-center p-2">
  51. <!-- compare two random records -->
  52. <a href="{{ url_for('interferences.two_random_records') }}">a juxtaposition of two</a>
  53. </div>
  54. <div class="col text-center p-2">
  55. <!-- data page -->
  56. <a href="{{ url_for('data.main_data') }}">mapping the archive</a>
  57. </div>
  58. </div>
  59. <div class="index-row justify-content-center mt-5">
  60. <div class="col text-center button-search button-hidden-off p-2">
  61. <a href="{{ url_for('main.frontmatter') }}">about</a>
  62. <div class="info" style="display: none;">
  63. <p class="code"> ↪ meet the team behind the project</p>
  64. </div>
  65. </div>
  66. <div class="col text-center button-search button-hidden-off p-2">
  67. <a href="{{ url_for('main.contents') }}">contents</a>
  68. <div class="info" style="display: none;">
  69. <p class="code"> ↪ discover essays, archival conversations & the making of</p>
  70. </div>
  71. </div>
  72. <div class="col text-center button-search button-hidden-off p-2">
  73. <button id="interfere" onclick="toggleMenu()">search interferences</button>
  74. <div class="info" style="display: none;">
  75. <p class="code"> ↪ reveal serendipitous ways into the archive</p>
  76. </div>
  77. </div>
  78. </div>
  79. {% endblock %}