You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Stephan Michels <st...@vern.chem.tu-berlin.de> on 2002/03/26 17:42:56 UTC

[CL] Following links doesn't work

Hi,

I have some problems using cocoon in the commandline. The option
"following links" won't work with my documents.

In the project Krysalis from Nicola Barozzi everything works. In the
log file appears following line:
     [java] INFO    10171   [        ] ():   Link translated: images/logo.png

But in my example these debug info doesn't appear.

The result page is correct. Have I something forgotten?

Thank you, Stephan Michels.

result:
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Trajectory</title>
</head>
<body>
<ul style="padding-left: 0pt;">
<li>
<a href="noframe/examples/ch/1/vscml/index.html">Beispiele</a>
<ul>
<li>
<a href="noframe/examples/ch/1/vscml/block.html">Block-Beispiele</a>
[...]




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


Re: [CL] Following links doesn't work

Posted by Stephan Michels <st...@vern.chem.tu-berlin.de>.

On Tue, 26 Mar 2002, Stephan Michels wrote:

> Hi,
>
> I have some problems using cocoon in the commandline. The option
> "following links" won't work with my documents.
>
> In the project Krysalis from Nicola Barozzi everything works. In the
> log file appears following line:
>      [java] INFO    10171   [        ] ():   Link translated: images/logo.png
>
> But in my example these debug info doesn't appear.
>
> The result page is correct. Have I something forgotten?
>
> Thank you, Stephan Michels.
>
> result:
> <html>
> <head>
> <META http-equiv="Content-Type" content="text/html; charset=UTF-8">
> <title>Trajectory</title>
> </head>
> <body>
> <ul style="padding-left: 0pt;">
> <li>
> <a href="noframe/examples/ch/1/vscml/index.html">Beispiele</a>
> <ul>
> <li>
> <a href="noframe/examples/ch/1/vscml/block.html">Block-Beispiele</a>
> [...]
>

Okay it seems that I must use the following lines in the sitemap. But
there is no doku for that.


 <map:views>
  <map:view name="content" from-label="content">
   <map:serialize type="xml"/>
  </map:view>

  <map:view name="links" from-position="last">
   <map:serialize type="links"/>
  </map:view>
 </map:views>

Doku:

Link Serializer

????.

    * Name : links
    * Class: org.apache.cocoon.serialization.LinkSerializer
    * Cacheable: ????.




---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>