Summery Summery

Set the raw XML data to parse

Syntax Syntax

SimplePie::set_raw_data( string $data )

Description Description

Allows you to use a string of RSS/Atom data instead of a remote feed.

If you have a feed available as a string in PHP, you can tell SimplePie to parse that data string instead of a remote feed. Any set feed URL takes precedence.

Parameters Parameters


(string) (Required) RSS or Atom data as a string.

Source Source

File: wp-includes/class-simplepie.php

			foreach ($url as $value)
				$this->multifeed_url[] = $this->registry->call('Misc', 'fix_protocol', array($value, 1));


Changelog Changelog

Version Description
1.0 Introduced.

See also See also


Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.