SimplePie A PHP-Based RSS and Atom Feed Framework. Takes the hard work out of managing a complete RSS/Atom solution.
Author: | Ryan Parman |
Author: | Sam Sneddon |
Author: | Ryan McCue |
Copyright: | 2004-2016 Ryan Parman, Sam Sneddon, Ryan McCue |
License: | http://www.opensource.org/licenses/bsd-license.php BSD License |
File Size: | 261 lines (9 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
Sniffer:: (6 methods):
__construct()
get_type()
text_or_binary()
unknown()
image()
feed_or_html()
__construct($file) X-Ref |
Create an instance of the class with the input file param: Sniffer $file Input file |
get_type() X-Ref |
Get the Content-Type of the specified file return: string Actual Content-Type |
text_or_binary() X-Ref |
Sniff text or binary return: string Actual Content-Type |
unknown() X-Ref |
Sniff unknown return: string Actual Content-Type |
image() X-Ref |
Sniff images return: string Actual Content-Type |
feed_or_html() X-Ref |
Sniff HTML return: string Actual Content-Type |