* Martin Schulze <[EMAIL PROTECTED]> [2003-01-14 11:18]: > Gerfried Fuchs wrote: >> It includes two ways to see if there is a report for that event: >> -) First is to grep through the event page and look for a >> <a href="$(WML_SRC_BASENAME)-report"> link, extract the URL from >> there. > > I'd rather scan the directory for a foo-report.wml file which will be > the report for foo.wml.
As said that is rather tricky for the foo.wml should depend on foo-report.wml to be rebuilt but that would lead on the other hand to a 'no rule or target to build foo-report.wml' or such. I personally don't know how to tackle that in a sensible way. > I'd also like such a link to be added automatically to the events page > when it is a past_event and there is such a file (or it exists in the > english dir). If it's possible somehow of course. But I don't have an idea how to do it. > I'd rather call it <report> instead of <rep> or did I miss something > and new tags must not be descriptive? I did call it <rep> for I had the gettext tag called <report> but that one is dropped now so there is nothing wrong with calling it <report>. > If you insist on the <rep> tag (or something similar, why not define > it in the header as > > <define-tag > report>http://lists.debian.org/debian-events-eu-0210/msg00019.html</define-tag> How to you use it, then? I thought of that, too but found no easy way to include it in the list at the end, then. >> +<define-tag rep endtag=required whitespace=delete> >> +<preserve href /> >> +<set-var %attributes /> >> + <a href="<get-var href />">%body</a> >> + <restore href /> >> +</define-tag> > > Nitpick, but why do you indent <restore> different to <preserve>? Just because I can. That means for no special reason. So long, Alfie -- Wo wir schon bei Schnäppchenbestrafungen sind: ich finde § 307 StGB hat ein recht ordentliches Preis-Leistungs-Verhältnis. Soviel Bums für sowenig Strafe gibt sonst nirgendwo. -- Holger Lembke in de.soc.recht.misc
pgp7hDLNV7v4g.pgp
Description: PGP signature