[Catalyst] merging DB data with XML data
Peter Karman
peter at peknet.com
Fri Oct 5 14:02:06 GMT 2007
On 10/05/2007 04:52 AM, Carl Johnstone wrote:
> Hi,
>
> This may be more of a DBIx::Class question than Catalyst, but anyway.
>
> I have a system where the bulk of the content is generated elsewhere in
> XML format, I've implemented a Catalyst Model that reads the XML, and
> returns a blessed perl data structure (with appropriate caching etc.)
>
> Where I've got problems is searching, it's impractical to search 1000s
> of XML files, so I want to put some of the meta-information (and maybe
> dump a copy of the text) into a DB for search purposes.
>
> What I'd like to do though is when I do a search in the DB, turn any
> rows returned into these XML objects so I can then access the whole of
> the content as usual.
>
Check out SWISH::API::Object. Swish-e indexes XML from the ground up.
--
Peter Karman . peter at peknet.com . http://peknet.com/
More information about the Catalyst
mailing list