Top tag
Next privilege 125 Rep.
Vote down
~333 people reached

  • 0 posts edited
  • 0 helpful flags
  • 0 votes cast
comment Sending WP posts to external API
I should add to that, that my reason for asking the question was to see if there was a common approach that others take, to save me some work. I've looked for existing plugins that do something similar but with no luck so far.
comment Sending WP posts to external API
The problem with this is that it requires my server requesting the wp server at regular intervals via something like a cron job, if I want to stay up to date, which I do. This would have to be done at a minimum of every 5 minutes, which could become alot of work if a large number of sites use it. My solution to this would be to accept pings and then scrape only once i've got the ping with the plugin displaying a custom json encoded page with the information I need for easier scraping.