Apache::lonpublisher - Publication Handler
Invoked by /etc/httpd/conf/srm.conf:
<Location /adm/publish> PerlAccessHandler Apache::lonacc SetHandler perl-script PerlHandler Apache::lonpublisher ErrorDocument 403 /adm/login ErrorDocument 404 /adm/notfound.html ErrorDocument 406 /adm/unauthorized.html ErrorDocument 500 /adm/errorhandler </Location>
This module publishes a file. This involves gathering metadata, versioning the file, copying file from construction space to publication space, and copying metadata from construction space to publication space.
This is part of the LearningOnline Network with CAPA project described at http://www.lon-capa.org.
This routine is called by Apache and mod_perl.
metaeval()
: Evaluate string with metadata
metaread()
: Read a metadata file
sqltime()
: convert 'time' format into a datetime sql format
textfield()
: form field
hiddenfield()
: form field
selectbox()
: form field
urlfixup()
: fixup URL (Publication Step One)
publish()
: publish (Publication Step One)
phasetwo()
: render second interface showing status of publication steps
(Publication Step Two)