git.cweiske.de
/
phorkie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
02d46e4
)
add fixme
author
Christian Weiske
<cweiske@cweiske.de>
Tue, 15 Jul 2014 16:03:42 +0000
(18:03 +0200)
committer
Christian Weiske
<cweiske@cweiske.de>
Tue, 15 Jul 2014 16:03:42 +0000
(18:03 +0200)
src/phorkie/HtmlParser.php
patch
|
blob
|
history
diff --git
a/src/phorkie/HtmlParser.php
b/src/phorkie/HtmlParser.php
index b8cd1aff3dbece084445bde9617321aba0ae64bf..38d8af858206627cc15b78e2c680b2ef3a72b225 100644
(file)
--- a/
src/phorkie/HtmlParser.php
+++ b/
src/phorkie/HtmlParser.php
@@
-97,6
+97,7
@@
class HtmlParser
} else {
$sx = simplexml_import_dom(\DOMDocument::loadHTML($html));
}
} else {
$sx = simplexml_import_dom(\DOMDocument::loadHTML($html));
}
+ //FIXME: handle network error
$elems = $sx->xpath('//*[@rel="vcs-git"]');
$titles = $sx->xpath('/html/head/title');
$elems = $sx->xpath('//*[@rel="vcs-git"]');
$titles = $sx->xpath('/html/head/title');