Login   Register  
PHP Classes
elePHPant
Icontem

File: gFeed.test4.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Cesar D. Rodas  >  gFeed  >  gFeed.test4.php  >  Download  
File: gFeed.test4.php
Role: Example script
Content type: text/plain
Description: Test: how to append datas to RSS created in example 3
Class: gFeed
Stream wrapper to read and write RSS feeds
Author: By
Last change: * making visible without user login
Date: 2007-08-01 15:01
Size: 359 bytes
 

Contents

Class file image Download
<?
include("gFeed.php");
/*
*    Opening a local RSS for write a new one
*/
$f fopen("rss://newRSS.xml","a");
    
$title "Test  Entry N 3";
    
$link "http://cesars.users.phpclasses.org/gfeed?test";
    
$author "Cesar D. Rodas";
    
$date '2007-07-24 14:17:00';
    
$description "Test description";
    
fwrite($f,1);
fclose($f);

?>