Child pages
  • Server Scripts

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Location:

/var/www/cgi-bin/

Language:

Perl

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="4b3df50050df6784-f5450874-45c8429c-90388871-bb516aaef1477d91ec66592c"><ac:plain-text-body><![CDATA[

Usage:

viewStats.cgi?[current][year=yyyy][month=Mmm][day=dd][location=In+Music+Library|On+Campus|Off+Campus|Totals][view=yearly|monthly|daily]

]]></ac:plain-text-body></ac:structured-macro>

When to run:

Whenever an administrator wants to view statistics

Notes:

For this script to work the filepath directory should be linked into an apache viewable directory that is specified with urlpath.
This script now displays both UI and Darwin statistics.

Changes to make for test sites:

Line 28: filepath - filesystem path to statistics files generated by generateStats.pl and generateQTStats.pl
Line 29: v2URL - url of access page rendering script
Line 30: urlPath - url where comma delimited files and generated images can be found
Line 31: homepage - url of statistics about page
Line 282: CSS link is specified as urlPath/dml1.css

...

Location:

/var/www/cgi-bin/

Language:

Perl

Usage:

access.pl?id=notisSyleID

When to run:

When a link is clicked on from a catalog page or from another source

Notes:

Depends on access.xsl and score-access.xsl which have entries below as well as access.css and v2-logo.jpg.
This script depends on Notis style identifiers.

Changes to make for test sites:  

Line 27: audio_access_dir - filesystem directory where audio access pages are stored
Line 28: score_access_dir - filesystem directory where score access pages are stored
Line 29: audio_xsl_file - path to audio access xslt file
Line 30: score_xsl_file - path to score access xslt file

access.xsl

Location:

/home/content/access/

Language:

XSLT

Usage:

 

When to run:

When called by access.pl for rendering an audio access page

Notes:

 

Changes to make for test sites:

 

...

Location:

/home/dmlserv/dml/bin/

Language:

sh calling Java

<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="a67e106a181890f6-ab75641f-4b7146e4-8022af21-ad5f63021bb592261f146ded"><ac:plain-text-body><![CDATA[

Usage:

generateAccessPage.sh service_name [variationsID | variationsID_file] out_directory

]]></ac:plain-text-body></ac:structured-macro>

When to run:

Whenever a new Container is created or updated (not currently setup)

Notes:

Calls v2run on edu.indiana.dml.util.AccessPageGenerator.
variationsIDs (notis-style) passed to this script must be for Containers

Changes to make for test sites: