diff --git a/conferences/index.php b/conferences/index.php index 568e5bf7e..85ff626ec 100644 --- a/conferences/index.php +++ b/conferences/index.php @@ -20,11 +20,11 @@ EOT; unset($RSIDEBAR_DATA); -site_header("PHP Conferences around the world", array("layout_workaround" => $layout_workaround, 'headtags' => '')); +site_header("PHP Conferences around the world", array("layout_workaround" => $layout_workaround, 'headtags' => '')); print_news($NEWS_ENTRIES["conferences"]); site_footer( - array("rss" => "/conferences/news.rss") // Add a link to the feed + array("atom" => "/feed.atom") // Add a link to the feed ); diff --git a/include/layout.inc b/include/layout.inc index f3fe1b14c..32d9c5684 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -243,6 +243,9 @@ function site_footer($config = array()) $rsslink = (isset($config["rss"]) ? "RSS |" : ""); + $atomlink = (isset($config["atom"]) ? + "Atom |" : + ""); $viewsource = (isset($_SERVER['BASE_PAGE']) ? "show source |" : ""); @@ -262,7 +265,7 @@ function site_footer($config = array()) {$layout_helper}
- $rsslink $viewsource + $rsslink $atomlink $viewsource credits |$stats sitemap | contact | @@ -593,7 +596,7 @@ function news_archive_sidebar()

For the latest news, check the homepage, - or our RSS feed. + or our Atom feed.

Archives by year

diff --git a/index.php b/index.php index 8e4091d17..27b8a0288 100644 --- a/index.php +++ b/index.php @@ -97,8 +97,7 @@ $SIDEBAR_DATA = '

Syndication

- You can grab our news as an RSS feed via a daily dump in a file - named news.rss. + You can grab our news as an Atom feed.

'; $MIRROR_IMAGE = ''; @@ -200,7 +199,7 @@ $RSIDEBAR_DATA = $MIRROR_IMAGE . $rel . $RSIDEBAR_DATA; site_header("Hypertext Preprocessor", array( 'onload' => 'boldEvents();', - 'headtags' => '', + 'headtags' => '', 'link' => array( array( "rel" => "search", @@ -249,6 +248,6 @@ print_news($NEWS_ENTRIES["frontpage"]); "/news.rss") // Add a link to the feed at the bottom + array("atom" => "/feed.atom") // Add a link to the feed at the bottom );