Definition:
function html_type_rss() {}
Display the HTML type based on the blog setting.
The two possible values are either ‘xhtml’ or ‘html’.
Source code
function html_type_rss() {
$type = get_bloginfo('html_type');
if (strpos($type, 'xhtml') !== false)
$type = 'xhtml';
else
$type = 'html';
echo $type;
}
1957

February 12, 2011 


No comments yet... Be the first to leave a reply!