All pastes #469410 Raw Edit

Ace_NoOne

public php v1 · immutable
·published 2007-05-03 18:59 UTC
rendered paste body
<?php// cachingif (filemtime('content/siteNews.html') > filemtime('feeds/atom.xml')) {	generateFeed(); // create ATOM.XML from SITENEWS.HTML}// return feedheader('Content-Type: application/rss+xml');readfile('feeds/atom.xml');?>