a) HOW TO INSTALL THE MYANNOTATION CLIENT
The MyAnnotation client is an Bookmarklet, you need an webbrowser able to compute bookmarklets.
You need to allow javascript inside your browser to use the Bookmarklet!
If you want to setup the server component you can skip this part.
If you only want to install the client:
- Create a Bookmark in your webbrowser
- Make it point to pcai042.informatik.uni-leipzig.de/~swp12-9/scripts/annotator.min.js
- You are ready to annotate sites.
b) HOW TO INSTALL THE MYANNOTATION SERVER
The MyAnnotation server is stored in the /server folder.
To install it:
- Copy all folders, keeping the directory structure, into your webservers directory to make it accessible.
- Edit file config/config.inc.php
- Insert the path to the file you wish the server to write the log to
- Insert username, password and database name for your MySQL database, so the server can save contents for fragmentlinks.
- If you wish to test the server, you can also turn debug mode on or off. When active, this will make debug messages appear
at the end of parsed webpages.
- Save config file.
- Edit file scripts/annotator.min.js
- Replace the variable server_url from "pcai042.informatik.uni-leipzig.de/~swp12-9" to your path to the installation.
- Let your users create a bookmarklet (see section a) ) pointing to the annotator.min.js file in your webserver.
If you own "www.annotator.org" and stored all folders in "/annotation-service", then the path for the bookmarklet would be
"www.annotator.org/annotation-service/scripts/annotator.min.js"
- Your server should now be ready to handle annotation-requests!
c) SERVER REQUIREMENTS
To use the MyAnnotation server, you need
- apache 2.4 or higher
- an PHP server running v5.2 or higher
- PHP packages php-curl, php-sessions, php-json and php-mysql
- an MySQL5 Database