public function get_base($element = array())
	{
		if (!($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION) && !empty($element['xml_base_explicit']) && isset($element['xml_base']))
		{
			return $element['xml_base'];
		}
		elseif ($this->get_link() !== null)
		{
			return $this->get_link();
		}
		else
		{
			return $this->subscribe_url();
		}
	}
public function get_base($element = array())
	{
		if (!($this->get_type() & SIMPLEPIE_TYPE_RSS_SYNDICATION) && !empty($element['xml_base_explicit']) && isset($element['xml_base']))
		{
			return $element['xml_base'];
		}
		elseif ($this->get_link() !== null)
		{
			return $this->get_link();
		}
		else
		{
			return $this->subscribe_url();
		}
	}
public function get_base ( $ element = array ( ) ) { if ( ! ( $ this -> get_type ( ) & SIMPLEPIE_TYPE_RSS_SYNDICATION ) && ! empty ( $ element [ 'xml_base_explicit' ] ) && isset ( $ element [ 'xml_base' ] ) ) { return $ element [ 'xml_base' ] ; } elseif ( $ this -> get_link ( ) !== null ) { return $ this -> get_link ( ) ; } else { return $ this -> subscribe_url ( ) ; } }
Get the base URL value from the feed

Uses `<xml:base>` if available, otherwise uses the first link in the
feed, or failing that, the URL of the feed itself.

@see get_link
@see subscribe_url

@param array $element
@return string
Get the base URL value from the feed