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 jaar geleden
1 jaar geleden
1 jaar geleden
1 jaar geleden
12345678910111213141516171819202122232425262728293031323334353637383940414243
  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-overview.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('text.html', text=text)
  24. # route for databases essay
  25. @making.route('/making/database-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('text.html', text=text)
  31. # route for interview
  32. @making.route('/making/interview/')
  33. def interview():
  34. with open('content/section_3/making-of-interview.md', 'r') as f:
  35. text = f.read()
  36. text = markdown.markdown(text)
  37. return render_template('text.html', text=text)