Download the PHP package sprain/newsparser without Composer
On this page you can find all versions of the php package sprain/newsparser. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download sprain/newsparser
More information about sprain/newsparser
Files in sprain/newsparser
Package newsparser
Short Description A php library to parse recommended article from nzz.ch
License MIT
Homepage https://github.com/Sprain/SprainNzzParser
Informations about the package newsparser
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:
- Switzerland
- NZZ (http://www.nzz.ch)
- Tagesanzeiger (http://www.tagesanzeiger.ch)
You are welcome to contribute!
Installation
Add SprainNewsParser in your composer.json:
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:
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
All versions of newsparser with dependencies
doctrine/cache Version ~1.3
sunra/php-simple-html-dom-parser Version v1.5.0