writing an autopinger?

5 replies
I understand that WP automatically pings websites when you post. I have a hand coded blog and would like the same functionality. My question is does pingomatic, autopinger or similar site have an API exposed to use there service to do this and I'll code the rest.

It would obviously be easier to do one of their sites than all the search engines etc individually (however, this is an option if not, and an easir one).

If there is no nice way to do so do you reckon I can just post the data to autopingers asp page they have on their server? Just keep all the field names the same?
#autopinger #writing
  • Profile picture of the author Revolves
    When you ping using a service like Ping-O-Matic, it says on the site that you can bookmark the link and revisit it anytime you want to re-ping your blog. Maybe you could do that every time after you post? Or if you want it to happen programmatically, then you could simple 'iframe' the URL in the page that's shown after a post is written/updated.

    -Revolves
    {{ DiscussionBoard.errors[3740896].message }}
    • Profile picture of the author burton247
      I did not realise that, thanks. I thought I would just ping the new blog post though, not the whole blog? Or have I got this wrong.
      {{ DiscussionBoard.errors[3741037].message }}
  • {{ DiscussionBoard.errors[3741855].message }}
  • Profile picture of the author Luke Graham
    Originally Posted by burton247 View Post

    I understand that WP automatically pings websites when you post. I have a hand coded blog and would like the same functionality.

    If there is no nice way to do so do you reckon I can just post the data to autopingers asp page they have on their server? Just keep all the field names the same?
    If you are going to the effort of writing a ping script you might want to also (or even instead of ping) look at doing it for pubsubhubbub......

    Full details: pubsubhubbub - A simple, open, web-hook-based pubsub protocol & open source reference implementation. - Google Project Hosting

    Just a suggestion of course
    Signature
    Best Ways To Make Money Online

    Eight bytes walk into a bar. The bartender asks, “Can I get you anything?”
    “Yeah,” reply the bytes. “Make us a double.”
    {{ DiscussionBoard.errors[3745820].message }}
  • Profile picture of the author majick
    there's no reason why you couldn't find the PHP pinging functions in the open source wordpress files and use the code as a base with some slight modifications...
    {{ DiscussionBoard.errors[3904554].message }}

Trending Topics