Wiki-to-print: Difference between revisions

From creative crowd wiki
Jump to navigation Jump to search
 
(33 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{#createpage:Pdf||Create publication environment|}}


__NOTOC__
__TOC__


== Network of wiki-publishing experiments ==
==About wiki-to-print==
Wiki-to-print is a collective publishing environment based on MediaWiki software<ref>https://www.mediawiki.org</ref>, Paged Media CSS<ref>https://www.w3.org/TR/css-page-3/</ref> techniques and the JavaScript library Paged.js<ref>https://pagedjs.org</ref>, which renders a preview of the PDF in the browser. Using wiki-to-print allows us to work shoulder-to-shoulder as collaborative writers, editors, designers, developers, in a non-linear publishing workflow where design and content unfolds at the same time, allowing the one to shape the other.


The code of the wiki-to-print instance that is running on the ''creative crowd'' server is published at [https://git.vvvvvvaria.org/varia/wiki-to-print Varia's Gitea] under the [https://constantvzw.org/wefts/cc4r.en.html CC4r] license.
Following the idea of "boilerplate code" which is written to be reused, we like to think of wiki-to-print as a boilerplate as well, instead of thinking of it as a product, platform or tool. The code that is running in the background is a version of previous ''wiki-printing'' instances, including:


This project is inspired by and builds upon several previous iterations of and experiments with mediawiki-to-pdf workflows:
* the work on the Diversions<ref>https://diversions.constantvzw.org</ref> publications by Constant<ref>https://constantvzw.org</ref> and OSP<ref>https://osp.kitchen</ref>
* the book Volumetric Regimes<ref>http://data-browser.net/db08.html + https://volumetricregimes.xyz</ref> by Possible Bodies<ref>https://possiblebodies.constantvzw.org</ref> and Manetta Berends<ref>https://manettaberends.nl</ref>
* TITiPI's<ref>http://titipi.org</ref> ''wiki-to-pdf'' environments<ref>https://titipi.org/wiki/index.php/Wiki-to-pdf</ref> by Martino Morandi
* Hackers and Designers'<ref>https://hackersanddesigners.nl</ref> version ''wiki2print''<ref>https://github.com/hackersanddesigners/wiki2print</ref> that was produced for the book Making Matters<ref>https://hackersanddesigners.nl/s/Publishing/p/Making_Matters._A_Vocabulary_of_Collective_Arts</ref>


* [https://hackersanddesigners.nl/ Hackers &amp; Designer]'s work on [https://wiki2print.hackersanddesigners.nl/wiki/Publishing:Making_Matters_Lexicon Making Matters]
So, wiki-to-print/wiki-to-pdf/wiki2print is not standalone, but part of a continuum of projects that see software as something to learn from, adapt, transform and change. You can find the code of the version that is running on this wiki here<ref>https://git.vvvvvvaria.org/CC/wiki-to-print</ref>.
* [http://titipi.org/ TITiPI]'s work on [http://titipi.org/wiki-to-pdf/unfold/Infrastructural_Interactions Infrastructural Interactions]
* [https://git.vvvvvvaria.org/mb Manetta]'s work on [https://volumetricregimes.xyz/index.php?title=Volumetric_Regimes Volumetric Regimes]
* [https://constantvzw.org/site/ Constant]'s and [https://osp.kitchen/ OSP]'s work on [https://diversions.constantvzw.org/wiki/index.php?title=Main_Page Diversions]
* [https://constantvzw.org/wefts/webpublications.en.html many more...]


==How does it work?==
This wiki-to-print is hosted at CC<ref>https://cc.vvvvvvaria.org</ref> (''creative crowds''). While moving from ''cloud'' to ''crowds'', CC is a thinking device for us how to hand over ways of working and share a space for publishing experiments with others.


When you create a page in the <code>Pdf</code> namespace, it will load the wiki2print buttons in the navigation bar:
<references />


* <code>CSS!</code>
==Create a wiki-to-print environment==
* <code>View HTML</code>
* <code>View PDF</code>
* <code>Update text</code>
* <code>Update Media</code>


==wiki-to-print environments==
<br>
{{#createpage:Pdf||create|}}
<br>


{{Special:AllPages/Pdf:}}
==Links to get started with==


==wiki-to-print log==
* [[Editing Guide]] (writing)
* [[How to work with wiki-to-print?]] (editing, layout making)
* [[How is wiki-to-print made?]] (developing)
* [[Running_wiki-to-print_on_the_server|How to run wiki-to-print on a server?]] (sysadmin)


See the issue tracker of the git repository: https://git.vvvvvvaria.org/varia/wiki-to-print/issues
==Wiki-to-print boilerplates==


==On the server==
* APRJA Boilerplate: [[APRJA Example Article|Example Article (5000 words)]], [[Pdf:APRJA Boilerplate|APRJA journal boilerplate]], [[PdfCSS:APRJA Boilerplate|CSS stylesheet]], [https://cc.vvvvvvaria.org/wiki-to-print/pdf/APRJA_Boilerplate PDF preview]


$ sudo service wiki2print status
==Created wiki-to-print environments==


$ sudo service wiki2print start
These are some wiki-to-print environments that have been used so far:
$ sudo service wiki2print stop
$ sudo service wiki2print restart


===For debugging===
{{Special:AllPages/Pdf:}}


You can find the files of wiki-to-print here:
==Publications made with wiki-to-print==


$ cd /var/www/wiki2print/web-interface/
* [[Toward a Minor Tech]] (2023)
* [[Content-Form|Content/Form]] (2024)


$ ls
==wiki-to-print log==
 
├── Makefile
├── __pycache__
├── api.py
├── plugins
├── readme.md
├── requirements.txt
├── static
├── templates
├── update.py
├── venv
└── web-interface.py
 
* <code>web-interface.py</code>: the flask application
* <code>api.py</code>: script with all the functions that are used by the flask application
 
You can run the flask application directly (instead of running it as a systemd service):


$ make server
See the issue tracker of the git repository: https://git.vvvvvvaria.org/CC/wiki-to-print/issues


If you add prints statements in the python files you can see the result in the terminal.
[[Category:Wiki-to-print]]

Latest revision as of 13:34, 25 September 2024

About wiki-to-print

Wiki-to-print is a collective publishing environment based on MediaWiki software[1], Paged Media CSS[2] techniques and the JavaScript library Paged.js[3], which renders a preview of the PDF in the browser. Using wiki-to-print allows us to work shoulder-to-shoulder as collaborative writers, editors, designers, developers, in a non-linear publishing workflow where design and content unfolds at the same time, allowing the one to shape the other.

Following the idea of "boilerplate code" which is written to be reused, we like to think of wiki-to-print as a boilerplate as well, instead of thinking of it as a product, platform or tool. The code that is running in the background is a version of previous wiki-printing instances, including:

  • the work on the Diversions[4] publications by Constant[5] and OSP[6]
  • the book Volumetric Regimes[7] by Possible Bodies[8] and Manetta Berends[9]
  • TITiPI's[10] wiki-to-pdf environments[11] by Martino Morandi
  • Hackers and Designers'[12] version wiki2print[13] that was produced for the book Making Matters[14]

So, wiki-to-print/wiki-to-pdf/wiki2print is not standalone, but part of a continuum of projects that see software as something to learn from, adapt, transform and change. You can find the code of the version that is running on this wiki here[15].

This wiki-to-print is hosted at CC[16] (creative crowds). While moving from cloud to crowds, CC is a thinking device for us how to hand over ways of working and share a space for publishing experiments with others.

Create a wiki-to-print environment


 


Links to get started with

Wiki-to-print boilerplates

Created wiki-to-print environments

These are some wiki-to-print environments that have been used so far:

Publications made with wiki-to-print

wiki-to-print log

See the issue tracker of the git repository: https://git.vvvvvvaria.org/CC/wiki-to-print/issues