]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/on-line/xslt/metadataLib.xsl
rdfly hardcoded URL changed from mowgli.cs.unibo.it to localhost
[helm.git] / helm / on-line / xslt / metadataLib.xsl
index 1a45e4eb92ff1695015764e5faee5ae9ff57040a..9f5c0020c0481ccb92c21cd6184d4312ab6463a2 100644 (file)
@@ -5,20 +5,20 @@
  xmlns:subst="http://www.cs.unibo.it/helm/subst">
 
 <xsl:import href="utils.xsl"/>
-<xsl:import href="http://phd.cs.unibo.it:8081/getxslt?uri=show_dc.xsl"/>
+<xsl:import href="show_dc.xsl"/>
 
 <xsl:param name="CICURI" select="''"/>
 <xsl:param name="getterURL" select="''"/>
 <xsl:param name="draw_graphURL" select="''"/>
+<xsl:param name="rdflyURL" select="'http://localhost:58086/'"/>
 
 <!--CSC: code cut & pasted from makeGraphLinks -->
 <xsl:param name="uri_set_size" select="'30'"/>
 <!--CSC: end of cut & paste from makeGraphLinks -->
 
-<xsl:variable name="BaseRDFURL" select="concat($getterURL,'getxml?uri=helm:rdf:www.cs.unibo.it/helm/rdf/')"/>
-<xsl:variable name="BaseRDFURLForward" select="concat($BaseRDFURL,'forward//')"/>
-<xsl:variable name="BaseRDFURLBackward" select="concat($BaseRDFURL,'backward//')"/>
-<xsl:variable name="BaseRDFURLDC" select="concat($BaseRDFURL,'dc//')"/>
+<xsl:variable name="BaseRDFURLForward" select="concat($rdflyURL,'get?kind=forward&amp;object=')"/>
+<xsl:variable name="BaseRDFURLBackward" select="concat($rdflyURL,'get?kind=backward&amp;object=')"/>
+<xsl:variable name="BaseRDFURLDC" select="concat($rdflyURL,'get?kind=dc&amp;object=')"/>
 
 <xsl:template match="/">
  <html>
     <input type="text" onClick="return false" value="{$uri_set_size}" size="2"/> (30 suggested)
    </form>
    <!--CSC: end of cut & paste from makeGraphLinks -->
-  </body>
   <xsl:call-template name="loop_show_dc">
    <xsl:with-param name="CICURI" select="$CICURI"/>
   </xsl:call-template>
+  </body>
  </html>
 </xsl:template>