Jelix 1.6.37

jRSS20Item extends jXMLFeedItem
in package

Table of Contents

$authorEmail  : string
author email
$authorName  : string
author name
$categories  : array<string|int, mixed>
list of category names
$comments  : string
comments url
$content  : string
content of the item. could be pure text or html
$contentType  : string
says the type of content : text or html (or xhtml for atom) Values : 'text','html','xhtml'
$enclosure  : array<string|int, mixed>
media description, attached to the item the array should contain this keys : 'url', 'size', 'mimetype'
$id  : string
identifiant of the item (its url for example)
$idIsPermalink  : bool
says if the id is a permanent link
$link  : string
url of the item
$published  : string
publication date of the item format : yyyy-mm-dd hh:mm:ss
$sourceTitle  : string
Title of the information source
$sourceUrl  : string
url of rss channel of the information source
$title  : string
title
$_mandatory  : string
setFromXML()  : mixed
fill item with the given xml node

Properties

$categories

list of category names

public array<string|int, mixed> $categories = array()

$contentType

says the type of content : text or html (or xhtml for atom) Values : 'text','html','xhtml'

public string $contentType = 'text'

$enclosure

media description, attached to the item the array should contain this keys : 'url', 'size', 'mimetype'

public array<string|int, mixed> $enclosure

says if the id is a permanent link

public bool $idIsPermalink

$published

publication date of the item format : yyyy-mm-dd hh:mm:ss

public string $published

$sourceUrl

url of rss channel of the information source

public string $sourceUrl

Methods

setFromXML()

fill item with the given xml node

public setFromXML(SimpleXMLElement $item) : mixed
Parameters
$item : SimpleXMLElement
Return values
mixed

Search results