Distilled is the support system for wikiedge.org which achieve the everyday changes on the Mainpage of Chinese Wikipedia and then remix related content into a magazine.
Distilled is composed by:
Please follow below steps:
git clone git://github.com/mountain/distilled.gitto clone repository
./bin/magazine -c center -p dyk -b black
The parameters of dump.js should be changed according to your choice of the cover style of the magazine. See belwo section for details.
Run the command "node scripts/dump.js --help", it will give you some hints.
-c, --cover [TEXT] full|center|north|west -p, --photo [TEXT] feature|featurepic|good|itn|otd|dyk|XXXX.ext -b, --bg [TEXT] aqua|black|blue|fuchsia|gray|green|lime|maroon|....
The above three command options are the most important.
The "-c" option gives the cover style which is one of full, center, north, west.
The "-p" option gives the photo of the magazine, you can set it to the file name of a photo or one section name on the Wikipedia Mainpage.
The "-b" option gives the background color of the magazine.