diff options
Diffstat (limited to '_phpetite/rss.php')
-rw-r--r-- | _phpetite/rss.php | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/_phpetite/rss.php b/_phpetite/rss.php new file mode 100644 index 0000000..9acd8bc --- /dev/null +++ b/_phpetite/rss.php @@ -0,0 +1,17 @@ +<?php + // Include custom site configurations +include ($_SERVER['DOCUMENT_ROOT'].'_phpetite/_config.php'); + include ($_SERVER['DOCUMENT_ROOT'].'_phpetite/system.php'); + + echo '<?xml version="1.0" encoding="utf-8"?> + <feed xmlns="http://www.w3.org/2005/Atom"> + <title>'.$site_title.'</title> + <link href="'.$site_url.'/atom.xml" rel="self"/> + <link href="'.$site_url.'"/> + <updated>'.date("Y-m-d\TH:i:sP").'</updated> + <id>'.$site_url.'/</id> + <author> + <name>'.$site_author.'</name> + <email>'.$site_email.'</email> + </author>'.$rss_items.'</feed>'; +?>
\ No newline at end of file |