Index: gs3-extensions/mat/trunk/FAQ.txt
===================================================================
--- gs3-extensions/mat/trunk/FAQ.txt (revision 23971)
+++ (revision )
@@ -1,58 +1,0 @@
-1. Metadata Analysis Tool (Java application)
-
-1-1 Please select "local Collection Analysis" and press the "Analyse" button.
-
-1-2 Select a collection you want to analyse it.
-
-If there is no collection available, please use GLI to create a collection and try this function again.
-
-If you cannot launch Metadata Analysis Tool, please remove the gs2mgdemo from
-"root/web/sites/localsite/collect".
-
-
-The problem looks like this:
-"#
-# An unexpected error has been detected by Java Runtime Environment:
-#
-# SIGSEGV (0xb) at pc=0x53e58955, pid=31921, tid=3086052240
-#
-# Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode linux-x86)
-"
-
-2. Metadata Analysis Tool (web service)
-Root is the location of Greenstone folder.
-ex: Windows: C:\Program files\Greenstone
-ex: Linux: /home/Greenstone
-
-
-2-1 Please rename the root/ext/mat/web-mat.xml to web.xml and copy it to the root/web/WEB-INF folder.
- You might want to backup the original web.xml.
-
-2-2 Copy the gsdl3_extension folder (path: root/ext/mat/build/classes/org/greenstone/gsdl3_extension) to
- greenstone folder (path: root/web/WEB-INF/classes/org/greenstone)
-
-Now, the path should be root/web/WEB-INF/classes/org/greenstone/gsdl3_extension/mat/servlet
-
-Inside the servlet folder, you will see many class files.
-
-2-3 Please run the command "ant deploy-localsite" in the console.
-
-2-4 Then, you can start the server and use the web service.
-
-The web service is available at http://localhost:8080/greenstone3/mat.
-Please make sure that there is no slash at the end of this URL.
-ex: http://localhost:8080/greenstone3/mat/ is incorrect and you will not be able to access the service.
-
-Notice: If you use any proxy servers, please open the properties.xml and enter the property settings.
-
-Troubleshooting
-
-1. Why my web service cannot analyse the OAI repository ( Message: GDBM could not be open)?
-Please use the GLI to create a sample collection and make sure that the Greenstone can build it correctly.
-If the Greenstone cannot build the collection correctly. Please report the error to http://www.greenstone.org/.
-
-2. My computer cannot recognise the "Ant" command?
-You will need to setup the ant path and run the command in the greenstone root folder.
-
-
-
Index: gs3-extensions/mat/trunk/Mat.bat
===================================================================
--- gs3-extensions/mat/trunk/Mat.bat (revision 23971)
+++ (revision )
@@ -1,4 +1,0 @@
-SET gsdlhome=..\..
-SET libraryPath=..\..\lib\jni
-SET classpath= build\classes;%gsdlhome%\web\WEB-INF\lib\cp.jar;%gsdlhome%\web\WEB-INF\classes;%gsdlhome%\lib\jni\cp.jar;lib\jfreechart.jar;lib\jcommon.jar
-java -Djava.library.path=%libraryPath% -Djava.ext.dirs="lib;." -classpath %classpath% org.greenstone.mat.CollectionChooser
Index: gs3-extensions/mat/trunk/Mat.sh
===================================================================
--- gs3-extensions/mat/trunk/Mat.sh (revision 23971)
+++ (revision )
@@ -1,37 +1,0 @@
-check_Java_library(){
-
-if [ -d "$3" ]; then
- echo "The environment has been configured correctly."
- echo "Metadata Quality Analysis Tool is starting now......."
-else
- echo "Sorry. The environment has not configured correctly."
- echo "Please use the ant command to setup the enviroment"
- exit 1
-fi
-}
-
-thisdir=`pwd`
-
-gsdlpath=`(cd ../.. && pwd)`
-
-jnidir=$gsdlpath/lib/jni
-
-extdirs=$thisdir/lib
-
-classesdir=$thisdir/build/classes:$gsdlpath/web/WEB-INF/lib/cp.jar:$gsdlpath/web/WEB-INF/classes:$gsdlpath/lib/jni/cp.jar:lib/jfreechart.jar:lib/jcommon.jar
-
-echo "Metadata Quality Analysis Tool" $thisdir
-echo "Check Java Library"
-
-check_Java_library $thisdir $jnidir $extdirs $classesdir
-
-
-if [ "x$1" = "x" ] ; then
-java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs:. -classpath $classesdir org.greenstone.mat.CollectionChooser
-
-else
-java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs:. -classpath $classesdir org.greenstone.mat.CollectionChooser $1
-fi
-
-#java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs -classpath $classesdir org.greenstone.gsdl3_extension.mat.CollectionChooser
-
Index: gs3-extensions/mat/trunk/README.txt
===================================================================
--- gs3-extensions/mat/trunk/README.txt (revision 23971)
+++ (revision )
@@ -1,18 +1,0 @@
-In order to enable the mat extension, please do the following steps
-
-Step 1. Please insert the following to into
-web@xml@path.
-
-
-mat
-mat
-org.greenstone.mat.servlet.MatServlet
-
-
-
-mat
-/analyse
-
-
-Step 2. Restart the Greenstone server.
-
Index: gs3-extensions/mat/trunk/build.xml
===================================================================
--- gs3-extensions/mat/trunk/build.xml (revision 23971)
+++ (revision )
@@ -1,207 +1,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- mat
- Metadata Analysis Tool
- org.greenstone.mat.servlet.MatServlet
-
- ]]>
-
-
-
- mat
- /mat
-
- ]]>
-
-
-
-
- MAT servlet definition already exists in the Greenstone web.xml
-
-
-
-
-
-
- ${mat.tmp} has been removed
-
-
-
-
- ${mat.tmp} has been created
- This is the log file.
-
-
-
-
Index: gs3-extensions/mat/trunk/properties.xml
===================================================================
--- gs3-extensions/mat/trunk/properties.xml (revision 23971)
+++ (revision )
@@ -1,21 +1,0 @@
-Servlet.Title = Metadata Analysis Tool
-
-Servlet.Head = Metadata Analysis Tool
-
-Servlet.Logo = http://www.cs.waikato.ac.nz/images-cs/uni.gif
-
-Servlet.Description = This tool will generate statistics and visualisations of OAI repositories Enter the URL of the OAI repository to analyse, e.g.: http://www.ideals.uiuc.edu/dspace-oai/request
-
-Servlet.MaxCollection = 100
-
-Servlet.MaxRecord = 5000
-
-Servlet.proxyHost =
-
-Servlet.proxyPort =
-
-Servlet.proxyUserName =
-
-Servlet.proxyUserPassword =
-
-Servlet.Collection.Creator = Greenstone
Index: gs3-extensions/mat/trunk/src/FAQ.txt
===================================================================
--- gs3-extensions/mat/trunk/src/FAQ.txt (revision 24252)
+++ gs3-extensions/mat/trunk/src/FAQ.txt (revision 24252)
@@ -0,0 +1,58 @@
+1. Metadata Analysis Tool (Java application)
+
+1-1 Please select "local Collection Analysis" and press the "Analyse" button.
+
+1-2 Select a collection you want to analyse it.
+
+If there is no collection available, please use GLI to create a collection and try this function again.
+
+If you cannot launch Metadata Analysis Tool, please remove the gs2mgdemo from
+"root/web/sites/localsite/collect".
+
+
+The problem looks like this:
+"#
+# An unexpected error has been detected by Java Runtime Environment:
+#
+# SIGSEGV (0xb) at pc=0x53e58955, pid=31921, tid=3086052240
+#
+# Java VM: Java HotSpot(TM) Server VM (11.0-b15 mixed mode linux-x86)
+"
+
+2. Metadata Analysis Tool (web service)
+Root is the location of Greenstone folder.
+ex: Windows: C:\Program files\Greenstone
+ex: Linux: /home/Greenstone
+
+
+2-1 Please rename the root/ext/mat/web-mat.xml to web.xml and copy it to the root/web/WEB-INF folder.
+ You might want to backup the original web.xml.
+
+2-2 Copy the gsdl3_extension folder (path: root/ext/mat/build/classes/org/greenstone/gsdl3_extension) to
+ greenstone folder (path: root/web/WEB-INF/classes/org/greenstone)
+
+Now, the path should be root/web/WEB-INF/classes/org/greenstone/gsdl3_extension/mat/servlet
+
+Inside the servlet folder, you will see many class files.
+
+2-3 Please run the command "ant deploy-localsite" in the console.
+
+2-4 Then, you can start the server and use the web service.
+
+The web service is available at http://localhost:8080/greenstone3/mat.
+Please make sure that there is no slash at the end of this URL.
+ex: http://localhost:8080/greenstone3/mat/ is incorrect and you will not be able to access the service.
+
+Notice: If you use any proxy servers, please open the properties.xml and enter the property settings.
+
+Troubleshooting
+
+1. Why my web service cannot analyse the OAI repository ( Message: GDBM could not be open)?
+Please use the GLI to create a sample collection and make sure that the Greenstone can build it correctly.
+If the Greenstone cannot build the collection correctly. Please report the error to http://www.greenstone.org/.
+
+2. My computer cannot recognise the "Ant" command?
+You will need to setup the ant path and run the command in the greenstone root folder.
+
+
+
Index: gs3-extensions/mat/trunk/src/Mat.bat
===================================================================
--- gs3-extensions/mat/trunk/src/Mat.bat (revision 24252)
+++ gs3-extensions/mat/trunk/src/Mat.bat (revision 24252)
@@ -0,0 +1,4 @@
+SET gsdlhome=..\..
+SET libraryPath=..\..\lib\jni
+SET classpath= build\classes;%gsdlhome%\web\WEB-INF\lib\cp.jar;%gsdlhome%\web\WEB-INF\classes;%gsdlhome%\lib\jni\cp.jar;lib\jfreechart.jar;lib\jcommon.jar
+java -Djava.library.path=%libraryPath% -Djava.ext.dirs="lib;." -classpath %classpath% org.greenstone.mat.CollectionChooser
Index: gs3-extensions/mat/trunk/src/Mat.sh
===================================================================
--- gs3-extensions/mat/trunk/src/Mat.sh (revision 24252)
+++ gs3-extensions/mat/trunk/src/Mat.sh (revision 24252)
@@ -0,0 +1,37 @@
+check_Java_library(){
+
+if [ -d "$3" ]; then
+ echo "The environment has been configured correctly."
+ echo "Metadata Quality Analysis Tool is starting now......."
+else
+ echo "Sorry. The environment has not configured correctly."
+ echo "Please use the ant command to setup the enviroment"
+ exit 1
+fi
+}
+
+thisdir=`pwd`
+
+gsdlpath=`(cd ../.. && pwd)`
+
+jnidir=$gsdlpath/lib/jni
+
+extdirs=$thisdir/lib
+
+classesdir=$thisdir/build/classes:$gsdlpath/web/WEB-INF/lib/cp.jar:$gsdlpath/web/WEB-INF/classes:$gsdlpath/lib/jni/cp.jar:lib/jfreechart.jar:lib/jcommon.jar
+
+echo "Metadata Quality Analysis Tool" $thisdir
+echo "Check Java Library"
+
+check_Java_library $thisdir $jnidir $extdirs $classesdir
+
+
+if [ "x$1" = "x" ] ; then
+java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs:. -classpath $classesdir org.greenstone.mat.CollectionChooser
+
+else
+java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs:. -classpath $classesdir org.greenstone.mat.CollectionChooser $1
+fi
+
+#java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs -classpath $classesdir org.greenstone.gsdl3_extension.mat.CollectionChooser
+
Index: gs3-extensions/mat/trunk/src/README.txt
===================================================================
--- gs3-extensions/mat/trunk/src/README.txt (revision 24252)
+++ gs3-extensions/mat/trunk/src/README.txt (revision 24252)
@@ -0,0 +1,18 @@
+In order to enable the mat extension, please do the following steps
+
+Step 1. Please insert the following to into
+web@xml@path.
+
+
+mat
+mat
+org.greenstone.mat.servlet.MatServlet
+
+
+
+mat
+/analyse
+
+
+Step 2. Restart the Greenstone server.
+
Index: gs3-extensions/mat/trunk/src/bin/script/Mat.sh
===================================================================
--- gs3-extensions/mat/trunk/src/bin/script/Mat.sh (revision 24252)
+++ gs3-extensions/mat/trunk/src/bin/script/Mat.sh (revision 24252)
@@ -0,0 +1,32 @@
+#!/bin/sh
+
+check_java_library(){
+
+if [ -d "$3" -a -d "$4" ]; then
+ echo "The environment has been configured"
+ echo "Metadata Quality Analysis Tool will start soon"
+else
+ echo "Sorry. The environment is not configured correctly"
+ echo "Please use the ant command to setup the enviroment"
+ exit 1
+fi
+}
+
+thisdir=`pwd`
+gsdlpath=`(cd ../.. && pwd)`
+jnidir=$gsdlpath/lib/jni
+extdirs=$thisdir/lib
+classesdir=$thisdir/build/classes
+
+echo "Metadata Quality Analysis Tool" $thisdir
+echo "Check Java Library"
+
+check_java_library $thisdir $jnidir $extdirs $classesdir
+
+java -Djava.library.path=$jnidir -Djava.ext.dirs=$extdirs -classpath $classesdir org.greenstone3.ms.CollectionChooser
+
+
+
+
+
+
Index: gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bash
===================================================================
--- gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bash (revision 24252)
+++ gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bash (revision 24252)
@@ -0,0 +1,84 @@
+#!/bin/bash
+
+# if this file is executed, /bin/sh is used, as we don't start with #!
+# this should work under ash, bash, zsh, ksh, sh style shells.
+# $1 should be the collection name
+# $2 should be the oai URL
+# $3 should the cache directory
+# $4 should be the max records
+# $5 should be the OAI metadata prefix
+# $6 should be GS3 root
+# $7 should be the collection directory
+# $8 should the log file
+# $9 should be the creator
+# $10 should be the proxy settings
+
+COL_NAME=$1
+OAI_URL=$2
+CACHE_DIR=$3
+MAX_RECORDS=$4
+OAI_PREF=$5
+GS3_ROOT=$6
+COLLECT_DIR=$7
+LOG_FILE=$8
+CREATOR=$9
+#SHIFT
+#PROXY=$9
+
+if [ -x /usr/bin/lsof ] ; then
+ lsof=/usr/bin/lsof
+else
+ if [ -x /usr/sbin/lsof ] ; then
+ lsof=/usr/sbin/lsof
+ else
+ echo "Warning: Unable to find 'lsof', skipping test for number of files open"
+ fi
+fi
+
+TOMCAT_ID=`ps ux | grep tomcat | grep java | grep -v grep | awk -F" " '{ print $OAI_URL }'`
+
+if [ ! -z "$lsof" ] ; then
+ echo Tomcat_ID: $TOMCAT_ID
+ #cd /usr/sbin
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+fi
+
+cd $GS3_ROOT
+
+source gs3-setup.sh > $LOG_FILE
+
+cd gs2build/
+source setup.bash >> $LOG_FILE
+
+perl -S mkcol.pl -gs3mode -buildtype lucene -collectdir $COLLECT_DIR $COL_NAME
+
+echo $COL_NAME $OAI_URL $CACHE_DIR $MAX_RECORDS $OAI_PREF $GS3_ROOT $COLLECT_DIR $LOG_FILE >> $LOG_FILE
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+fi
+
+if [ ! -e $CACHE_DIR ] # be sure the cache directory exists
+then
+ mkdir $CACHE_DIR
+else
+ /bin/rm -rf $CACHE_DIR/*
+fi
+
+echo "Away to download OAI" >> $LOG_FILE
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+fi
+
+perl -S downloadfrom.pl -download_mode OAI -cache_dir $CACHE_DIR -url $OAI_URL -max_records $MAX_RECORDS -metadata_prefix $OAI_PREF $CREATOR 2>&1 >> $LOG_FILE
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+fi
+
+
Index: gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bat
===================================================================
--- gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bat (revision 24252)
+++ gs3-extensions/mat/trunk/src/bin/script/mat-colbuild-download.bat (revision 24252)
@@ -0,0 +1,61 @@
+:: $1 should be the collection name
+:: $2 should be the oai URL
+:: $3 should be the cache directory
+:: $4 should be the max records
+:: $5 should be the OAI metadata prefix
+:: $6 should be GS3 root
+:: $7 should be the collection directory
+:: $8 should be the log file
+:: %9 should be the creator
+:: %10 should be the proxy settings
+
+SET COL_NAME=%1
+SET OAI_URL=%2
+SET CACHE_DIR=%3
+SET MAX_RECORDS=%4
+SET OAI_PREFIX=%5
+SET GS3_ROOT=%6
+SET COL_DIR=%7
+SET LOG_FILE=%8
+SET CREATOR=%9
+::SHIFT
+::SET PROXY=%9
+
+DEL %LOG_FILE%
+cd %GS3_ROOT%
+CALL gs3-setup.bat
+
+cd gs2build/
+CALL setup.bat
+
+cd bin/script/
+
+perl -S mkcol.pl -gs3mode -buildtype lucene -collectdir %COL_DIR% %COL_NAME%
+
+:: need to ensure that OAIPLUG is included
+:: hack the model collection to inclde it
+echo %COL_NAME% %OAI_URL% %CACHE_DIR% %MAX_RECORDS% %OAI_PREFIX% %GS3_ROOT% %COL_DIR% %LOG_FILE% >> %LOG_FILE%
+
+if not exist %CACHE_DIR% goto else
+RMDIR /S /Q %CACHE_DIR%
+goto endif
+:else
+md %CACHE_DIR%
+:endif
+
+echo "Away to download OAI" >> %LOG_FILE%
+
+echo %CREATOR%
+
+SET _CREATOR=%CREATOR%
+
+SET _CREATOR=###%_CREATOR%###
+SET _CREATOR=%_CREATOR:"###=%
+SET _CREATOR=%_CREATOR:###"=%
+SET _CREATOR=%_CREATOR:###=%
+
+echo "Away to run downloadfrom.pl with %_CREATOR%"
+
+perl downloadfrom.pl -download_mode OAI -cache_dir %CACHE_DIR% -url %OAI_URL% -max_records %MAX_RECORDS% -metadata_prefix %OAI_PREFIX% %_CREATOR%
+
+exit
Index: gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bash
===================================================================
--- gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bash (revision 24252)
+++ gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bash (revision 24252)
@@ -0,0 +1,104 @@
+#!/bin/bash
+# if this file is executed, /bin/sh is used, as we don't start with #!
+# this should work under ash, bash, zsh, ksh, sh style shells.
+# $1 should be the collection name
+# $2 should be the oai URL
+# $3 should the cache directory
+# $4 should be GS3 root
+# $5 should be the collection directory
+# $6 should the log file
+# $7 should be the host name : port number
+
+COL_NAME=$1
+OAI_URL=$2
+CACHE_DIR=$3
+GS3_ROOT=$4
+COL_DIR=$5
+LOG_FILE=$6
+HOST_PORT=$7
+
+# check we are still in the right directories
+
+if [ -x /usr/bin/lsof ] ; then
+ lsof=/usr/bin/lsof
+else
+ if [ -x /usr/sbin/lsof ] ; then
+ lsof=/usr/sbin/lsof
+ else
+ echo "Warning: Unable to find 'lsof', skipping test for number of files open"
+ fi
+fi
+
+TOMCAT_ID=`ps ux | grep tomcat | grep java | grep -v grep | awk -F" " '{ print $OAI_URL }'`
+echo Tomcat_ID: $TOMCAT_ID
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+fi
+
+cd $GS3_ROOT
+source gs3-setup.sh >> $LOG_FILE
+
+cd gs2build/
+source setup.bash >> $LOG_FILE
+
+# event log goes to greenstone3/gs2build/etc/events.txt
+
+## build -indextype lucene -site localsite -collectdir $COLLECT_DIR -download file://$3 -log_events $1
+
+echo "Away to build" >> $LOG_FILE
+
+/bin/cp -r $CACHE_DIR/* $COL_DIR/$COL_NAME/import/.
+
+echo "perl -S incremental-rebuild.pl -site localsite -collectdir $COL_DIR $COL_NAME"
+
+perl -S incremental-rebuild.pl -site localsite -collectdir $COL_DIR $COL_NAME
+
+#build -indextype lucene -site localsite -collectdir $COL_DIR -log_events -download file://$CACHE_DIR $COL_NAME 2>&1
+#2>&1 >> $LOG_FILE
+
+# -log_events
+# >> $LOG_FILE
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo Finished Build: open files: $NUM_OPEN_FILES
+fi
+
+echo "Build finished ...." >> $LOG_FILE
+
+if [ -d $GS3_ROOT/gs2build/collect/$COL_NAME ]
+then
+ echo "moving from gs2 dir" >> $LOG_FILE
+ echo built in gs2 dir ... moving
+ mv $GS3_ROOT/gs2build/collect/$COL_NAME $COL_DIR/$COL_NAME
+fi
+
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+ # >> $LOG_FILE
+fi
+
+echo "Away to reconfigure Greenstone 3 server" >> $LOG_FILE
+echo "Away to reconfigure Greenstone 3 server"
+
+# >> $LOG_FILE
+
+#wget -O /tmp/mat5.html "http://localhost:8090/greenstone3/library?a=s&sa=c"
+wget -O /tmp/mat3.html "http://$HOST_PORT/greenstone3/library?a=s&sa=c"
+
+echo "Done" >> $LOG_FILE
+echo "Done"
+
+if [ ! -z "$lsof" ] ; then
+ NUM_OPEN_FILES=`$lsof -p $TOMCAT_ID | wc -l `
+ echo open files: $NUM_OPEN_FILES
+
+ $lsof -p $TOMCAT_ID
+# >> $LOG_FILE
+fi
+
+
+#exit 0
Index: gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bat
===================================================================
--- gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bat (revision 24252)
+++ gs3-extensions/mat/trunk/src/bin/script/mat-colbuild.bat (revision 24252)
@@ -0,0 +1,59 @@
+:: %1 should be the collection name
+:: %2 should be the cache directory
+:: %3 should be GS3 root
+:: %4 should be the collection directory
+:: %5 should be the log file
+:: %6 should be the hostname:port
+
+SET COL_NAME=%1
+SET CACHE_DIR=%2
+SET GS3_ROOT=%3
+SET COL_DIR=%4
+SET LOG_FILE=%5
+SET HOST_PORT=%6
+
+:: check we are still in the right directories
+
+cd %GS3_ROOT%
+CALL gs3-setup.bat
+
+cd gs2build/
+CALL setup.bat
+
+cd bin/script/
+echo "Away to build"
+
+XCOPY %CACHE_DIR%\* %COL_DIR%\%COL_NAME%\import /s /i /y
+
+perl -S incremental-rebuild.pl -site localsite -collectdir %COL_DIR% %COL_NAME%
+
+echo "Build finished ...."
+
+:: echo %6/gs2build/collect/%1
+
+:: if not exist %6/gs2build/collect/%1 goto else
+:: echo "moving from gs2 dir"
+:: echo built in gs2 dir ... moving
+:: goto endif
+:: :else
+:: move %6/gs2build/collect/%1 %7/%1
+:: :endif
+
+echo "Away to convert from Greenstone 2 to Greenstone 3" >> %LOG_FILE%
+echo "Away to convert from Greenstone 2 to Greenstone 3"
+
+cd %GS3_ROOT%
+cd bin/script/
+
+::perl convert_coll_from_gs2.pl -collectdir %7 %1
+
+echo "Away to reconfigure Greenstone 3 server" >> %LOG_FILE%
+echo "Away to reconfigure Greenstone 3 server"
+
+:: wget -O /tmp/mat5.html "http://localhost:8090/greenstone3/library?a=s&sa=c"
+wget -O %CACHE_DIR%/mat-reconfigure.html "http://%HOST_PORT%/greenstone3/library?a=s&sa=c"
+
+echo "Done" >> %LOG_FILE%
+echo "Done"
+
+exit
Index: gs3-extensions/mat/trunk/src/build.xml
===================================================================
--- gs3-extensions/mat/trunk/src/build.xml (revision 24252)
+++ gs3-extensions/mat/trunk/src/build.xml (revision 24252)
@@ -0,0 +1,207 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ mat
+ Metadata Analysis Tool
+ org.greenstone.mat.servlet.MatServlet
+
+ ]]>
+
+
+
+ mat
+ /mat
+
+ ]]>
+
+
+
+
+ MAT servlet definition already exists in the Greenstone web.xml
+
+
+
+
+
+
+ ${mat.tmp} has been removed
+
+
+
+
+ ${mat.tmp} has been created
+ This is the log file.
+
+
+
+
Index: gs3-extensions/mat/trunk/src/properties.xml
===================================================================
--- gs3-extensions/mat/trunk/src/properties.xml (revision 24252)
+++ gs3-extensions/mat/trunk/src/properties.xml (revision 24252)
@@ -0,0 +1,21 @@
+Servlet.Title = Metadata Analysis Tool
+
+Servlet.Head = Metadata Analysis Tool
+
+Servlet.Logo = http://www.cs.waikato.ac.nz/images-cs/uni.gif
+
+Servlet.Description = This tool will generate statistics and visualisations of OAI repositories Enter the URL of the OAI repository to analyse, e.g.: http://www.ideals.uiuc.edu/dspace-oai/request
+
+Servlet.MaxCollection = 100
+
+Servlet.MaxRecord = 5000
+
+Servlet.proxyHost =
+
+Servlet.proxyPort =
+
+Servlet.proxyUserName =
+
+Servlet.proxyUserPassword =
+
+Servlet.Collection.Creator = Greenstone
Index: gs3-extensions/mat/trunk/src/resources/script/doby2.css
===================================================================
--- gs3-extensions/mat/trunk/src/resources/script/doby2.css (revision 24252)
+++ gs3-extensions/mat/trunk/src/resources/script/doby2.css (revision 24252)
@@ -0,0 +1,83 @@
+div.tableContainer {
+ width: auto; /* table width will be 99% of this*/
+ height: 600px; /* must be greater than tbody*/
+ overflow: auto;
+ margin: 0 auto;
+ }
+
+table {
+ width: 99%; /*100% of container produces horiz. scroll in Mozilla*/
+ border: none;
+ background-color: white;
+ font-family:arial;
+ }
+
+table>tbody { /* child selector syntax which IE6 and older do not support*/
+ overflow: auto;
+ height: 550px;
+ overflow-x: hidden;
+ }
+
+thead tr {
+ position:relative;
+ top: expression(offsetParent.scrollTop); /*IE5+ only*/
+ }
+
+thead td, thead th {
+ text-align: center;
+ font-size: 11px;
+ font-family:arial;
+ background-color: oldlace;
+ color: black;
+ font-weight: bold;
+ border-top: solid 1px #d8d8d8;
+ }
+
+td {
+ color: #000;
+ padding-right: 2px;
+ font-size: 11px;
+ text-align: right;
+ border-bottom: solid 1px #d8d8d8;
+ border-left: solid 1px #d8d8d8;
+ height:16px;
+ }
+
+table tfoot tr { /*idea of Renato Cherullo to help IE*/
+ position: relative;
+ overflow-x: hidden;
+ top: expression(parentNode.parentNode.offsetHeight >=
+ offsetParent.offsetHeight ? 0 - parentNode.parentNode.offsetHeight + offsetParent.offsetHeight + offsetParent.scrollTop : 0);
+ }
+
+
+tfoot td {
+ text-align: center;
+ font-size: 11px;
+ font-family:arial;
+ font-weight: bold;
+ background-color: papayawhip;
+ color: black;
+ border-top: solid 1px slategray;
+ }
+
+td:last-child {padding-right: 20px;} /*prevent Mozilla scrollbar from hiding cell content*/
+
+/*.b{background-color:#0000FF;}*/
+.b{background-image:url(blue.png);background-repeat:no-repeat; width:40px; height:20px; background-position: center;}
+.w{background-image:url(white.png);background-repeat:no-repeat; width:40px; height:20px; background-position: center;}
+.qh{width:16px; text-align:center;}
+.E{background-image:url(question.gif);background-repeat:no-repeat; width:16px; background-position: center;}
+.bfont{font-size: 15px; text-align:left;}
+.table1{
+ height: 50px;
+}
+
+
+div.top{text-align:right;margin:1em 0;padding:0}
+div.top div{display:inline}
+div.top div.left{float:left}
+#content>div.top{display:table;width:100%}
+#content>div.top div{display:table-cell}
+#content>div.top div.left{float:none;text-align:left}
+#content>div.top div.right{text-align:right}
Index: gs3-extensions/mat/trunk/src/resources/script/getInfomation-bk.js
===================================================================
--- gs3-extensions/mat/trunk/src/resources/script/getInfomation-bk.js (revision 24252)
+++ gs3-extensions/mat/trunk/src/resources/script/getInfomation-bk.js (revision 24252)
@@ -0,0 +1,260 @@
+var opt;
+var winW = 630, winH = 460;
+
+function GD(obj){
+ var NID;
+ NID = obj.parentNode.id;
+ opt = "info";
+ reconfig();
+ ajaxSearch(NID);
+}
+
+function GX(obj){
+ var NID;
+ NID = obj.parentNode.id;
+ opt = "url";
+ reconfig();
+ ajaxSearch(NID);
+}
+
+function reconfig(){
+ var request2 ='';
+ var message2 = newElement('message', request2 );
+ var soapMessage2 = messageToSOAP(message2);
+ makeRequest(soapMessage2);
+}
+
+function windowSize(){
+ if (parseInt(navigator.appVersion)>3) {
+ if (navigator.appName=="Netscape") {
+ winW = window.innerWidth;
+ winH = window.innerHeight;
+ }
+
+ if (navigator.appName.indexOf("Microsoft")!=-1) {
+ winW = document.body.offsetWidth;
+ winH = document.body.offsetHeight;
+ }
+ }
+}
+
+
+function getwindowHeight(){
+
+ var Height;
+
+ if (parseInt(navigator.appVersion)>3) {
+ if (navigator.appName=="Netscape") {
+ Height = window.innerHeight;
+ }
+ if (navigator.appName.indexOf("Microsoft")!=-1) {
+ winW = document.body.offsetWidth;
+ Height = document.body.offsetHeight;
+ }
+ return Height;
+ }
+}
+
+
+function newwindows(url){
+
+ if(url!=''){
+ windowSize();
+ window.open(url,'mywindow',winW+','+winH+','+'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
+ }
+
+ else{
+ alert("NO URL AVAILABLE");
+ }
+ //document.body.style.cursor = "default";
+}
+
+
+function newwin(nameList,valueList){
+ var newwindo;
+ var htm="
Metadata Element Detail";
+ htm+="";
+ newwindo=window.open('','mywindow',winW+','+winH+','+'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
+ newwindo.document.write(htm);
+ newwindo.document.close();
+ //document.body.style.cursor = "default";
+ }
+
+
+function ajaxSearch(request) {
+
+
+//alert("wait");
+
+
+//alert("This process takes a few seconds");
+
+var bodyTag = document.getElementsByTagName('body');
+var collection = (bodyTag[0].getAttribute('id'));
+request = 'HASH'+request;
+docID = newElementAtt('param', '', new Array('name', 'value'), new Array('metadata', 'all') ) ;
+paramList = newElement('paramList',docID);
+NodeID = newElementAtt('documentNode', '', new Array('nodeID'), new Array(request) ) ;
+documentNodeList = newElement('documentNodeList',NodeID);
+
+request = newElementAtt5('request', paramList,documentNodeList, new Array('lang', 'to', 'type'), new Array('en',collection+'/DocumentMetadataRetrieve', 'process' ) );
+message = newElement('message', request );
+soapMessage = messageToSOAP(message);
+
+makeRequest(soapMessage);
+//loadAsync(soapMessage);
+//alert(soapMessage);
+//alert("Please wait...");
+}
+
+function newElementAtt5(name, content,content2, nameArray, valueArray) {
+
+ e = '<' + name + ' ' ;
+ for (i=0; i < nameArray.length; i++) {
+ e += newAttribute(nameArray[i], valueArray[i])
+ }
+ e += '>' + content+content2;
+ e += '' + name + '>';
+
+ return e;
+}
+
+function messageToSOAP(message) {
+ soapBody = '' + message + ''
+ soap = '' + soapBody + ''
+ x= '' + soap;
+ return x;
+}
+
+function newElement(name, content) {
+ e = '<' + name + '>' + content;
+ e += '' + name + '>';
+ return e;
+}
+
+function newElementAtt(name, content, nameArray, valueArray) {
+ e = '<' + name + ' ' ;
+ for (i=0; i < nameArray.length; i++) {
+ e += newAttribute(nameArray[i], valueArray[i])
+ }
+ e += '>' + content;
+ e += '' + name + '>';
+ return e;
+}
+
+
+function newAttribute(name, value) {
+ return ' ' + name + '="' + value + '"';
+}
+
+function makeRequest(postData){
+ //alert(postData)
+ YAHOO.util.Connect.initHeader('SOAPAction','http://tempuri.org/GetMagnetometerStation',true);
+ //var request = YAHOO.util.Connect.asyncRequest('POST', 'http://hinau.cs.waikato.ac.nz:8090/greenstone3/services/localsite', callback, postData);
+ //var request = YAHOO.util.Connect.asyncRequest('POST', 'http://nzdl.org/greenstone3/mat/services/localsite', callback, postData);
+var request = YAHOO.util.Connect.asyncRequest('POST', '/greenstone3/mat/services/localsite', callback, postData);
+}
+
+
+var handleSuccess = function(o){
+//document.body.style.cursor='wait';
+//alert(o.responseText);
+//alert("done");
+//alert(opt+"?");
+//alert(opt+"step 3");
+ var nameList = new Array();
+ var valueList = new Array();
+
+
+ var xmldoc = o.responseXML;
+ var nodes = xmldoc.getElementsByTagName('metadata');
+ var mesg = "";
+ var msg = "";
+ var urllocation ="";
+ //alert(o.responseText);
+ for(var i=0; i3) {
+ if (navigator.appName=="Netscape") {
+ winW = window.innerWidth;
+ winH = window.innerHeight;
+ }
+
+ if (navigator.appName.indexOf("Microsoft")!=-1) {
+ winW = document.body.offsetWidth;
+ winH = document.body.offsetHeight;
+ }
+ }
+}
+
+
+function getwindowHeight(){
+
+ var Height;
+
+ if (parseInt(navigator.appVersion)>3) {
+ if (navigator.appName=="Netscape") {
+ Height = window.innerHeight;
+ }
+ if (navigator.appName.indexOf("Microsoft")!=-1) {
+ winW = document.body.offsetWidth;
+ Height = document.body.offsetHeight;
+ }
+ return Height;
+ }
+}
+
+
+function newwindows(url){
+
+ if(url!=''){
+ windowSize();
+ window.open(url,'mywindow',winW+','+winH+','+'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
+ }
+
+ else{
+ alert("NO URL AVAILABLE");
+ }
+ //document.body.style.cursor = "default";
+ //document.body.style.cursor = "default";
+}
+
+
+function newwin(nameList,valueList){
+ var newwindo;
+ var htm="Metadata Element Detail";
+ htm+="";
+ newwindo=window.open('','mywindow',winW+','+winH+','+'toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
+//newwindo=window.open('','mywindow','460','630','toolbar=yes,location=yes,directories=yes,status=yes,menubar=yes,scrollbars=yes,copyhistory=yes,resizable=yes');
+ newwindo.document.write(htm);
+ newwindo.document.close();
+ //document.body.style.cursor = "default";
+ }
+
+
+function ajaxSearch(request) {
+
+//alert("wait");
+//alert("This process takes a few seconds");
+//alert("done");
+//document.body.style.cursor = "wait";
+var bodyTag = document.getElementsByTagName('body');
+var collection = (bodyTag[0].getAttribute('id'));
+request = 'HASH'+request;
+
+docID = newElementAtt('param', '', new Array('name', 'value'), new Array('metadata', 'all') ) ;
+paramList = newElement('paramList',docID);
+NodeID = newElementAtt('documentNode', '', new Array('nodeID'), new Array(request) ) ;
+documentNodeList = newElement('documentNodeList',NodeID);
+
+request = newElementAtt5('request', paramList,documentNodeList, new Array('lang', 'to', 'type'), new Array('en',collection+'/DocumentMetadataRetrieve', 'process' ) );
+message = newElement('message', request );
+soapMessage = messageToSOAP(message);
+
+makeRequest(soapMessage);
+//loadAsync(soapMessage);
+//alert(soapMessage);
+//alert("Please wait...");
+}
+
+function newElementAtt5(name, content,content2, nameArray, valueArray) {
+
+ e = '<' + name + ' ' ;
+ for (i=0; i < nameArray.length; i++) {
+ e += newAttribute(nameArray[i], valueArray[i])
+ }
+ e += '>' + content+content2;
+ e += '' + name + '>';
+
+ return e;
+}
+
+function messageToSOAP(message) {
+ soapBody = '' + message + ''
+ soap = '' + soapBody + ''
+ x= '' + soap;
+ return x;
+}
+
+function newElement(name, content) {
+ e = '<' + name + '>' + content;
+ e += '' + name + '>';
+ return e;
+}
+
+function newElementAtt(name, content, nameArray, valueArray) {
+ e = '<' + name + ' ' ;
+ for (i=0; i < nameArray.length; i++) {
+ e += newAttribute(nameArray[i], valueArray[i])
+ }
+ e += '>' + content;
+ e += '' + name + '>';
+ return e;
+}
+
+
+function newAttribute(name, value) {
+ return ' ' + name + '="' + value + '"';
+}
+
+function makeRequest(postData){
+ YAHOO.util.Connect.initHeader('SOAPAction','http://tempuri.org/GetMagnetometerStation',true);
+ var request = YAHOO.util.Connect.asyncRequest('POST', '/greenstone3/services/localsite', callback, postData);
+}
+
+
+var handleSuccess = function(o){
+//document.body.style.cursor='wait';
+//alert(o.responseText);
+
+ //document.body.style.cursor = "default";
+ var nameList = new Array();
+ var valueList = new Array();
+ var xmldoc = o.responseXML;
+ var nodes = xmldoc.getElementsByTagName('metadata');
+ var mesg = "";
+ var msg = "";
+ var urllocation ="";
+ //alert(o.responseText);
+ for(var i=0; i
+
+http://dublincore.org/documents/dcmi-terms/#terms-abstract
+Abstract
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-accessRights
+ AccessRights
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-accrualMethod
+ AccrualMethod
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-accrualPeriodicity
+AccrualPeriodicity
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-accrualPolicy
+AccrualPolicy
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-alternative
+Alternative
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-audience
+Audience
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-available
+Available
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-bibliographicCitation
+ BibliographicCitation
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-conformsTo
+ConformsTo
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-contributor
+Contributor
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-coverage
+Coverage
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-created
+Created
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-creator
+Creator
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-date
+Date
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-dateAccepted
+DateAccepted
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-dateCopyrighted
+DateCopyrighted
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-dateSubmitted
+DateSubmitted
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-description
+Description
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-educationLevel
+educationLevel
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-extent
+Extent
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-format
+Format
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-hasFormat
+HasFormat
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-hasPart
+HasPart
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-hasVersion
+HasVersion
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-identifier
+Identifier
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-instructionalMethod
+InstructionalMethod
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isFormatOf
+IsFormatOf
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isPartOf
+IsPartOf
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isReferencedBy
+IsReferencedBy
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isReplacedBy
+IsReplacedBy
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isRequiredBy
+IsRequiredBy
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-issued
+Issued
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-isVersionOf
+IsVersionOf
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-language
+Language
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-license
+License
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-mediator
+Mediator
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-medium
+Medium
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-modified
+Modified
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-provenance
+Provenance
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-publisher
+Publisher
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-references
+References
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-relation
+Relation
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-replaces
+Replaces
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-requires
+Requires
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-rights
+Rights
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-rightsHolder
+RightsHolder
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-source
+Source
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-spatial
+Spatial
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-subject
+Subject
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-tableOfContents
+TableOfContents
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-temporal
+Temporal
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-title
+Title
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-type
+Type
+
+
+
+http://dublincore.org/documents/dcmi-terms/#terms-valid
+Valid
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-contributor
+Contributor
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-coverage
+Coverage
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-creator
+Creator
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-date
+Date
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-description
+Description
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-format
+Format
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-identifier
+Identifier
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-language
+Language
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-publisher
+Publisher
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-relation
+Relation
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-rights
+Rights
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-source
+Source
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-subject
+Subject
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-title
+Title
+
+
+
+http://dublincore.org/documents/dcmi-terms/#elements-type
+Type
+
+
Index: gs3-extensions/mat/trunk/src/resources/script/status.js
===================================================================
--- gs3-extensions/mat/trunk/src/resources/script/status.js (revision 24252)
+++ gs3-extensions/mat/trunk/src/resources/script/status.js (revision 24252)
@@ -0,0 +1,47 @@
+function checkStatus(){
+var x = "";
+var prefix ="";
+var o = document.forms[0];
+
+ for(var i = 0; iMetadata Element Detail";
+ htm+="";
+ htm = htm +""+arg1+"
";
+ htm = htm + ""+msg+"
";
+ htm+="