Recruitment task. CLI app fetching Atom/RSS data into a CSV file
Run this command in terminal
composer install
<URL>
- Atom/RSS feed URL
<PATH>
- Path to CSV file in which we will save RSS feed
php src/console.php csv:simple <URL> <PATH>
php src/console.php csv:extended <URL> <PATH>
Example:
php src/console.php csv:simple http://feeds.nationalgeographic.com/ng/News/News_Main simple_export
$ vendor/bin/phpunit