RE: AW: Content Loading question.

2009-05-27 Thread Mike Müller
Hi Vidar Many thanks for your contribution, I will take it over to the Sling website. If you also have some samples for JSON, you'll very welcome to add these as well. best regards mike I might have some knowledge on this, especially loading content as XML files. 2009/5/25 Mike Müller

Re: AW: Content Loading question.

2009-05-26 Thread Vidar Ramdal
I might have some knowledge on this, especially loading content as XML files. 2009/5/25 Mike Müller mike...@mysign.ch: [...] Feel free to change/correct/append everything you like and let me know when you've finished. Mike, I added a small section on using custom XML formats in content

Re: AW: Content Loading question.

2009-05-25 Thread Felix Meschberger
Hi Ian, Ian Boston schrieb: I am sure you know this, https://svn.apache.org/repos/asf/incubator/sling/trunk/samples/simple-demo/src/main/resources/SLING-INF/content/sample/content/home.json Appears to work properly. The below does not. Is there a way to initialize rep:Policy nodes other

RE: AW: Content Loading question.

2009-05-25 Thread Mike Müller
Hi Vidar I might have some knowledge on this, especially loading content as XML files. Is there a wiki page I could update? I created a wiki page [1] (which contains by now the content of sample_readme.txt [2]). Would be very good if you just change this page. Feel free to

Re: AW: Content Loading question.

2009-05-25 Thread Ian Boston
Hi, You may well know all of this already, but I though I should share anyway, so please ignore any useless input :). There are working examples of loading about 1000 files (997 actually) at [1] which pulls the files from a separate svn tree. In addition the correct json format appears to

RE: AW: Content Loading question.

2009-05-24 Thread Mike Müller
Hi Ian Mike, Yes If I get things working I will, I have several use cases I need to cover. 1. Uploading about 1000 html and other UI files. 2. Protecting those files from changes with base folder ACL's 3. Setting up a template structure with some node properties being set on both files

Re: AW: Content Loading question.

2009-05-16 Thread Felix Meschberger
Hi, Ian Boston schrieb: Felix, I am not absolutely certain about this but I think the description is not in sync with the examples. I tried [1] in /devwidgets.json and when accessing http://devwidgets.html I got [2] back, indicating that the example files are correct but the doc is not.

AW: Content Loading question.

2009-05-15 Thread Mike Müller
Hi Ian, hi Felix I would like to update the docs on the content loader feature with the JSON and XML part. Can someone send me rough information on that, so that I have the ability to extend the docs. Maybe also some longer sample file than initial-content-folder.json (with some subnodes) and

Re: AW: Content Loading question.

2009-05-15 Thread Ian Boston
Mike, Yes If I get things working I will, I have several use cases I need to cover. 1. Uploading about 1000 html and other UI files. 2. Protecting those files from changes with base folder ACL's 3. Setting up a template structure with some node properties being set on both files and folders.

Re: AW: Content Loading question.

2009-05-15 Thread Felix Meschberger
Hi Mike, You might want to look at the initial content of the simple-sample module which you find at https://svn.apache.org/repos/asf/incubator/sling/trunk/samples/simple-demo/src/main/resources/SLING-INF/content This also contains sample_readme.txt file, which in fact contains a rough

Re: AW: Content Loading question.

2009-05-15 Thread Ian Boston
Felix, I am not absolutely certain about this but I think the description is not in sync with the examples. I tried [1] in /devwidgets.json and when accessing http:// devwidgets.html I got [2] back, indicating that the example files are correct but the doc is not. (ignore the content, I

Re: AW: Content Loading question.

2009-05-15 Thread Ian Boston
I am sure you know this, https://svn.apache.org/repos/asf/incubator/sling/trunk/samples/simple-demo/src/main/resources/SLING-INF/content/sample/content/home.json Appears to work properly. The below does not. Is there a way to initialize rep:Policy nodes other than using the acl servlets over

Re: AW: Content Loading question.

2009-05-15 Thread Bertrand Delacretaz
Hi, On Fri, May 15, 2009 at 11:53 PM, Ian Boston i...@tfd.co.uk wrote: I am not absolutely certain about this but I think the description is not in sync with the examples Note that the initial content found at [1] is verified by the InitialContentTest [2] when running the launchpad/testing