BlogCFC and Galleon updates

I had decided to not work anymore on BlogCFC 5, but with 6 being delayed so long, I gave some love to the 5.X code base tonight. BlogCFC 5.9.003 was released tonight. Nothing major was changed, but I did switch to ColdFish, the code syntax highlighter written by Jason Delmore. This replaces the ancient code I had in there before.

Also released was an update to Galleon. This release fixes an issue related to the past security changes as well as a case sensitivity issue. (Sorry, but you will never convince me case sensitive file systems make sense. Who in the heck wants a file named foo.txt and Foo.txt??)

I also want to point out an interesting article by Ike: Porting Galleon Forums. He is porting Galleon to various frameworks and will be posting about the process.

Comments

speaking of case sensitivity, this is one of the most popular entries on the onTap framework blog: http://ontap.riaforge.org/blog/index.cfm/2007/12/2...
# Posted By ike | 5/23/08 9:31 AM
@Ray,
After I upgraded, I'm experiencing a new problem when using // in the code. What's strange is some of my code sections have disappeared and others have merged together.
# Posted By Steve Withington | 5/23/08 12:07 PM
Please email me directly some sample entries I can use to test. It's a new code renderer so there is bound to be an issue - and it may be my fault, not the code renderer.
# Posted By Raymond Camden | 5/23/08 12:12 PM
@Ray,
Thanks for your help earlier today. I appreciate it.
# Posted By Steve Withington | 5/23/08 9:46 PM
No worries. I've got another small bug to fix (ColdFish is cf8 only, so I need to add detection), and that will be in a new build on Tuesday.
# Posted By Raymond Camden | 5/24/08 7:59 AM
Where can I find an older version BlogCFC that will work on CF7?
# Posted By Mike | 5/24/08 8:53 PM
You would have to get it piece by piece, but you can do so via subversion.
# Posted By Raymond Camden | 5/24/08 8:56 PM
Really? Ouch! Okay, I'll give that a try! I'm guessing I can just go back to before the integration of ColdFish for cf7 compatibility...
# Posted By Mike | 5/24/08 9:27 PM
Yeah, let me just apologize. In my excitement I didn't even think to check.
# Posted By Raymond Camden | 5/25/08 6:49 AM
Mike, if you get latest from SVN, ColdFish has been updated (by Jason, thanks Jason!) for mx compat. Can please try it and let me know?
# Posted By Raymond Camden | 5/27/08 11:20 AM
Glad I subscribed to this blog - Downloaded the archive today and it crashed miserably under 7 and ran great under 8 - then found this not about grabbing a new version of codefish from the SVN and voila! FIXED

Thanks for all you do, Ray. Cya at CFUNITED!
# Posted By Sid Wing | 6/3/08 3:56 PM
We're using the comment moderation option. Is there a way to have a new comment to be moderated sent to the administrator or another designated email address? Thanks!
# Posted By Rixon Reed | 6/8/08 8:51 AM
It is sent. All comments are emailed to the admin.
# Posted By Raymond Camden | 6/8/08 10:05 AM
Thanks Ray. Is the simple captcha effective in preventing auto spammers from getting through? Or can one add more letters (and thus complexity) to the captcha?
# Posted By Rixon Reed | 6/8/08 10:57 AM
In my own personal experience the CAPTCHA has helped. I still get spam, but only about 2 per day or so.
# Posted By Raymond Camden | 6/8/08 12:44 PM
Thanks for that. Has someone come up with a pod for blogcfc that is like the blogger.com archive feature? It's a tree directory organized by year and month
(indentation is off on the below cut and paste)

Blog Archive
? 2008 (100)
? June (5)
Weekend Video
Let Freedom Bling
A Conundrum
Not Alexander Rodchenko (but almost)
Pictures from a Train
? May (22)
Weekend Video
The First Mugshot
Assisted
Erupted
Memorial Day Weekend Video
More P.J.s!
Puzzled
75,000
The Greatest
Comfort and Joy
Weekend Video
Covered
Truth and Beauty
Spirit Pictures
Masked
Weekend Video - The Raveonettes
More Freedom
Alluring Images
Freedom Riders
Thinking Pink
Weekend Video - Dylan Tribute
A Short History of Subway Pictures
? April (23)
OMG!
Popel Coumou
Different but Equal
Weekend Video - Flying Ducks
All Colors Together
Bringing Sexy Back
Jose Picayo
Speed Racer
Mark Wyse
Weekend Video - Crouching Tiger/Hooverphonic
Seen off the Street
How I Spent Last Sunday
Cherry Blossoms - Part Deux
The Polk County 8
Weekend Video (and prologue) - Hair
The Fun of the Fair...
Creativity
A Big Question
Weekday Update
Weekend Video - Casey Knowles
We Love the 90s!
Spanning the Globe
Be There (or be square)
? March (13)
? February (17)
? January (20)
? 2007 (37)
# Posted By Rixon Reed | 6/8/08 2:12 PM
Sorry, the graphics such as > and > rotated 90 degrees clockwise did not translate in the above comment.
# Posted By Rixon Reed | 6/8/08 2:20 PM
Not that I'm aware of. It could be done of course.
# Posted By Raymond Camden | 6/8/08 2:40 PM
Ok, thanks. Are tags for the tag cloud called categories in the admin?
# Posted By Rixon Reed | 6/8/08 2:54 PM
I can't get a feed, magazine.cfm, to show up in the newsfeed pod.

Here's the code for magazine.cfm:

<cfcontent reset="true"><cfsetting enablecfoutputonly="true"><cfcontent type="application/xml; charset=utf-8">
<cfquery name="magazine_rss" datasource="mydsn">
   Select * from magazine_rss order by datepublished desc
</cfquery>

<cfoutput><?xml version="1.0" encoding="ISO-8859-1" ?>
<rss version="2.0">
<channel>
<title>mysite | Magazine RSS Feeds</title>
<link>http://www.mysite.com/magazine</link>;
<description>mysite Magazine Latest News Feeds</description>
<language>en-us</language>
<copyright>Copyright 2008, mysite , All Rights Reserved</copyright>
<docs>http://backend.userland.com/rss</docs>;
<lastBuildDate>#magazine_rss.datepublished#</lastBuildDate>
<image>
<title>mysite Magazine RSS Feeds</title>
<url>http://test.mysite.com/global/images/PElogosmall.j...;
<link>http://mysite.com</link>;
</image>

<cfloop query="magazine_rss">
<item>
      <title>#title#</title>
      <description><![CDATA[#blurb#]]></description>
      <link>http://mysite.com/magazine/#link#</link>;
      <author>#author#</author>
         <category>#category#</category>
    <pubDate>#datepublished#</pubDate>
</item>
</cfloop>
</channel>
</rss></cfoutput><cfsetting enablecfoutputonly="false">

New York Times feed works great, however it has a file extension of .xml

Do I need to compile this magazine.cfm and output it as a magazine.xml file? If so, how is that done?

Many thanks.
# Posted By Richard Steele | 6/8/08 7:37 PM
How exactly are you using the feed? You should be using the URL of the feed. So if your blog is at www.foo.com, and magazine.cfm is on some box, www.goo.com, then you would use the feed url of

www.goo.com/magazine.cfm
# Posted By Raymond Camden | 6/8/08 9:58 PM
Yes, the feed code is as follows:
<cfset theURL = "http://mysite.com/rss/magazine.cfm">;
# Posted By Richard Steele | 6/9/08 7:38 AM
@Rixon Reed - yes

@Richard Steele - Ok, so open that URL in your browser. If you see a valid RSS feed then it should work in the blog too. Don't forget that we cache the front end, so hit your blog with ?reinit=1.
# Posted By Raymond Camden | 6/9/08 8:39 AM
yes it's valid, but no it doesn't show as a feed.
# Posted By Richard Steele | 6/9/08 8:52 AM
So what happens? Nothing? Have you tried adding some debugging?
# Posted By Raymond Camden | 6/9/08 9:03 AM
Just FYI for anyone interested, the final frameworks article is at http://www.woohooligan.com/frameworks/ - download the source if you want to get the full effect of the sub-article about cfform tho -- that's not a cf hosting account. I may move it to the ontap site once I set up the new site on hostmysite probably this week.
# Posted By ike | 8/10/08 3:09 PM