You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@forrest.apache.org by Cyriaque Dupoirieux <Cy...@pcotech.fr> on 2006/02/27 10:07:06 UTC

[Structurer feed-back]

Hi,

    I have published my site with 
<http://cyriaque.dupoirieux.free.fr/accueil.html>the new structurer !
    I use the following plugins :

    * org.apache.forrest.plugin.output.pdf
    * org.apache.forrest.plugin.input.OpenOffice.org - BTW does anyone
      work on OpenDocument plugin ?
    * org.apache.forrest.plugin.internal.dispatcher
    * org.apache.forrest.themes.core
    * org.apache.forrest.plugin.input.projectInfo
    * and org.apache.forrest.plugin.output.php

*Benefits
*

    * Inherintance of contracts is very easy and much more clearer than
      with the dispatcher because of the fact that contracts are now
      standalone
    * I could do everything I wanted to :-) .

*Disadvantages*

    * Structurer is slow, but we all know we have to focus on this
      problem. (It is slow but much more flexible than skins...)
    * Links are no more rewritten, I mean in the dispatcher, the links
      included in the text of a contract were transformed into
      hyperlinks (with Lex help he I remember)
    * The branding-theme-profiler.ft (a version I have in local on my
      machine) does not generate the round corners images, I think the
      problem comes from the fact that links are no more rewritten...
    * The problem with pages containing "_" is solved but I don't know
      why ;-) . (http://issues.apache.org/jira/browse/FOR-725).


-- 

Salutations,
Cyriaque,


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 10:43 +0100, Cyriaque Dupoirieux escribió:
>   
>> I have still two remarks :
>>
>>     *     The structurer needs more memory than the dispatcher and I had
>>       to increase the forrest.maxmemory property to be able to generate
>>       the whole site.
>>     
>
> Hmm, in your custom project, right?
>   
Yes of course...
>   
>>     *     If the project.i18n is set to true, I have the following error
>>       message :
>>
>> X [0]                                     linkmap.html  BROKEN: 
>> dispatcherError: 500 - Internal server error
>> The contract "siteinfo-meta-navigation" has thrown thrown an exception 
>> by resolving raw data from "cocoon://linkmap.navigation.xml".
>> dispatcherErrorStack: org.apache.excalibur.source.SourceException: 
>> Exception during processing of cocoon://linkmap.navigation.xml
>> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
>> Java Result: 1
>>
>>     
>
> Can you fill a bug, thx.
>   
Done,

>
> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 10:43 +0100, Cyriaque Dupoirieux escribió:
> I have still two remarks :
> 
>     *     The structurer needs more memory than the dispatcher and I had
>       to increase the forrest.maxmemory property to be able to generate
>       the whole site.

Hmm, in your custom project, right?

>     *     If the project.i18n is set to true, I have the following error
>       message :
> 
> X [0]                                     linkmap.html  BROKEN: 
> dispatcherError: 500 - Internal server error
> The contract "siteinfo-meta-navigation" has thrown thrown an exception 
> by resolving raw data from "cocoon://linkmap.navigation.xml".
> dispatcherErrorStack: org.apache.excalibur.source.SourceException: 
> Exception during processing of cocoon://linkmap.navigation.xml
> Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
> Java Result: 1
> 

Can you fill a bug, thx.


salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
I have still two remarks :

    *     The structurer needs more memory than the dispatcher and I had
      to increase the forrest.maxmemory property to be able to generate
      the whole site.

    *     If the project.i18n is set to true, I have the following error
      message :

X [0]                                     linkmap.html  BROKEN: 
dispatcherError: 500 - Internal server error
The contract "siteinfo-meta-navigation" has thrown thrown an exception 
by resolving raw data from "cocoon://linkmap.navigation.xml".
dispatcherErrorStack: org.apache.excalibur.source.SourceException: 
Exception during processing of cocoon://linkmap.navigation.xml
Total time: 0 minutes 10 seconds,  Site size: 0 Site pages: 0
Java Result: 1


Salutations,
Cyriaque,

Cyriaque Dupoirieux a écrit :
> Hi,
<snip/>
>
>    * The problem with pages containing "_" is solved but I don't know
>      why ;-) . (http://issues.apache.org/jira/browse/FOR-725).
Gavin already confirmed this 
http://www.mail-archive.com/dev@forrest.apache.org/msg07867.html...
>
>

Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 12:27 +0100, Cyriaque Dupoirieux escribió:
>   
>>
>> <snip/>
>>     
>>>   
>>>       
>>>>     * The branding-theme-profiler.ft (a version I have in local on my
>>>>       machine) does not generate the round corners images, I think the
>>>>       problem comes from the fact that links are no more rewritten...
>>>>     
>>>>         
>>> Hmm, see above the links are rewritten. I guess something else changed.
>>> AFAIR the branding-theme-profiler.ft is now a *css* contract and not
>>> anymore a html!
>>>   
>>>       
>> Oups :-[ , I have made an html contract from the 
>> branding-theme-profiler.ft contract I have found in the dispatcher.
>>     
>
> Where? There should be no html "branding-theme-profiler.ft" contract
> anymore.
>   
No meant in the themer, not in the dispatcher, sorry,

<snip/>
> Hope that solves this issue.
>
>   
>>>>     * The problem with pages containing "_" is solved but I don't know
>>>>       why ;-) . (http://issues.apache.org/jira/browse/FOR-725).
>>>>     
>>>>         
>>> Jeje, I reckon it was the stuff with the linkmap that I refactored for
>>> the site: bug. ;-)
>>>   
>>>       
>> Ok, maybe we can close it ?
>>
>>     
>
> Yeah, close it.
>
>   
>> lazy consensus active ?
>>     
>
> +1 just go ahead, to reopen it is just one click. ;-)
>
> ...but thinking about the I18n issue it maybe related, you may link to
> FOR-822 when closing the issue.
>   
Ok, I will do this,

Salutations,
Cyriaque,

> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 12:27 +0100, Cyriaque Dupoirieux escribió:
> Thorsten Scherler a écrit :
> > El lun, 27-02-2006 a las 10:07 +0100, Cyriaque Dupoirieux escribió:
> >   
> >> Hi,
> >>
> >>     I have published my site with 
> >> <http://cyriaque.dupoirieux.free.fr/accueil.html>the new structurer !
> >>     
> >
> >   
> <snip/>
> >   
> >>     * The branding-theme-profiler.ft (a version I have in local on my
> >>       machine) does not generate the round corners images, I think the
> >>       problem comes from the fact that links are no more rewritten...
> >>     
> >
> > Hmm, see above the links are rewritten. I guess something else changed.
> > AFAIR the branding-theme-profiler.ft is now a *css* contract and not
> > anymore a html!
> >   
> Oups :-[ , I have made an html contract from the 
> branding-theme-profiler.ft contract I have found in the dispatcher.

Where? There should be no html "branding-theme-profiler.ft" contract
anymore.

> I haven't seen the contract in css of core.
> I am going to try it and tell you if round corners works with me,
> Sorry,
> 

No worries, dude.

Hope that solves this issue.

> >>     * The problem with pages containing "_" is solved but I don't know
> >>       why ;-) . (http://issues.apache.org/jira/browse/FOR-725).
> >>     
> >
> > Jeje, I reckon it was the stuff with the linkmap that I refactored for
> > the site: bug. ;-)
> >   
> Ok, maybe we can close it ?
> 

Yeah, close it.

> lazy consensus active ?

+1 just go ahead, to reopen it is just one click. ;-)

...but thinking about the I18n issue it maybe related, you may link to
FOR-822 when closing the issue.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 10:07 +0100, Cyriaque Dupoirieux escribió:
>   
>> Hi,
>>
>>     I have published my site with 
>> <http://cyriaque.dupoirieux.free.fr/accueil.html>the new structurer !
>>     
>
>   
<snip/>
>   
>>     * The branding-theme-profiler.ft (a version I have in local on my
>>       machine) does not generate the round corners images, I think the
>>       problem comes from the fact that links are no more rewritten...
>>     
>
> Hmm, see above the links are rewritten. I guess something else changed.
> AFAIR the branding-theme-profiler.ft is now a *css* contract and not
> anymore a html!
>   
Oups :-[ , I have made an html contract from the 
branding-theme-profiler.ft contract I have found in the dispatcher.
I haven't seen the contract in css of core.
I am going to try it and tell you if round corners works with me,
Sorry,

>>     * The problem with pages containing "_" is solved but I don't know
>>       why ;-) . (http://issues.apache.org/jira/browse/FOR-725).
>>     
>
> Jeje, I reckon it was the stuff with the linkmap that I refactored for
> the site: bug. ;-)
>   
Ok, maybe we can close it ?

lazy consensus active ?

Salutations,
Cyriaque,
> salu2
>   

Re: [Structurer feed-back]

Posted by "Gav...." <br...@brightontown.com.au>.
----- Original Message ----- 
From: "Thorsten Scherler" <th...@apache.org>
To: <de...@forrest.apache.org>
Sent: Monday, February 27, 2006 7:42 PM
Subject: Re: [Structurer feed-back]


> X-SpamKiller-AcctId: 1
> X-SpamKiller-MsgId: 1129546381.12199
>
> El lun, 27-02-2006 a las 12:20 +0100, Cyriaque Dupoirieux escribió:
>> Thorsten Scherler a écrit :
> ..
>>
>> >>     * Links are no more rewritten, I mean in the dispatcher, the links
>> >>       included in the text of a contract were transformed into
>> >>       hyperlinks (with Lex help he I remember)
>> >>
>> >
>> > ¿? Can you explain.
>> >
>> For instance, in the previous version of my site, when I wrote in the
>> document a URL (http://...) or a mail (Cyriaque.Dupoirieux@apache.org)
>> the generated html was respectively :
>>
>>     * <a href="http://...">http://...</a>
>>     * <a
>> 
>> href="mailto:Cyriaque.Dupoirieux@apache.org">Cyriaque.Dupoirieux@apache.org</a>
>>
>> Remember the http://issues.apache.org/jira/browse/FOR-743.
>> I made a correction to be able to anti-slash the url or mail we don't
>> want to rewrite (such with the webmestre e-mail address)
>> Now, no URL nor e-mail are rewritten...
>>
>
> Yeah, if you do:
> <document>
>  <header>
>    <title>know the unknown - about</title>
>  </header>
>  <body>
>   <section id="about-x">
>      <title>about tarGET-X</title>
>      <p>
>       <a href="http://www.uni-paderborn.de/">
>         <strong> University of Paderborn, Germany </strong>
>       </a>
>      <p>
>    </section>
>  </body>
> </document>
>
> That should produce a link.
>
> If you do
> <document>
>  <header>
>    <title>know the unknown - about</title>
>  </header>
>  <body>
>   <section id="about-x">
>      <title>about tarGET-X</title>
>      <p>
>       <strong> University of Paderborn, Germany </strong> -
> http://www.uni-paderborn.de/<p>
>    </section>
>  </body>
> </document>
>
> You should not get any link!
>
> In v2 that was a bug caused by FOR-745 and the fix in FOR-743 is
> affecting only pipes that are using the Lex (e.g. the css-dispatcher).
>
> If you want a link you need to use <a/>. ;-)

For XHTML 2 this will need to change, you dont need to use <a href> for a 
hyperlink.
But we are still a bit off that yet.

Gav...

>
> salu2
> -- 
> thorsten
>
> "Together we stand, divided we fall!"
> Hey you (Pink Floyd)
> 



Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El mar, 28-02-2006 a las 09:46 +0100, Cyriaque Dupoirieux escribió:
>   
>> Thorsten Scherler a écrit :
>>     
>>> El lun, 27-02-2006 a las 13:29 +0100, Cyriaque Dupoirieux escribió:
>>>   
>>>       
>>>> Thorsten Scherler a écrit :
>>>>     
>>>>         
<snip/>


>
> well did you copy and paste?
>
> then try changing
> <map:generate src="cocoon://{1}.source.rewritten.xml" />
>   
Ok, I has two <map:pipeline> tags in my sitemap and I think it was that.
The first proposition you gave was the good one thanks,

> HTH
>
> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El mar, 28-02-2006 a las 09:46 +0100, Cyriaque Dupoirieux escribió:
> Thorsten Scherler a écrit :
> > El lun, 27-02-2006 a las 13:29 +0100, Cyriaque Dupoirieux escribió:
> >   
> >> Thorsten Scherler a écrit :
> >>     
> <snip/>
> >> What you call a bug was IMO a very nice feature indeed ;-) .
> >>     
> >
> > Jeje, I thought that this sentence would come. ;) It is a bug because
> > the xdocs api defines what will be transformed as a link. ;)
> >
> > Anyway if you like to trick the api ;) then just add the lex stuff again
> > to your project sitemap:
> > <!-- HTML rendered from intermediate format -->
> >       <map:match pattern="**.body.xml">
> >         <map:generate src="cocoon:/{1}.source.rewritten.xml" />
> >         <map:transform src="{lm:dataModel-html-document-to-html.xsl}">
> >           <map:parameter name="path" value="{1}.html" />
> >         </map:transform>
> >         <map:transform type="pattern" 
> > src="{forrest:context}/resources/chaperon/grammars/link.xlex" /> 
> >         <map:transform
> > src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" />
> >         <map:serialize />
> >       </map:match>
> >
> > Then you have back your "feature". ;)
> >
> >   
> Thanks,
> 
> If I do this, I have the following error :
> 
> X [0]                                     linkmap.html  BROKEN: 
> dispatcherError: 500 - Internal server error
> The contract "content-main-renard" has thrown thrown an exception by 
> resolving raw data from "cocoon://linkmap.body.xml"
> .
> dispatcherErrorStack:
>  org.apache.excalibur.source.SourceNotFoundException: Exception during 
> processing of cocoon://linkmap.body.xml
> Total time: 0 minutes 13 seconds,  Site size: 0 Site pages: 0
> Java Result: 1
> 
>   Copying broken links file to site root.
> 
> Any idea ?

well did you copy and paste?

then try changing
<map:generate src="cocoon://{1}.source.rewritten.xml" />

HTH

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 13:29 +0100, Cyriaque Dupoirieux escribió:
>   
>> Thorsten Scherler a écrit :
>>     
<snip/>
>> What you call a bug was IMO a very nice feature indeed ;-) .
>>     
>
> Jeje, I thought that this sentence would come. ;) It is a bug because
> the xdocs api defines what will be transformed as a link. ;)
>
> Anyway if you like to trick the api ;) then just add the lex stuff again
> to your project sitemap:
> <!-- HTML rendered from intermediate format -->
>       <map:match pattern="**.body.xml">
>         <map:generate src="cocoon:/{1}.source.rewritten.xml" />
>         <map:transform src="{lm:dataModel-html-document-to-html.xsl}">
>           <map:parameter name="path" value="{1}.html" />
>         </map:transform>
>         <map:transform type="pattern" 
> src="{forrest:context}/resources/chaperon/grammars/link.xlex" /> 
>         <map:transform
> src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" />
>         <map:serialize />
>       </map:match>
>
> Then you have back your "feature". ;)
>
>   
Thanks,

If I do this, I have the following error :

X [0]                                     linkmap.html  BROKEN: 
dispatcherError: 500 - Internal server error
The contract "content-main-renard" has thrown thrown an exception by 
resolving raw data from "cocoon://linkmap.body.xml"
.
dispatcherErrorStack:
 org.apache.excalibur.source.SourceNotFoundException: Exception during 
processing of cocoon://linkmap.body.xml
Total time: 0 minutes 13 seconds,  Site size: 0 Site pages: 0
Java Result: 1

  Copying broken links file to site root.

Any idea ?

Salutations,
Cyriaque,
>> and BTW, why the css-dispatcher still need the LEX ?
>>     
>
> To rewrite the links of the css. We do have there markup (css is text
> base) so it needs to be rewritten that the crawler knows he has to
> request e.g. the round corner images.
>
> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 13:29 +0100, Cyriaque Dupoirieux escribió:
> Thorsten Scherler a écrit :
> > El lun, 27-02-2006 a las 12:20 +0100, Cyriaque Dupoirieux escribió:
> >   
> >> Thorsten Scherler a écrit :
> >>     
> > ...
> >   
> >>  
> >>     
> >>>>     * Links are no more rewritten, I mean in the dispatcher, the links
> >>>>       included in the text of a contract were transformed into
> >>>>       hyperlinks (with Lex help he I remember)
> >>>>     
> >>>>         
> >>> ¿? Can you explain.
> >>>   
> >>>       
> >> For instance, in the previous version of my site, when I wrote in the 
> >> document a URL (http://...) or a mail (Cyriaque.Dupoirieux@apache.org) 
> >> the generated html was respectively :
> >>
> >>     * <a href="http://...">http://...</a>
> >>     * <a
> >>       href="mailto:Cyriaque.Dupoirieux@apache.org">Cyriaque.Dupoirieux@apache.org</a>
> >>
> >> Remember the http://issues.apache.org/jira/browse/FOR-743.
> >> I made a correction to be able to anti-slash the url or mail we don't 
> >> want to rewrite (such with the webmestre e-mail address)
> >> Now, no URL nor e-mail are rewritten...
> >>
> >>     
> >
> > Yeah, if you do:
> > <document>
> >   <header>
> >     <title>know the unknown - about</title>
> >   </header>
> >   <body>
> >    <section id="about-x">
> >       <title>about tarGET-X</title>
> >       <p> 
> >        <a href="http://www.uni-paderborn.de/">
> >          <strong> University of Paderborn, Germany </strong>
> >        </a>
> >       <p> 
> >     </section>
> >   </body>
> > </document>
> >
> > That should produce a link.
> >
> > If you do 
> > <document>
> >   <header>
> >     <title>know the unknown - about</title>
> >   </header>
> >   <body>
> >    <section id="about-x">
> >       <title>about tarGET-X</title>
> >       <p> 
> >        <strong> University of Paderborn, Germany </strong> -
> > http://www.uni-paderborn.de/<p> 
> >     </section>
> >   </body>
> > </document>
> >
> > You should not get any link!
> >   
> Yes and it's a pity :-P .
> > In v2 that was a bug caused by FOR-745 and the fix in FOR-743 is
> > affecting only pipes that are using the Lex (e.g. the css-dispatcher).
> >   
> What you call a bug was IMO a very nice feature indeed ;-) .

Jeje, I thought that this sentence would come. ;) It is a bug because
the xdocs api defines what will be transformed as a link. ;)

Anyway if you like to trick the api ;) then just add the lex stuff again
to your project sitemap:
<!-- HTML rendered from intermediate format -->
      <map:match pattern="**.body.xml">
        <map:generate src="cocoon:/{1}.source.rewritten.xml" />
        <map:transform src="{lm:dataModel-html-document-to-html.xsl}">
          <map:parameter name="path" value="{1}.html" />
        </map:transform>
        <map:transform type="pattern" 
src="{forrest:context}/resources/chaperon/grammars/link.xlex" /> 
        <map:transform
src="{forrest:context}/resources/chaperon/stylesheets/pattern2link.xsl" />
        <map:serialize />
      </map:match>

Then you have back your "feature". ;)

> and BTW, why the css-dispatcher still need the LEX ?

To rewrite the links of the css. We do have there markup (css is text
base) so it needs to be rewritten that the crawler knows he has to
request e.g. the round corner images.

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 12:20 +0100, Cyriaque Dupoirieux escribió:
>   
>> Thorsten Scherler a écrit :
>>     
> ...
>   
>>  
>>     
>>>>     * Links are no more rewritten, I mean in the dispatcher, the links
>>>>       included in the text of a contract were transformed into
>>>>       hyperlinks (with Lex help he I remember)
>>>>     
>>>>         
>>> ¿? Can you explain.
>>>   
>>>       
>> For instance, in the previous version of my site, when I wrote in the 
>> document a URL (http://...) or a mail (Cyriaque.Dupoirieux@apache.org) 
>> the generated html was respectively :
>>
>>     * <a href="http://...">http://...</a>
>>     * <a
>>       href="mailto:Cyriaque.Dupoirieux@apache.org">Cyriaque.Dupoirieux@apache.org</a>
>>
>> Remember the http://issues.apache.org/jira/browse/FOR-743.
>> I made a correction to be able to anti-slash the url or mail we don't 
>> want to rewrite (such with the webmestre e-mail address)
>> Now, no URL nor e-mail are rewritten...
>>
>>     
>
> Yeah, if you do:
> <document>
>   <header>
>     <title>know the unknown - about</title>
>   </header>
>   <body>
>    <section id="about-x">
>       <title>about tarGET-X</title>
>       <p> 
>        <a href="http://www.uni-paderborn.de/">
>          <strong> University of Paderborn, Germany </strong>
>        </a>
>       <p> 
>     </section>
>   </body>
> </document>
>
> That should produce a link.
>
> If you do 
> <document>
>   <header>
>     <title>know the unknown - about</title>
>   </header>
>   <body>
>    <section id="about-x">
>       <title>about tarGET-X</title>
>       <p> 
>        <strong> University of Paderborn, Germany </strong> -
> http://www.uni-paderborn.de/<p> 
>     </section>
>   </body>
> </document>
>
> You should not get any link!
>   
Yes and it's a pity :-P .
> In v2 that was a bug caused by FOR-745 and the fix in FOR-743 is
> affecting only pipes that are using the Lex (e.g. the css-dispatcher).
>   
What you call a bug was IMO a very nice feature indeed ;-) .

and BTW, why the css-dispatcher still need the LEX ?

Salutations,
Cyriaque,
> If you want a link you need to use <a/>. ;-)
>
> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 12:20 +0100, Cyriaque Dupoirieux escribió:
> Thorsten Scherler a écrit :
...
>  
> >>     * Links are no more rewritten, I mean in the dispatcher, the links
> >>       included in the text of a contract were transformed into
> >>       hyperlinks (with Lex help he I remember)
> >>     
> >
> > ¿? Can you explain.
> >   
> For instance, in the previous version of my site, when I wrote in the 
> document a URL (http://...) or a mail (Cyriaque.Dupoirieux@apache.org) 
> the generated html was respectively :
> 
>     * <a href="http://...">http://...</a>
>     * <a
>       href="mailto:Cyriaque.Dupoirieux@apache.org">Cyriaque.Dupoirieux@apache.org</a>
> 
> Remember the http://issues.apache.org/jira/browse/FOR-743.
> I made a correction to be able to anti-slash the url or mail we don't 
> want to rewrite (such with the webmestre e-mail address)
> Now, no URL nor e-mail are rewritten...
> 

Yeah, if you do:
<document>
  <header>
    <title>know the unknown - about</title>
  </header>
  <body>
   <section id="about-x">
      <title>about tarGET-X</title>
      <p> 
       <a href="http://www.uni-paderborn.de/">
         <strong> University of Paderborn, Germany </strong>
       </a>
      <p> 
    </section>
  </body>
</document>

That should produce a link.

If you do 
<document>
  <header>
    <title>know the unknown - about</title>
  </header>
  <body>
   <section id="about-x">
      <title>about tarGET-X</title>
      <p> 
       <strong> University of Paderborn, Germany </strong> -
http://www.uni-paderborn.de/<p> 
    </section>
  </body>
</document>

You should not get any link!

In v2 that was a bug caused by FOR-745 and the fix in FOR-743 is
affecting only pipes that are using the Lex (e.g. the css-dispatcher).

If you want a link you need to use <a/>. ;-)

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: [Structurer feed-back]

Posted by Cyriaque Dupoirieux <Cy...@pcotech.fr>.
Thorsten Scherler a écrit :
> El lun, 27-02-2006 a las 10:07 +0100, Cyriaque Dupoirieux escribió:
>   
>> Hi,
>>
>>     I have published my site with 
>> <http://cyriaque.dupoirieux.free.fr/accueil.html>the new structurer !
>>     
>
> :) 
>
> Nice.
>   
Thanks,
>   
>>     I use the following plugins :
>>
>>     * org.apache.forrest.plugin.output.pdf
>>     * org.apache.forrest.plugin.input.OpenOffice.org - BTW does anyone
>>       work on OpenDocument plugin ?
>>     * org.apache.forrest.plugin.internal.dispatcher
>>     * org.apache.forrest.themes.core
>>     * org.apache.forrest.plugin.input.projectInfo
>>     * and org.apache.forrest.plugin.output.php
>>
>> *Benefits
>> *
>>
>>     * Inherintance of contracts is very easy and much more clearer than
>>       with the dispatcher because of the fact that contracts are now
>>       standalone
>>     * I could do everything I wanted to :-) .
>>
>>     
>
> I agree. ;-)
>   
Indeed ;-) !
>   
>> *Disadvantages*
>>
>>     * Structurer is slow, but we all know we have to focus on this
>>       problem. (It is slow but much more flexible than skins...)
>>     
>
> Well, it is faster then with v2 and v1. Still a lot room for
> enhancement. ;-) 
>
> ...and yeah the dispatcher is demanding memory for flexibility. :(
>   
Sure, flexibility have a cost, we will not have a structurer much more 
flexible and open than skins and faster and using less memory than skins...
>   
>>     * Links are no more rewritten, I mean in the dispatcher, the links
>>       included in the text of a contract were transformed into
>>       hyperlinks (with Lex help he I remember)
>>     
>
> ¿? Can you explain.
>   
For instance, in the previous version of my site, when I wrote in the 
document a URL (http://...) or a mail (Cyriaque.Dupoirieux@apache.org) 
the generated html was respectively :

    * <a href="http://...">http://...</a>
    * <a
      href="mailto:Cyriaque.Dupoirieux@apache.org">Cyriaque.Dupoirieux@apache.org</a>

Remember the http://issues.apache.org/jira/browse/FOR-743.
I made a correction to be able to anti-slash the url or mail we don't 
want to rewrite (such with the webmestre e-mail address)
Now, no URL nor e-mail are rewritten...

Salutations,
Cyriaque,
> The html-dispatcher is requesting already rewritten content, it will not
> try to rewrite the outcome again. The Lex stuff is only used for the
> css-dispatcher which is actually is transforming certain text into links
> on the final output. 
>
>   
>>     * The branding-theme-profiler.ft (a version I have in local on my
>>       machine) does not generate the round corners images, I think the
>>       problem comes from the fact that links are no more rewritten...
>>     
>
> Hmm, see above the links are rewritten. I guess something else changed.
> AFAIR the branding-theme-profiler.ft is now a *css* contract and not
> anymore a html!
>
>   
>>     * The problem with pages containing "_" is solved but I don't know
>>       why ;-) . (http://issues.apache.org/jira/browse/FOR-725).
>>     
>
> Jeje, I reckon it was the stuff with the linkmap that I refactored for
> the site: bug. ;-)
>
> salu2
>   

Re: [Structurer feed-back]

Posted by Thorsten Scherler <th...@apache.org>.
El lun, 27-02-2006 a las 10:07 +0100, Cyriaque Dupoirieux escribió:
> Hi,
> 
>     I have published my site with 
> <http://cyriaque.dupoirieux.free.fr/accueil.html>the new structurer !

:) 

Nice.

>     I use the following plugins :
> 
>     * org.apache.forrest.plugin.output.pdf
>     * org.apache.forrest.plugin.input.OpenOffice.org - BTW does anyone
>       work on OpenDocument plugin ?
>     * org.apache.forrest.plugin.internal.dispatcher
>     * org.apache.forrest.themes.core
>     * org.apache.forrest.plugin.input.projectInfo
>     * and org.apache.forrest.plugin.output.php
> 
> *Benefits
> *
> 
>     * Inherintance of contracts is very easy and much more clearer than
>       with the dispatcher because of the fact that contracts are now
>       standalone
>     * I could do everything I wanted to :-) .
> 

I agree. ;-)

> *Disadvantages*
> 
>     * Structurer is slow, but we all know we have to focus on this
>       problem. (It is slow but much more flexible than skins...)

Well, it is faster then with v2 and v1. Still a lot room for
enhancement. ;-) 

...and yeah the dispatcher is demanding memory for flexibility. :(

>     * Links are no more rewritten, I mean in the dispatcher, the links
>       included in the text of a contract were transformed into
>       hyperlinks (with Lex help he I remember)

¿? Can you explain.

The html-dispatcher is requesting already rewritten content, it will not
try to rewrite the outcome again. The Lex stuff is only used for the
css-dispatcher which is actually is transforming certain text into links
on the final output. 

>     * The branding-theme-profiler.ft (a version I have in local on my
>       machine) does not generate the round corners images, I think the
>       problem comes from the fact that links are no more rewritten...

Hmm, see above the links are rewritten. I guess something else changed.
AFAIR the branding-theme-profiler.ft is now a *css* contract and not
anymore a html!

>     * The problem with pages containing "_" is solved but I don't know
>       why ;-) . (http://issues.apache.org/jira/browse/FOR-725).

Jeje, I reckon it was the stuff with the linkmap that I refactored for
the site: bug. ;-)

salu2
-- 
thorsten

"Together we stand, divided we fall!" 
Hey you (Pink Floyd)


Re: Open Document plugin (Re: [Structurer feed-back])

Posted by Thorsten Scherler <th...@wyona.com>.
El lun, 27-02-2006 a las 12:12 +0000, Ross Gardler escribió:
> Cyriaque Dupoirieux wrote:
> >    * org.apache.forrest.plugin.input.OpenOffice.org - BTW does anyone
> >      work on OpenDocument plugin ?
> 
> I have a use case for this, but I am not at all sure when it will reach 
> the top of my priority list. Would certainly participate, but unlikely 
> to push it forward myself for a while.
> 

Michi implemented something for lenya:
http://svn.apache.org/viewcvs.cgi/lenya/trunk/src/modules/opendocument/
maybe we can reuse it.

salu2
-- 
Thorsten Scherler
COO Spain
Wyona Inc.  -  Open Source Content Management  -  Apache Lenya
http://www.wyona.com                   http://lenya.apache.org
thorsten.scherler@wyona.com                thorsten@apache.org


Open Document plugin (Re: [Structurer feed-back])

Posted by Ross Gardler <rg...@apache.org>.
Cyriaque Dupoirieux wrote:
>    * org.apache.forrest.plugin.input.OpenOffice.org - BTW does anyone
>      work on OpenDocument plugin ?

I have a use case for this, but I am not at all sure when it will reach 
the top of my priority list. Would certainly participate, but unlikely 
to push it forward myself for a while.

Ross