projects
/
web.Reader
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6e5b93a
)
Pman/Reader/Parse/Baidu.php
author
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:57:35 +0000
(16:57 +0800)
committer
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:57:35 +0000
(16:57 +0800)
Pman/Reader/Parse/Baidu.php
patch
|
blob
|
history
diff --git
a/Pman/Reader/Parse/Baidu.php
b/Pman/Reader/Parse/Baidu.php
index
9d0ef78
..
63bdd62
100644
(file)
--- a/
Pman/Reader/Parse/Baidu.php
+++ b/
Pman/Reader/Parse/Baidu.php
@@
-120,7
+120,7
@@
class Pman_Reader_Parse_Baidu {
continue;
}
- $q = "//table/tr/td/div[2]";
+ $q = "//table/tr/td/div
/div
[2]";
$body = $xp->query($q);
print_r(mb_convert_encoding($newDom->saveHTML($body->item(0)), 'HTML-ENTITIES', "UTF-8"));
$t['body'] = $body->item(0)->nodeValue;