update the parser lib

This commit is contained in:
friendica 2012-11-18 23:44:58 -08:00
commit fbf58ea0c4
2 changed files with 14 additions and 3 deletions

View file

@ -9,6 +9,8 @@ function submit_content(&$a) {
if(! strlen($url))
exit;
logger('Updating: ' . $url);
$nurl = str_replace(array('https:','//www.'), array('http:','//'), $url);
@ -30,6 +32,7 @@ function submit_content(&$a) {
$parms = scrape_dfrn($url);
// logger('dir_submit: ' . print_r($parms,true));
if((! count($parms)) || (validate_dfrn($parms))) {
exit;