forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicola Ken Barozzi (JIRA)" <j...@apache.org>
Subject [jira] Commented: (FOR-173) Be able to move files without breaking outside links
Date Tue, 07 Jun 2005 20:20:41 GMT
    [ http://issues.apache.org/jira/browse/FOR-173?page=comments#action_12312935 ] 

Nicola Ken Barozzi commented on FOR-173:
----------------------------------------

Actually this is not really what I meant with this particular bug.

I mean, imagine that we have a file called 

  myfile.xml

and in site.xml we have
 
 <myfile label="My File" href="myfile.xml"/>

If I rename it to

 mynewfile.xml

I can change site.xml to contain:

 <myfile label="My File" href="mynewfile.xml"/>

and this will keep all the links to site:myfile still working.

Too bad that the actual URL has changed, so direct links to myfile.html will fail.
What I would like is that the system redirects to mynewfile.html automatically.

To do this one would have to cache the old site.xml, compare it, and put redirects to the
elements that have changed href.

> Be able to move files without breaking outside links
> ----------------------------------------------------
>
>          Key: FOR-173
>          URL: http://issues.apache.org/jira/browse/FOR-173
>      Project: Forrest
>         Type: New Feature
>   Components: Compile
>     Versions: 0.6
>     Reporter: Nicola Ken Barozzi
>     Assignee: Ross Gardler

>
> It should be possible to move docs round without having links that break because of this.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira


Mime
View raw message