Skip to content

glebocki/Fetch-RSS-Atom

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Fetch RSS/Atom

Recruitment task. CLI app fetching Atom/RSS data into a CSV file

Installation

Run this command in terminal

composer install

Usage

<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

Testing

$ vendor/bin/phpunit

About

HRtec recruitment task

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages