kareila: (Default)
kareila ([personal profile] kareila) wrote in [site community profile] changelog2009-09-10 08:30 pm

[dw-free] apply bare-bones style to feed account journals + set feeds to no-index

[commit: http://hg.dwscoalition.org/dw-free/rev/f2a2870f4b27]

http://bugs.dwscoalition.org/show_bug.cgi?id=1308

Block robots from indexing syndicated feeds.

Patch by [personal profile] foxfirefey.

Files modified:
  • cgi-bin/LJ/User.pm
--------------------------------------------------------------------------------
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' );
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org