other-events.html
deadlines.html
people-list.html
+latest-news.xml
+approaching-deadlines.xml
all: $(DOCUMENTS)
-home.html: $(TEMPLATESROOT)/home.html.top $(TEMPLATESROOT)/home.html.bot \
+home.html: $(XMLROOT)/home.xml \
$(XMLROOT)/news.xml \
$(XMLROOT)/other-events.xml \
$(XMLROOT)/mowgli-events.xml \
$(XSLROOT)/latest-news.xsl \
- $(XSLROOT)/approaching-deadlines.xsl
- cat $(TEMPLATESROOT)/home.html.top >$@
- $(XSLTP) $(XSLROOT)/latest-news.xsl $(XMLROOT)/news.xml >>$@
- echo "</dl>" >> $@
- $(XSLTP) --param today `date +%Y%m%d` $(XSLROOT)/approaching-deadlines.xsl $(XMLROOT)/other-events.xml >>$@
- sed s/\@DATE\@/"`date`"/ $(TEMPLATESROOT)/home.html.bot >>$@
+ $(XSLROOT)/approaching-deadlines.xsl \
+ $(XSLROOT)/xhtml-content.xsl
+ $(XSLTP) -o latest-news.xml $(XSLROOT)/latest-news.xsl $(XMLROOT)/news.xml
+ $(XSLTP) --param today `date +%Y%m%d` -o approaching-deadlines.xml $(XSLROOT)/approaching-deadlines.xsl $(XMLROOT)/other-events.xml
+ $(XSLTP) --param path_to_top "'.'" -o $@ $(XSLROOT)/xhtml-content.xsl $(XMLROOT)/home.xml
index.html: $(TEMPLATESROOT)/index.html
cp $< $@
+++ /dev/null
- </div>
-
- </td>
- </tr>
- </table>
-
- <br />
-
- <hr width="100%"/>
-
- <table border="0" cellspacing="0" cellpadding="0" width="100%">
- <tr>
- <td align="left" valign="top">
- <div class="small">
- This page is hosted by the
- <a href="http:/www.cs.unibo.it">Department of Computer Science</a>,
- <a href="http://www.unibo.it">University of Bologna</a>.
- <br />
- Last update: <b>@DATE@</b>
- </div>
- </td>
- <td align="right" valign="top">
- <a href="http://www.cordis.lu/ist"><img border="0" alt="IST Logo Small" src="../images/istbutton_small.gif"/></a>
- </td>
- </tr>
- </table>
- <br />
- </body>
-
-</html>
+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
- "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
-
-<html xmlns="http://www.w3.org/1999/xhtml">
-
- <head>
- <title>MoWGLI Home Page</title>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <link rel="stylesheet" href="../style/mowgli.css" type="text/css"/>
- </head>
-
- <body class="content">
- <br />
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
- <td align="left" valign="top">
- <img alt="MoWGLI Logo" src="../images/mowgli_combo.gif"/>
- </td>
- <td align="right" valign="top">
- <a href="http://www.cordis.lu/ist"><img border="0" alt="IST Logo" src="../images/istdrop.gif" width="200"/></a>
- </td>
- </tr>
- </table>
-
- <br />
-
- <blockquote>
- <div class="center">
- <div class="small">
- <h3><em style="color: red">Warning:</em>
- <em>This site is under construction. Check often for updates.</em></h3>
- </div>
- </div>
- </blockquote>
-
- <br />
-
- <table width="100%" border="0" cellspacing="0" cellpadding="0">
- <tr>
-
- <td valign="top">
-
- <h3>Abstract</h3>
-
- <p>The World Wide Web is already the largest resource of mathematical
- knowledge, and its importance will be exponentiated by emerging display
- technologies like <a target="_top" href="http://www.w3.org/Math">MathML</a>.
- However, almost all mathematical documents
- available on the Web are marked up only for presentation, severely
- crippling the potentialities for automation, interoperability,
- sophisticated searching mechanisms, intelligent applications,
- transformation and processing. The goal of the project is to overcome
- these limitations, passing from a machine-readable to a
- machine-understandable representation of the information, and developing
- the technological infrastructure for its exploitation. MoWGLI builds on
- previous standards for the management and publishing of mathematical
- documents (<a target="_top" href="http://www.w3.org/Math">MathML</a>,
- <a target="_top" href="http://www.openmath.org">OpenMath</a>,
- <a target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a>),
- integrating them with different
- <a target="_top" href="http://www.w3.org/XML/">XML</a> technologies
- (<a target="_top" href="http://www.w3.org/TR/xslt">XSLT</a>,
- <a target="_top" href="http://www.w3.org/RDF/">RDF</a>, etc).</p>
-
- <p>Read more about the project:</p>
-
- <ul>
- <li><a href="project-summary.html">Summary</a></li>
- <li><a href="project-objectives.html">Objectives</a></li>
- <li><a href="project-management.html">Management</a></li>
- </ul>
-
- </td>
-
- <td>
-
- </td>
-
- <td valign="top">
-
- <div class="small">
-
- <h3>Latest News</h3>
-
- <dl>
--- /dev/null
+<?xml version="1.0"?>
+
+<html xmlns="http://www.w3.org/1999/xhtml"
+ xmlns:mowgli="http://mowgli.cs.unibo.it/website">
+
+ <head>
+ <title>MoWGLI Home Page</title>
+ <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
+ <link rel="stylesheet" href="../style/mowgli.css" type="text/css" />
+ </head>
+
+ <body class="content">
+ <br />
+
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+ <td align="left" valign="top">
+ <img alt="MoWGLI Logo" src="../images/mowgli_combo.gif"/>
+ </td>
+ <td align="right" valign="top">
+ <a href="http://www.cordis.lu/ist"><img border="0" alt="IST Logo" src="../images/istdrop.gif" width="200"/></a>
+ </td>
+ </tr>
+ </table>
+
+ <br />
+
+ <blockquote>
+ <div class="center">
+ <div class="small">
+ <h3><em style="color: red">Warning:</em>
+ <em>This site is under construction. Check often for updates.</em></h3>
+ </div>
+ </div>
+ </blockquote>
+
+ <br />
+
+ <table width="100%" border="0" cellspacing="0" cellpadding="0">
+ <tr>
+
+ <td valign="top">
+
+ <h3>Abstract</h3>
+
+ <p>The World Wide Web is already the largest resource of mathematical
+ knowledge, and its importance will be exponentiated by emerging display
+ technologies like
+ <a target="_top" href="http://www.w3.org/Math">MathML</a>.
+ However, almost all mathematical documents
+ available on the Web are marked up only for presentation, severely
+ crippling the potentialities for automation, interoperability,
+ sophisticated searching mechanisms, intelligent applications,
+ transformation and processing. The goal of the project is to overcome
+ these limitations, passing from a machine-readable to a
+ machine-understandable representation of the information, and developing
+ the technological infrastructure for its exploitation. MoWGLI builds on
+ previous standards for the management and publishing of mathematical
+ documents (<a target="_top" href="http://www.w3.org/Math">MathML</a>,
+ <a target="_top" href="http://www.openmath.org">OpenMath</a>,
+ <a target="_top" href="http://www.mathweb.org/omdoc/index.html">OMDoc</a>),
+ integrating them with different
+ <a target="_top" href="http://www.w3.org/XML/">XML</a> technologies
+ (<a target="_top" href="http://www.w3.org/TR/xslt">XSLT</a>,
+ <a target="_top" href="http://www.w3.org/RDF/">RDF</a>, etc).</p>
+
+ <p>Read more about the project:</p>
+
+ <ul>
+ <li><a href="project-summary.html">Summary</a></li>
+ <li><a href="project-objectives.html">Objectives</a></li>
+ <li><a href="project-management.html">Management</a></li>
+ </ul>
+
+ </td>
+
+ <td>
+     
+ </td>
+
+ <td valign="top">
+
+ <div class="small">
+
+ <mowgli:latest-news />
+ <mowgli:approaching-deadlines />
+
+ </div>
+
+ </td>
+ </tr>
+ </table>
+
+ <br />
+
+ <hr width="100%"/>
+
+ <table border="0" cellspacing="0" cellpadding="0" width="100%">
+ <tr>
+ <td align="left" valign="top">
+ <div class="small">
+ This page is hosted by the
+ <a href="http:/www.cs.unibo.it">Department of Computer Science</a>,
+ <a href="http://www.unibo.it">University of Bologna</a>.
+ <br />
+ Last update: <b><mowgli:date/></b>
+ </div>
+ </td>
+ <td align="right" valign="top">
+ <a href="http://www.cordis.lu/ist"><img border="0" alt="IST Logo Small" src="../images/istbutton_small.gif"/></a>
+ </td>
+ </tr>
+ </table>
+ <br />
+ </body>
+
+</html>
<xsl:import href="common.xsl"/>
<xsl:import href="deadlines.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:param name="today"/>
<xsl:template match="/">
+ <html-fragment>
<h3>Approaching Deadlines:</h3>
<xsl:for-each select="events/event/deadline[date >= $today]">
<xsl:sort select="date" data-type="number"/>
<xsl:apply-templates select="."/>
</xsl:if>
</xsl:for-each>
+ </html-fragment>
</xsl:template>
</xsl:stylesheet>
<xsl:import href="common.xsl"/>
<xsl:import href="news.xsl"/>
-<xsl:output method="html"/>
+<xsl:output method="xml"/>
<xsl:template match="/">
+ <html-fragment>
+ <h3>Latest News</h3>
+ <dl>
<xsl:apply-templates select="news/event[position() < 4]">
<xsl:with-param name="small" select="true()"/>
</xsl:apply-templates>
- <dt><a href="news.html">Older news</a></dt><dd></dd>
+ </dl>
+ <a href="news.html">Older news</a>
+ </html-fragment>
</xsl:template>
</xsl:stylesheet>
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+ xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
+ xmlns:mowgli="http://mowgli.cs.unibo.it/website">
<xsl:import href="common.xsl"/>
<xsl:output method="html"/>
<xsl:param name="path_to_top" select="'.'"/>
+<xsl:param name="current-date"/>
<xsl:template match="html">
<html>
<xsl:call-template name="head">
<xsl:with-param name="path_to_top" select="$path_to_top"/>
</xsl:call-template>
- <xsl:copy-of select="body/node()"/>
+ <xsl:apply-templates select="body/node()"/>
<xsl:call-template name="foot">
<xsl:with-param name="path_to_top" select="$path_to_top"/>
</xsl:call-template>
</html>
</xsl:template>
-</xsl:stylesheet>
+<xsl:template match="*|text()|@*">
+ <xsl:copy>
+ <xsl:apply-templates select="*|text()|@*"/>
+ </xsl:copy>
+</xsl:template>
+
+<xsl:template match="mowgli:latest-news">
+ <xsl:copy-of select="document('../html/latest-news.xml')/*/*"/>
+</xsl:template>
+<xsl:template match="mowgli:approaching-deadlines">
+ <xsl:copy-of select="document('../html/approaching-deadlines.xml')/*/*"/>
+</xsl:template>
+
+<xsl:template match="mowgli:date">
+ <xsl:copy-of select="$current-date"/>
+</xsl:template>
+</xsl:stylesheet>