You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# MMD&C Graduation Website CMS: from Mediawiki to HTML
|
|
|
|
|
|
|
|
## Depencies
|
|
|
|
* Pandoc
|
|
|
|
* Python libraries: html5lib, mwclient,
|
|
|
|
|
|
|
|
## Run
|
|
|
|
Update the website with graduation from work from a particular year, by running:
|
|
|
|
`python mmdc_wiki2web.py --category Graduation_work 2015`
|
|
|
|
|
|
|
|
Or index all the gaduation works:
|
|
|
|
`python mmdc_wiki2web.py --category Graduation_work`
|
|
|
|
|
|
|
|
|
|
|
|
## Thumbnails
|
|
|
|
thumbnails in work pages are hidden. this can be changed.
|
|
|
|
|
|
|
|
style_projectpage.css:
|
|
|
|
|
|
|
|
`#thumnail {
|
|
|
|
display: none;
|
|
|
|
}`
|
|
|
|
|
|
|
|
|
|
|
|
## To Do
|
|
|
|
* add auxiliar JSON creation
|
|
|
|
* replace direct API calls for mw library
|
|
|
|
|
|
|
|
|
|
|
|
|