[TYPO3] Yet Another Feed Importer (yafi) - Command line script

Timothy Ding iolabs at gmail.com
Fri Jul 25 19:06:28 CEST 2008


Thanks for the hint Dmitry! getting real close now but i see a new error :(

>Firsts, cli_dispatch.phpsh should be started from one level up (TYPO3 base directory). Next, there is a space between "-" and >"l". Third, "import" is missing :) So correct command would be:

>$ ./typo3/cli_dispatch.phpsh yafi import -p 2 -l 1 -n 1 -v

$ ./typo3/cli_dispatch.phpsh yafi import -p 2 -l 1 -n 1 -v

Warning: Missing argument 2 for t3lib_div::trimExplode(), called in
/var/www/typo3-421/typo3conf/ext/yafi/class.tx_yafi_api.php on line
150 and defined in /var/www/typo3-421/t3lib/class.t3lib_div.php on
line 1566
Import successful. Statistics:
Array
(
    [imported_feeds] => 0
    [ignored_feeds] => 0
    [imported_articles] => 0
    [ignored_articles] => 0
)

kind regards,
Tim


More information about the TYPO3-english mailing list