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.

преди 1 година
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 2 години
преди 2 години
преди 1 година
преди 2 години
преди 1 година
преди 2 години
преди 2 години
1234567891011121314151617181920212223242526272829303132333435
  1. # @name: making.py
  2. # @creation_date: 2022-10-27
  3. # @license: The MIT License <https://opensource.org/licenses/MIT>
  4. # @author: Simon Bowie <ad7588@coventry.ac.uk>
  5. # @purpose: making route for Section 4: Making of
  6. # @acknowledgements:
  7. from flask import Blueprint, render_template
  8. import markdown
  9. making = Blueprint('making', __name__)
  10. # route for making of page
  11. @making.route('/making/')
  12. def index():
  13. with open('content/section_3/making.md', 'r') as f:
  14. text = f.read()
  15. text = markdown.markdown(text)
  16. return render_template('making.html', text=text)
  17. # route for interface design essay
  18. @making.route('/making/interface/')
  19. def interface():
  20. with open('content/section_3/on-interface-design.md', 'r') as f:
  21. text = f.read()
  22. text = markdown.markdown(text)
  23. return render_template('making.html', text=text)
  24. # route for databases essay
  25. @making.route('/making/search-engine-book/')
  26. def databases():
  27. with open('content/section_3/on-combining-databases-and-books.md', 'r') as f:
  28. text = f.read()
  29. text = markdown.markdown(text)
  30. return render_template('making.html', text=text)