You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Rodent of Unusual Size <Ke...@Golux.Com> on 2002/10/31 14:25:41 UTC
'broken links' under .. what .. circs?
i keep getting
-> [broken link] projects/index.html <-
in my forrest runs. 'projects' is listed in tabs.xml. if that's
the only place it's mentioned, projects/index.html ends up
containing a useless cocoon error. if i also link to
projects/index.html from a menu-item in the top book.xml, the
projects/index.html is created correctly, but i still get the
above message during the run.
i haven't yet found any description of what needs to be where
in order to run successfully.. i'm thinking there are tags
that need to be here and/or there. what am i missing?
--
#ken P-)}
Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
Author, developer, opinionist http://Apache-Server.Com/
"Millennium hand and shrimp!"
Re: 'broken links' under .. what .. circs?
Posted by Nicola Ken Barozzi <ni...@apache.org>.
Jeff Turner wrote:
> On Thu, Oct 31, 2002 at 10:45:05AM -0500, Rodent of Unusual Size wrote:
>
>>Jeff Turner wrote:
>>
>>>Oh well, at least they're phantom broken links instead of the real
>>>thing.
>>
>>no, they're not. they're real if the subdirectory is only mentioned
>>in the tabs.xml file. which means to avoid them i need to list
>>them in the xdocs/book.xml menu, which kinda defeats the purpose
>>of the tabs..
>
>
> Oh I see.. I think that Forrest's tabs weren't designed for what you are
> trying to do. Forrest tabs follow the paper book "tab" analogy quite
> closely. Each is like a hardcoded bookmark to a chapter. In a real
> book, all chapters are still in the index, regardless of whether they're
> tabbed..
>
> But yes, that is far too limiting. So it's a bug.. I'll see if I can
> squash it tomorrow.
If they become just URLs, even to outer stuff, it would be great.
This way for every Apache project we could put tabs for Bugzilla, FAQ,
Download, etc.
>>>Despite many people's efforts, the Cocoon CLI still sucks badly.
>>>Driving Forrest is like driving a siege engine.. big, slow, liable to go
>>>bang at the slightest mistake. That's why we want to abandon the Cocoon
>>>CLI for everyday editing, as described in other threads.
>>
>>i'm new here and complete cocoon-unaware. does the above mean
>>i won't be able to produce my site from the command line, but will
>>need to do it through some web interface?
>
>
> No, it means that you won't have to wait a few minutes for X pages to
> render between every tiny edit. You'd edit the XML, switch to the
> browser and see the change rendered nearly instantly. When you've
> finished editing, go back to the command-line and generate a static site
> with the usual 'forrest' command.
Ok, this is latest news.
I have finished a basic editor as a webapp that reads wiki-like input
and writes to the disk. It also shows the preview.
We will have to make a better grammer to be able to edit all the DTD
in a wiki-like way than the one I'm using now from the Cocoon demos.
I would love to see also XOpus or similar used as an editor, or similar.
If anyone wants to understand how they work...
I'll be flying back to Italy in a few hours time, so I'll be able to
commit hopefully in the weekend.
Cheers!
> Don't worry, despite being Java weenies there's lots of us who hate GUIs
> ;)
And being an XML integralist I hate non-semantic editors ;-)
--
Nicola Ken Barozzi nicolaken@apache.org
- verba volant, scripta manent -
(discussions get forgotten, just code remains)
---------------------------------------------------------------------
Re: 'broken links' under .. what .. circs?
Posted by Jeff Turner <je...@apache.org>.
On Thu, Oct 31, 2002 at 10:45:05AM -0500, Rodent of Unusual Size wrote:
> Jeff Turner wrote:
> >
> > Oh well, at least they're phantom broken links instead of the real
> > thing.
>
> no, they're not. they're real if the subdirectory is only mentioned
> in the tabs.xml file. which means to avoid them i need to list
> them in the xdocs/book.xml menu, which kinda defeats the purpose
> of the tabs..
Oh I see.. I think that Forrest's tabs weren't designed for what you are
trying to do. Forrest tabs follow the paper book "tab" analogy quite
closely. Each is like a hardcoded bookmark to a chapter. In a real
book, all chapters are still in the index, regardless of whether they're
tabbed..
But yes, that is far too limiting. So it's a bug.. I'll see if I can
squash it tomorrow.
> > Despite many people's efforts, the Cocoon CLI still sucks badly.
> > Driving Forrest is like driving a siege engine.. big, slow, liable to go
> > bang at the slightest mistake. That's why we want to abandon the Cocoon
> > CLI for everyday editing, as described in other threads.
>
> i'm new here and complete cocoon-unaware. does the above mean
> i won't be able to produce my site from the command line, but will
> need to do it through some web interface?
No, it means that you won't have to wait a few minutes for X pages to
render between every tiny edit. You'd edit the XML, switch to the
browser and see the change rendered nearly instantly. When you've
finished editing, go back to the command-line and generate a static site
with the usual 'forrest' command.
Don't worry, despite being Java weenies there's lots of us who hate GUIs
;)
--Jeff
Re: 'broken links' under .. what .. circs?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
Jeff Turner wrote:
>
> Oh well, at least they're phantom broken links instead of the real
> thing.
no, they're not. they're real if the subdirectory is only mentioned
in the tabs.xml file. which means to avoid them i need to list
them in the xdocs/book.xml menu, which kinda defeats the purpose
of the tabs..
> Despite many people's efforts, the Cocoon CLI still sucks badly.
> Driving Forrest is like driving a siege engine.. big, slow, liable to go
> bang at the slightest mistake. That's why we want to abandon the Cocoon
> CLI for everyday editing, as described in other threads.
i'm new here and complete cocoon-unaware. does the above mean
i won't be able to produce my site from the command line, but will
need to do it through some web interface?
Re: 'broken links' under .. what .. circs?
Posted by Jeff Turner <je...@apache.org>.
On Thu, Oct 31, 2002 at 09:45:02AM -0500, Rodent of Unusual Size wrote:
> * On 2002-10-31 at 09:43,
> Jeff Turner <je...@apache.org> excited the electrons to say:
> >
> > > i haven't yet found any description of what needs to be where
> > > in order to run successfully.. i'm thinking there are tags
> > > that need to be here and/or there. what am i missing?
> >
> > I don't know..
>
> shite. that's not encouraging. in fact, it's downright scary.
> and on all hallow's eve, too. you meany, jeff. :-)
Oh well, at least they're phantom broken links instead of the real
thing. Despite many people's efforts, the Cocoon CLI still sucks badly.
Driving Forrest is like driving a siege engine.. big, slow, liable to go
bang at the slightest mistake. That's why we want to abandon the Cocoon
CLI for everyday editing, as described in other threads.
--Jeff
Re: 'broken links' under .. what .. circs?
Posted by Rodent of Unusual Size <Ke...@Golux.Com>.
* On 2002-10-31 at 09:43,
Jeff Turner <je...@apache.org> excited the electrons to say:
>
> > i haven't yet found any description of what needs to be where
> > in order to run successfully.. i'm thinking there are tags
> > that need to be here and/or there. what am i missing?
>
> I don't know..
shite. that's not encouraging. in fact, it's downright scary.
and on all hallow's eve, too. you meany, jeff. :-)
Re: 'broken links' under .. what .. circs?
Posted by Jeff Turner <je...@apache.org>.
On Thu, Oct 31, 2002 at 08:25:41AM -0500, Rodent of Unusual Size wrote:
> i keep getting
>
> -> [broken link] projects/index.html <-
>
> in my forrest runs. 'projects' is listed in tabs.xml. if that's
> the only place it's mentioned, projects/index.html ends up
> containing a useless cocoon error. if i also link to
> projects/index.html from a menu-item in the top book.xml, the
> projects/index.html is created correctly, but i still get the
> above message during the run.
>
> i haven't yet found any description of what needs to be where
> in order to run successfully.. i'm thinking there are tags
> that need to be here and/or there. what am i missing?
I don't know.. I've fetched the incubator-site module and had exactly
the same problem with drafts/index.html. I think it's the Cocoon CLI
doing weird things again. I deployed the site as a webapp, and then ran
'wget -r' over it, and there are no broken links to that file.
FWIW, the template site ("forrest seed") doesn't do this, despite having
a subdirectory.
--Jeff
> --
> #ken P-)}
>
> Ken Coar, Sanagendamgagwedweinini http://Golux.Com/coar/
> Author, developer, opinionist http://Apache-Server.Com/
>
> "Millennium hand and shrimp!"