You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@lenya.apache.org by Robrecht Pap <tr...@hotmail.com> on 2006/04/20 14:28:36 UTC

Trying to get sitetree via HTTP

hello,

I'm trying to get the sitetree of a publication in Lenya via HTTP.
I'm using a URI like:

http://localhost:8888/navigation/default/authoring/sitetree/index.xml

However, I get the following error:
 The publication for ID [navigation] could not be created.

What am I doing wrong??

Tnx.

Robrecht


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Trying to get sitetree via HTTP

Posted by Robrecht Pap <tr...@hotmail.com>.
Thanks Thomas!

This works for me.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Trying to get sitetree via HTTP

Posted by Comiotto Thomas <th...@unicom.unizh.ch>.
The sitetree ajax widget uses the following uri ns scheme to access  
sitetree fragments:
/info-authoring/info-sitetree/sitetree-fragment.xml? 
area={area}&documentid={docid}

HTH,
Thomas


Am 20.04.2006 um 15:09 schrieb Andreas Hartmann:

> Robrecht Pap wrote:
>> hello,
>> I'm trying to get the sitetree of a publication in Lenya via HTTP.
>> I'm using a URI like:
>> http://localhost:8888/navigation/default/authoring/sitetree/index.xml
>> However, I get the following error:
>>  The publication for ID [navigation] could not be created.
>> What am I doing wrong??
>
> Where did you find the information that this is supported?
> The internal sitetree XML is not accessible over HTTP, unless
> you implement a specific view. For handling site-structure-based
> widgets etc., please refer to the navigation framework documentation.
>
> HTH,
>
> -- Andreas
>
>
>
>
> -- 
> Andreas Hartmann
> Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
> http://www.wyona.com                      http://lenya.apache.org
> andreas.hartmann@wyona.com                     andreas@apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
> For additional commands, e-mail: user-help@lenya.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org


Re: Trying to get sitetree via HTTP

Posted by Andreas Hartmann <an...@apache.org>.
Robrecht Pap wrote:
> hello,
> 
> I'm trying to get the sitetree of a publication in Lenya via HTTP.
> I'm using a URI like:
> 
> http://localhost:8888/navigation/default/authoring/sitetree/index.xml
> 
> However, I get the following error:
>  The publication for ID [navigation] could not be created.
> 
> What am I doing wrong??

Where did you find the information that this is supported?
The internal sitetree XML is not accessible over HTTP, unless
you implement a specific view. For handling site-structure-based
widgets etc., please refer to the navigation framework documentation.

HTH,

-- Andreas




-- 
Andreas Hartmann
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org
andreas.hartmann@wyona.com                     andreas@apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@lenya.apache.org
For additional commands, e-mail: user-help@lenya.apache.org