Back to Joomla project (class list)

Class RssParser - list of methods

RSS Feed Parser class.

Extends

Package: Joomla\CMS\Feed\Parser
Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
Located at: Joomla/Feed/Parser/RssParser.php
Project: Joomla

Method Summary

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<category>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleCategory Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<cloud>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleCloud Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<copyright>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleCopyright Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<description>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleDescription Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<generator>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleGenerator Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<image>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleImage Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<language>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleLanguage Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<lastBuildDate>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleLastBuildDate Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<link>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleLink Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<managingEditor>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleManagingEditor Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<skipDays>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleSkipDays Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<skipHours>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleSkipHours Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<pubDate>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handlePubDate Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<title>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleTitle Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<ttl>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleTtl Source Code

protected void
(\Joomla\CMS\Feed\Feed $feed, \SimpleXMLElement $el)

Method to handle the `<webmaster>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\Feed $feed The Feed object being built from the parsed feed.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: handleWebmaster Source Code

protected void
()

Method to initialise the feed for parsing. Here we detect the version and advance the stream reader so that it is ready to parse feed elements.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: initialise Source Code

protected void
(\Joomla\CMS\Feed\FeedEntry $entry, \SimpleXMLElement $el)

Method to handle a `<item>` element for the feed.
Parameters
  • \Joomla\CMS\Feed\FeedEntry $entry The FeedEntry object being built from the parsed feed entry.
  • \SimpleXMLElement $el The current XML element object to handle.
Returns
  • void
Since
  • 3.1.4
Show source code of this method: processFeedEntry Source Code

protected \Joomla\CMS\Feed\FeedPerson
(mixed $data)

Method to parse a string with person data and return a FeedPerson object.
Parameters
  • string $data The string to parse for a person.
Returns
  • \Joomla\CMS\Feed\FeedPerson
Since
  • 3.1.4
Show source code of this method: processPerson Source Code

Properties Summary

protected string
$entryElementName
Since
  • 3.1.4
protected string
$version
Since
  • 3.1.4

Tags Summary

Since
3.1.4