Steven Erat's Blog Steven Erat Photography
 
 
Viewing By Entry
 
 

TalkingTree  TalkingTree now using BlogCFC and Aura

 

My blogging frequency has recently dipped while I've been building a new blog that incorporates Ray Camden's supreme blogware, BlogCFC, and the Aura skin available from Leorex.

Some of you may have noticed growing pains this morning and last night as I pushed the new blog live, so thanks for hanging in there while the CSS glitches were worked out when I noticed some unexpected issues in MSIE after having done the majority of development with Firefox.

Blending the Aura skin with BlogCFC was suprisingly easy.

It required merging Aura's index.html with BlogCFC's layout.cfm, followed by corresponding updates to bring the stylesheets together. Aura ships with 4 style sheets, for formatting, layout, design, and print. I found I often got confused as to which style sheet I was working in because they overlap the css classes between them.

The next major step was redoing Aura's graphics to suit my design, including a different color scheme and wider body. This is where I spent most of my time while trying to smooth out the layout, rebuild and create new images, and adjusting the style sheets further.

Finally, I spent a day working on an import script that can bring CFXML_Blog blogs into BlogCFC. In production, that script worked flawlessly, and I hope to offer it to Ray for possible inclusion in BlogCFC.

I also spent a half day writing an adaptor to map CFXML_Blog url query strings to their equivalent in BlogCFC. The two blog types use different parameters to get at category or date views. The view adaptor worked perfectly for mapping the main blog views from index.cfm, but I ran into a still unknown glitch in the RSS adaptor for requests to rss.cfm.

That custom RSS adaptor is not working right now execpt for a hack that temporarily permits the ColdFusion RSS view to be mapped correctly since that's the majority of RSS traffic. You may have noticed a flurry of my personal blogs showing up on ColdFusion blog aggregators. That was because of the RSS adaptor glitch when I first tested it live, not because I think you're so interested in my photos of Concord or my ride to work :)

Other than that, I had a fair amount of custom formatting code in the old blog text that I had to cull out of the new blogs. So I had to go hunting for FONT, PRE, and XMP code blocks and switch them to use the BlogCFC code highlighting mechanism provided when you use the CODE tags while entering new blogs. I love that part!

Since I did development with MySQL 4.1, and am using MSSQL here in production, there was just one issue I ran into with the CFXML_Blog importer. When inserting comments I first queried for them to make sure there were no duplicates, but the SELECT sql statement errored with an interesting message. I'll post the details later, but in short I had to change a staight "and field = cfqueryparam ..." to use the LIKE operator as in "and field LIKE cfqueryparam ..."

One other important change was to add a RegEx function around the blog text in the RSS output to strip custom HTML out of it. Having HTML in the blog text caused the RSS validation to fail.

I made one other BlogCFC modification based on my preference to not show all blogs for a category view. I'd rather build a pagination mechanism in where the user can view a category in groups of 10 or 25 blogs at a time. Until then, I limit the blogs shown per category to 50. If you're trying to find something try using the Search field on the right menu.

I first got the idea of switching to BlogCFC and Aura from Lucas Sherwood's blog, and I noticed that Andy Jarrett went live with this too just last week.

Please let me know if you find any other glitches that may annoy you, and I'll try to document the transistion more completely soon. For now, please enjoy the new look!

-Steve

 


Comments

Hi,

Can you put scripts for converting CFXML_Blog into BlogCFC somewhere?

I have a blog with CFXML_Blog and I also want to switch to BlogCFC.

Thanks in advance!


resistance *is* futile.

looks great. maybe one day you can go into more detail about the aura to borg of blogs bits for the design challenged among us.


CFDev,

I'll check with Ray for approval of the CFMXL_Blog importer and adapter scripts, and then I'll make them available pending positive feedback.

I've worked out the last kink, and I'll post with an update shortly.

Thanks,
Steve


Paul,

Yeah, resistance is futile. This BlogCFC is *wicked* fast!!

Now I'm going to build another blogcfc/aura blog for my wife, so that will provide a good opportunity for note taking so I can publish a How To later.

-Steve


The import and adaptor scripts are now available here: http://www.talkingtree.com/download...


Hi - I was wondering if you ever posted your How-To anywhere for using auro with blogcfc and if you did, could you point me in the right direction? thanks, megan


Megan, turns out that I never posted a howto, partly because Joe Rinehart did a nice job with providing a BlogCFC/Aura starter kit:

http://clearsoftware.net/client/index.cfm?mode=ent...

I found that if I wanted a custom look to my Aura skin that it was more trouble than it was worth, and made upgrading BlogCFC difficult.


 

 

Calendar

 
Sun Mon Tue Wed Thu Fri Sat
      1 2 3 4
5 6 7 8 9 10 11
12 13 14 15 16 17 18
19 20 21 22 23 24 25
26 27 28 29 30    

Search This Site

 
This is an exact search only

About This Site

 
Adobe Alumni & Community Professional. Expert in ColdFusion, Flex, LCDS, Photoshop, Lightroom. Linux RHCE. Follow Me!. For my photography check out Boston Portrait Photographer.
More about me

Recent Entries

 
ColdFusion 9.01 Server Monito..

Recent Comments

 
Posted By Swagat:
Ben Forta, best-selling ColdFusion author is coming to India this August at India's largest Adobe Flash Platform Conference. Ben Forta will conduct a ...

Posted By Steve:
The updated presentation I gave at CF.Objective() 2010 is available here: [link] At the end of the preso I gave a brief, pre-recorded demo of wri ...

Posted By Brad Munz:
I've come across a OOM problem in HotSpot which looks alot like this: java.lang.OutOfMemoryError: requested 4096000 bytes for GrET in /BUILD_AREA/jdk6 ...

recently played

 

no song is playing

now playing, a plug-in for itunes

Categories

 
RSS Adobe (34)
RSS Bicycling (9)
RSS Blogging (39)
RSS Books (13)
RSS Breeze (13)
RSS CFMX Podcasts (10)
RSS ColdFusion (429)
RSS Computer Technology (51)
RSS Events (26)
RSS Flex (20)
RSS Gadgets (10)
RSS HiTech Industry (16)
RSS Java (25)
RSS Learning (57)
RSS Linux (70)
RSS Mac OS X (22)
RSS Macromedia (27)
RSS Meetup (35)
RSS New England (62)
RSS Odds & Ends (25)
RSS Outdoors (32)
RSS Personal (29)
RSS Photos (111)
RSS Photoshop (29)
RSS Podcasts (18)
RSS Rants (19)
RSS Restaurants (8)
RSS Science (34)
RSS Spain (16)
RSS Travel (42)
RSS Twitter (10)
RSS Video (20)
RSS Webcam (3)
RSS Writing (10)

Blogs I Read

 
Terrence Ryan
Ben Forta
Ray Camden
Kinky Solutions
Dan Vega
Gary Gilbert
Simeon Bateman
Red Hat Blogs
O'Reilly Digital Media
O'Reilly Radar
John Nack
The Strobist
Scott Kelby
Matt Kloskowski
Joe McNally
Digital Photography School
Engadget
Science Blog

RSS

 


Add to Google
Add to My Yahoo!

Aggregated By

 


Aggregated by ColdFusionBlogger.org

Credits and Stuff

 
BlogCFC - Free ColdFusion Powered Blog Software
CJM Group - ColdFusion Website Hosting


 
 
blog | photos | flickr | referers | webcam | stats | about | contact
 
Copyright © 2010 Steven Erat. All rights reserved.
This is a personal weblog. The opinions expressed here represent my own and not those of my employer