Forums / Developer / Import XML-page? / Comment40737

Author Topic

Radoslaw Walec

Tuesday 01 June 2004 6:12:56 am

Comment40737

Hi, I'm new here (and with Exponential).
Exponential is good, nice, I use it for intranet site. As far as good.
Now, I'v got similar problem. I'v got data in external database and I need to put it into Exponential system. I'd like to feed up with those data one of nodes in my site. I tried to use RSS but I'v got more (than RSS) fields to import.
My database has simple structure: id, name, something1, something2, etc.
I just want to show it in list view and to be able to search it.
The problem is my database has got about 50000 records :).
I can extract data from my database and convert it to xml page.
I can even make a class (with proper template) inside Exponential and join it with proper node. But don't expect I'll write entire 50000 records with my fingers into Exponential :)
And more, I need to do such process once a week. My data are processed in completly different "realy commercial :/" system which I can not change for another one.
So I don't have to check content before I publish it.
Would you say that the best way for solving the problem was a functionality similar to RSS feeder but more versatile?
But I don't have one :(.
So, anyway maybe there is a possibility to write quite fast such functionality based on RSS? In other words: should I rewrite RSS, or build a new module, or just create a simple php script for such functionality? I noticed that SINGLE publishing of object (such as article, file etc.) made over 20 new records in 10 tables (mysql), so it wont be just "simple" php script :(
Any hints????