PDA Full Site

Menu
Downloads | Project News | Project Page | Screen Shots | Demo Library | Docs | Background | Philosophy | Contact




Compile Yochai Benkler's The Wealth of Networks
wealthofnetworks.tar.bz2
This is the collection of scripts and images and CSS themes that generate an HTML version of Yochai Benkler's The Wealth of Networks.
Usage:
  1. Unpack the archive:

    • In Linux/Unix/MacOS:
    • Type:
      sh> tar -zxvf wealthofnetworks.tar.bz2
    • In Windows:
    • Use WinZip

  2. Invoke the script:

    • In Linux/Unix/MacOS:
    • Type:
      sh> cd wealthofnetworks
      sh> perl strip-wealth.pl; perl libreria.pl
    • In Windows:
      • Use the terminal:
      • Type:
        1. C:\> cd wherever\you\put\it\
        2. wherever\> cd wealthofnetworks
        3. freeculture\> perl strip-wealth.pl; perl libreria.pl

        OR

      • Use the Run Dialog:
      • perl C:/wherever/wealthofnetworks/strip-wealth.pl
        perl C:/wherever/wealthofnetworks/libreria.pl
  3. 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.

libreria-sums.txt
Archive Contents:
  • Perl Scripts:

    • libreria.pl:
    • This is the main script. It separates the chapters and sections of the book and formats the book in nice HTML.

    • strip-wealth.pl:
    • This runs before the rest of the book processing and strips the text file of certain regularly occurring anomolies.



  • Text Files:

    • Benkler_Wealth_Of_Networks.txt:
    • This is a somewhat hand edited output from pdftotext run on the PDF of the book.

    • Benkler_Wealth_Of_Networks-stripped.txt:
    • 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:

    • header-freeculture.html:
    • This is the header file which will be copied to all web pages generated by make-freeculture.pl. Edit this for global header changes.

    • footer.html:
    • This is the footer file which will be copied to all web pages generated by make-freeculture.pl. Edit this for global footer changes.

    • themes/*.css:

    • 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.
libreria-sums.txt








This site was generated with a derivative of the LIBREria script.
It was last updated on 2007:07:18.

Creative Commons License
This website and all works within it (except for the scripts themselves) are licensed under a
Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.