projects
/
web.Reader
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fa324d
)
Pman/Reader/Parse/Baidu.php
author
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:44:11 +0000
(16:44 +0800)
committer
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:44:11 +0000
(16:44 +0800)
Pman/Reader/Parse/Baidu.php
patch
|
blob
|
history
diff --git
a/Pman/Reader/Parse/Baidu.php
b/Pman/Reader/Parse/Baidu.php
index
c7f62f4
..
432bf99
100644
(file)
--- a/
Pman/Reader/Parse/Baidu.php
+++ b/
Pman/Reader/Parse/Baidu.php
@@
-112,7
+112,7
@@
class Pman_Reader_Parse_Baidu {
$t['headline'] = strip_tags($hl->item(0)->nodeValue);
//
//
- $q = "
div[@class='sb_tlst']/h3/a
";
+ $q = "
//table/tr/td/div[@class='c-abstract']
";
$body = $xp->query($q);
$t['body'] = $body->item(0)->nodeValue;