[ Index ]

PHP Cross Reference of Joomla 4.2.2 documentation

title

Body

[close]

/libraries/src/Feed/Parser/ -> RssParser.php (summary)

Joomla! Content Management System

Copyright: (C) 2012 Open Source Matters, Inc.
License: GNU General Public License version 2 or later; see LICENSE.txt
File Size: 441 lines (14 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 1 class

RssParser:: (19 methods):
  handleCategory()
  handleCloud()
  handleCopyright()
  handleDescription()
  handleGenerator()
  handleImage()
  handleLanguage()
  handleLastBuildDate()
  handleLink()
  handleManagingEditor()
  handleSkipDays()
  handleSkipHours()
  handlePubDate()
  handleTitle()
  handleTtl()
  handleWebmaster()
  initialise()
  processFeedEntry()
  processPerson()


Class: RssParser  - X-Ref

RSS Feed Parser class.

handleCategory(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<category>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleCloud(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<cloud>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleCopyright(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<copyright>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleDescription(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<description>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleGenerator(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<generator>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleImage(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<image>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleLanguage(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<language>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleLastBuildDate(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<lastBuildDate>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleLink(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<link>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleManagingEditor(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<managingEditor>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleSkipDays(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<skipDays>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleSkipHours(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<skipHours>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handlePubDate(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<pubDate>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleTitle(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<title>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleTtl(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<ttl>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

handleWebmaster(Feed $feed, \SimpleXMLElement $el)   X-Ref
Method to handle the `<webmaster>` element for the feed.

param: Feed               $feed  The Feed object being built from the parsed feed.
param: \SimpleXMLElement  $el    The current XML element object to handle.
return: void

initialise()   X-Ref
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.

return: void

processFeedEntry(FeedEntry $entry, \SimpleXMLElement $el)   X-Ref
Method to handle a `<item>` element for the feed.

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

processPerson($data)   X-Ref
Method to parse a string with person data and return a FeedPerson object.

param: string  $data  The string to parse for a person.
return: FeedPerson



Generated: Wed Sep 7 05:41:13 2022 Chilli.vc Blog - For Webmaster,Blog-Writer,System Admin and Domainer