I have an issue with accessing an HTML file in an SVN repository. Its contents are displayed as plain text.
What I would like to do is to link to that always up-to-date file from an external website, but I'd like the HTML file to simply launch in the browser (it's a TiddlyWiki file, rather unreadable for human beings in raw text form).
My idea is to simply grab the latest revision of the file and copy it over to my server so that it's accessible as a normal HTML file. Is there a way to easily do that using a PHP script? If there are more than one way, what would you recommend?
If it helps to know it, my server does not have SVN and I have no possibility to install it (it's a shared host).
Check if the Subversion module is available on your server. If that's the case, you can easily create some script that connects to the SVN server and gets the newest file.
If you don't have that module, I can think of two possibilities:
Have you looked at the SVN extension for PHP?