File: test.php

Recommend this page to a friend!
  Classes of Marylly  >  RSS Feed  >  test.php  >  Download  
File: test.php
Role: Example script
Content type: text/plain
Description: Test Page
Class: RSS Feed
Generate RSS 2.0 feeds
Author: By
Last change: The script using the class to generate a rss feed in xml.
Date: 15 years ago
Size: 769 bytes


Class file image Download

//My constructor
$rss = new RSS();
//The name o channel of new of my rss feed
$rss->setChannelTitle("My RSS Feed!");
//The link to the channel or site
//The channel description
$rss->setChannelDesc("This is only a test script");
//The channel language
//The copyritht
$rss->setCopyRight("Copyleft - The Freedow is in our hands");

//the channel items, they are the news of your channel. it could be used with database data
$rss->setItemTitle('My first new! =]');
$rss->setItemDesc('Item Description');

For more information send a message to info at phpclasses dot org.