| 1 | Table of Contents |
|---|
| 2 | Indico Installation Guide |
|---|
| 3 | |
|---|
| 4 | 1. Programs to Install prior |
|---|
| 5 | 2. Mod_python configuration |
|---|
| 6 | 3. Installation |
|---|
| 7 | |
|---|
| 8 | 3.1. Default Installation |
|---|
| 9 | 3.2. Custom Installation |
|---|
| 10 | 3.3. Running Indico |
|---|
| 11 | |
|---|
| 12 | 4. Reconfiguring after Installation |
|---|
| 13 | 5. Upgrading |
|---|
| 14 | 6. Explanation of the XML Configuration File 'config.xml' |
|---|
| 15 | |
|---|
| 16 | 6.1. Path Directories |
|---|
| 17 | 6.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters |
|---|
| 18 | 6.3. File Types and System Icons |
|---|
| 19 | |
|---|
| 20 | 7. Notes |
|---|
| 21 | |
|---|
| 22 | Indico Installation Guide |
|---|
| 23 | |
|---|
| 24 | CERN |
|---|
| 25 | |
|---|
| 26 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 27 | |
|---|
| 28 | Table of Contents |
|---|
| 29 | 1. Programs to Install prior |
|---|
| 30 | 2. Mod_python configuration |
|---|
| 31 | 3. Installation |
|---|
| 32 | |
|---|
| 33 | 3.1. Default Installation |
|---|
| 34 | 3.2. Custom Installation |
|---|
| 35 | 3.3. Running Indico |
|---|
| 36 | |
|---|
| 37 | 4. Reconfiguring after Installation |
|---|
| 38 | 5. Upgrading |
|---|
| 39 | 6. Explanation of the XML Configuration File 'config.xml' |
|---|
| 40 | |
|---|
| 41 | 6.1. Path Directories |
|---|
| 42 | 6.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters |
|---|
| 43 | 6.3. File Types and System Icons |
|---|
| 44 | |
|---|
| 45 | 7. Notes |
|---|
| 46 | |
|---|
| 47 | 1. Programs to Install prior |
|---|
| 48 | |
|---|
| 49 | 1. Python 2.4.4 (and above) http://python.org |
|---|
| 50 | 2. Apache HTTP Server 2.0 (and http://httpd.apache.org/download.cgi |
|---|
| 51 | above) |
|---|
| 52 | 3. ZODB 3.4 http://zope.org/Products/ZODB3.4 |
|---|
| 53 | 4. Reportlab 2.0 http://www.reportlab.org/downloads.html |
|---|
| 54 | 5. mod_python 3.3.1 (and above) http://httpd.apache.org/modules/ |
|---|
| 55 | python-download.cgi |
|---|
| 56 | 6. libxml and libxslt http://xmlsoft.org/python.html |
|---|
| 57 | 7. Python Imaging Library http://www.pythonware.net/storage/ |
|---|
| 58 | Imaging-1.1.4.tar.gz |
|---|
| 59 | 8. Pytz - Python Timezone http://sourceforge.net/projects/pytz |
|---|
| 60 | Library |
|---|
| 61 | 9. Python simplejson http://pypi.python.org/pypi/simplejson |
|---|
| 62 | |
|---|
| 63 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 64 | |
|---|
| 65 | 2. Mod_python configuration |
|---|
| 66 | |
|---|
| 67 | In the Apache config files (httpd.conf or apache2.conf) add the following: |
|---|
| 68 | |
|---|
| 69 | i. Add the "LoadModule" line to make Apache load mod_python. |
|---|
| 70 | |
|---|
| 71 | In Linux, the configuration files normally already has the following line: |
|---|
| 72 | |
|---|
| 73 | Include /etc/apache2/mods-enabled/*.load |
|---|
| 74 | Include /etc/apache2/mods-enabled/*.con |
|---|
| 75 | |
|---|
| 76 | If you have installed mod_python through a package, the file /etc/apache2/ |
|---|
| 77 | mods-enabled/mod_python.load will probably be already created with the |
|---|
| 78 | 'LoadModule' line inside it. In that case, you don't need to add anything. |
|---|
| 79 | Otherwise, see the instructions for Windows. |
|---|
| 80 | |
|---|
| 81 | In Windows, add the following line: |
|---|
| 82 | |
|---|
| 83 | LoadModule python_module modules/mod_python.so |
|---|
| 84 | |
|---|
| 85 | This assumes mod_python.so has been placed in the modules folder. |
|---|
| 86 | Otherwise, put the appropriate directory instead. |
|---|
| 87 | |
|---|
| 88 | For more information, see the mod python documentation |
|---|
| 89 | |
|---|
| 90 | ii. At the end of the Apache config file add: |
|---|
| 91 | |
|---|
| 92 | <Directory "C:/Program Files/Apache Group/Apache2/htdocs/MaKaC"> |
|---|
| 93 | AddHandler python-program .py |
|---|
| 94 | PythonHandler mod_python.publisher |
|---|
| 95 | PythonDebug On |
|---|
| 96 | </Directory> |
|---|
| 97 | |
|---|
| 98 | Adapt this to your own file system, e.g. If using Linux use <Directory "/ |
|---|
| 99 | soft/http/htdocs/MaKaC"> |
|---|
| 100 | |
|---|
| 101 | iii. Change the Apache config file so that Apache is aware of previous |
|---|
| 102 | directory. There are usually two ways of doing this: |
|---|
| 103 | |
|---|
| 104 | -Changing the DocumentRoot value. If you used "C:/Program Files/Apache |
|---|
| 105 | Group/Apache2/htdocs/MaKaC", a correct value of DocumentRoot would be "C:/ |
|---|
| 106 | Program Files/Apache Group/Apache2/htdocs", if you want Indico to show on |
|---|
| 107 | http://webserverhostname/MaKaC/index.py. |
|---|
| 108 | |
|---|
| 109 | For Linux a correct DocumentRoot value would be "/soft/http/htdocs". |
|---|
| 110 | |
|---|
| 111 | -Using the Alias directive by adding the following at the end of the |
|---|
| 112 | Apache configuration file: |
|---|
| 113 | |
|---|
| 114 | Alias /MaKaC "C:Program Files/Apache Group/Apache2/htdocs/MaKaC" |
|---|
| 115 | |
|---|
| 116 | or in Linux: |
|---|
| 117 | |
|---|
| 118 | Alias /MaKaC "/soft/http/htdocs/MaKaC" |
|---|
| 119 | |
|---|
| 120 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 121 | |
|---|
| 122 | 3. Installation |
|---|
| 123 | |
|---|
| 124 | After downloading and uncompressing the Indico distribution, you have 2 options |
|---|
| 125 | when running an installation: Default or Custom. |
|---|
| 126 | |
|---|
| 127 | Your uncompressed folder will be referred to as the 'Indico distributed |
|---|
| 128 | directory' throughout this document |
|---|
| 129 | |
|---|
| 130 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 131 | |
|---|
| 132 | 3.1. Default Installation |
|---|
| 133 | |
|---|
| 134 | To make a default installation, from the 'Indico distributed directory', run |
|---|
| 135 | the setup install script using |
|---|
| 136 | |
|---|
| 137 | "setup.py install" |
|---|
| 138 | |
|---|
| 139 | A default installation will install Indico onto your machine dependant on the |
|---|
| 140 | platform you are running. The default configuration for Indico is: |
|---|
| 141 | |
|---|
| 142 | i. Main Package Directory 'pkgdirectory' (Pythons site packages directory |
|---|
| 143 | name varies on version): |
|---|
| 144 | |
|---|
| 145 | Windows - C:\Python24\Lib\site-packages |
|---|
| 146 | Linux - /usr/local/lib/python2.4/site-packages |
|---|
| 147 | |
|---|
| 148 | (Templates Directory 'tpls' is defaulted to this directory with /MaKaC/ |
|---|
| 149 | webinterface/tpls at the end) |
|---|
| 150 | |
|---|
| 151 | ii. Apache Files Directory 'htdocs': |
|---|
| 152 | |
|---|
| 153 | Windows - C:\Program Files\Apache Group\Apache2\htdocs\MaKaC |
|---|
| 154 | Linux - /soft/http/htdocs/MaKaC |
|---|
| 155 | |
|---|
| 156 | (Images Directory 'images' is defaulted to this directory with /images at |
|---|
| 157 | the end |
|---|
| 158 | |
|---|
| 159 | iii. Archive Directory 'archive': |
|---|
| 160 | |
|---|
| 161 | Windows - C:\MaKaC\archive |
|---|
| 162 | Linux - /soft/MaKaC/archive |
|---|
| 163 | |
|---|
| 164 | iv. Temporary Directory 'temp': |
|---|
| 165 | |
|---|
| 166 | Windows - C:\MaKaC\temp |
|---|
| 167 | Linux - /soft/MaKaC/temp |
|---|
| 168 | |
|---|
| 169 | v. For All other parameters the default configurations are written in the XML |
|---|
| 170 | config file |
|---|
| 171 | |
|---|
| 172 | See Explanation of XML config file for more information on each path |
|---|
| 173 | |
|---|
| 174 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 175 | |
|---|
| 176 | 3.2. Custom Installation |
|---|
| 177 | |
|---|
| 178 | A custom Installation lets you change the directories and parameters of the |
|---|
| 179 | Indico installation, please read Explanation of XML config file, before |
|---|
| 180 | starting a custom installation this will explain what each parameter is, then |
|---|
| 181 | follow these steps: |
|---|
| 182 | |
|---|
| 183 | 1. From the 'Indico distributed directory', open the config.xml file into a |
|---|
| 184 | text editor |
|---|
| 185 | |
|---|
| 186 | 2. Edit the path names and parameters that you wish to change, save and close |
|---|
| 187 | the file |
|---|
| 188 | |
|---|
| 189 | 1. If you changed the "htdocs" path name you need to change the |
|---|
| 190 | <Directory> you added in the Apache config file to match your htdocs |
|---|
| 191 | path |
|---|
| 192 | |
|---|
| 193 | 2. If you changed the "pkgdirectory" path name you need to add to the |
|---|
| 194 | code you added in the Apache config file. Before the final </Directory> |
|---|
| 195 | tag you need to add: |
|---|
| 196 | |
|---|
| 197 | PythonPath "sys.path+['pkgdirectory']" |
|---|
| 198 | |
|---|
| 199 | Where pkgdirectory is the full path of your defined directory |
|---|
| 200 | |
|---|
| 201 | 3. If you changed the "dp_param" you may need to edit the 'address' |
|---|
| 202 | section in the config file for ZODB, for information on how to do this |
|---|
| 203 | visit: http://zope.org/Wikis/ZODB/HowtoRunAZEOServer/howto.html |
|---|
| 204 | |
|---|
| 205 | 3. From the 'Indico distributed directory', run the setup install script |
|---|
| 206 | using |
|---|
| 207 | |
|---|
| 208 | "setup.py install" |
|---|
| 209 | |
|---|
| 210 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 211 | |
|---|
| 212 | 3.3. Running Indico |
|---|
| 213 | |
|---|
| 214 | To run Indico: |
|---|
| 215 | |
|---|
| 216 | 1. Start the Database Daemon: You need to have the ZODB Database running in |
|---|
| 217 | order for InDiCo to work correctly. |
|---|
| 218 | |
|---|
| 219 | The database can be on your machine or running on a remote machine. The |
|---|
| 220 | ZODB database runs into a ZEO server. In order to have the server running, |
|---|
| 221 | you should locate the script "runzeo.py", which should be in the ZEO server |
|---|
| 222 | folder (/usr/lib/python2.4/site-packages/ZEO/ in Linux). |
|---|
| 223 | |
|---|
| 224 | Create a file called "zeo.config" with the following lines for a default |
|---|
| 225 | installation: |
|---|
| 226 | |
|---|
| 227 | <zeo> |
|---|
| 228 | address databasehostname:9675 |
|---|
| 229 | transaction-timeout 5 |
|---|
| 230 | </zeo> |
|---|
| 231 | <filestorage 1> |
|---|
| 232 | path /usr/lib/python2.4/site-packages/ZEO/data/data.fs |
|---|
| 233 | </filestorage> |
|---|
| 234 | |
|---|
| 235 | <eventlog> |
|---|
| 236 | <logfile> |
|---|
| 237 | path /usr/lib/python2.4/site-packages/ZEO/log/zeo.log |
|---|
| 238 | format %(asctime)s %(message)s |
|---|
| 239 | </logfile> |
|---|
| 240 | </eventlog> |
|---|
| 241 | |
|---|
| 242 | Please note that the host name of the database should be the same as the |
|---|
| 243 | one you put in config.xml file (see "Explanation of the XML Configuration |
|---|
| 244 | File 'config.xml' "). Of course you can change the <filestorage> and |
|---|
| 245 | <logfile> values to your convenience. |
|---|
| 246 | |
|---|
| 247 | After creating the file zeo.config, call the script runzeo.py with |
|---|
| 248 | |
|---|
| 249 | python runzeo.py -C zeo.config |
|---|
| 250 | |
|---|
| 251 | For more information, please see the "How to run a ZEO Server" (http:// |
|---|
| 252 | zope.org/Wikis/ZODB/HowtoRunAZEOServer/howto.html) for more information on |
|---|
| 253 | how to do this. |
|---|
| 254 | |
|---|
| 255 | 2. Start the Apache Server: You need to have the Apache server running for |
|---|
| 256 | Indico to work, for more information on starting the Apache Server visit: |
|---|
| 257 | |
|---|
| 258 | â¡ Using Apache with Microsoft Windows |
|---|
| 259 | |
|---|
| 260 | â¡ Starting Apache (For Linux). |
|---|
| 261 | |
|---|
| 262 | In Linux, you normally can do this by executing |
|---|
| 263 | |
|---|
| 264 | apache2ctl -k start/stop/restart/graceful |
|---|
| 265 | |
|---|
| 266 | as root. |
|---|
| 267 | |
|---|
| 268 | 3. In a web browser type your base URL followed by index.py. If you chose a |
|---|
| 269 | default installation or did not edit the URL base, this will be: |
|---|
| 270 | |
|---|
| 271 | http://webserverhostname/MaKaC/index.py |
|---|
| 272 | |
|---|
| 273 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 274 | |
|---|
| 275 | 4. Reconfiguring after Installation |
|---|
| 276 | |
|---|
| 277 | Once you have installed Indico you may need to change a path or parameter of |
|---|
| 278 | the configuration. This can be done by reconfiguring Indico. To do this: |
|---|
| 279 | |
|---|
| 280 | 1. From the 'common' folder inside your main package directory ('pkgdirectory/ |
|---|
| 281 | MaKaC/common'), open the config.xml file with a text editor. If a default |
|---|
| 282 | installation was chosen or "pkgdirectory" was not edited, this will be |
|---|
| 283 | located inside Python site-packages. Otherwise it will be inside the |
|---|
| 284 | "pkgdirectory" you specified when installing Indico. |
|---|
| 285 | |
|---|
| 286 | 2. Edit those parameters or paths that you wish to reconfigure, then save and |
|---|
| 287 | close the file. |
|---|
| 288 | |
|---|
| 289 | 3. From the current directory (MaKaC/common), run the reconfigure script |
|---|
| 290 | using |
|---|
| 291 | |
|---|
| 292 | "reconfigure.py run" |
|---|
| 293 | |
|---|
| 294 | 4. Restart the Apache Server. |
|---|
| 295 | |
|---|
| 296 | Your Indico Installation will now be reconfigured with your new settings. |
|---|
| 297 | |
|---|
| 298 | NOTE: You cannot reconfigure the main package directory, if you need to change |
|---|
| 299 | the main installation directory you can do so by either upgrading or |
|---|
| 300 | reinstalling Indico again. |
|---|
| 301 | |
|---|
| 302 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 303 | |
|---|
| 304 | 5. Upgrading |
|---|
| 305 | |
|---|
| 306 | Once you already have an installation of Indico you may need to install a newer |
|---|
| 307 | release. If you want to keep the same configurations as your previous |
|---|
| 308 | installation, you can upgrade your version. During the upgrading process, your |
|---|
| 309 | current settings will be read and you will be able to check if they are |
|---|
| 310 | correct. You can also edit the settings if you want the new release to be |
|---|
| 311 | configured differently. |
|---|
| 312 | |
|---|
| 313 | Once you have downloaded and uncompressed your Indico distribution you can |
|---|
| 314 | upgrade by: |
|---|
| 315 | |
|---|
| 316 | 1. From the 'Indico distributed directory' run the Upgrade script using: |
|---|
| 317 | |
|---|
| 318 | "setup.py upgrade" |
|---|
| 319 | |
|---|
| 320 | 1. You will then be asked to give the directory path of the MaKaC package |
|---|
| 321 | or to type 'default' if you did not specify the "pkgdirectory" on the |
|---|
| 322 | original installation. |
|---|
| 323 | |
|---|
| 324 | 2. Follow the instructions given. |
|---|
| 325 | |
|---|
| 326 | 2. From the 'Indico distributed directory' run the setup install script |
|---|
| 327 | using: |
|---|
| 328 | |
|---|
| 329 | "setup.py install" |
|---|
| 330 | |
|---|
| 331 | 3. Restart the Apache Server. |
|---|
| 332 | |
|---|
| 333 | Your upgraded Indico version will now be installed |
|---|
| 334 | |
|---|
| 335 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 336 | |
|---|
| 337 | 6. Explanation of the XML Configuration File 'config.xml' |
|---|
| 338 | |
|---|
| 339 | 6.1. Path Directories |
|---|
| 340 | |
|---|
| 341 | See Default Installation for the default configurations of these paths |
|---|
| 342 | |
|---|
| 343 | Numbered sections may not be in the same order in the actual config.xml file |
|---|
| 344 | |
|---|
| 345 | <!--Enter Path names in between the pathdir tags, e.g.<pathdir>c:\tmp</pathdir> |
|---|
| 346 | or leave blank for default--> |
|---|
| 347 | |
|---|
| 348 | <paths> |
|---|
| 349 | (1) <pathname>pkgdirectory</pathname> |
|---|
| 350 | <pathdir></pathdir> |
|---|
| 351 | </paths> |
|---|
| 352 | |
|---|
| 353 | <!--htdocs needs to be the same directory as where you set the modpython handler |
|---|
| 354 | (or blank)--> |
|---|
| 355 | <paths> |
|---|
| 356 | (2) <pathname>htdocs</pathname> |
|---|
| 357 | <pathdir></pathdir> |
|---|
| 358 | </paths> |
|---|
| 359 | |
|---|
| 360 | <paths> |
|---|
| 361 | (3) <pathname>archive</pathname> |
|---|
| 362 | <pathdir></pathdir> |
|---|
| 363 | </paths> |
|---|
| 364 | |
|---|
| 365 | <paths> |
|---|
| 366 | (4) <pathname>temp</pathname> |
|---|
| 367 | <pathdir></pathdir> |
|---|
| 368 | </paths> |
|---|
| 369 | |
|---|
| 370 | <paths> |
|---|
| 371 | (5) <pathname>tpls</pathname> |
|---|
| 372 | <pathdir></pathdir> |
|---|
| 373 | </paths> |
|---|
| 374 | |
|---|
| 375 | <paths> |
|---|
| 376 | (6) <pathname>ssheets</pathname> |
|---|
| 377 | <pathdir></pathdir> |
|---|
| 378 | </paths> |
|---|
| 379 | |
|---|
| 380 | |
|---|
| 381 | (1) The main package directory, this is where the main package files for the |
|---|
| 382 | Indico program will be put on you machine,this will be under a folder |
|---|
| 383 | called MaKaC. |
|---|
| 384 | (2) The htdocs directory, this directory holds the Apache-link files for the |
|---|
| 385 | webinterface. |
|---|
| 386 | (3) The archive directory, multimedia files attached to the conferences will be |
|---|
| 387 | stored in this directory. |
|---|
| 388 | (4) The temporary directory, files being uploaded and any other temporary files |
|---|
| 389 | will be stored into this directory, Note: This directory needs to have a |
|---|
| 390 | fair amount of space available. |
|---|
| 391 | (5) The templates directory, templates for the webinterface are kept in this |
|---|
| 392 | directory. |
|---|
| 393 | (6) The stylesheets directory, the stylesheets are stored in this directory |
|---|
| 394 | |
|---|
| 395 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 396 | |
|---|
| 397 | 6.2. Database, Access Rights, Url, Email, SMTP and OAI Parameters |
|---|
| 398 | |
|---|
| 399 | <!--Enter database parameters in between tags, e.g. <port>1234</port> |
|---|
| 400 | or leave as they are for default--> |
|---|
| 401 | |
|---|
| 402 | <db_param> |
|---|
| 403 | (1) <host>databasehostname</host> |
|---|
| 404 | (2) <port>9675</port> |
|---|
| 405 | </db_param> |
|---|
| 406 | |
|---|
| 407 | <!-- Enter user and group name for access rights on the Public Folder |
|---|
| 408 | (only applicable for linux installations)--> |
|---|
| 409 | |
|---|
| 410 | <access> |
|---|
| 411 | (3) <user></user> |
|---|
| 412 | (4) <group></group> |
|---|
| 413 | </access> |
|---|
| 414 | |
|---|
| 415 | <!--Enter url base in between tags, e.g. <url>http://webserverhostname/MaKaC</url> |
|---|
| 416 | or leave as it is for default--> |
|---|
| 417 | |
|---|
| 418 | |
|---|
| 419 | (5) <url>http://webserverhostname/MaKaC</url> |
|---|
| 420 | |
|---|
| 421 | <!--Enter support email in between tags, e.g. <email>indico-project@cern.ch</email> |
|---|
| 422 | or leave for default--> |
|---|
| 423 | |
|---|
| 424 | |
|---|
| 425 | (6) <email>indico-project@cern.ch</email> |
|---|
| 426 | |
|---|
| 427 | |
|---|
| 428 | <!--Enter SMTP Server to send Email or leave for default--> |
|---|
| 429 | |
|---|
| 430 | (7) <smtp>smtp.cern.ch</smtp> |
|---|
| 431 | |
|---|
| 432 | <!--OAI Parameters, leave for default --> |
|---|
| 433 | |
|---|
| 434 | (8) <OAI> |
|---|
| 435 | <logfile>/tmp/oailog.log</logfile> |
|---|
| 436 | <nb_record>100</nb_record> |
|---|
| 437 | <nb_ids>100</nb_ids> |
|---|
| 438 | <oai_rt_exp>90000</oai_rt_exp> |
|---|
| 439 | <namespace>eAgora.cern.ch</namespace> |
|---|
| 440 | <iconfNS>URL_base</iconfNS> |
|---|
| 441 | <iconfXSD>URL_base+"/iconf.xsd"</iconfXSD> |
|---|
| 442 | <reposName>eAgora</reposName> |
|---|
| 443 | <reposId>eAgora.cern.ch</reposId> |
|---|
| 444 | </OAI> |
|---|
| 445 | |
|---|
| 446 | |
|---|
| 447 | (1) The database host, this parameter holds the location of the host that the |
|---|
| 448 | database is stored on. |
|---|
| 449 | (2) The database port, this parameter holds the port number of which to contact |
|---|
| 450 | the database. |
|---|
| 451 | (3) The user for access, this parameter holds the user for which the public |
|---|
| 452 | folder will be given rights to. |
|---|
| 453 | (4) The group for access, this parameter holds the group for which the public |
|---|
| 454 | folder will be given rights to. |
|---|
| 455 | (5) The Base Url, the url from which Indico can be reached from a web browser. |
|---|
| 456 | (6) The support email, the email address for people to contact with support |
|---|
| 457 | issues. |
|---|
| 458 | (7) The smtp server, the server to allow emails to be sent out. |
|---|
| 459 | (8) The OAI parameters, these are for configuring the open archive interface. |
|---|
| 460 | |
|---|
| 461 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 462 | |
|---|
| 463 | 6.3. File Types and System Icons |
|---|
| 464 | |
|---|
| 465 | <!--Known file types--> |
|---|
| 466 | |
|---|
| 467 | (1) <FileType> |
|---|
| 468 | <type>DOC</type> |
|---|
| 469 | <name>Ms Word</name> |
|---|
| 470 | <loc>application/msword</loc> |
|---|
| 471 | <img>doc.gif</img> |
|---|
| 472 | </FileType> |
|---|
| 473 | |
|---|
| 474 | <!-- System Icons --> |
|---|
| 475 | |
|---|
| 476 | (2) <SysIcon> |
|---|
| 477 | <icon>modify</icon> |
|---|
| 478 | <pic>link.gif</pic> |
|---|
| 479 | </SysIcon> |
|---|
| 480 | |
|---|
| 481 | <!-- Stylesheets--> |
|---|
| 482 | |
|---|
| 483 | |
|---|
| 484 | (3) <event> |
|---|
| 485 | <eventname>simple_event</eventname> |
|---|
| 486 | <sheets> |
|---|
| 487 | <view>static</view> |
|---|
| 488 | <style>static</style> |
|---|
| 489 | </sheets> |
|---|
| 490 | </event> |
|---|
| 491 | |
|---|
| 492 | |
|---|
| 493 | <!-- Default Stylesheets --> |
|---|
| 494 | |
|---|
| 495 | (4) <defaultss> |
|---|
| 496 | <eventid>simple_event</eventid> |
|---|
| 497 | <sheet>lecture</sheet> |
|---|
| 498 | </defaultss> |
|---|
| 499 | |
|---|
| 500 | |
|---|
| 501 | (1) FileTypes, These specify the different file types and the name, location |
|---|
| 502 | and image associated with them that are available within Indico. |
|---|
| 503 | (2) System Icons, These specify the icon name and the image associated with |
|---|
| 504 | them. |
|---|
| 505 | (3) Stylesheets, These specify the stylesheets available for each event with |
|---|
| 506 | the event name, view and stylesheet. |
|---|
| 507 | (4) Default Stylesheets, These specify the default stylesheet for each event |
|---|
| 508 | with the event name and stylesheet. |
|---|
| 509 | |
|---|
| 510 | âââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââââ |
|---|
| 511 | |
|---|
| 512 | 7. Notes |
|---|
| 513 | |
|---|
| 514 | a. If you would like to check that the config.xml file is valid once you have |
|---|
| 515 | changed it there is a schema called config.xsd in the dist directory which |
|---|
| 516 | you may validate it with. To do this you can use |
|---|
| 517 | |
|---|
| 518 | http://apps.gotdotnet.com/xmltools/xsdvalidator/Default.aspx |
|---|
| 519 | |
|---|