# HG changeset patch # User Aleksej Bobylev # Date 1340968650 0 # Node ID 19c2b6e223b0e1ace01652301f87aa4858329613 # Parent ecb638cb5473740792ede6e432b0dcb88396aca1 get-feeds: rel='nofollow' to scn and forum activity diff -r ecb638cb5473 -r 19c2b6e223b0 lib/get-feeds.php --- a/lib/get-feeds.php Thu May 24 11:41:39 2012 +0200 +++ b/lib/get-feeds.php Fri Jun 29 11:17:30 2012 +0000 @@ -23,6 +23,12 @@ function get_feed($feed) { $cache = '/var/cache/slitaz/website'; $entries = 4; + // no follow all links, but hg commits + if ($feed !== "wok.xml") { + $nofollow = " rel='nofollow'" + else + $nofollow = "" + } // have the page displayed even if any xml file if ( ! file_exists("$cache/$feed")) { echo "

\n
\n"; @@ -38,7 +44,7 @@ echo "

\n
\n