Experimental support for Google's pubsubhubbub

This commit is contained in:
Uriel 2009-07-19 03:27:26 +02:00
parent 16799d8ca0
commit df5668add0
2 changed files with 10 additions and 0 deletions

View file

@ -119,6 +119,12 @@ fn mkbpost {
echo
echo $bptext
}> $ddir/$"n^$"bpid/index.md
if(! ~ $"blagh_pubsubdub_hub '') {
# Experimental implementation of http://pubsubhubbub.googlecode.com/svn/trunk/pubsubhubbub-core-0.1.html#anchor4
ifs='' { p=`{echo $req_url|sed 's/new_post$/index.atom/'|./bin/contrib/urlencode.awk }
hget -p 'hub.mode=publish&hub.url='^$p' $blagh_pubsubdub_hub
}
}
status=$_status
}