projects
/
web.Reader
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
014e1b7
)
Pman/Reader/Parse/Baidu.php
author
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:44:21 +0000
(16:44 +0800)
committer
Chris
<chris@roojs.com>
Mon, 6 Jan 2014 08:44:21 +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
432bf99
..
096fdcc
100644
(file)
--- a/
Pman/Reader/Parse/Baidu.php
+++ b/
Pman/Reader/Parse/Baidu.php
@@
-110,8
+110,8
@@
class Pman_Reader_Parse_Baidu {
print_r(mb_convert_encoding($newDom->saveHTML($hl->item(0)), 'HTML-ENTITIES', "UTF-8"));
$t['url'] = $hl->item(0)->getAttribute('href');
$t['headline'] = strip_tags($hl->item(0)->nodeValue);
-//
-//
+
+
$q = "//table/tr/td/div[@class='c-abstract']";
$body = $xp->query($q);