Login  Register

Re: Asciidoctor as content managment

Posted by LightGuardjp on Oct 07, 2013; 4:05pm
URL: https://discuss.asciidoctor.org/Asciidoctor-as-content-managment-tp723p739.html

I don't see a problem doing this as Asciidoc, it should work fine. You should be able to get access to the parsed document via the integration lib, Alex?


On Sun, Oct 6, 2013 at 2:47 AM, smigielski [via Asciidoctor :: Discussion] <[hidden email]> wrote:
Hi, I am thinking of using asciidoc files  in some kind of basic git cms for storing product related content (name, description, files, price and so on). There will be only few products so maintaining it in files make complete sense for me. Because I've already got all html files prepared I plan to use wicket framework for presentation and some simple business logic.

So to clarify the context is asciidoc file -> read by java application and loaded to Product model -> presented in wicket template each part of product description in different places.

And first question is if it is, in your opinion proper use case for asciidoc markup? Maybe I should use xml or any other markup format for that kind of job and put asciidoc fragments only in strictly text content?

I feel like it is good idea to stay with pure asciidoc because of simplicity for content editors so how can I leverage content chunking for that purpose. I've checkout asciidoctor-java-integration but I can't find the way of retrieving different parts of main text based on block role or style. Can it be achieved somehow by manipulating input parameters or by extending java to ruby integration?

I would be glad for any hints or thoughts!

Cheers,
Marek


If you reply to this email, your message will be added to the discussion below:
http://discuss.asciidoctor.org/Asciidoctor-as-content-managment-tp723.html
To start a new topic under Asciidoctor :: Discussion, email [hidden email]
To unsubscribe from Asciidoctor :: Discussion, click here.
NAML



--
Jason Porter
http://en.gravatar.com/lightguardjp