[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: browsing repository, xsl problems

From: John Szakmeister <john_at_szakmeister.net>
Date: 2005-04-14 10:49:42 CEST

On Thursday 14 April 2005 04:28, Dirk wrote:
> Hi all. I am new to svn but so far I got it to work as I expected
> which is very nice. I use it to manage CAD data and some additional
> images, doc's, pdf and whatever is needed. Most of the files are
> binary but so far it doesn't seem to be a problem. I am only
> testdriving it at the moment. The repository is not so big yet, a few
> 100 Mb's and only revision 100+ something.
>
> I would like to have my web browser display files which it is able to
> display, such as png, html and pdf with acrobat.
>
> I don't know anything about xsl but what I have seen so far doesn't
> give me any clue how I can use an xsl file to act different on file
> extensions for example. At the moment my browser wants to download
> the files or open it with an apropiate application. HTML files are
> displayed as text files. Searching for solutions I end up at
> http://svn.collab.net/repos/svn-xml/trunk/www/ and to my suprise html
> and png are displayed like I want them to. But I can't figure out how
> it works.
> Does this have anything to do with the xsl or css file?
> Or is it something in the apache configuration?

Set the svn:mime-type property, then it will get set back the with HTTP
headers, and browsers will Do the Right Thing.

> Or maybe because of the newer version, 1.2.0 RC1, I have 1.1.3. I have
> apache2 as webserver BTW.
>
> Just a compliment: svn is probably not meant to be a tool for CAD data
> management but so far I am impressed with the possibility's and how
> everything just works so far. In combination with apache2 and ssl,
> user management and all it looks like a very nice tool.

-John

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 14 11:40:33 2005

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.