You are here:  » import.php


import.php

Import all feeds, all modified feeds, or the specified feed.

Description

import.php [@ALL|@MODIFIED|<filename>]

This command line script imports the specified feed(s). It will only process feeds that have been registered into the system. The script takes a single parameter. Either specify a filename, or use @ALL to import all registered feeds or @MODIFIED to import only those feeds which have been modified since the last import.

Examples (Command Line)

php import.php @ALL
php import.php @MODIFIED
php import.php MerchantName.xml

Examples (crontab)

cd /home/example/htdocs/scripts/;/usr/bin/php import.php @ALL
cd /home/example/htdocs/scripts/;/usr/bin/php import.php @MODIFIED
cd /home/example/htdocs/scripts/;/usr/bin/php import.php MerchantName.xml