- *
- * This module does parse an url for embedable content (audio, video, image files or link)
- * information and does format this information to BBCode or html (this depends
- * on the user settings - default is BBCode output).
- * If the user has enabled the richtext editor setting the output will be in html
- * (Note: This is not always possible and in some case not useful because
- * the richtext editor doesn't support all kind of html).
- * Otherwise the output will be constructed BBCode.
- *
- * @see ParseUrl::getSiteinfo() for more information about scraping embeddable content
-*/
-
-use \Friendica\ParseUrl;
-
-require_once("include/items.php");
-
-function parse_url_content(&$a) {
-
+ *
+ * This module does parse an url for embeddable content (audio, video, image files or link)
+ * information and does format this information to BBCode
+ *
+ * @see ParseUrl::getSiteinfo() for more information about scraping embeddable content
+ */
+use Friendica\App;
+use Friendica\Core\Hook;
+use Friendica\Core\Logger;
+use Friendica\Util\Network;
+use Friendica\Util\ParseUrl;
+
+function parse_url_content(App $a)
+{