Browse Source

rearranging ToC

main
Simon Bowie 1 year ago
parent
commit
e9855908c5
18 changed files with 43 additions and 35 deletions
  1. +4
    -4
      web/app/__init__.py
  2. +8
    -2
      web/app/conversations.py
  3. +7
    -7
      web/app/hidden.py
  4. +1
    -1
      web/app/interventions.py
  5. +6
    -3
      web/app/making.py
  6. +6
    -18
      web/content/TOC.md
  7. +0
    -0
      web/content/hidden/active.md
  8. +0
    -0
      web/content/hidden/expanding.md
  9. +0
    -0
      web/content/hidden/intro-hidden.md
  10. +0
    -0
      web/content/hidden/leaking.md
  11. +0
    -0
      web/content/hidden/resourceful.md
  12. +0
    -0
      web/content/hidden/secret.md
  13. +0
    -0
      web/content/hidden/working.md
  14. +0
    -0
      web/content/section_2/I-Martha-gowans.md
  15. +6
    -0
      web/content/section_2/conversations.md
  16. +5
    -0
      web/content/section_3/making.md
  17. +0
    -0
      web/content/section_3/on-combining-databases-and-books.md
  18. +0
    -0
      web/content/section_3/on-interface-design.md

+ 4
- 4
web/app/__init__.py View File

@@ -27,19 +27,19 @@ def create_app():
from .search import search as search_blueprint
app.register_blueprint(search_blueprint)

# blueprint for interventions parts of app (Section 1: Archive Interventions)
# blueprint for interventions parts of app (Section 1: Archive interventions)
from .interventions import interventions as interventions_blueprint
app.register_blueprint(interventions_blueprint)

# blueprint for hidden parts of app (Section 2: Hidden in plain sight)
# blueprint for hidden parts of app
from .hidden import hidden as hidden_blueprint
app.register_blueprint(hidden_blueprint)

# blueprint for conversations parts of app (Section 3: Archive Conversations)
# blueprint for conversations parts of app (Section 2: Archive conversations)
from .conversations import conversations as conversations_blueprint
app.register_blueprint(conversations_blueprint)

# blueprint for making parts of app (Section 4: Making of)
# blueprint for making parts of app (Section 3: Making of)
from .making import making as making_blueprint
app.register_blueprint(making_blueprint)


+ 8
- 2
web/app/conversations.py View File

@@ -2,7 +2,7 @@
# @creation_date: 2022-10-27
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: conversations route for Section 3: Archive Conversations
# @purpose: conversations route for Section 2: Archive Conversations
# @acknowledgements:

from flask import Blueprint, render_template
@@ -13,7 +13,13 @@ conversations = Blueprint('conversations', __name__)
# route for Martha Gowans page
@conversations.route('/conversations/')
def index():
with open('content/section_3/I-Martha-gowans.md', 'r') as f:
with open('content/section_2/conversations.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('conversations.html', text=text)

def martha():
with open('content/section_2/I-Martha-gowans.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('conversations.html', text=text)

+ 7
- 7
web/app/hidden.py View File

@@ -14,7 +14,7 @@ hidden = Blueprint('hidden', __name__)
# route for hidden page
@hidden.route('/hidden/')
def index():
with open('content/section_2/intro-hidden.md', 'r') as f:
with open('content/hidden/intro-hidden.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('hidden.html', text=text)
@@ -23,7 +23,7 @@ def index():
@hidden.route('/hidden/expanding/')
def expanding():
core = 'expanding'
with open('content/section_2/expanding.md', 'r') as f:
with open('content/hidden/expanding.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)

@@ -35,7 +35,7 @@ def expanding():
@hidden.route('/hidden/active/')
def active():
core = 'active'
with open('content/section_2/active.md', 'r') as f:
with open('content/hidden/active.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)

@@ -47,7 +47,7 @@ def active():
@hidden.route('/hidden/secret/')
def secret():
core = 'secret'
with open('content/section_2/secret.md', 'r') as f:
with open('content/hidden/secret.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)

@@ -59,7 +59,7 @@ def secret():
@hidden.route('/hidden/leaking/')
def leaking():
core = 'leaking'
with open('content/section_2/leaking.md', 'r') as f:
with open('content/hidden/leaking.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)

@@ -71,7 +71,7 @@ def leaking():
@hidden.route('/hidden/working/')
def working():
core = 'working'
with open('content/section_2/working.md', 'r') as f:
with open('content/hidden/working.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)

@@ -83,7 +83,7 @@ def working():
@hidden.route('/hidden/resourceful/')
def resourceful():
core = 'resourceful'
with open('content/section_2/resourceful.md', 'r') as f:
with open('content/hidden/resourceful.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)


+ 1
- 1
web/app/interventions.py View File

@@ -2,7 +2,7 @@
# @creation_date: 2022-09-09
# @license: The MIT License <https://opensource.org/licenses/MIT>
# @author: Simon Bowie <ad7588@coventry.ac.uk>
# @purpose: interventions route for Section 2: Search Interventions
# @purpose: interventions route for Section 1: Archive interventions
# @acknowledgements:

from flask import Blueprint, render_template, request

+ 6
- 3
web/app/making.py View File

@@ -13,12 +13,15 @@ making = Blueprint('making', __name__)
# route for making of page
@making.route('/making/')
def index():
return render_template('index.html')
with open('content/section_3/making.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('making.html', text=text)

# route for interface design essay
@making.route('/making/interface/')
def interface():
with open('content/section_4/on-interface-design.md', 'r') as f:
with open('content/section_3/on-interface-design.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('making.html', text=text)
@@ -26,7 +29,7 @@ def interface():
# route for databases essay
@making.route('/making/search-engine-book/')
def databases():
with open('content/section_4/on-combining-databases-and-books.md', 'r') as f:
with open('content/section_3/on-combining-databases-and-books.md', 'r') as f:
text = f.read()
text = markdown.markdown(text)
return render_template('making.html', text=text)

+ 6
- 18
web/content/TOC.md View File

@@ -3,14 +3,14 @@
<a href="/" class="arrow-back h1 text-left" title="back to index"> ⇽ </a>
</div>

<h1 class="mt-5"> Table of Content</h1>
<h1 class="mt-5"> Table of Contents</h1>
<span class="info" style="display: none;">
<span class="code">↪ This website is the home of “Performing Patterns Otherwise.” It is an archive, a website and an experimental electronic book that binds search, archive and writing in one publication. The landing page navigates the publication according to the conventions of a search engine, foregrounding search. The table of content offers a way of navigating that foregrounds texts, which is more in line with the conventions of book making. The table of content reveals a logic of zooming in, from the general search to more specific configurations of the relationships between search, content, ordering and sense-making.</span>
<span class="code">↪ This website is the home of “Performing Patents Otherwise.” It is an archive, a website and an experimental electronic book that binds search, archive and writing in one publication. The landing page navigates the publication according to the conventions of a search engine, foregrounding search. The table of contents offers a way of navigating that foregrounds texts, which is more in line with the conventions of book making. The table of contents reveals a logic of zooming in, from the general search to more specific configurations of the relationships between search, content, ordering and sense-making.</span>
</span>

<br/>

### Frontmatter
### [Frontmatter](/frontmatter)
<span class="info" style="display: none;">
<span class="code">↪ add intro text to frontmatter here...</span>
</span>
@@ -20,7 +20,7 @@
<span class="code">↪ add intro text to foreword here...</span>
</span>

### Section 1: Archive Interventions
### Section 1: Archive interventions
<span class="info" style="display: none;">
<span class="code">↪ Interventions are a mode of search, they disrupt ordering and invite unexpected readings....</span>
</span>
@@ -33,19 +33,7 @@
- [A juxtaposition of two](/interventions/juxtaposition)
- [Mapping the archive](/data)

### Section 2: [Hidden in plain sight](/hidden)
<span class="info" style="display: none;">
<span class="code">↪ Searching for a history of women’s clothing inventors, that is in the archive, but hidden in plain sight....</span>
</span>

- [Expanding citizens](/hidden/expanding)
- [Active citizens](/hidden/active)
- [Secret citizens](/hidden/secret)
- [Pissing & leaking citizens](/hidden/leaking)
- [Working citizens](/hidden/working)
- [Resourceful citizens](/hidden/resourceful)

### Section 3: [Archive conversations](/conversations)
### Section 2: [Archive conversations](/conversations)
<span class="info" style="display: none;">
<span class="code">↪ Some things are all over the patent archive but never made explicit. Off the record presents four artistic works that render these absent-present realities visible...</span>
</span>
@@ -55,7 +43,7 @@
- [Caribbean Quilt](/conversations/#caribbeanquilt)
- [Women On The Move](/conversations/#womenonthemove)

### Section 4: Making of
### Section 3: [Making of](/making)
<span class="info" style="display: none;">
<span class="code">↪ A series of essays from the makers on the research, methods, tools developed...</span>
</span>

web/content/section_2/active.md → web/content/hidden/active.md View File


web/content/section_2/expanding.md → web/content/hidden/expanding.md View File


web/content/section_2/intro-hidden.md → web/content/hidden/intro-hidden.md View File


web/content/section_2/leaking.md → web/content/hidden/leaking.md View File


web/content/section_2/resourceful.md → web/content/hidden/resourceful.md View File


web/content/section_2/secret.md → web/content/hidden/secret.md View File


web/content/section_2/working.md → web/content/hidden/working.md View File


web/content/section_3/I-Martha-gowans.md → web/content/section_2/I-Martha-gowans.md View File


+ 6
- 0
web/content/section_2/conversations.md View File

@@ -0,0 +1,6 @@
Some things are all over the patent archive but never made explicit. Off the record presents four artistic works that render these absent-present realities visible...

- [Sewing the archive](/conversations/#sewingthearchive)
- [I Martha Gowans](/conversations "links to conversations section")
- [Caribbean Quilt](/conversations/#caribbeanquilt)
- [Women On The Move](/conversations/#womenonthemove)

+ 5
- 0
web/content/section_3/making.md View File

@@ -0,0 +1,5 @@
A series of essays from the makers on the research, methods, tools developed...

- [Making of—a collective interview](/making/#interview "links to making-of section collective interview")
- [On making the search-engine book](/making/search-engine-book "links to making-of section on making search-engine book")
- [A note on interface design](/making/interface "links to making-of section on interface design")

web/content/section_4/on-combining-databases-and-books.md → web/content/section_3/on-combining-databases-and-books.md View File


web/content/section_4/on-interface-design.md → web/content/section_3/on-interface-design.md View File


Loading…
Cancel
Save