Skip to content

sprain/SprainNewsParser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#SprainNewsParser A PHP libary to get contents from news websites.

It allows you to get headlines and links to most read stories, most commented stories and recommended stories. All based on availability by the corresponding news platform.

Currently supported platforms:

You are welcome to contribute!

Installation

Add SprainNewsParser in your composer.json:

{
    "require": {
        "sprain/newsparser": "dev-master"
    }
}

This will install the current development version of this library. For other versions of this library find the overview at Packagist.

Now tell composer to download the bundle by running the command:

$ php composer.phar update sprain/newsparser

Usage

See example.php.

Todos

  • Improve unit tests (e.q. test caching of fetched articles)
  • Add more news platforms
  • Add functionality to get latest articles
  • Add functionality to get details of fetched articles

License

This bundle is under the MIT license. See the complete license in the bundle:

Resources/meta/LICENSE

About

A PHP libary to get contents from news websites.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages