From 8241180c6ce0cb19255d70a3394f891e08182542 Mon Sep 17 00:00:00 2001 From: Bernhard Posselt Date: Tue, 27 Jan 2015 09:31:40 +0100 Subject: dont use picofeed submodule --- vendor/fguillot/picofeed | 1 - .../fguillot/picofeed/docs/installation.markdown | 68 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) delete mode 160000 vendor/fguillot/picofeed create mode 100644 vendor/fguillot/picofeed/docs/installation.markdown (limited to 'vendor/fguillot/picofeed/docs/installation.markdown') diff --git a/vendor/fguillot/picofeed b/vendor/fguillot/picofeed deleted file mode 160000 index 0a1d0d395..000000000 --- a/vendor/fguillot/picofeed +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0a1d0d3950f7f047dc8fb1d80aa6296e15f306d0 diff --git a/vendor/fguillot/picofeed/docs/installation.markdown b/vendor/fguillot/picofeed/docs/installation.markdown new file mode 100644 index 000000000..f132b32cc --- /dev/null +++ b/vendor/fguillot/picofeed/docs/installation.markdown @@ -0,0 +1,68 @@ +Installation +============ + +Versions +-------- + +- Development version: master +- Available versions: + - v0.1.1 (stable) + - v0.1.0 + - v0.0.2 + - v0.0.1 + +Note: The public API has changed between 0.0.x and 0.1.0 + +Installation with Composer +-------------------------- + +Configure your `composer.json`: + +```json +{ + "require": { + "fguillot/picofeed": "0.1.1" + } +} +``` + +Or simply: + +```bash +composer require fguillot/picofeed:0.1.1 +``` + +And download the code: + +```bash +composer install # or update +``` + +Usage example with the Composer autoloader: + +```php +download('http://linuxfr.org/news.atom'); + + $parser = $reader->getParser( + $resource->getUrl(), + $resource->getContent(), + $resource->getEncoding() + ); + + $feed = $parser->execute(); + + echo $feed; +} +catch (Exception $e) { + // Do something... +} +``` -- cgit v1.2.3