You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Jeff Turner <je...@apache.org> on 2002/11/02 11:34:23 UTC

Tab fixups (Re: cvs commit...)

On Sat, Nov 02, 2002 at 10:09:40AM -0000, jefft@apache.org wrote:
> jefft       2002/11/02 02:09:39
> 
>   Modified:    .        status.xml
>                src/documentation/content/xdocs tabs.xml
>                src/resources/conf sitemap.xmap
>                src/resources/schema/dtd tab-cocoon-v10.dtd
>                src/resources/skins/basic/xslt/html book2menu.xsl
>                         tab2menu.xsl
>                src/resources/skins/forrest-site/xslt/html book2menu.xsl
>                         document2html.xsl site2xhtml.xsl tab2menu.xsl
>   Added:       src/resources/skins/forrest-site/xslt/html pathutils.xsl
>   Log:
>   - Fix up tabs:
>     - Fix bug where we couldn't have a tab link without also a book.xml link
>     - tabs.xml entries can now take a @href link to any URL, not just
>       directories. @dir is still allowed for backwards-compat.
>     - Improved algorithm for determining which tab is on.
>     - Tab links to directories now have '/index.html' appended, to avoid CLI bug,
>       and prevent dir listings when viewing generated sites via file: protocol.
>   - Document the various forrest-site XSLTs
>   - Simplify contract between sitemap and skin stylesheets. Rather than
>     'resource' and 'dir', have a single 'path'.
>   - Add 'nopdf' skin parameter, indicating that a PDF is inappropriate for this
>     page.
>   - As a result of all this, Forrest's site has broken links :) Let's try to keep
>     it this way.

Ahem.. that should say NO broken links..

Anyway, forrest-site tabs are now much more sensible.  They can be used
as a third level of navigation, whereas previously they were limited to
bookmarking stuff in book.xml.  Tabs can also link to individual files
and external URLs.  For example, xml.apache.org/index.html might have
each subproject as a tab.  If every xml.apache.org project shared a
tabs.xml, this could look quite impressive.


--Jeff