[opencms-dev] Accessing XML Files

Marcus Popetz marcus at roundpeg.com
Wed Sep 27 21:31:59 CEST 2006


There's a ftpd module which gives access to the vfs.  Search for ftpd
for docs on it.

Also, Ruben's download site was down and I forgot to email him this url:

http://www.roundpeg.com/downloads/opencms/

-mp

On 9/27/06, Bill Taylor <bill.billtaylor at gmail.com> wrote:
> One requirement we have from our client is to display lottery numbers
> in a dynamic fashion (the lottery numbers change at least twice a day)
> using OpenCMS (logically). One of the nice things is that we can
> determine how the we  will receive the numbers on a scheduled basis.
>
> After reading about the XML content that OpenCMS has built-in seems
> like a logical choice for reading an XML file of winning numbers then
> style the page according.
>
> Creating a XML Schema and build the JSP accessing the XML nodes seems
> very straight forward. The part I'm struggling with is how to access
> the XML file that will change at least twice a day. I'm familiar with
> the concept of VFS and how files are stored however is there anyway I
> can dynamically "replace" my XML file without resorting to an manual
> upload process or editing the xml file by hand?
>
> If this cannot be done I'll parse the files myself (or read them from
> a database). However if there is some other mechanisms that I haven't
> found yet in OpenCMS I'm open to suggestions.
>
> thanks,
>
> --
> Bill Taylor
>
> _______________________________________________
> This mail is sent to you from the opencms-dev mailing list
> To change your list options, or to unsubscribe from the list, please visit
> http://lists.opencms.org/mailman/listinfo/opencms-dev
>



More information about the opencms-dev mailing list