Block robots from indexing syndicated feeds.
Patch by foxfirefey.
diffs (11 lines):
diff -r 97dd21729f46 -r f2a2870f4b27 cgi-bin/LJ/User.pm
--- a/cgi-bin/LJ/User.pm Thu Sep 10 15:21:28 2009 -0500
+++ b/cgi-bin/LJ/User.pm Thu Sep 10 15:29:42 2009 -0500
@@ -2142,6 +2142,7 @@ sub should_block_robots {
sub should_block_robots {
my $u = shift;
+ return 1 if $u->is_syndicated;
return 1 if $u->prop('opt_blockrobots');
return 0 unless LJ::is_enabled( 'adult_content' );
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog