Forums / Developer / Charset problems in script / Comment47831
Kristian Hole
Friday 23 February 2007 9:43:08 am
Hi Jo Henrik,
I will recommend you to implement it as a cronjob-script. Then all the settings are set up in the same way as in the modues without you having to do anything :-)
You typically need an extension with a structure like this:
extension/myimport |-- cronjobs | `-- import.php `-- settings `-- cronjob.ini.append.php
Where cronjob.ini is like this;
[CronjobPart-import] Scripts[] Scripts[]=import.php [CronjobSettings] ExtensionDirectories[]=myimport
and you run it like$ php runcronjobs.php import
Otherwise, look at the textcodec updates in soap.php in the root folder.
Kristian http://ez.no/ez_publish/documenta...tricks/show_which_templates_are_used http://ez.no/doc/ez_publish/techn...te_operators/miscellaneous/attribute