Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
Ping Custom Sites
How do I ping sites other than Textpattern.com and ping-o-matic?
I have a list of about 7 sites I want to ping. WP just has a box to paste the list in. I think with TXP I need to modify a PHP file somewhere? If so, which one?
Eric
Offline
Re: Ping Custom Sites
It’s a sequence in include/txp_article.php
around line #840:
if ($prefs['ping_weblogsdotcom']==1) {
$wl_client = new IXR_Client('http://rpc.pingomatic.com/');
$wl_client->query('weblogUpdates.ping', $prefs['sitename'], hu);
// WET: Ping Technorati , see http://forum.textpattern.com/viewtopic.php?pid=102342#p102342
$wl_client = new IXR_Client('http://rpc.technorati.com/rpc/ping');
$wl_client->query('weblogUpdates.ping', $prefs['sitename'], hu);
// WET end
}
As you can see in the sample above, I’ve added a direct ping to technorati just in case pingomatic is unavailable. The modifications werde done according to the instructions given in this forum thread [lang=“de”].
Offline
#3 2006-06-03 04:39:28
- Mary
- Sock Enthusiast
- Registered: 2004-06-27
- Posts: 6,236
Re: Ping Custom Sites
Are you sure your 7 sites are not pinged by Pingomatic?
Offline
Re: Ping Custom Sites
There is the <a href=“http://forum.textpattern.com/viewtopic.php?id=7448”>glx_admin_ping</a> plugin. No need to hack the core.
Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.
Offline
Re: Ping Custom Sites
Excellent! Search wasn’t turning that up here on the forums.
Now to go implement it! :)
Eric
Offline
Pages: 1