add fixme
authorChristian Weiske <cweiske@cweiske.de>
Tue, 15 Jul 2014 16:03:42 +0000 (18:03 +0200)
committerChristian Weiske <cweiske@cweiske.de>
Tue, 15 Jul 2014 16:03:42 +0000 (18:03 +0200)
src/phorkie/HtmlParser.php

index b8cd1aff3dbece084445bde9617321aba0ae64bf..38d8af858206627cc15b78e2c680b2ef3a72b225 100644 (file)
@@ -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');