You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Brian French <bf...@ematic.com> on 2002/03/21 14:36:10 UTC
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