website rev 1072
get-feeds: fix php syntax error, sorry
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Jun 29 11:23:39 2012 +0000 (2012-06-29) |
parents | 19c2b6e223b0 |
children | 8585804d4b9a |
files | lib/get-feeds.php |
line diff
1.1 --- a/lib/get-feeds.php Fri Jun 29 11:17:30 2012 +0000 1.2 +++ b/lib/get-feeds.php Fri Jun 29 11:23:39 2012 +0000 1.3 @@ -24,10 +24,10 @@ 1.4 $cache = '/var/cache/slitaz/website'; 1.5 $entries = 4; 1.6 // no follow all links, but hg commits 1.7 - if ($feed !== "wok.xml") { 1.8 + if ($feed == "wok.xml") { 1.9 + $nofollow = "" 1.10 + } else { 1.11 $nofollow = " rel='nofollow'" 1.12 - else 1.13 - $nofollow = "" 1.14 } 1.15 // have the page displayed even if any xml file 1.16 if ( ! file_exists("$cache/$feed")) {