From 4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e Mon Sep 17 00:00:00 2001 From: Romain d'Alverny Date: Mon, 29 Nov 2010 16:36:00 +0000 Subject: more blogs --- lib/news.php | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'lib/news.php') diff --git a/lib/news.php b/lib/news.php index 6ff918d4a..224302559 100644 --- a/lib/news.php +++ b/lib/news.php @@ -56,7 +56,15 @@ function get_news($locale = 'en', $count = 5, $cache_timeout = 5) $news = array( 'en' => 'http://blog.mageia.org/', 'fr' => 'http://blog.mageia.org/fr/', - 'es' => 'http://blog.mageia.org/es/' + 'es' => 'http://blog.mageia.org/es/', + 'de' => 'http://blog.mageia.org/de/', + 'el' => 'http://blog.mageia.org/el/', + 'it' => 'http://blog.mageia.org/it/', + 'pl' => 'http://blog.mageia.org/', //'http://blog.mageia.org/pl/', + 'pt' => 'http://blog.mageia.org/pt-br/', + 'ro' => 'http://blog.mageia.org/ro/', + 'ru' => 'http://blog.mageia.org/' , //'http://blog.mageia.org/ru/', + 'tr' => 'http://blog.mageia.org/tr/' ); if (!array_key_exists($locale, $news)) @@ -69,7 +77,7 @@ function get_news($locale = 'en', $count = 5, $cache_timeout = 5) realpath(G_APP_ROOT . '/var/tmp/cache'), 3600 * $cache_timeout); - //$feed->enable_order_by_date(true); + $feed->enable_order_by_date(true); $feed->handle_content_type(); -- cgit v1.2.1