Class Feed
Gestion de la création de flux.
$feed = new Feed(); $feed->setTitle('Flux base de connaissance') ->setDate('Fri, 29 Jan 2010 09:27:22 +0100') ->setAuthor(array('name'=>'OR','email'=>'oroger@prynel.com')) ->setDescription('Derniers éléments de la base de connaissance Prynel') ->setCopyright('prynel') ->setLink('http://172.16.12.227/prybug/'); $entry = $feed->createEntry(); //$entry->setAuthor(array('name'=>'OR-'.$i,'email'=>'oroger@prynel.com')); $entry->setTitle('[Digipryn v5] Carré blanc sur les images'); //$entry->setDate('2010-01-28'); $entry->setContent('UN carré blanc apparait sur l\'interface'); //$entry->setId($i); $entry->setLink('http://172.16.12.227/prynbug/base/8/voir.html'); $feed->setEntry($entry); header('Content-Type : application/xml; charset=utf-8'); // $feed->build('Rss','file.xml'); echo $feed->build('Rss');
- Pry\Feed\Abstracts\Feed
- Pry\Feed\Feed
Namespace: Pry\Feed
Package: Feed
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 1.1.0
Located at Feed/Feed.class.php
Package: Feed
Category: Pry
Author: Olivier ROGER <oroger.fr>
Version: 1.1.0
Located at Feed/Feed.class.php
public
|
|
public
Feed_Entry
|
|
public
|
|
public
array
|
|
public
string|integer
|
getAuthor(),
getCopyright(),
getDate(),
getDescription(),
getId(),
getLang(),
getLink(),
getTitle(),
setAuthor(),
setCopyright(),
setDate(),
setDescription(),
setId(),
setLang(),
setLink(),
setTitle()
|
$author,
$copyright,
$date,
$description,
$id,
$lang,
$link,
$title
|