public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] gentoo-x86 commit in www-misc/awstats/files: awstats-7.0_p20101205-nofollow.patch
@ 2011-01-10  1:12 Diego Petteno (flameeyes)
  0 siblings, 0 replies; only message in thread
From: Diego Petteno (flameeyes) @ 2011-01-10  1:12 UTC (permalink / raw
  To: gentoo-commits

flameeyes    11/01/10 01:12:33

  Added:                awstats-7.0_p20101205-nofollow.patch
  Log:
  Simplify ebuild by dropping apache.depend and webapp eclasses; this version no longer users webapp-config for setup, instead it relies on stable paths for configuration (suggested method), as it doesn't slot and it requires global paths to save data. Also, patch in rel=nofollow attribute on external links to avoid boosting spammers' pagerank.
  
  (Portage version: 2.2.0_alpha14/cvs/Linux x86_64)

Revision  Changes    Path
1.1                  www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch

file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/www-misc/awstats/files/awstats-7.0_p20101205-nofollow.patch?rev=1.1&content-type=text/plain

Index: awstats-7.0_p20101205-nofollow.patch
===================================================================
Index: awstats-7.0_p20101205/wwwroot/cgi-bin/awstats.pl
===================================================================
--- awstats-7.0_p20101205.orig/wwwroot/cgi-bin/awstats.pl
+++ awstats-7.0_p20101205/wwwroot/cgi-bin/awstats.pl
@@ -8787,7 +8787,7 @@ sub HTMLShowURLInfo {
 			{    # URL seems to be extracted from a proxy log file
 				print "<a href=\""
 				  . XMLEncode("$newkey")
-				  . "\" target=\"url\">"
+				  . "\" target=\"url\" rel=\"nofollow\">"
 				  . XMLEncode($nompage) . "</a>";
 			}
 			elsif ( $newkey =~ /^\// )
@@ -8802,7 +8802,7 @@ sub HTMLShowURLInfo {
 				}
 				print "<a href=\""
 				  . XMLEncode("$urlprot://$SiteDomain$newkey")
-				  . "\" target=\"url\">"
+				  . "\" target=\"url\" rel=\"nofollow\">"
 				  . XMLEncode($nompage) . "</a>";
 			}
 			else {






^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2011-01-10  1:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-01-10  1:12 [gentoo-commits] gentoo-x86 commit in www-misc/awstats/files: awstats-7.0_p20101205-nofollow.patch Diego Petteno (flameeyes)

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox