diff options
author | Romain d'Alverny <rda@mageia.org> | 2010-11-29 16:36:00 +0000 |
---|---|---|
committer | Romain d'Alverny <rda@mageia.org> | 2010-11-29 16:36:00 +0000 |
commit | 4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e (patch) | |
tree | 10cbfcf76181e1a16f458655ac4470af563bc290 /lib/news.php | |
parent | e97e0bdf8034aa5a207be354bb28f367cd915985 (diff) | |
download | www-4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e.tar www-4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e.tar.gz www-4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e.tar.bz2 www-4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e.tar.xz www-4eb0a852d4f5b093b6a69d9d2b6d07ab2f10ef0e.zip |
more blogs
Diffstat (limited to 'lib/news.php')
-rw-r--r-- | lib/news.php | 12 |
1 files changed, 10 insertions, 2 deletions
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(); |