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

Subversion serving Wikis and other Web Pages

From: <andy.glew_at_amd.com>
Date: 2004-04-29 07:46:09 CEST

This may be off-topic, but maybe y'all can point me.
(Subwiki doesn't cut it.)

One of the clasic problems with Wikis and other
web pages is the "dangling URL": an URL that points
to a page that *was* valid, but is no longer.

A good VC system, such as Subversion, may be able
to help this:

URLs might look like

   http://server/cgi/svn-wrapper/was-rev150/path/to/page.html

The svn-wrapper cgi would first try eliding the version,
accessing path/to/page.html within the repo. If found,
great; possibly it would redirect to the latest revision.

If the page has been moved in the repo, svn-wrapper would
follow it to where it has been moved to, possibly warning
the user:
    http://server/cgi/svn-wrapper/was-rev150/path/to/page.html
    has been moved to http://server/cgi/svn-wrapper/new-rev259/newpath/to/page.html
    Do you want to go there,
    do you want the old revision
       http://server/cgi/svn-wrapper/old-rev150/path/to/page.html
    or do you want the last revision at the original path
       http://server/cgi/svn-wrapper/old-rev159/path/to/page.html
    ?

If the URL is specified as
http://server/cgi/svn-wrapper/old-rev150/path/to/page.html
it goes to that veersion; i.e. old-revNNN exactly specifies
the version.
was-rev150 in an URL allows the URL to be tracked.

---
So: anyone doing something like this?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Apr 29 07:46:50 2004

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.