互联网的规则是平等的
互联网的规则是平等的!
用google搜索的结果
用baidu搜索的结果
所以中文站的pr差,是因没没有尊守规则吧!
加一个处理的方法
用google搜索的结果
搜索 tidy_parse_string 获得约 131,000 条结果(启用了安全搜索功能)
用baidu搜索的结果
百度一下,找到相关网页约1,680篇,用时0.105秒
所以中文站的pr差,是因没没有尊守规则吧!
加一个处理的方法
$config = array('indent' => TRUE,
'output-xhtml' => TRUE,
'alt-text' => '{et_pic_art}',
'wrap' => 200);
$tidy = tidy_parse_string($lst['content'] , $config, 'UTF8');
$body = tidy_get_body($tidy);
$tem_content = $body->value;
$tem_content = str_replace('<body>', '', $tem_content);
$tem_content = str_replace('</body>', '', $tem_content);
'output-xhtml' => TRUE,
'alt-text' => '{et_pic_art}',
'wrap' => 200);
$tidy = tidy_parse_string($lst['content'] , $config, 'UTF8');
$body = tidy_get_body($tidy);
$tem_content = $body->value;
$tem_content = str_replace('<body>', '', $tem_content);
$tem_content = str_replace('</body>', '', $tem_content);
通过XHTML 1.0 Strict很简单
在换Blog的标题
