[CGI] (Bi-)Monthly XML-composer

Tom Rhodes trhodes at FreeBSD.org
Fri Apr 8 14:01:55 PDT 2005


On Fri, 8 Apr 2005 21:39:55 +0200
Max Laier <max at love2party.net> wrote:

> On Friday 08 April 2005 20:09, Julian Elischer wrote:
> > Max Laier wrote:
> > >Hi,
> > >
> > >as discussed here briefly after the last round of the status reports,
> > > Julian has come up with a CGI-script that helps to fill the bi-monthly
> > > status report xml-template.  I extended it slightly to take care of the
> > > newer features.  In contrast to Julian's original approach, this one also
> > > sets "Content-Type: text/plain" so that you get a download of the
> > > resulting xml, rather than a html to copy and paste from.  I found that
> > > easier to handle esp. in cli-environments.
> >
> > sure..  I'm not fussed on how this is done.. as long as it's easier than
> > hand formatiting it :-)
> >
> > >In preparation on the next round of status-reports, we'd like to get
> > > something along those lines on the FreeBSD website ASAP.  Hence I really
> > > appreciate review and especially style nits ("cooperate identity" etc.).
> > >
> > >Thanks in advance, and many thanks to Julian for coming up with the
> > > prototype.
> >
> > probably a better name.. :-) monthly_formatter.cgi or something.
> >
> > also, the reason we ask you to cut-n-paste the result into your mail
> > program is that just adding a button
> > "submit" is asking for 10,000 trolls to spam the monthly list with crap.
> 
> That's understood.  Hence the download.
> 
> Here is a slightly cleaned up version, that uses cgi-style.pl to FreeBSD-ify 
> the form.  Do we have Perl CGI on www or do we really need to do this with 
> cgi-lib.pl?  I'd really love to get this done.  Comments please.

Not sure how you integrate it into the website, but it looks
good.

-- 
Tom Rhodes


More information about the freebsd-www mailing list