forrest-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From iss...@cocoondev.org
Subject [JIRA] Commented: (FOR-227) static html site: index.html missing in links
Date Fri, 25 Feb 2005 14:37:42 GMT
The following comment has been added to this issue:

     Author: Johannes Schaefer
    Created: Fri, 25 Feb 2005 8:36 AM
       Body:
Let me make it explicit:
<site>
  ...
  <topic label="Topic" href="topic-dir/" tab="topic-tab">
    <sub-topic label="Overview" href="overview.html" />
  </topic>
  ...
</site>

Linking then from the XML-source like this
  <link href="site:topic">Topic</link> 
produces an html link
  <a href=".../topic-dir/">. 

Results:
* For jetty (read: 'forrest run') this gives an error
* For static site('forrest site', file://) this gives an error 
* For Apache this gives an error, too, since there is no "index.html"

One could argue that the link should point to "sub-topic" but I logically want to refer to
the whole chapter and *not* the overview. And there is the "indexfile" in tabs.xml. And there
is the breadcrumb linking to directories.
---------------------------------------------------------------------
View this comment:
  http://issues.cocoondev.org//browse/FOR-227?page=comments#action_12096

---------------------------------------------------------------------
View the issue:
  http://issues.cocoondev.org//browse/FOR-227

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: FOR-227
    Summary: static html site: index.html missing in links
       Type: Bug

     Status: Unassigned
   Priority: Minor

    Project: Forrest
   Fix Fors:
             0.7
   Versions:
             0.6

   Assignee: 
   Reporter: Johannes Schaefer

    Created: Thu, 22 Jul 2004 5:10 PM
    Updated: Fri, 25 Feb 2005 8:36 AM
Environment: any

Description:
When creating a static html site (running command "forrest")
links in the document that point to a directory (index.html)
are broken when using the site without a server (file://)

To fix: add the filename to the links, i.e.
create <a href="../chapter1/index.html"> 
instead of <a href="../chapter1/">



---------------------------------------------------------------------
JIRA INFORMATION:
This message is automatically generated by JIRA.

If you think it was sent incorrectly contact one of the administrators:
   http://issues.cocoondev.org//secure/Administrators.jspa

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


Mime
View raw message