From 26664c22e0544ccda1405f6aafd890245bf29201 Mon Sep 17 00:00:00 2001 From: rabuzarus Date: Fri, 25 Nov 2016 16:59:31 +0100 Subject: [PATCH] parse_url: add some docu --- mod/parse_url.php | 18 ++++++++++++++---- 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/mod/parse_url.php b/mod/parse_url.php index a6b7cd5024..6104f6caa8 100644 --- a/mod/parse_url.php +++ b/mod/parse_url.php @@ -1,6 +1,15 @@ true, "nobody" => true)); @@ -114,7 +123,8 @@ function parse_url_content(&$a) { killme(); } - + // If there is allready some content information submitted we don't + // need to parse the url for content. if ($url && $title && $text) { $title = str_replace(array("\r","\n"),array("",""),$title); @@ -134,7 +144,7 @@ function parse_url_content(&$a) { killme(); } - // Fetch the information from the webpage + // Fetch the information directly from the webpage $siteinfo = ParseUrl::getSiteinfo($url); unset($siteinfo["keywords"]); -- 2.39.5