public static function load($url, $user = null, $pass = null)
	{
		$xml = self::loadXml($url, $user, $pass);
		if ($xml->channel) {
			return self::fromRss($xml);
		} else {
			return self::fromAtom($xml);
		}
	}
public static function load($url, $user = null, $pass = null)
	{
		$xml = self::loadXml($url, $user, $pass);
		if ($xml->channel) {
			return self::fromRss($xml);
		} else {
			return self::fromAtom($xml);
		}
	}
public static function load ( $ url , $ user = null , $ pass = null ) { $ xml = self :: loadXml ( $ url , $ user , $ pass ) ; if ( $ xml -> channel ) { return self :: fromRss ( $ xml ) ; } else { return self :: fromAtom ( $ xml ) ; } }
Loads RSS or Atom feed.
@param  string
@param  string
@param  string
@return Feed
@throws FeedException
Loads RSS or Atom feed .