2017 © Pedro PelĂĄez
 

library romeo_sierra_sierra

RSS and ATOM Feed parser

image

charlyecho/romeo_sierra_sierra

RSS and ATOM Feed parser

  • Tuesday, December 19, 2017
  • by charlyecho
  • Repository
  • 1 Watchers
  • 0 Stars
  • 16 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

Romeo Sierra Sierra

A KISS rss feed parser written in PHP, (*1)

Requirement

php 5.3.2 or above, (*2)

 Usage

2 types :, (*3)

by URL

For a http(s) remote file (will use curl for https one), (*4)

$feed = FeedParser::parseUrl($url);

by File

For a remote or local file (use file_get_contents), (*5)

$feed = FeedParser::parseFile($path);

Features

  • parse rss feed
  • insert youtube iframe for youtube feeds

Tested with

  • youtube rss feed (ex : https://www.youtube.com/feeds/videos.xml?channel_id=the_channel_id)
  • wordpress feed (ex : //en.blog.wordpress.com/feed/)
  • blogspot.com (ex : https://account_example.blogspot.com/feeds/posts/default or https://www.blogger.com/feeds/blod_id/posts/default)
  • feedburner (ex : http://feeds.feedburner.com/example)
  • spip (ex : http://www.website.tld/spip.php?page=backend)
  • much more

What R. S. S. doesn't do

  • caching file
  • cleanup content from rss file

Author

charlyecho charly@charlyecho.com, (*6)

Please give me examples not working in order to improve the stuff =), (*7)

License

MIT License, (*8)

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:, (*9)

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software., (*10)

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE., (*11)

The Versions

19/12 2017

dev-develop

dev-develop

RSS and ATOM Feed parser

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

by Avatar charlyecho

parser xml atom rss