pf » Trackbacks working on my blog

Trackbacks working on my blog

web

I hopefully have trackbacks working on my blog now. If you want to test the methods given in my trackbacks article you can trackback to this post.

Here's some code I use to check and see if my trackbacks was successful:

<cfset tbError = ReReplaceNoCase(cfhttp.filecontent, ".*<error>([01])</error>.*", "\1")>
<cfif tbError EQ 1>
	<cfset tbMessage = ReReplaceNoCase(cfhttp.filecontent, ".*<message>([^<>]+)</message>.*", "\1")>
	<cfoutput>Track Back Error: #tbMessage#</cfoutput>
<cfelse>
	<cfoutput>TrackBack Successful</cfoutput>
</cfif>

It's using regular expressions, but you could also just as easily parse the XML with XmlParse.



Related Entries
9 people found this page useful, what do you think?

Trackback Address: 296/CC6C781814A35F7EB29B0A1ABE3C014E
On 03/30/2005 at 12:40:53 PM MST Roger Benningfield wrote:
1
Pete: Unless you've got some industrial-strength spam control running in the background, make sure you don't add any TB autodiscovery elements to your pages. 'Cause if you do, the bots will find you, and you'll wake up one morning with a few thousand Trackbacks for poker and drugs.

On 03/30/2005 at 12:50:39 PM MST Pete Freitag wrote:
2
Roger,

Thanks for the tip, I wasn't planning on adding autodiscovery.

On 04/04/2005 at 11:42:18 PM MDT todd wrote:
3
I am new to the blog world and need a couple of questions answered. I need to learn more about 'trackback'. I have a new blog site. http://vaifan.myblogsite.com

I tried to 'verify' my site for RSS and it gave me errors. Please help.

Thanks, ()() imagebuildersgroup@yahoo.c.om

On 01/14/2006 at 2:35:27 PM MST Search wrote:
4
i like this site and author! respect!

On 03/24/2006 at 3:20:54 PM MST Annoying Old Guy wrote:
5
Heh. Looks like the junkers found you anyway. Old "Jhony" boy is a pest over on my weblogs as well. I see you have the "respect!" guy as well.

I have found keywords inadequate, especially in the generic form of "if one of these words shows up, junk it". I have, however, done well by using regular expressions targeted at the various fields (comment text, homepage URL, email address, etc.). For instance, consider Jhony boy. If you look for the RE "^from" for the weblog title, you'd shut him down. OTOH, if you just looked for the keyword "from", you'd block way too much stuff.

On 09/24/2006 at 11:09:34 AM MDT Buy ambien wrote:
6
Ambien is used for short-term treatment of insomnia (difficulty falling asleep or staying asleep, or early awakening). A relatively new drug, it is chemically different from other common sleep medications such as Halcion and Dalmane. http://ambieno.urlcutter.com/

On 10/08/2006 at 1:34:14 PM MDT myname wrote:
7
On 10/09/2006 at 9:59:41 PM MDT myname wrote:
8
On 12/10/2006 at 11:16:38 PM MST flood insurance wrote:
9
Think you need to live near water to need flood insurance? Think again. ... Don?t get caught in rising water ? protect your home with flood insurance. ... http://flood-insurance.marketland.org/map.html

On 12/11/2006 at 1:15:35 AM MST aetna health insurance wrote:
10
Other out-of-network insurance plans may be accepted. Please check that the doctor ... Advantra, Group Health Plan Aetna, Choice POS (Open Access) ... http://aetna-health-insurance.marketland.org/map.html

On 04/29/2007 at 5:17:22 PM MDT XRumer wrote:
11
People are too strict on other people

On 06/04/2007 at 7:14:43 PM MDT antonyandruleit wrote:
12
Hi, have not heard of fakes and have not seen any issues - - http://steroidonlineshop.com They vouched for on many boards

On 06/23/2007 at 3:51:23 AM MDT iknowall wrote:
13
Not secret that that that we search for, whereas you will not always find on the first page of search engine. But in other, although it rarely or in no way you use, this in sight. Therefore you will focus attention on http://www.iknowall.com. It searches for simultaneously in three largest bases of peace and issues results at will - on one page or on the different. Parsit'. is probable, also possible simultaneously all.

http://www.iknowall.com

On 06/24/2007 at 7:44:59 AM MDT iknowall wrote:
14
Not secret that that that we search for, whereas you will not always find on the first page of search engine. But in other, although it rarely or in no way you use, this in sight. Therefore you will focus attention on http://www.iknowall.com. It searches for simultaneously in three largest bases of peace and issues results at will - on one page or on the different. Parsit'. is probable, also possible simultaneously all.

http://www.iknowall.com

On 06/25/2007 at 2:24:08 AM MDT iknowall wrote:
15
Not secret that that that we search for, whereas you will not always find on the first page of search engine. But in other, although it rarely or in no way you use, this in sight. Therefore you will focus attention on http://www.iknowall.com. It searches for simultaneously in three largest bases of peace and issues results at will - on one page or on the different. Parsit'. is probable, also possible simultaneously all.

http://www.iknowall.com

On 07/08/2007 at 2:59:51 AM MDT fox wrote:
16
Really perfect!

On 09/27/2007 at 3:25:33 PM MDT alex wrote:
17
simple but quality, thanks!t

On 10/06/2007 at 5:43:48 AM MDT rewb wrote:
18
This is a great tutorial thanks!

On 01/01/2008 at 4:27:09 AM MST pink visual wrote:
19
The Aging Population Hurts The Economy

On 02/02/2008 at 9:48:51 AM MST euro teens xxx wrote:
20
Genetic testing on unborn children is, is not ethical

On 05/04/2008 at 7:26:29 PM MDT typePiopy wrote:
21
Thank you for such good site. It is sorry that before him did not find




  



Spell Checker by Foundeo





Subscribe to my RSS Feed: solosub RSS
Tags