PHP Classes

File: rss2.xml

Recommend this page to a friend!
  Classes of mohammadjafar mashhadi   RSS 2 Feed maker   rss2.xml   Download  
File: rss2.xml
Role: Example script
Content type: text/plain
Description: only a sample
Class: RSS 2 Feed maker
Generate XML for RSS 2 feeds
Author: By
Last change: $rss->setinfo('language','en-US');
Tue, 13 Jul 2010 16:33:17
Date: 12 years ago
Size: 702 bytes


Class file image Download
("Content-Type: application/atom+xml");

$rss = new RSSFeed();

$rss->setinfo('title','RSS FEED TITLE');
$rss->setinfo('description','RSS FEED EXAMPLE');
$rss->setinfo('lastbuilddate',date('D, d M Y H:i:s'));

'title' => 'content title',
'link' => 'permalink',
'guid' => 'sth like permalink',
'pubdate' => 'Tue, 13 Jul 2010 16:33:17',
'content' => 'Hello, This is a RSS FEED creator class.<br />RSSFeed class makes creating RSS VALID feeds easier'