From de8c84d11ab829e01cdea82f74e9cb8911a3b10b Mon Sep 17 00:00:00 2001 From: Sam Ruby Date: Wed, 16 Aug 2006 19:51:27 -0400 Subject: [PATCH] Cosmetic changes: get rid of an unnecessary

, and add in instructions to tell Google not to index the results. --- examples/planet.xslt | 4 ++-- planet/splice.py | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/examples/planet.xslt b/examples/planet.xslt index f240f39..420b0ea 100644 --- a/examples/planet.xslt +++ b/examples/planet.xslt @@ -54,10 +54,10 @@

-

+
-

+
diff --git a/planet/splice.py b/planet/splice.py index b2a2a50..36f9024 100644 --- a/planet/splice.py +++ b/planet/splice.py @@ -21,6 +21,10 @@ def splice(configFile): doc = minidom.parseString('') feed = doc.documentElement + # insert Google/LiveJournal's noindex + feed.setAttribute('indexing:index','no') + feed.setAttribute('xmlns:indexing','urn:atom-extension:indexing') + # insert feed information createTextElement(feed, 'title', config.name())