You are here

protected function FeedsCrawlerBase::makeUrlAbsolute in Feeds Crawler 7.2

Builds an absolute URL.

Parameters

string $url: The URL to make absolute.

string $base_url: The base url to reference.

Return value

string The absolute URL.

1 call to FeedsCrawlerBase::makeUrlAbsolute()
FeedsCrawlerNext::getNextUrl in src/FeedsCrawlerNext.php
Subclasses must override this to return the next URL.

File

src/FeedsCrawlerBase.php, line 225
Contains FeedsCrawler.

Class

FeedsCrawlerBase
The fetcher class that implements crawling.

Code

protected function makeUrlAbsolute($url, $base_url) {
  feeds_include_library('http_request.inc', 'http_request');
  return http_request_create_absolute_url($url, $base_url);
}