Class SimplePie_Sanitize
Used for data cleanup and post-processing
This class can be overloaded with SimplePie::set_sanitize_class()
Package: SimplePie
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Sanitize.php
Copyright: 2004-2012 Ryan Parman, Geoffrey Sneddon, Ryan McCue
License: BSD License
Author: Ryan Parman
Author: Geoffrey Sneddon
Author: Ryan McCue
Located at SimplePie/Sanitize.php
public
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
#
pass_cache_data( $enable_cache = true, $cache_location = './cache', $cache_name_function = 'md5', $cache_class = 'SimplePie_Cache' )
|
||||||||||||||||||||
public
|
#
pass_file_data( $file_class = 'SimplePie_File', $timeout = 10, $useragent = '', $force_fsockopen = false )
|
||||||||||||||||||||
public
|
#
strip_htmltags( $tags = array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style') )
|
||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
#
strip_attributes( $attribs = array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc') )
|
||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
#
set_url_replacements( array|null $element_attribute = null )
Set element/attribute key/value pairs of HTML attributes containing URLs that need to be resolved relative to the feed Defaults to |a|@href, |area|@href, |blockquote|@cite, |del|@cite,
Parameters
Since
1.0
|
||||||||||||||||||||
public
|
|||||||||||||||||||||
protected
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
public
|
|||||||||||||||||||||
protected
|
|||||||||||||||||||||
protected
|
public
|
$base |
|
|
public
boolean
|
$remove_div | true |
|
public
string
|
$image_handler | '' |
|
public
array
|
$strip_htmltags | array('base', 'blink', 'body', 'doctype', 'embed', 'font', 'form', 'frame', 'frameset', 'html', 'iframe', 'input', 'marquee', 'meta', 'noscript', 'object', 'param', 'script', 'style') |
|
public
boolean
|
$encode_instead_of_strip | false |
|
public
array
|
$strip_attributes | array('bgsound', 'class', 'expr', 'id', 'style', 'onclick', 'onerror', 'onfinish', 'onmouseover', 'onmouseout', 'onfocus', 'onblur', 'lowsrc', 'dynsrc') |
|
public
boolean
|
$strip_comments | false |
|
public
string
|
$output_encoding | 'UTF-8' |
|
public
boolean
|
$enable_cache | true |
|
public
string
|
$cache_location | './cache' |
|
public
string
|
$cache_name_function | 'md5' |
|
public
integer
|
$timeout | 10 |
|
public
string
|
$useragent | '' |
|
public
boolean
|
$force_fsockopen | false |
|
public
|
$replace_url_attributes | null |