Vergleich inc/class_feedparser.php - 1.8.22 - 1.8.27

  Keine Änderungen   Hinzugefügt   Modifiziert   Entfernt
Zeile 39Zeile 39
	 */
function parse_feed($feed)
{

	 */
function parse_feed($feed)
{

		// Include the XML parser
require_once MYBB_ROOT."inc/class_xml.php";


 
		// Load the feed we want to parse
$contents = fetch_remote_file($feed);


		// Load the feed we want to parse
$contents = fetch_remote_file($feed);


Zeile 65Zeile 62
		}

// Parse the feed and get the tree

		}

// Parse the feed and get the tree

		$parser = new XMLParser($contents);

		$parser = create_xml_parser($contents);

		$tree = $parser->get_tree();

// If the feed is invalid, throw back an error

		$tree = $parser->get_tree();

// If the feed is invalid, throw back an error