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
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

111 lines
3.9KB

  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('interventions.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('interventions.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('interventions.random_images') }}">a scattering of images</a>
  19. </div>
  20. </div>
  21. <div class="info note-interference" style="display: none;">
  22. <p class="code"> ↪ Interferences: Search interferences perform data otherwise. They disrupt ordering and invite unexpected readings.</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('interventions.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('interventions.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('hidden.index') }}">hidden in plain sight</a>
  65. <div class="info" style="display: none;">
  66. <p class="code"> ↪ Searching for a history of women’s clothing inventors, that is in the archive, but hidden in plain sight.... </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"> ↪ Find here a table of contents for this digital archive... </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('conversations.index') }}">archive conversations</a>
  77. <div class="info" style="display: none;">
  78. <p class="code"> ↪ Some things are all over the patent archive but never made explicit. Archive Conversations presents three artistic works that render these absent-present realities visible... </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">Data from the <a href="https://www.epo.org/">European Patent Office's</a> <a href="https://worldwide.espacenet.com/">Espacenet patent search engine</a> and reconfigured by Goldsmiths, University of London's Archival Conversations project.</span>
  87. </div>
  88. </footer>
  89. {% endblock%}