Commit ae433184 authored by webchick's avatar webchick

#1027454 by amateescu, montesq, jhodgdon: Fixed _aggregator_parse_opml()...

#1027454 by amateescu, montesq, jhodgdon: Fixed _aggregator_parse_opml() documentation contains escaped HTML tags that should be removed.
parent 66dc2c3d
......@@ -350,16 +350,17 @@ function aggregator_form_opml_submit($form, &$form_state) {
/**
* Parse an OPML file.
*
* Feeds are recognized as <outline> elements with the attributes
* <em>text</em> and <em>xmlurl</em> set.
* Feeds are recognized as <outline> elements with the attributes "text" and
* "xmlurl" set.
*
* @param $opml
* The complete contents of an OPML document.
*
* @return
* An array of feeds, each an associative array with a <em>title</em> and
* a <em>url</em> element, or NULL if the OPML document failed to be parsed.
* An empty array will be returned if the document is valid but contains
* no feeds, as some OPML documents do.
* An array of feeds, each an associative array with a "title" and a "url"
* element, or NULL if the OPML document failed to be parsed. An empty
* array will be returned if the document is valid but contains no feeds, as
* some OPML documents do.
*/
function _aggregator_parse_opml($opml) {
$feeds = array();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment