From 40aaf8dcb5f4251186d6b4380ded7cf50ffd5345 Mon Sep 17 00:00:00 2001 From: Claudio Sacerdoti Coen Date: Wed, 27 Jun 2001 17:44:41 +0000 Subject: [PATCH] First version of metadata interface. Still many things to be fixed and one stylesheet (of Andrea) not committed. But it is a new beginning... --- helm/on-line/html/cic/control.html | 22 ++++++++- helm/on-line/javascript/control.js | 2 +- helm/on-line/xslt/demultiplexMutual.xsl | 38 ++++++++++++++++ helm/on-line/xslt/metadataControl.xsl | 26 +++++++++++ helm/on-line/xslt/metadataLib.xsl | 59 +++++++++++++++++++++++++ helm/uwobo-panel/control.html | 2 + 6 files changed, 146 insertions(+), 3 deletions(-) create mode 100644 helm/on-line/xslt/demultiplexMutual.xsl create mode 100644 helm/on-line/xslt/metadataControl.xsl create mode 100644 helm/on-line/xslt/metadataLib.xsl diff --git a/helm/on-line/html/cic/control.html b/helm/on-line/html/cic/control.html index 288015dac..29a222faa 100644 --- a/helm/on-line/html/cic/control.html +++ b/helm/on-line/html/cic/control.html @@ -44,9 +44,27 @@ td.back { background-color: #e6e6fa; color: brown } - View its metadata + - (Not implemented, yet. Coming soon.) + (Work in progress. Coming soon.) diff --git a/helm/on-line/javascript/control.js b/helm/on-line/javascript/control.js index 472100b9f..1f811dc68 100644 --- a/helm/on-line/javascript/control.js +++ b/helm/on-line/javascript/control.js @@ -235,7 +235,7 @@ function makeURL(type,uri,cicflags,typesflags) if (cicflags != "NO" || type == "theory") { annotations = mode_list[4]; } - url = processorURL + "apply?xmluri=" + escape(getterURL + "getxml?uri=" + uri) + "&keys=" + keys + "¶m.CICURI=" + uri + "¶m.naturalLanguage=" + naturalLanguage + "¶m.annotations=" + annotations; + url = processorURL + "apply?xmluri=" + escape(getterURL + "getxml?uri=" + uri) + "&keys=" + keys + "¶m.CICURI=" + uri + "¶m.naturalLanguage=" + naturalLanguage + "¶m.annotations=" + annotations + "¶m.topurl=" + top.topurl; } if (output == "raw") diff --git a/helm/on-line/xslt/demultiplexMutual.xsl b/helm/on-line/xslt/demultiplexMutual.xsl new file mode 100644 index 000000000..2f8650937 --- /dev/null +++ b/helm/on-line/xslt/demultiplexMutual.xsl @@ -0,0 +1,38 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/helm/on-line/xslt/metadataControl.xsl b/helm/on-line/xslt/metadataControl.xsl new file mode 100644 index 000000000..c33d7b2b4 --- /dev/null +++ b/helm/on-line/xslt/metadataControl.xsl @@ -0,0 +1,26 @@ + + + + + + + + + + + + + + + + + + + diff --git a/helm/on-line/xslt/metadataLib.xsl b/helm/on-line/xslt/metadataLib.xsl new file mode 100644 index 000000000..f264516b2 --- /dev/null +++ b/helm/on-line/xslt/metadataLib.xsl @@ -0,0 +1,59 @@ + + + + + + + + + + + + + + Metadata of <xsl:value-of select="$CICURI"/> + + +

Metadata of

+ + + +
+ + + + + + + + + + + + +

+ Object is never referenced in other objects +

+
+ + + + +

+ +

+
+ +
diff --git a/helm/uwobo-panel/control.html b/helm/uwobo-panel/control.html index efa1f8571..51050ad7c 100644 --- a/helm/uwobo-panel/control.html +++ b/helm/uwobo-panel/control.html @@ -226,6 +226,8 @@ the getter is used by default (you can deselect it, however): + + -- 2.39.2