Re: blogs.gnome.org, permalinks, and robots=noindex



Agree. Unfortunately, NB has basically fallen out of maintenance, so your
best bet is to patch ours for the time being.

OK, here's a braindead patch to take out the <meta name="robots" ...>
lines entirely (which is my preferred solution, rather than having to
pick and choose which views are indexable and which aren't):


--- nb/lib/LOMP_original.py     2007-05-15 23:58:12.000000000 +1000
+++ nb/lib/LOMP.py      2007-05-15 23:58:56.000000000 +1000
@@ -98,7 +98,8 @@ class HtmlGenerator:
        else:
            follow = 'follow'

-        return '<meta name="robots" content="%s,%s" />' % (index, follow)
+        #return '<meta name="robots" content="%s,%s" />' % (index, follow)
+        return ''

    #### Generation of form fields.


This was diff'ed against the latest NewsBruiser tarball.  I have no
idea (and no access to) whatever version is powering blogs.gnome.org.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]