You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Andreas Schmid <co...@sa-lsa.com> on 2004/05/28 15:31:39 UTC

Has anyone tried to generate the sitemap.xmap via WebGUI ?

I am currently developing a CMS based on Cocoon 2.1.4
The thing is changing contents is no problem.. but our users also want 
to add or delete pages on their webpage.

So i thought it would be great to create an sub sitemap which holds the 
pages for the webpage.

Has anyone experience in doing this ?

Thanks

Andreas Schmid

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Andreas Schmid <co...@sa-lsa.com>.
For better understanding:

<map:pipelines>
    <!-- This is the  external matcher area , this are the links the 
customer should be able to create via GUI-->
    <map:pipeline internal-only="false">
       <map:match patter="foo.html">            
             <map:redirect-to uri="cocoon:template1_storyID10" />
       </map:match>
    </map:pipeline>

    <!-- This is the internal match area, this are the templates 
generated by our company -->
    <map:pipeline internal-only="true">
       <map:match patter="template1_storyID*">            
             <map:generate .... />
             <map:act .... />
             <map:transform .... />
             <map:serialize ..... />
       </map:match>
    </map:pipeline>
</map:pipelines>

My idea was to put the external pipelines in an seperate sitemap.xmap 
file. This file should be created by my application. As far as i know, 
cocoon has a treeProcessort which validates all the XML given to him. 
Short ... i want to use the Validator of Cocoon to create, read and 
validate the XML I produce while creating it.
Additional I asked if someone has experience in creating the 
Sitemap.xmap dyamically, because I do not know if i should store the 
Data (like indentlevel of the nodes, sort order of nodes) in a XML FIle 
an process an XSLT Transformation or if I should store the whole shit in 
a database.

Andreas

Andreas Hartmann wrote:

> Andreas Schmid wrote:
>
>> I am currently developing a CMS based on Cocoon 2.1.4
>> The thing is changing contents is no problem.. but our users also 
>> want to add or delete pages on their webpage.
>>
>> So i thought it would be great to create an sub sitemap which holds 
>> the pages for the webpage.
>
>
> You mean you want to define single pages in a Cocoon sitemap?
> Could you explain why this approach is reasonable in your
> usecase?
>
> -- Andreas
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Andreas Hartmann <an...@apache.org>.
Andreas Schmid wrote:

> I am currently developing a CMS based on Cocoon 2.1.4
> The thing is changing contents is no problem.. but our users also want 
> to add or delete pages on their webpage.
> 
> So i thought it would be great to create an sub sitemap which holds the 
> pages for the webpage.

You mean you want to define single pages in a Cocoon sitemap?
Could you explain why this approach is reasonable in your
usecase?

-- Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Philipp Stecher <ph...@hexdust.net>.
> I am currently developing a CMS based on Cocoon 2.1.4
> The thing is changing contents is no problem.. but our users also want 
> to add or delete pages on their webpage.
> 
> So i thought it would be great to create an sub sitemap which holds the 
> pages for the webpage.
> 
> Has anyone experience in doing this ?

Sorry, i dont have any experience doing this. But i thought of something 
       similar.

We do have a database centric Web Information System online and are 
looking forward to expand its functionality toward web document handling 
so our users could create multiple web pages without coding or anything. 
I thought it would be easiest to leave the administrative interface of a 
cms to our existing system then generate the sitemap.xmap (maybe with 
some external files) dynamically and let cocoon handle the web 
publishing. This would essentialy come to aggregate the sitemap outside 
of cocoon, transfer it to the place where cocoon could find it and call 
the sitemap relaod method. Something like a remote controled cocoon ;-)

Its very sketchy at the momtent, but I hope to get a prototype running 
within the next few weeks. Has anyone got an idea about the performance 
of such a thing??

Maybe we could share our experiences here ;-)

cu,
Philipp Stecher

> 
> Thanks
> 
> Andreas Schmid
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Joerg Heinicke <jo...@gmx.de>.
On 28.05.2004 17:40, Andreas Schmid wrote:

 >>> I am currently developing a CMS based on Cocoon 2.1.4
 >>
 >> Did you have a look at Apache Lenya (http://cocoon.apache.org/lenya)?

> I just looked at the Sources of Lenya....
> But i did not realy find anything that helps...
> They use the sitemap to move nodes up and down.. and other stuff... but 
> the  thing i want to do is do generate a sitemap.xmap dynamicaly.
> 
> I did not find anything concrete, because the sources of lenya are not 
> well documentated... so i just tried to read the sources.. and the 
> result was. the files i am interested in e.q. Sitemap.java from package
> org.apache.cms.cocoon.sitemap was not there.

The recommendation of Lenya was probably not for solving your concrete 
problem (sitemap, webgui), but for preventing you from developing 
something existent because you wrote you develop a CMS while Leny 
already exists.

Joerg

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Andreas Schmid <co...@sa-lsa.com>.
I just looked at the Sources of Lenya....
But i did not realy find anything that helps...
They use the sitemap to move nodes up and down.. and other stuff... but 
the  thing i want to do is do generate a sitemap.xmap dynamicaly.

I did not find anything concrete, because the sources of lenya are not 
well documentated... so i just tried to read the sources.. and the 
result was. the files i am interested in e.q. Sitemap.java from package
org.apache.cms.cocoon.sitemap was not there.

Do you know where i can find more information about this ?

Thanks

Andreas

Andreas Kuckartz wrote:

>Andreas Schmid wrote:
>
>  
>
>>I am currently developing a CMS based on Cocoon 2.1.4
>>    
>>
>
>Did you have a look at Apache Lenya (http://cocoon.apache.org/lenya) ?
>
>Andreas
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
>For additional commands, e-mail: users-help@cocoon.apache.org
>
>
>  
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Re: Has anyone tried to generate the sitemap.xmap via WebGUI ?

Posted by Andreas Kuckartz <A....@ping.de>.
Andreas Schmid wrote:

> I am currently developing a CMS based on Cocoon 2.1.4

Did you have a look at Apache Lenya (http://cocoon.apache.org/lenya) ?

Andreas


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org