Book prototype
http://pad.constantvzw.org/p/mondotheque.radiatedbook

Git rep: https://gitlab.com/Mondotheque/RadiatedBook
Budget: https://framacalc.org/radiatedbook
To-do-list: http://pad.constantvzw.org/p/mondotheque.to-do-list
Files (book.pdf) http://www.mondotheque.be/files/
CSS http://pad.constantvzw.org/p/mondotheque.radiatedbook.css

Finalizing Book for Printer - 2 August
IRC: mondotheque @ freenode

git pull 
get latest CSS(pad): ./getpadcss.sh
get latest content: make download 

PDF:
http://www.mondotheque.be/files/book_2Aug.pdf

Cover:
Will it be submitted as part of book.pdf or as a seperate file?
Why no use the person mask images as the background?


DESIGN BUG CRUSHING DAY - 29 April 
QUESTIONS
*Images gallery: wich order? chronologically, Person: alphabeticly?... [FS will test on Monday]

OUTCOMES:
*Ouput of the day http://www.mondotheque.be/wiki/images/6/61/Book.pdf
*with main issues with articles with large images: A bag of works, Experimental transcript, 
*but also so happy accidents http://www.mondotheque.be/wiki/images/6/6c/Book-accidents.png that would be fun to keep or replicate
*Andre branched to prototype pages with  images: for Bag of Words, Experimental Transcript, 
*http://www.mondotheque.be/wiki/images/a/a5/Book-prototyp-imgs.pdf 

TASKS:
* metadata table @Andre
*HIDE FOR NOW
*remove from metapages (Index, Property:Person, Preface )
*RM FROM SCRIPTS
*test to put them into the CSS margins boxes?

*Page layout @Andre
*TEXT LAYOUT w/out SIDE DIV (hide)
*Footnotes: @Alexia
*move back to bottom, smaller font-size, body font-family
*References: prototype style - close to text, small, with content inside
*MAKE STABLE 
*reduce print margin size
*div.side becomes part of text
*position within text changes (randomly: JS)
*After stable
*when images or notes exist. these are moved to right page, right side.
*(have the center content as we wide as we wish)
*wrapped images
*hide metadata tables, transclusions, until articles layout is fine
*transclusions?
*wider text

*CSS PRINT (Alexia)
*Take out the first page numbering
*Chapter titles on each page
*Positions of the page number, book title, chapter title... into the margins
*Insert meta data into margin boxes?
*Typography
*make test with Fons (Alexia)
*does not have certain characters ?
*small font-sizes are not rendered???
*italics: used for quotes - use other "style" instead
*Images 
*img size: inside and outside gallaries li.
*Transclusion
*div.side - integrate it in the text. Avoid its 
*add "Source:" to  div.side child:a 
*Pages
*First page of each article on the right page
*Property:Person @Andre
* narrow image collumn needs to turn to 2 collumns
*images padding to great
*An experimental transcript
*long titles are cut - ??
*Index Traite de documentation (Alexia)
*images (double)
*Tranclusion style (changing yellow into something else)
*Les Utopistes
*tables: with lines, wider - make it redable  
*House, City
*needs attention to the table
*Itenerant Archive
*different register need different style
*maps?? Once they are back use phantomjs to get them.
*Disambiguation: 
*wider images

INDEX OPTIONS:
    *limit to the first 3 results per category, with "further results"?
    

script from Stephanie
 while :; do sleep 1; curl https://framapad.org/p/NOM_DE_VOTRE_PAD > index.html ; done
   

#!/bin/sh                                                
                                                         
while :                                                  
do                                                       
sleep 1;                                                 
curl http://pad.constantvzw.org/p/mondotheque.radiatedbook.css/export/txt > pad.css                              
done;                                                    
                                                         
######
Paste on file, the same folder as book.html
Make executable: chmod +x
Run: ./script.sh


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

TASKS
*Gathering content - via API and python script
*Pages from Category:Publication - collected
*memberpages from Category:Publication : [u'Introduction', u'Location, location, location', 
*u'The Smart City - City of Knowledge', u'X = Y', u'An experimental transcript', u'A bag but is language nothing of words', u'Amateur Librarian - A Course in Critical Pedagogy', u'Appearance', u'A Pre-emptive History of the Google Cultural Institute', u'The radiated interview', u'The Indexalist', u'Property:Person', u'A Book of the Web', u'Les Pyramides', u'Madame C', u'House, City, World, Nation, Globe', u'Colophon', u'About the authors', u'Category:Index Trait\xe9 de documentation']
*Extra page: Property:Person http://www.mondotheque.be/wiki/index.php/Property:Person
*example of one entry with property person  
*Extra page: Disambiguation?
*temp: http://www.mondotheque.be/wiki/index.php/Special:Disambiguation
*https://gerrit.wikimedia.org/r/#/c/230799/1 added this change to allow rendering of special pages
*maps
*(un)rendered SMW results from ask from API

RECODING WORKFLOW BASED ON index.php 
*gathering pages and page titles under  category:Publication -> mwclient (api.php)
*download the pages from using index.php&action=render
*manipulate the html pages to:

raw (rendered) wiki pages - url 
*php?action=render returns the parsed HTML source of the page without any surrounding skin, like in the examples:
*http://www.mondotheque.be/wiki/index.php?action=render&title=Les_Pyramides
*http://www.mondotheque.be/wiki/index.php?title=Madame_C&action=render
*http://www.mondotheque.be/wiki/index.php?title=Category:Index_Traité_de_documentation&action=render
*http://www.mondotheque.be/wiki/index.php?title=Table_syst%C3%A9matique_des_mati%C3%A8res&action=render
*http://www.mondotheque.be/wiki/index.php?title=The%20radiated%20book&action=render
 non-rendered (which means rendered) 
* http://www.mondotheque.be/wiki/index.php?title=Special:Disambiguation&action=render :)
 
API calls 
*http://www.mondotheque.be/wiki/api.php?format=json&action=query&titles=Main_Page
*
*For more on the parameters to index.php view https://www.mediawiki.org/wiki/Manual:Parameters
*
Note: currently we'll disregard all necessary changes/insertions onto the html files and proceed to produce the pcd 


Query Person:
{{#ask:
[[person::+]]
[[File:+]]

|?#
|?Person
|format=ul|limit=500|link=all|headers=show|searchlabel=... further results|sep=,|columns=1}}

Query list of persons (via search of property)
http://www.mondotheque.be/wiki/index.php?title=Special:SearchByProperty&limit=500&offset=0&property=Person&value=

------------------

chapter_title
title
author
body
link
footnote
image
image_caption
table