BlogCFC 3.7.1 Released

This post is more than 2 years old.

Another week, another update. Let's just dive right in...

  • A while back, I had to modify the editor to handle code blocks in both BlueDragon and CFMX. NewAtlanta provided me with a new regex that works the exact same in both versions. This makes the editor a bit cleaner. I also found a bug with an empty code block.
  • A while back, someone reported an issue with running N BlogCFC installs on one box. Normally you are supposed to use one ORG folder, one CFC, and separate entries in the ini file. Sometimes though that isn't possible. For example, you may be on an ISP. Or you may want to run different versions of the blog. In order to make this easier, the blog application name is now partially dynamic. I base the blog application name on the path now. Oh, and I found out that CFMX has a 64 character limit on the application name. This didn't throw an error until I pushed the changes to this blog. Now I take the right side of the path name. Not 100% perfect, but should take care of most folks.
  • Ping! You can now ping multiple URLs on blog entry creation. Just use the pingurls entry in the ini file to specify which URLs to hit.
  • So... I like the ColdFusion Roles-Based Security system. But the darn thing has bit me in the rear so many times I'm very close to dropping it. One example - you have no built-in function to determine if a user is logged in. Sure you can set a flag inside cflogin, but come on - CF knows I ran cfloginuser, so why not also provide a flag? I used to use a UDF that simply detected id getAuthUser() was an empty string. This is what I did for almost all of my applications. However, this will fail when using web server authentication. getAuthUser() checks the value of cgi.auth_user so you get hosed. I may start removing role-based security from my applications in the future. It is supposed to be hassle-free, but it hasn't been. See my previous posts on the various security issues, etc. At the same time, it is relatively new to ColdFusion, so I guess I'll give it some time.
  • Oh - I had a minor bug in the RSS generation that affected the datetime strings for half the planet. Um, sorry about that. Just call me an ego-centric American. ;)
Raymond Camden's Picture

About Raymond Camden

Raymond is a senior developer evangelist for Adobe. He focuses on document services, JavaScript, and enterprise cat demos. If you like this article, please consider visiting my Amazon Wishlist or donating via PayPal to show your support. You can even buy me a coffee!

Lafayette, LA https://www.raymondcamden.com

Archived Comments

Comment 1 by Rob Brooks-Bilson posted on 6/18/2005 at 2:20 AM

Hi Ray,

How does ping work in the new version? Different blog systems support ping in different ways. How is blogCFC implementing this?

Comment 2 by Raymond Camden posted on 6/18/2005 at 2:24 AM

It's just URL based. Ie, you tell it which URLs to hit.

Comment 3 by Rob Brooks-Bilson posted on 6/18/2005 at 2:50 AM

You might want to update your release notes to mention that the ping functionality only supports basic HTTP GETs. This means you can ping some sites like fullasagoog.org, but not others like Technorati that require a different mechanism.

Comment 4 by Jason Sheedy posted on 6/20/2005 at 12:00 PM

Hi Ray,
thanks for the update on the rss datetime string. Us ozzies need to be aggregated too. :)
OT: I was reading a cf-community post that you wrote saying how impressed you are with mail enable. Do you have any resources I could use to get me started integrating it with cold fusion? The main thing I need to do is add/remove mailboxes programatically, but any tips would be appreciated. cheers, Jason

Comment 5 by Raymond Camden posted on 6/20/2005 at 6:21 PM

I've never done any integration unfortunately. I'm just running a vanilla install.

Comment 6 by Jason Sheedy posted on 6/21/2005 at 2:49 AM

Hi Ray, I was talking to someone on cfaussie a while back that's building a cf webmail app that talks directly to the mailenable com api. The documentation for it is located here if you're interested..

http://www.mailenable.com/d...

There's some examples in there on how to do it with php, so I'm in the process of trying to convert the script to CF.