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...?
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
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.
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.
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.
FYI To write two pingsites on the same line does not work.