Created
December 2, 2014 00:11
-
-
Save miyagawa/7987ea3d0ac52f6fba61 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/Rakefile b/Rakefile | |
index ca4af4d..0ba34e1 100644 | |
--- a/Rakefile | |
+++ b/Rakefile | |
@@ -214,16 +214,11 @@ def next_episode | |
}.max + 1 | |
end | |
-desc "ping updates to FeedPress" | |
+desc "ping updates to Superfeedr Hub" | |
task :ping do |t| | |
- require 'xmlrpc/client' | |
- server = XMLRPC::Client.new("feed.press", "/ping", 443, nil, nil, nil, nil, true) | |
- begin | |
- result = server.call("weblogUpdates.ping", "Rebuild", "http://rebuild.fm/") | |
- p result | |
- rescue Exception => e | |
- p e | |
- end | |
+ system "curl", | |
+ "-d", "hub.mode=publish", "-d", "hub.url=http://feeds.rebuild.fm/rebuildfm", | |
+ "http://rebuildfm.superfeedr.com/" | |
end | |
desc "Send PushBullet updates" | |
diff --git a/feed.xml b/feed.xml | |
index 20cc7c9..9495ee5 100644 | |
--- a/feed.xml | |
+++ b/feed.xml | |
@@ -8,6 +8,7 @@ layout: none | |
<description>{{ site.description }}</description> | |
<generator>Jekyll</generator> | |
<link>{{ site.url }}</link> | |
+ <atom:link href="http://rebuildfm.superfeedr.com/" rel="hub" /> | |
<atom:link href="{{ site.feed }}" rel="self" type="application/rss+xml" /> | |
<media:thumbnail url="{{ site.url }}/images/icon240.png" /> | |
<media:keywords>{{ site.keywords }}</media:keywords> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment