Compile Yochai Benkler's The Wealth of Networks
This is the collection of scripts and images and CSS themes that generate an HTML version of Yochai Benkler's The Wealth of Networks.
- Unpack the archive:
- In Linux/Unix/MacOS:
sh> tar -zxvf wealthofnetworks.tar.bz2
Invoke the script:
C:\> cd wherever\you\put\it\
wherever\> cd wealthofnetworks
freeculture\> perl strip-wealth.pl; perl libreria.pl
Use the Run Dialog:
Copy the Images:
Finally you must copy all the image files in images-benkler/ into The_Wealth_of_Networks/images/ (otherwise, your webbrowser will not know where to find the images ;)
Note: Windows users will need to install Perl if they have not already done it. Perl is installed by default on real OSes.
- Perl Scripts:
This is the main script. It separates the chapters and sections of the book and formats the book in nice HTML.
This runs before the rest of the book processing and strips the text file of certain regularly occurring anomolies.
- Text Files:
This is a somewhat hand edited output from
pdftotext run on the PDF of the book.
This is the version produced by strip-wealth.pl. If you are going to edit the text, Benkler_Wealth_Of_Networks.txt is the one to use as this file will be overwritten when strip-wealth.pl is executed.
- HTML Files:
This is the header file which will be copied to all web pages generated by make-freeculture.pl. Edit this for global header changes.
This is the footer file which will be copied to all web pages generated by make-freeculture.pl. Edit this for global footer changes.
These are a bunch of random themes I made to test the script. They can obviously be changed. Make sure to add them to the header and footer files, though.