ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Automatic PubSubHubBub Pinging?

November 17, 2012 9:41am

Subscribe [1]
  • #1 / Nov 17, 2012 9:41am

    Linda A

    666 posts

    I’d like to figure out how to get new posts on my sites to ping a PubSubHubBub hub, which will then notify its subscribers of the new content. This will allow near-real time updates of services such as Google Reader and Twitterfeed of new content updates.

    I’ve already gotten it to work with manual pings, which are quite simple to produce from the shell. After posting new content I can just do something like this:

    curl -X POST http://<your-hub-name>.superfeedr.com -d"hub.mode=publish” -d"hub.url=http://<a-feed-url>” -D-

    And I get immediate updates fed to social media by Twitterfeed, which is subscribed to my feeds via my hub.

    But how can I get this to all happen automatically? Are there any add-ons or plug-ins that already do something like this?

  • #2 / Nov 17, 2012 2:26pm

    Bhashkar Yadav

    727 posts

    Hi Linda,

    it would be fine if you set CRON job for it by development a little add-on and running the CURL post at scheduled time. Also what about the extension hook if you do the same if any EE content is posted.


    Best Regards,

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases