💾 Archived View for jb55.com › ward.asia.wiki.org › growing-regions-as-hypertext captured on 2021-12-05 at 23:47:19. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2021-12-04)

-=-=-=-=-=-=-

Growing Regions as Hypertext

We resume our work with Cities Alive only now with a more concrete model for what the hypertext should look like. See Cities Alive as Hypertext

Cities Alive as Hypertext

Codes

We start with the ebook format converted to html. We expect to use class tags on various elements to guide our conversion. First we write a function that tallies classes.

For <div>

Photo-bw _idGenObjectStyleOverride-2: 59 Photo-small: 35 Photo-small-wide: 21 _idFootnote: 11 _idFootnotes: 1 _idGenObjectLayout-1: 116 _idGenObjectStyleOverride-1: 3

For <p>

Body_-----: 102 Body_Solution: 111 Body_Therefore: 57 Body_body-italic: 9 Body_body-text: 283 Body_body-text ParaOverride-1: 10 Body_body-text ParaOverride-2: 1 Body_body-text ParaOverride-4: 1 Body_body-text ParaOverride-5: 5 Body_body-text ParaOverride-6: 1 Body_body-text ParaOverride-7: 1 Body_body-text ParaOverride-8: 10 Body_body-text ParaOverride-10: 1 Body_body-text ParaOverride-12: 1 Body_body-text _idGenParaOverride-1: 2 Body_body-title: 6 Body_footnote: 10 Body_upward-tekst: 47 Body_upward-tekst ParaOverride-1: 6 Body_upward-tekst ParaOverride-5: 1 Body_upward-tekst ParaOverride-11: 1 Images_Caption: 60 Images_Caption ParaOverride-1: 1 Images_Pattern-photo: 1 TOC_TOC-1: 15 TOC_TOC-2: 59 Titles_Chapter-title: 60 Titles_Section-title: 15 null: 1

Download

I test javascript in the debug console but eventually put what works in a single file which I add to the html that I am translating. github

github

I write code to create a whole new site as a single object, slug ⇒ page, which I download idiomatically.

This appears as a download notice below the footer of the browser from where it can be dragged to a wiki to be examined by the import mechanism.

Links

We've found inconsistent naming of patterns cause more than half links not resolve. We find localized diagrams help debug these problems. Notice the varying degrees of linking within vs. between locales.

Construction Patterns within locale.

Construction Patterns

Geometric Patterns mixed.

Geometric Patterns

Retrofit Patterns between locales.

Retrofit Patterns

This diagrams have been sufficiently useful already that I want to make them fully automatic. After some discussion I came to a proposal. See Extract Site to Dot

Extract Site to Dot

Try another Growing Regions as Hypertext. Is it faster having already loaded vis.js?

Growing Regions as Hypertext

To Do

Convert image names to include pattern's slug.

Add fork and delete to Asset plugin.

Correct handling of title case for "as" and "AV".

Remove page references.

Remove ... and adjust capitalization accordingly.

Add DOT constructor markup to Graphviz plugin.

Fractured link in Walkable Streetscape. wiki

wiki