cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 24294] New: - Sitemap Viewer
Date Fri, 31 Oct 2003 14:44:22 GMT
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24294>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=24294

Sitemap Viewer

           Summary: Sitemap Viewer
           Product: Cocoon 2
           Version: 2.1.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Enhancement
          Priority: Other
         Component: sitemap components
        AssignedTo: dev@cocoon.apache.org
        ReportedBy: jelle@ordina.nl


This is a Sitemap-viewer, made by Jelle Alten. 

This viewer reads a sitemap, attempts to follow links, references and other 
interesting lines in the 'match' elements and generates an HTML file from this 
information. If you use IE or Mozilla, the resulting HTML has clickable buttons 
for folding and unfoling elements. 

Some links can't be followed. In the following example, the first match doesn't 
know if it should generate from 'aap/noot/mies.xml', 'wim/zus.xml', '*.xml' 
or '**.xml'. In a of cases it works fine though. 

    <map:match pattern="**.html">
        <map:generate src="cocoon:/{1}.xml"/>
        <map:transform src="transforms/xml2html.xsl"/>
        <map:serialize/>
    </map:match>
    
    <map:match pattern="aap/noot/mies.xml">
        ...
    </map:match>
    
    <map:match pattern="wim/zus.xml">
        ...
    </map:match>

    <map:match pattern="*.xml">
        ...
    </map:match>
    <map:match pattern="**.xml">
        ...
    </map:match>


It is in a testing stage, and some work, cleanup and documentation should still 
be done. It works fine on Cocoon 2.1.2. 


Known bugs
You can't view the root sitemap yet. Or rather, this viewer will go up one 
level and tries to find all sitmaps in levels below that one, so if you place 
this viewer in a mount-dir, it will only view sitemaps in sub-directories. 
Rightclicking a button should expand all children of the element, but that's 
not working properly. 
It's a little slow at times. 
Todo
Check for unhandled sitemap elements, especially 'map:act'. 
Find people to test this 
Collect wishes and bugs from people 
Do something with the root sitemap 
Test on Cocoon 2.0.4 
Wishlist
Do something with the 'mount' element

Mime
View raw message