On Tue, Jul 22, 2003 at 09:53:22AM -0700, Matt Kraai wrote:
> On Sat, Jul 19, 2003 at 09:05:57PM +0200, Frank Lichtenheld wrote:
> > Please add a enclosing <topics> tag like
> > <topics>
> > <topic       Some topic>
> > <topic       Another topic>
> > </topic>
> > 
> > This ensures that one can bundle all topics and easily emit a <ul>
> > list for example.
> > Perhaps the same with previous-talks.
> 
> I don't know webwml well enough.  Would you care to show me how?

Proof of concept attached.
It's not nice or so but it shows what I mean.

hth,
-- 
*** Frank Lichtenheld <[EMAIL PROTECTED]> ***
          *** http://www.djpig.de/ ***
see also: - http://www.usta.de/
          - http://fachschaft.physik.uni-karlsruhe.de/
#use wml::debian::common_tags

<bind-gettext-domain domain="others" />

<define-tag name whitespace=delete>
  <strong><gettext domain="others">Name:</gettext></strong> %attributes<br>
</define-tag>
<define-tag email whitespace=delete>
  <strong><gettext domain="others">Email:</gettext></strong>
  <a href="mailto:%0";>%0</a>
  <: if (q{%1} ne "") { $tmp=q{%1}; print " <or> <a 
href=\"mailto:$tmp\";>$tmp</a>"} :>
  <br>
</define-tag>
<define-tag previous-talks whitespace=delete>
  <strong><gettext domain="others">Previous Talks:</gettext></strong> 
  <a href="%0">%0</a><br>
</define-tag>
<define-tag languages whitespace=delete>
  <strong><gettext domain="others">Languages:</gettext></strong> %attributes<br>
</define-tag>
<define-tag location whitespace=delete>
  <strong><gettext domain="others">Location:</gettext></strong> %attributes<br>
</define-tag>

<define-tag topics whitespace=delete endtag=required>
  <strong><gettext domain="others">Topics:</gettext></strong></p>
  <dl>%body</dl>
  <p>
</define-tag>
<define-tag topic whitespace=delete>
  <dt>%attributes</dt>
</define-tag>
<define-tag topic-info endtag=required whitespace=delete>
  <dd>%body</dd>
</define-tag>
#include "$(ENGLISHDIR)/events/speakers/speakers.defs"

<P>
<name    Martin Michlmayr>
<email   [EMAIL PROTECTED]>
<previous-talks http://example.org/>
<languages English, German>
<location Australia>
<topics>
<topic   Some topic>
<topic   Another topic>
<topic-info>You can talk here about the topic</topic-info>
</topics>
</P>

Reply via email to