X-Git-Url: https://git.defcon.no/?p=plsgen;a=blobdiff_plain;f=rss.php;fp=rss.php;h=21cfa0c2f4cab6efcf661faaf93b6fa48546e225;hp=0000000000000000000000000000000000000000;hb=68c39fb44a748326e82293210c9cc48d85fe874b;hpb=f4f2b8f68d207d3189de1e07b662aaaf4ed5aa8f diff --git a/rss.php b/rss.php new file mode 100644 index 0000000..21cfa0c --- /dev/null +++ b/rss.php @@ -0,0 +1,102 @@ +\n"); +print ("\n"); +print (" \n"); +print (" " . $stream_title . "\n"); +print (" " . $site_url . "\n"); +print (" " . $stream_description . "\n"); +print (" http://blogs.law.harvard.edu/tech/rss\n"); +print (" " . $contact_address . "\n"); +print (" " . $contact_address . "\n"); + +/* // disse må fixxes + + */ + +foreach ( $album as $key => $value ) { + print ("\n"); + print (""); + $i_title = html_entity_decode($title[$key]); + $url = $site_url . "/" . $value; + print ($i_title); + print ("\n"); + print (" " . date("D, j M Y H:i:s +0100", $ctimes[$key]) . "\n"); + print (" " . $url . "\n"); + print (" $key$value\n"); + print (" \n"); + printf ("The photo gallery '%s' at %s was updated/published at %s", $i_title,$url,$url,date("D, j M Y H:i:s +0100", $ctimes[$key])); + print (" \n"); + print ("", $url, $idximage[$key]); + printf ("The photo gallery '%s' at %s was updated/published at %s", $i_title,$url,$url,date("D, j M Y H:i:s +0100", $ctimes[$key])); + print (" ]]>"); + print ("\n"); + + $maxcount--; + if ($maxcount < 1) break; +} +print (" \n"); +print (""); +?> + +