Issue Details (XML | Word | Printable)

Key: FOR-204
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Lorenz Froihofer
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Forrest

Broken link summary include the referencing URLs

Created: 26/Jun/04 06:15 PM   Updated: 18/Oct/04 01:57 PM
Return to search
Component/s: Core operations
Affects Version/s: 0.6
Fix Version/s: 0.7

Time Tracking:
Not Specified

Issue Links:
Duplicate
 


 Description  « Hide
It would be helpful if the brokenlinks.xml file contained for each broken link a summary of files where the broken link occured.

Example: test1.xml, test2.xml and test3.xml have a link to linkeddoc.xml. Now the linkeddoc.xml is moved to another directory but the test?.xml files are not updated. The brokenlinks.xml should contain something like:

<link message="/old-file-path/linkeddoc.xml (No such file or directory)">
  <name>linkdeddoc.html</name>
  <document>/file-path/test1.xml</document>
  <document>/file-path/test2.xml</document>
  <document>/file-path/test3.xml</document>
</link>

 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
David Crossley added a comment - 26/Jun/04 06:55 PM
There is some discussion of this in the old email archives. It would be up to the Cocoon CLI to do this. There are various powers of CLI that we are not using.
http://cocoon.apache.org/2.1/userdocs/offline/
http://cocoon.apache.org/2.1/userdocs/offline/configuration.html

David Crossley added a comment - 12/Oct/04 04:21 AM
Added an enhancement request to Cocoon's Bugzilla:
CLI: enhance brokenlinks.xml to also report the referring URLs
http://issues.apache.org/bugzilla/show_bug.cgi?id=31657

David Crossley added a comment - 12/Oct/04 04:26 AM
(Bringing over Rick's comment from the duplicate issue FOR-323.)

In particular, it would aid in identifying problems as found in FOR-321.

David Crossley added a comment - 18/Oct/04 01:57 PM
Upayavira added the ability in Cocoon. Now Forrest uses that and adds the "show-referrers" attribute to the "broken-links" element of the Cocoon cli.xconf configuration.