User:Annasandri/prototyping

From XPUB & Lens-Based wiki
< User:Annasandri
Revision as of 16:32, 11 April 2020 by Annasandri (talk | contribs) (Created page with "=08/01/2020 Digital Zines #1= <p style="color:OliveDrab;font-family:monospace;font-size:18px;"> XXXXXXXXXXXXXXXXXXXXX <br> “Zine is an abstract framework, or way of thinking...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

08/01/2020 Digital Zines #1

XXXXXXXXXXXXXXXXXXXXX
“Zine is an abstract framework, or way of thinking, for designing certain classes of resilient “services”. It sacrifices real time communication to gain resiliency from distribution potential.” Non-realtime publishing for censorship resistance, BJÖRN EDSTRÖM
XXXXXXXXXXXXXXXXXXXXX

Commandline tools used

WGET/ to download elements existing online. We used it to download Homocore zine. "MOGRIFY/ to resize, blur , crop, flip (…) an image.
TESSERACT/ to OCR documents.
[OCR stands for Optical Character Recognition and it is used to convert different types of documents (like scanned paper documents) into a digital (and so into editable & searchable ) format. The program analyzes the structure of the document and divides the page into elements like blocks of texts, tables, images (…).The lines are divided into words and then - into characters. Once the characters have been singled out, the program compares them with a set of pattern images.]
tesseract filename.inputformat filename.outputformat If the output format is not specified it will be a txt file PDFUNITE/ to join PDFs. In our case it has been useful because of its ability of keeping the searchability of the documents already OCRed. pdfunite 01_01.pdf 01_02.pdf output.pdf

13/01/2020 Mediawiki as development archive and editorial space

Exploring the idea of using a wiki as a platform to start to build an archive.

MEDIAWIKI>SITE GENERATOR>STATIC WEBSITE

PREMISE:/ Static Websites & Dynamic Websites

STATIC WEB PAGESare simple and written in the HTML language and stored in web server. Whenever an server receives a request regarding a web page, it sends a response along with the requested web page to the client without performing any additional processing. In a static web page the content of the web page does not change depending on the request.
DYNAMIC WEB PAGES are behavioural and have the capacity to produce distinctive content for different visitors. (They are employed where the information changes very often such as stock prices, weather information ecc.). The page content may change according to the user.

[for dummies [pad]


22.01.2020 Digital zines #2

—>create platform/workflow w/command line

looking for a Markup language

Tim Berners Lee- Proposal

Management of general information https://www.w3.org/History/1989/proposal.html

ftp:// (protocol) tim.cern.ch (hostname) /research/essay.pdf (path)

Markdown

Markdown is a text-to-HTML conversion tool for web writers created by John Gruber (https://daringfireball.net/). It allows to write using an easy-to-read, easy-to-write plain text format, then convert it to structurally valid XHTML (or HTML).

// Interesting: the deveopement of Markdown also involved Aaron Swartz http://www.aaronsw.com/ documentary:https://www.youtube.com/watch?v=9vz06QO3UkQ&feature=youtu.be

*TRINITY SCHEME*

                              (HyperTextTransferProtocol=)HTTP———URL (=UniformResourceLocator)
                                                     |                  |
                                                        -HTML -
                                       (=HyperTextMarkupLanguage)

Tools

Pandoc

Pandoc https://pandoc.org/ is a command-line tool able to convert files from one markup format to another (like Markdown, HTML, Mediawiki).

pandoc --standalone --toc --from markdown --to html --css style.css name.md -o name.html

—f from —t to —s standalone document

[1]

03.02.2020

Semantically structured wiki/wikitohtml/python intro [pad:https://pad.xpub.nl/p/27-01-20]

10.02.2020 To query

Python queries

python3 query2html.py -c ‘File:+Title::+Part::+Date::+

to set a condiction that will include all the similiar names (on wiki interface): Creator:: ~ * name* (add tilde before the name) es. anna$ python3 query2html.py -c 'File:+Title::+Part::+Date::+Creator::Ang Pahayagang Malaya' note: the query will be delated so if it’s important save the query somewhere to see all the files without downloading them:add -d at the end

href in the html file: <a href="https:Template:Fullurl">

Git branches

to create a new branch: git branch <name_of_your_new_branch> to see branches: git branch to exit from a branch: git checkout namebranch to get last changes (master): git pull origin master

[pad: https://pad.xpub.nl/p/prototyping-2020-02-10]