File: bp-activity/vendors/website-parser/website_parser.php
Description
WebsiteParser::grabContent()

A private method grabs website content using cUrl And put content it into a class variable Can be replace by file_get_contents() but it’s very slow, cpu intensive and does not handle redirects, caching, cookies, etc.

Source: bp-activity/vendors/website-parser/website_parser.php:337

WebsiteParser::sanitizeUrl()

Source: bp-activity/vendors/website-parser/website_parser.php:358

WebsiteParser::getLinkType()

Source: bp-activity/vendors/website-parser/website_parser.php:368

WebsiteParser::findLinkTitle()

Source: bp-activity/vendors/website-parser/website_parser.php:378

WebsiteParser::_isCurl()

Source: bp-activity/vendors/website-parser/website_parser.php:395

WebsiteParser::getImageSources()

Extract all images sources from grabbed contents

Source: bp-activity/vendors/website-parser/website_parser.php:196

WebsiteParser::getTitle()

Extract title from grabbed contents

Source: bp-activity/vendors/website-parser/website_parser.php:231

WebsiteParser::getMetaTags()

Extract all metatags sources from grabbed contents

Source: bp-activity/vendors/website-parser/website_parser.php:253

WebsiteParser::truncateText()

Truncate text in to preferred length

Source: bp-activity/vendors/website-parser/website_parser.php:295

WebsiteParser::setLinksType()

Set link type to extract from grabbed contents

Source: bp-activity/vendors/website-parser/website_parser.php:311