Using Custom Objects and Custom Display Objects for Data Sources in Mura Form Builder

That title is a mouthful. And many might not be familiar with what it means. Check out this video to learn more about Mura's Form Builder, or you can go to this link which goes directly to the section of the video that I had an issue with.

In the video, Sean demonstrates the basics of creating a dropdown where you can manually enter the options for the dropdown. He does gloss over the fact that you can also get the data for the dropdown from other sources. Unfortunately, this is the extent of the currently existing documentation for this feature. So when I wanted to use this feature of the form builder to feed in data from another part of the site, I had to figure it out on my own. Here is what I came up with. Hopefully it is right(ish). Oh, you can also use this stuff to populate checkbox and radio button sets.

[More]

Stopping web crawling bots from causing errors in BlogCFC

So I have been using BlogCFC for 970 days, and I love it. But one problem I have had since the beginning is when my site gets hammered with web crawler, I get a ton of errors. They usually hit between 2:00 AM and 6:00 AM and crawl my blog looking for new content. I appreciate what they do, but sometimes they can be VERY aggressive and start to cause timeout errors.

The result is that I wake up to dozens, or hundreds, of error emails and, very rarely, a crashed ColdFusion application server. Since I am on an Awesome VPS, I rarely have problems with the crashing, even less so since I upgraded the JVM from the CF8 default. But I would rather not have my server brought to its knees every morning by bots. Especially since I know that my worshippers from across the pond are just arriving at work and desire nothing more than to see if I have anything new to say.

So, finally, after 3 years, I decided to look into this problem. I've noticed that more often than not, the timeout errors are occurring when the web crawler tries to hit the "print" link on every post. So I said to myself, "Self, do web crawlers need to index my 'print' page?"

[More]

BlogCFC was created by Raymond Camden. This blog is running version 5.9.1. Contact Blog Owner