March 29, 2005
Trackbacks working on my blog
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
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.
Roger,
Thanks for the tip, I wasn't planning on adding autodiscovery.
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
i like this site and author! respect!
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.
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/
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
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
People are too strict on other people
Hi, have not heard of fakes and have not seen any issues - - http://steroidonlineshop.com They vouched for on many boards
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
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
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
simple but quality, thanks!t
This is a great tutorial thanks!
The Aging Population Hurts The Economy
Genetic testing on unborn children is, is not ethical
Thank you for such good site. It is sorry that before him did not find