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

AW: browsing repository, xsl problems

From: Hunkel, Manfred <M.Hunkel_at_t-systems.com>
Date: 2005-04-14 10:41:03 CEST

Dirk,

Just setting the svn:mime-type property for the files should do the trick, e.g.
for HTML-files, use text/html; for PNG-files, use image/png...

;-) -Manfred

| -----Ursprüngliche Nachricht-----
| Von: Dirk [mailto:bigengineer@gmail.com]
| Gesendet: Donnerstag, 14. April 2005 10:29
| An: users@subversion.tigris.org
| Betreff: browsing repository, xsl problems
|
| 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?
| 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.
|
|
| --
| Dirk
|
| ---------------------------------------------------------------------
| To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
| For additional commands, e-mail: users-help@subversion.tigris.org

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 14 10:43:12 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.