Spade

Mini Shell

Directory:~$ /home/lmsyaran/public_html/joomla3/libraries/src/Feed/Parser/Rss/
Upload File

[Home] [System Details] [Kill Me]
Current File:~$ /home/lmsyaran/public_html/joomla3/libraries/src/Feed/Parser/Rss/ItunesRssParser.php

<?php
/**
 * Joomla! Content Management System
 *
 * @copyright  (C) 2017 Open Source Matters, Inc.
<https://www.joomla.org>
 * @license    GNU General Public License version 2 or later; see
LICENSE.txt
 */

namespace Joomla\CMS\Feed\Parser\Rss;

defined('JPATH_PLATFORM') or die;

use Joomla\CMS\Feed\Feed;
use Joomla\CMS\Feed\FeedEntry;
use Joomla\CMS\Feed\Parser\NamespaceParserInterface;

/**
 * RSS Feed Parser Namespace handler for iTunes.
 *
 * @link   https://itunespartner.apple.com/en/podcasts/overview
 * @since  3.1.4
 */
class ItunesRssParser implements NamespaceParserInterface
{
	/**
	 * Method to handle an element for the feed given that the itunes
namespace is present.
	 *
	 * @param   Feed               $feed  The Feed object being built from the
parsed feed.
	 * @param   \SimpleXMLElement  $el    The current XML element object to
handle.
	 *
	 * @return  void
	 *
	 * @since   3.1.4
	 */
	public function processElementForFeed(Feed $feed, \SimpleXMLElement $el)
	{
		return;
	}

	/**
	 * Method to handle the feed entry element for the feed given that the
itunes namespace is present.
	 *
	 * @param   FeedEntry          $entry  The FeedEntry object being built
from the parsed feed entry.
	 * @param   \SimpleXMLElement  $el     The current XML element object to
handle.
	 *
	 * @return  void
	 *
	 * @since   3.1.4
	 */
	public function processElementForFeedEntry(FeedEntry $entry,
\SimpleXMLElement $el)
	{
		return;
	}
}