Hi Sylvian, Can you access Felix Web Console at http://localhost:8080/system/console? How are you starting your Sling instance?
Henry On Dec 29, 2014, at 2:30 PM, Sylvain Wallez <[email protected]> wrote: > Le 29/12/2014 08:17, Bertrand Delacretaz a écrit : >> Hi Sylvain, >> >> Good to see you here ;-) > > Hi Bertrand ! Looking at the list archives, I've seen quite a few familiar > names ;-) > >> On Sun, Dec 28, 2014 at 8:54 PM, Sylvain Wallez <[email protected]> wrote: >>> ...I thought of having an authoring area that would store content in its >>> original format (html, asciidoc or markdown) and have an observer that >>> converts this content to html and stores it in the publishing area under >>> /content/blog/<year>/<month>/<post>... >> That does match the Sling way of doing things, and that might also >> solve your archive URL issue, if you put your converted posts at paths >> like /posts/2014/12/25/merryxmas. >> >> By setting the same resource type on all nodes from 2014 down you can >> use the same rendering script for all of those URLs, that recursively >> collects all children and renders them. >> >> You don't need queries then, any URL like /posts/2014.html or >> /posts/2014/12.html will do the right thing, and generating the >> archive navigation is just walking down the tree. >> >> You could also omit the authoring area, directly store your content >> under /posts and use a Sling Model PostConstruct method [1] to convert >> the post's markup to HTML on the fly. Using access control to hide >> posts that shouldn't be public yet can make staging transparent, >> you'll just see the posts that belong to you when authoring as a >> logged in user, and they are invisible on the public website which >> uses the anonymous user. >> >> Hope this helps, and if you're able to contribute your blog code as an >> example that would be fantastic! > > Sounds interesting, but I'm facing a newbie problem: I tried to install the > espblog by following the instructions in samples/espblog/README.txt, and > installing fails with this message: > > $ mvn install -P autoInstallBundle > ... > [INFO] --- maven-bundle-plugin:2.5.3:install (default-install) @ > org.apache.sling.samples.path-based.rtp --- > [INFO] Local OBR update disabled (enable with -DobrRepository) > [INFO] > [INFO] --- maven-sling-plugin:2.1.0:install (install-bundle) @ > org.apache.sling.samples.path-based.rtp --- > [INFO] Installing Bundle > org.apache.sling.samples.path-based.rtp(/Users/sylvain/dev/apache.org/sling/sling/samples/path-based-rtp/target/org.apache.sling.samples.path-based.rtp-2.0.5-SNAPSHOT.jar) > to http://localhost:8080/system/console via POST > [ERROR] Installation failed, cause: Not Found > > This is for path-based-rtp, and the same happens for espblog. > > I suspect this must be related to <obrRepository>NONE</obrRepository> in > parent/pom.xml but I don't know what to do with it. > > Thanks for any help, I'm feeling stupid :-) > > Sylvain > > -- > Sylvain Wallez - http://bluxte.net >
