The MU forums have moved to WordPress.org

Pinging more than one service (6 posts)

  1. gestor
    Member
    Posted 17 years ago #

    In upgrade-schema.php, the line for the default ping service is:

    add_option('ping_sites', 'http://rpc.pingomatic.com/');

    If I want to ping two or more systems, how should I exactly add the others? Inside the same quotes, or I must open additional quotes for every new service? Separated by comma, by space, by break line...?

  2. drmike
    Member
    Posted 17 years ago #

    space and then new url. Do remember that pingomatic hits a number of them. You may want to compare their list with what you're adding in.

    Regards,
    -drmike

  3. alexz
    Member
    Posted 16 years ago #

    Is it like:
    add_option('ping_sites', 'http://rpc.pingomatic.com/ http://pingsite.com');

    Or:
    add_option('ping_sites', 'http://rpc.pingomatic.com/' http://pingsite.com/);

    EDIT: And how do I see the changes? Because when I look at the Pingsite box after an upgrade I only see the pingomatic url.

  4. drmike
    Member
    Posted 16 years ago #

    One line. It's only going to show up on new blogs though. Part of the Blog Stats package I'm doing is how to run through and make changes to all of your blogs. I'll add that to the walkthru for the trac.

    Took two hours to figure out a method for recently updated blogs only being listed on teh featured blogs listing. And I still don't know if it works.

  5. alexz
    Member
    Posted 16 years ago #

    I understand that it is one line, but should I have new pair of ' or in the same pair of '.

    e.g. 'http://rpc.pingomatic.com/' 'http://pingsite.com/'

    or

    'http://rpc.pingomatic.com/ http://pingsite.com/'

    And please link to your project.

  6. alexz
    Member
    Posted 16 years ago #

    FYI To write two pingsites on the same line does not work.

About this Topic