Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Default, for now, to NOT publishing.

  • Loading branch information...
commit e51f58a2c4d0301b35a3ad135ab929b591b468da 1 parent e073802
@rubys authored
Showing with 5 additions and 5 deletions.
  1. +3 −2 docs/config.html
  2. +1 −1  planet.py
  3. +1 −2  planet/config.py
View
5 docs/config.html
@@ -119,8 +119,9 @@ <h3 id="planet"><code>[planet]</code></h3>
kept for each source when expunging old entries from the cache directory.
This may be overriden on a per subscription feed basis.</dd>
<dt><ins>pubsubhubbub_hub</ins></dt>
-<dd>URL to a PubSubHubbub hub, or None to disable. Default is the
-Google App Engine open hub. Used by <code>publish</code> to ping the
+<dd>URL to a PubSubHubbub hub, for example <a
+href="http://pubsubhubbub.appspot.com">http://pubsubhubbub.appspot.com</a>.
+Used by <code>publish</code> to ping the
hub when feeds are published, speeding delivery of updates to
subscribers. See
the <a href="http://code.google.com/p/pubsubhubbub/"> PubSubHubbub
View
2  planet.py
@@ -88,7 +88,7 @@
splice.apply(doc.toxml('utf-8'))
- if not no_publish:
+ if config.pubsubhubbub.hub() and not no_publish:
from planet import publish
publish.publish(config)
View
3  planet/config.py
@@ -105,8 +105,7 @@ def define_tmpl_int(name, default):
define_planet('output_theme', '')
define_planet('output_dir', 'output')
define_planet('spider_threads', 0)
- # set pubsubhubbub_hub to None to prevent it from being emitted
- define_planet('pubsubhubbub_hub', 'http://pubsubhubbub.appspot.com')
+ define_planet('pubsubhubbub_hub', '')
define_planet_int('new_feed_items', 0)
define_planet_int('feed_timeout', 20)
Please sign in to comment.
Something went wrong with that request. Please try again.