You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Kevin Pilch-Bisson <ke...@pilch-bisson.net> on 2001/05/17 02:38:58 UTC
mod_dav_svn hooks for pretty printing
gstein this is primarily for you,
Just wondering whether when you get a chance to add code to mod_dav_svn
for pretty printing directories, and information about versions of
files, you could add a hook method. This would allow average users to
use the defaults, and other projects to customize the way information is
displayed, add nice project logos, etc.
What do you think.
--
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kevin Pilch-Bisson http://www.pilch-bisson.net
"Historically speaking, the presences of wheels in Unix
has never precluded their reinvention." - Larry Wall
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Re: mod_dav_svn hooks for pretty printing
Posted by Greg Stein <gs...@lyra.org>.
On Wed, May 16, 2001 at 10:38:58PM -0400, Kevin Pilch-Bisson wrote:
> gstein this is primarily for you,
>
> Just wondering whether when you get a chance to add code to mod_dav_svn
> for pretty printing directories, and information about versions of
> files, you could add a hook method. This would allow average users to
> use the defaults, and other projects to customize the way information is
> displayed, add nice project logos, etc.
Haven't thought much about it. I presume you're referring to a GET on a
directory?
Yes, I think it would be nice to use a hook. The default would generate a
hunk of XML with various data. Clients can use the XML and Apache output
filters can process it (e.g. an XSLT transform). Alternatives could generate
nice HTML and link to previous revisions and stuff like that.
I think a different question is whether we build something like ViewCVS
directly into mod_dav_svn, or whether we keep browsing support separate.
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org