You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@velocity.apache.org by Brian French <bf...@ematic.com> on 2002/03/18 19:22:31 UTC

using anakia

hey, new to velocity

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


Re: using anakia

Posted by Brian French <bf...@ematic.com>.
----- Original Message -----
From: "Brian Rowe" <sc...@yahoo.com>
To: "Velocity Users List" <ve...@jakarta.apache.org>
Sent: Monday, March 18, 2002 4:12 PM
Subject: Re: using anakia


> Are their any content management applications that
> help to manage anakia xml files?

i personally have no idea

>
> Could they be stored in a database? Instead of the
> file system?

we decided to go with xml on this stuff, it' will work best for us
>
> Can you modify your directory structure?  ui and skins
> is probably not the place, either is the template
> locations.
>
> Probably could create another directory under
> resources or use a database with a key for the
> location you were looking up.

i would prefer not to as this iwas the directory structure that turbine
installed, i think. and i'm sure there is a awy to use anakia with in this
structure, i menat anakia is part of velocity right?
>
>
> --- Brian French <bf...@ematic.com> wrote:
> > hey, new to velocity
> >
> > 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
> >
> >
>
>
> __________________________________________________
> Do You Yahoo!?
> Yahoo! Sports - live college hoops coverage
> http://sports.yahoo.com/
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: using anakia

Posted by Brian French <bf...@ematic.com>.
now my directory structure looks like:

templates
  |_app
     |_layouts
     |_navigations
     |_screens
resources
  |_ui
     |_skins

but using the current directory structure, where do i need to store the xml
files and the vsl files, and what file do i call to view them
(http://something.com/.../foo.xml, or bar.vsl, or blabla.vm)?


----- Original Message -----
From: "Geir Magnusson Jr." <ge...@optonline.net>
To: <ve...@jakarta.apache.org>
Sent: Tuesday, March 19, 2002 3:56 AM
Subject: Re: using anakia


> On 3/18/02 4:12 PM, "Brian Rowe" <sc...@yahoo.com> wrote:
>
> > Are their any content management applications that
> > help to manage anakia xml files?
> >
> > Could they be stored in a database? Instead of the
> > file system?
>
> There is no real reason why not - right now Anakia depends upon ant as the
> driver, but you could use the same technique on docs from anywhere.
>
> DVSL is also the same way - the main driver right now is files via ant,
but
> DVSL is happy to take a Reader as the input source...
>
>
> --
> Geir Magnusson Jr.                                     geirm@optonline.net
> System and Software Consulting
> My inner cowboy needs to yodel.
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: using anakia

Posted by "Geir Magnusson Jr." <ge...@optonline.net>.
On 3/18/02 4:12 PM, "Brian Rowe" <sc...@yahoo.com> wrote:

> Are their any content management applications that
> help to manage anakia xml files?
> 
> Could they be stored in a database? Instead of the
> file system?

There is no real reason why not - right now Anakia depends upon ant as the
driver, but you could use the same technique on docs from anywhere.

DVSL is also the same way - the main driver right now is files via ant, but
DVSL is happy to take a Reader as the input source...


-- 
Geir Magnusson Jr.                                     geirm@optonline.net
System and Software Consulting
My inner cowboy needs to yodel.


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: using anakia

Posted by Brian Rowe <sc...@yahoo.com>.
Are their any content management applications that
help to manage anakia xml files?

Could they be stored in a database? Instead of the
file system?

Can you modify your directory structure?  ui and skins
is probably not the place, either is the template
locations.  

Probably could create another directory under
resources or use a database with a key for the
location you were looking up.


--- Brian French <bf...@ematic.com> wrote:
> hey, new to velocity
> 
> 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
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Sports - live college hoops coverage
http://sports.yahoo.com/

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>