cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: new man page layout on the web site

From: Lorenzo Pastrana <pastrana_at_ultraflat.net>
Date: Wed, 5 Nov 2003 19:04:41 +0100

Daniel,
the pages looks nicer indeed...

I had a quick look at the script and found that a little improvement might
be worth a try..
Since keywords are anchored allready, why not make them further occurence a
link?
Line 155 :
            elsif($keyword =~ /^I$/i) {
                $rest =~ s/\"//g; # cut off quotes
                $rest =~ s/</&lt;/g;
                $rest =~ s/>/&gt;/g;
--> push @p, "<span class=\"emphasis\"><a
href=\"#$rest\">$rest</a></span> ";
            }
Don't have a way to test this though..
You tell me.. ;)

Lo.

----- Original Message -----
From: "Daniel Stenberg" <daniel-curl_at_haxx.se>
To: "libcurl Mailing list" <curl-library_at_lists.sourceforge.net>; "Curl
Mailinglist" <curl-users_at_lists.sourceforge.net>
Sent: Wednesday, November 05, 2003 3:58 PM
Subject: new man page layout on the web site

> Hi friends
>
> For a long time, I've been annoyed by how the man pages look on the curl
web
> site (not the least because the script often decided to hide various
sections
> from the user), and after having looked around for a decent converter
program
> I decided everything existing is crap and I wrote my own! ;-)
>
> Now, I've converted the curl.haxx.se site (and the mirrors will catch up
soon)
> to use this new tool for this purpose.
>
> I hope this will result in more good-looking web pages, but I'm posting
this
> here to ask you all to keep your eyes open for bugs in this area and to
report
> problems. Already, I think this works a lot better and produces much nicer
> pages than the previous script ever did.
>
> This new script (dubbed 'roffit') is of course freely available in case
you
> feel like helping out to improve it. I have some good ideas on how to
improve
> it further, but as usual everything requires that precious time thing we
never
> have enough of.
>
> Also, the new pages use a large set of CSS classes but I haven't fiddled
that
> much with them yet, so if anyone out there is reading this and can think
of
> some good CSS improvements... speak up! ;-)
>
> PS, the new script also marks all sections and subsections with <a name>
tags
> so that we can post links directly to documented sections such as these:
>
> http://curl.haxx.se/libcurl/c/curl_easy_setopt.html#CURLOPTNOSIGNAL
>
> or
>
> http://curl.haxx.se/docs/manpage.html#--tracefile
>
> --
> Daniel - been obfuscating curl source code since 1998.
> [[ Do not post private mails to this email address. They won't reach
me. ]]
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: SF.net Giveback Program.
> Does SourceForge.net help you be more productive? Does it
> help you create better code? SHARE THE LOVE, and help us help
> YOU! Click Here: http://sourceforge.net/donate/
>
>

-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive? Does it
help you create better code? SHARE THE LOVE, and help us help
YOU! Click Here: http://sourceforge.net/donate/
Received on 2003-11-05