Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2006-06-02 11:01:39

edburdo
Member
Registered: 2004-09-20
Posts: 79
Website

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

#2 2006-06-02 19:59:18

wet
Developer Emeritus
From: Schoerfling, Austria
Registered: 2005-06-06
Posts: 3,330
Website Mastodon

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

#4 2006-06-03 06:23:36

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,125
Website GitHub Mastodon Twitter

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

#5 2006-06-03 10:26:44

edburdo
Member
Registered: 2004-09-20
Posts: 79
Website

Re: Ping Custom Sites

Excellent! Search wasn’t turning that up here on the forums.

Now to go implement it! :)


Eric

Offline

Board footer

Powered by FluxBB