rssLib
in package
RSS Extractor and Displayer (c) 2007-2009 Scriptol.com - License Mozilla 1.1. rsslib.php - Modified for zenphoto by s. billard removed unused functions made more resilient - Further modifications and changed to static class by Malte Müller (acrylian) for Zenphoto 1.6.6
Tags
Table of Contents
Methods
- getChannel() : array<string|int, mixed>
- Gets the channel information of an RSS feed
- getItemElements() : array<string|int, mixed>
- Gets the main elements of an RSS feed item
- retrieve() : array<string|int, mixed>
- Retrieves an RSS feed
Methods
getChannel()
Gets the channel information of an RSS feed
public
static getChannel(object $channel) : array<string|int, mixed>
Parameters
- $channel : object
-
DOM object
Return values
array<string|int, mixed>getItemElements()
Gets the main elements of an RSS feed item
public
static getItemElements(object $item, string $type) : array<string|int, mixed>
Parameters
- $item : object
-
DOM object of an item
- $type : string
-
item type
Return values
array<string|int, mixed>retrieve()
Retrieves an RSS feed
public
static retrieve(string $url) : array<string|int, mixed>
Parameters
- $url : string
-
URL of the RSS feed to retrieve