Hello,

I don't know if some of you need this kind of tool or even have done it
for themselves.

I had one during the last years but it was lost when last summer I was
at the RBMT stage in Alicant. The reason was certainly because the script
filename was index.php , so this script was replaced by something browsing
the current directory on the computer ! :-(

Anyway, I wrote again a better version of this kind of script.

You can get the source using this url :

http://imagesn.free.fr/apertium/voirphp?id=list_svn.php

This script cannot access SVN from a free.fr server due to hosting
restrictions.

Anyway, if you have a local web server on your computer like Apache, you
can run it.
It could also be uploaded somewhere on the web to be used by anybody.

The most simple way is to access to Apertium subdirectories and files
from the root of Apertium project.

Something interesting to know is, if you click on a revision number on
the left side of the page, you will get the state of the directory just
before this release.

You can also call the script directly using the two PHP variables :
- id = path to the subdirectory or the file,
- rev = revision number

And for those who would examine the source and find strange I process
differently the current revision and the previous ones, the reason is
that a direct file access for the current revision is a bit faster than
any SVN command.

Enjoy.


--------------------------------
Bernard Chardonneau (France)
Phone : [33] 9 72 36 32 90
GSM phone : [33] 7 69 46 16 31

Multilingual websites for my free softwares :
http://libremail.free.fr and http://libremail.tuxfamily.org
http://cyloop.tuxfamily.org (mainly translated with Apertium)

My general website (in french only)
http://bech.free.fr

------------------------------------------------------------------------------
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to