From c672fe96de39adb407b3faf956cc656645111992 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Wed, 2 Jan 2013 22:20:36 +0100 Subject: [PATCH] new post: pubsubhubbub with octopress --- Rakefile | 4 ++-- .../2013-01-02-pubsubhubbub-with-octopress.markdown | 12 ++++++++---- 2 files changed, 10 insertions(+), 6 deletions(-) diff --git a/Rakefile b/Rakefile index 7deec57..72fed07 100644 --- a/Rakefile +++ b/Rakefile @@ -228,8 +228,8 @@ task :deploy do require 'net/http' require 'uri' - hub_url = "higgsboson.superfeedr.com" - atom_url = "blog.higgsboson/atom.xml" + hub_url = "http://higgsboson.superfeedr.com" + atom_url = "http://blog.higgsboson.tk/atom.xml" resp, data = Net::HTTP.post_form(URI.parse(hub_url), {'hub.mode' => 'publish', 'hub.url' => atom_url}) diff --git a/source/_posts/2013-01-02-pubsubhubbub-with-octopress.markdown b/source/_posts/2013-01-02-pubsubhubbub-with-octopress.markdown index f263483..0cbcaa4 100644 --- a/source/_posts/2013-01-02-pubsubhubbub-with-octopress.markdown +++ b/source/_posts/2013-01-02-pubsubhubbub-with-octopress.markdown @@ -68,8 +68,8 @@ Add these lines to the end of your deploy task in your Rakefile: ```ruby require 'net/http' require 'uri' -hub_url = "higgsboson.superfeedr.com" # replace this with your hub -atom_url = "blog.higgsboson/atom.xml" +hub_url = "higgsboson.superfeedr.com" # <--- replace this with your hub +atom_url = "http://blog.higgsboson.tk/atom.xml" # <--- replace this with your full feed url resp, data = Net::HTTP.post_form(URI.parse(hub_url), {'hub.mode' => 'publish', 'hub.url' => atom_url}) @@ -94,8 +94,8 @@ task :deploy do require 'net/http' require 'uri' - hub_url = "higgsboson.superfeedr.com" - atom_url = "blog.higgsboson/atom.xml" + hub_url = "higgsboson.superfeedr.com" # <--- replace this with your hub + atom_url = "http://blog.higgsboson.tk/atom.xml" # <--- replace this with your full feed url resp, data = Net::HTTP.post_form(URI.parse(hub_url), {'hub.mode' => 'publish', 'hub.url' => atom_url}) @@ -105,3 +105,7 @@ end ``` Now whenever you run `rake deploy`, it will automaticly update your hub. + +If you have a jabber or google talk account, you can easily verify your setup by adding +[push-bot](https://push-bot.appspot.com/) to your contact list and subscribe to +your feed.