PuSH support in dobrado #indieweb

By Malcolm Blaney on
dobrado now supports PubSubHubbub, both as a consumer and as a producer. Thankfully this process is similar enough to rssCloud that it can share a lot of existing code.

To make it work with microformat feeds, I needed to add a couple of lines to SimplePie. This is because the rel=hub and rel=self links otherwise parsed in the xml need to be discovered in the headers. Since SimplePie caches all headers, they can just be returned in get_links(), so the code calling this function doesn't need to know what type of feed it is.
likesharereplyWant to share this? Click to choose a site:settings
Add a comment