Hypertext

Intro

Hyperdocument

Hyperbrowsing

Machine connections

Connection exercise

React

Recap

Loading data

Outro

Hypertext

Welcome!


Intro

Plan for the day:


Readings presentation by Hong



The prefix hyper comes from beyond rather than extra.


The web did not create the hyperlink, but popularized it.

The web is made up of hyper-text, and hyper-links based on hyper-references.


But the dream of connecting knowldege has been long in the making

Mundaneum by Paul Otlet and Henri Lafontaine in 1890s
Mundaneum by Paul Otlet and Henri Lafontaine in 1890s

The panthoteca is the device which allows to the browsing of such text
The panthoteca is the device which allows to the browsing of such text


The first digital version of hyper-text is Project Xanadu.

Ted Nelson's Project Xanadu, 1960
Ted Nelson's Project Xanadu, 1960
.


So we move from single texts to networks of texts,

from intratextuality to intertextuality.

diagram.website


Hyperdocument


Connected art documents: ArtLinks


A hyperdocument requires some categories:

This is at the root of the Semantic Web

<div vocab="https://schema.org/" typeof="Person">
  <span property="name">Paul Schuster</span> was born in
  <span property="birthPlace" typeof="Place" href="https://www.wikidata.org/entity/Q1731">
    <span property="name">Dresden</span>.
  </span>
</div>

Categories are then connected by relations:


With these relations and entities, an external structure can happen, through the gestalt effect.

Gestalt effect
Gestalt effect


Hyperbrowsing

what are pros and cons of multidirectional readings vs. linear reading?


The process of dérive involves unexpected associations.


Machine connections


API are how machines and humans can communicate between each other in a more systematic way.

humans: soundcloud.com

machines: api-v2.soundcloud.com


APIs allow for a more systematic organization (organize first, then navigate)


europeana is an API-based online museum.


Two ways to lind data, but different directions:

<- -> centrifugal: hyperlinks navigate away from the page

-> <- centripetal: APIs bring data into the page


Connection exercise


it's up to you the kind of relations you choose and the kind of structure you suggest.


React


Recap


What are routes?

What are props?


Routes are ways in which we decide which components get displayed based on the URL path.

Props are pieces of data that we give to a component.

export default SingleReview({title, text}) {
    return (
        <div>
            <h1>{title}</h1>
            <p>{text}</p>
        </div>
    )
}
import {SingleReview} from "./SingleReview.jsx"

export default AllReviews() {
    return(
        <div>
            <SingleReview title={"Augmenting"} summary={"I thought this was interesting, but a bit utopian"}/>
            <SingleReview title={"Culture"} summary={"Museums do not have a monopoly on culture"} />
        </div>
    )
}

Loading data


Content can be further separated from form.

  1. We structure data into a JSON object
  2. We import it into a JSX file
  3. We display it as we want

JSON is a way to structure data in key: value pairs

{
    "key": "value"
}
{
    "all_stories": [
        {
            "title": "once upon a time",
            "summary": "this is a story that starts very traditionally"
        },
        {
            "title": "antigone",
            "summary": "choose between what you think is moral and what is legal"
        }
    ]
}

Import it:

import stories from "./stories.json"

Do something with each story:

stories.map(function(story) {
    return(
{story.title}
) })

Exercise


Outro


Hyperlinks is perhaps the most unique aspect of the Web, and helps us reconsider how knowledge can be structured


Homework:

Next week we will discuss details about the final project.