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.

112 lines
4.2KB

  1. {% extends "base.html" %}
  2. {% block content %}
  3. <div class="action">
  4. <button id="notes" onclick="hideShowInfo()">?</button>
  5. <!-- 👁 ⓘ ⅈ ✍ ⁐ -->
  6. </div>
  7. <div class="index-row button-search random-interferences mt-5">
  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="info note-interference" style="display: none;">
  22. <p class="code"> ↪ The search interface breaks with the unspoken conventions of search engines, offering different entry points to the patent archive.</p>
  23. </div>
  24. <div class="index-row">
  25. <div class="col text-center m-5">
  26. <p class="h1">Performing Patents Otherwise</p>
  27. <div class="info" style="display: none;">
  28. <p class="code">
  29. Archival conversations with 320,000 clothing inventions
  30. </p>
  31. </div>
  32. </div>
  33. </div>
  34. <div class="row justify-content-center mt-3">
  35. <div class="col-sm-10 text-center button-search">
  36. <form action="{{ url_for('search.basic_search') }}" method="POST">
  37. <input type="text" name="query" id="inputsearch" placeholder="search for a patent record...">
  38. <input type="submit" id="submit" value="search">
  39. </form>
  40. </div>
  41. </div>
  42. <div class="info" style="display: none;">
  43. <p class="code">
  44. ↪ Main search engine sorting code:
  45. 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()
  46. </p>
  47. </div>
  48. <div class="index-row button-search random-interferences mt-5">
  49. <div class="col text-center p-2">
  50. <!-- random record -->
  51. <a href="{{ url_for('interferences.random_record') }}">a random entry</a>
  52. </div>
  53. <div class="col text-center p-2">
  54. <!-- compare two random records -->
  55. <a href="{{ url_for('interferences.two_random_records') }}">a juxtaposition of two</a>
  56. </div>
  57. <div class="col text-center p-2">
  58. <!-- data page -->
  59. <a href="{{ url_for('data.main_data') }}">mapping the archive</a>
  60. </div>
  61. </div>
  62. <div class="index-row justify-content-center mt-5">
  63. <div class="col text-center button-search button-hidden-off p-2">
  64. <a href="{{ url_for('conversations.index') }}">archival conversations</a>
  65. <div class="info" style="display: none;">
  66. <p class="code"> ↪ Archival conversations bring relational aspects of the archive to the fore that computational search cannot capture.</p>
  67. </div>
  68. </div>
  69. <div class="col text-center button-search button-hidden-off p-2">
  70. <a href="{{ url_for('main.contents') }}">search as a book</a>
  71. <div class="info" style="display: none;">
  72. <p class="code"> ↪ <i>Performing Patents Otherwise</i> is a website is a book is a website has a table of content.</p>
  73. </div>
  74. </div>
  75. <div class="col text-center button-search button-hidden-off p-2 mb-5">
  76. <a href="{{ url_for('making.index') }}">making of</a>
  77. <div class="info" style="display: none;">
  78. <p class="code"> ↪ Reflections on tools and methods from the makers of <i>Performing Patents Otherwise</i>.</p>
  79. </div>
  80. </div>
  81. </div>
  82. {% endblock %}
  83. {% block footer %}
  84. <footer class="footer mt-5 py-3 bg-light">
  85. <div class="container">
  86. <span class="text-muted">© 2023 Julien McHardy & Kat Jungnickel, chapters by respective authors. Licensed under a <a href="http://creativecommons.org/licenses/by-nc-sa/4.0/">Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International (CC BY-NC-SA 4.0)</a> license.</span>
  87. <span class="text-muted">Data from the <a href="https://www.epo.org/">European Patent Office</a> and reconfigured by Goldsmiths, University of London's <a href="https://www.politicsofpatents.org/">Politics of Patents</a> research project funded by an <a href="https://erc.europa.eu/">ERC</a> Consolidator grant.</span>
  88. </div>
  89. </footer>
  90. {% endblock%}