PDA

View Full Version : Anyway to import a delimited file with multiple listings?


tmoon
07-20-2005, 08:11 AM
First off, killer script, so easy but SE friendly and functional, great job!

Now on to my dilemna... I have an older directory site with a really annoying script and I'd love to convert it to this instead. However, that site already has a fair number of listings in each category. It's using a complicated cgi script that calls the listings for each category out of an index.cat file that has urls, titles, and descriptions in a tab delimited format (each category has it's own .cat file).

So, I was just wondering if there is a way to import something like that (a delimited list of urls, titles and descriptions for each category)? I'd obviously prefer to not have to manually recreate every listing using the New Link option in the Admin area, but I'm guessing I may be out of luck on this one. Any thoughts or assistance would be most appreciated.

Thx - Matt

Mike77
07-20-2005, 08:47 AM
I agree! Very nice script :)

About your question,I am still learning too :) but I think there is no easy import option yet. Here is some more info:

{deleted}

try also searching on "import" on this forum.

I think I read somewhere that importing could be done via phpmyadmin -that means directly with database on your server. Maybe you could export your old database and change it to phpld format (maybe with search/replace in text editor) somehow then import via phpmyadmin on your server.

Someone will correct me if i am wrong ..

Ap0s7le
07-20-2005, 08:53 PM
tmoon,

Would it be possible to email me a copy of one of your *.cat files?

I'll take a look at it to see how difficult it would be to write something to import the data for you.

Let me know.

Thanks