src/library/SimplePie.php
public function set_feed_url($url)
	{
		$this->multifeed_url = array();
		if (is_array($url))
		{
			foreach ($url as $value)
			{
				$this->multifeed_url[] = $this->registry->call('Misc', 'fix_protocol', array($value, 1));
			}
		}
		else
		{
			$this->feed_url = $this->registry->call('Misc', 'fix_protocol', array($url, 1));
		}
	}
public function set_feed_url($url)
	{
		$this->multifeed_url = array();
		if (is_array($url))
		{
			foreach ($url as $value)
			{
				$this->multifeed_url[] = $this->registry->call('Misc', 'fix_protocol', array($value, 1));
			}
		}
		else
		{
			$this->feed_url = $this->registry->call('Misc', 'fix_protocol', array($url, 1));
		}
	}
public function set_feed_url ( $ url ) { $ this -> multifeed_url = array ( ) ; if ( is_array ( $ url ) ) { foreach ( $ url as $ value ) { $ this -> multifeed_url [ ] = $ this -> registry -> call ( 'Misc' , 'fix_protocol' , array ( $ value , 1 ) ) ; } } else { $ this -> feed_url = $ this -> registry -> call ( 'Misc' , 'fix_protocol' , array ( $ url , 1 ) ) ; } }
Set the URL of the feed you want to parse

This allows you to enter the URL of the feed you want to parse, or the
website you want to try to use auto-discovery on. This takes priority
over any set raw data.

You can set multiple feeds to mash together by passing an array instead
of a string for the $url. Remember that with each additional feed comes
additional processing and resources.

@since 1.0 Preview Release
@see set_raw_data()
@param string|array $url This is the URL (or array of URLs) that you want to parse.
Set the URL of the feed you want to parse