Stand Alone CSV upload php script Stand Alone CSV upload php script
 

News:

CPG Release 1.6.26
Correct PHP8.2 issues with user and language managers.
Additional fixes for PHP 8.2
Correct PHP8 error with SMF 2.0 bridge.
Correct IPTC supplimental category parsing.
Download and info HERE

Main Menu

Stand Alone CSV upload php script

Started by macmiller, December 11, 2006, 03:33:50 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

macmiller

Hi:

I'm hoping someone can do a stand-alone CSV upload of title, description and keywords.  It would be based on the following which is working fine:

http://forum.coppermine-gallery.net/index.php?topic=15184.0

but I would like it separated from the upload process. 

Just a standalone php script that would either prompt for a csv file or open one in some default location.  The file would have columns as follows: category1, category2, category3, Album, filename, title, description, keywords.  Example: If the file 'xyz' is in category: home / kitchen / remodel it would be in the file as home,kitchen,remodel,xyz,kitchen remodel,this was the kitchen remodel, kitchen remodel .

Each time the script is run it would load the list and update all of the associated data.  If any of the fields are empty the existing data would not be altered.

In the current script, (supplied above) there is a problem with the some characters like ' .  So if the description is "you shouldn't do this" it won't process.

I figure is should take a couple of hours, if anyone is interested let me know and we can discuss the $ amount.


macmiller