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
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.

109 líneas
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">
  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="">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">
  76. <a href="">off the record</a>
  77. <div class="info" style="display: none;">
  78. <p class="code"> ↪ Some things are all over the patent archive but never made explicit. Off the record presents three artistic works that render these absent-present realities visible... </p>
  79. </div>
  80. </div>
  81. </div>
  82. <div>
  83. <p class="about-text">Performing Patents Otherwise is a search engine, a dataset and a series of interferences in searching 320.000 clothing patents. Searching is a creative act. Search engines expose some parts of the archive, obscure others, and can even render visible what’s not in the archive. Performing Patents Otherwise queries patent data, and the search categories and techniques that make this data sort-, relate- and knowable.
  84. <a href="about">Continue reading...</a>
  85. </p>
  86. </div>
  87. {% endblock %}