#bretthe clothing is kind of dorky, but the mapping and data they are getting seems pretty decent
bret joined the channel
#bretaaronpk, do you have any ideas on how you are going to support outgoing webmentions with pingback.me?
#aaronpkthe idea was a simple API where you'd provide a URL to one of your posts, and it would go find outgoing links and send any webmentions+pingbacks it finds
#aaronpkI ended up writing a small PHP script to do that for my own site though, and encountered an interesting issue
#bretwould that be possible to trigger with an http request?
#aaronpkbut it turns out I don't want to send notifications for *all* links on a page, because that includes things in my sidebar. so instead it should look for an h-entry and only send notifications for things inside
#bretWhat do you think about doing something similar to PuSH, where the site sending the request publishes an atom feed of webmentions it wants sent out, and then does a simple "hello i published, please parse my webmention atom feed"
#bretbut found out that that GH-pages and the appspot push server have a race condition, where the post commit trigger fires too soon, and the new atom feed isnt available yet sometimes
#bretso I could avoid this issue if I built the site locally, then pushed up the result as static html, then I am guessing there is no race condition because the files would be live as soon as the commit is done *i think*.... I have it set up so that you push out the raw liquid templates and markdown files and github does the final build before taking it live
#aaronpkah crazy, I didn't know GH would actually build a jekyll site
#bretwhich allows you to update the site directly in github or on a computer with ruby installed
#bretor simply a delayed http request forwarder would work too
#aaronpkI could enable it as a PuSH hub for h-atom feeds... don't see much reason to replicate google's actual PuSH hub right now though
#bretFor push to work reliably on GH-Pages, we need something to be able to get an http trigger from gh, wait 5 seconds then fire off a "http://pubsubhubbub.appspot.com/publish?hub.mode=publish&hub.url=http://bre.tc/atom.xml" type http request