##Coffee Script impress.js implementation with timer and vote extensions ##
This templates extends the article concept of https://github.com/mo-gr/wcig4d.git . Every presentation slide is treated as an article. The vote extension allows to collect listeners' opinions while presenting. The timer extension helps both the speaker and the audience to estimate the progress of the presentation.
In mo-gr's presentation concept every slide is an article. If you speak in terms of website presentation style an article may be a blog post. Using the term article as an abstract item name broadens the contexts in which you may use this template.
mo-gr's presentation lib is written in CoffeeScript. Thus, you need to compile it before you can use it:
$ coffee -c impress.coffee
By default, articles are optimized in slide format for Safari 5.1.4. They should also work in a recent Chrome, but probably make trouble on non-webkit browsers. More about CoffeeScript and mo-gr's presentation: visit https://github.com/mo-gr/wcig4d .
- checkout this repo
- run coffee -c js/impress.coffee
- adjust the path to the [module]_configuration.inc-file in the beginning of each php/[module]/[module].php you would like to use in your presentation. (feel free to implement a smarter solution for that and send me a pull request ;-)
- include your contents in index.html
- present, publish, whatever
Do step 3 for php/timer/timer.php
Every article, which shall be time limited, needs to contain the following:
[...]The default timeout for a time limited article can be manipulated in the first lines of js/timer.js (standard values is 60 sec). To define article specific timeouts just add a timeout attribute to the article tag:
[...]Do step 3 for php/vote/vote.php Do step 3 for php/auth/auth.php (Optional: do step 3 for php/initAuth/initAuth.php)
To be able to vote each person needs an account i.e. username-password-combination. This is managed through a file called auth.conf By default it is placed in a folder parallely to the www-root folder. You can change the path to the file in auth_configuration.inc. The file contains lines following the scheme "username password timestampOfPasswordCreation". The auth module is a backend module. The standard module just reads the file, so you can write it manually for your presentation in advance or you can let it be generated by your own module. The initAuth module shows how that may be realized through an LDAP-based Active Directory request.
To add a voting section to an article just add the class name withvoting. The vote.js does the rest for you.
[...]