Hi, Others correct me if i'm wrong but anakia is basically an ant task and as such it is designed for when you want to generate (whatever-velocity is great;) from the command line. i.e. you design your xxx.vm template and the xml files anakia uses and then run ant and that produces your html files (if you wanted html).
But what you're asking is that this is done on the fly when a http request comes in using turbine. I think your best bet is to checkout wether there is a fulcrum dvsl service (i think there is) which is a lot like xsl and you can send your request to the dvsl service to generate your pages on the fly just like what the velocity service does but with data coming from xml files. I suppose the dvsl service will have some properties within fulcrum.properties to let it find your xml files and your .dvsl templates. Checkout fulcrum and ask on the turbine list for more detailed help, someone is bound to have used this already... Hope that helps... Saimon > -----Mensaje original----- > De: Brian French [SMTP:[EMAIL PROTECTED]] > Enviado el: jueves 21 de marzo de 2002 14:36 > Para: Turbine Users List > Asunto: Fw: using anakia > > I asked this question in the velocity list( cuz it regards anakia), and > Geir told me to ask over here > > ----- Original Message ----- > From: Brian French > To: Velocity Users List > Sent: Monday, March 18, 2002 1:22 PM > Subject: using anakia > > > hey, new to velocity/turbine > > I'm the web designer for our site, so i don't know any java (leave that to > the programmers). > We're using turbine with velocity, and we will be hosting a multiple > amount of sites using most of the same velocity templates. I want to be > able to handle certian 'static' pages like the about us page/contact page > using anakia, where i could store their 'about us' info in a xml file and > then call that xml file based apon which domain is being used to access > the template. > > now my directory structure looks like: > > templates > |_app > |_layouts > |_navigations > |_screens > > resources > |_ui > |_skins > > where do i need to put the xml files and how do i call them, would the url > point to a .vm file? > > what do i need in the templates to grab/parse the xml file? > > > Brian French > -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
