<?php
/**
* @file src/Util/ParseUrl.php
- * @brief Get informations about a given URL
+ * Get informations about a given URL
*/
namespace Friendica\Util;
use Friendica\Database\DBA;
/**
- * @brief Class with methods for extracting certain content from an url
+ * Class with methods for extracting certain content from an url
*/
class ParseUrl
{
const MIN_DESC_COUNT = 100;
/**
- * @brief Search for chached embeddable data of an url otherwise fetch it
+ * Search for chached embeddable data of an url otherwise fetch it
*
* @param string $url The url of the page which should be scraped
* @param bool $no_guessing If true the parse doens't search for
}
/**
- * @brief Parse a page for embeddable content information
+ * Parse a page for embeddable content information
*
* This method parses to url for meta data which can be used to embed
* the content. If available it prioritizes Open Graph meta tags.
}
/**
- * @brief Convert tags from CSV to an array
+ * Convert tags from CSV to an array
*
* @param string $string Tags
* @return array with formatted Hashtags
}
/**
- * @brief Add a hasht sign to a string
+ * Add a hasht sign to a string
*
- * This method is used as callback function
+ * This method is used as callback function
*
* @param string $tag The pure tag name
* @param int $k Counter for internal use
}
/**
- * @brief Add a scheme to an url
+ * Add a scheme to an url
*
* The src attribute of some html elements (e.g. images)
* can miss the scheme so we need to add the correct