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

ike's Gravatar 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
Steve Withington's Gravatar @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
Raymond Camden's Gravatar 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
Steve Withington's Gravatar @Ray,
Thanks for your help earlier today. I appreciate it.
# Posted By Steve Withington | 5/23/08 9:46 PM
Raymond Camden's Gravatar 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
Mike's Gravatar Where can I find an older version BlogCFC that will work on CF7?
# Posted By Mike | 5/24/08 8:53 PM
Raymond Camden's Gravatar 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
Mike's Gravatar 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
Raymond Camden's Gravatar 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
Raymond Camden's Gravatar 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
Sid Wing's Gravatar 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
Rixon Reed's Gravatar 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
Raymond Camden's Gravatar It is sent. All comments are emailed to the admin.
# Posted By Raymond Camden | 6/8/08 10:05 AM
Rixon Reed's Gravatar 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
Raymond Camden's Gravatar 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
Rixon Reed's Gravatar 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
Rixon Reed's Gravatar 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
Raymond Camden's Gravatar Not that I'm aware of. It could be done of course.
# Posted By Raymond Camden | 6/8/08 2:40 PM
Rixon Reed's Gravatar Ok, thanks. Are tags for the tag cloud called categories in the admin?
# Posted By Rixon Reed | 6/8/08 2:54 PM
Richard Steele's Gravatar 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
Raymond Camden's Gravatar 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
Richard Steele's Gravatar 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
Raymond Camden's Gravatar @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
Richard Steele's Gravatar yes it's valid, but no it doesn't show as a feed.
# Posted By Richard Steele | 6/9/08 8:52 AM
Raymond Camden's Gravatar So what happens? Nothing? Have you tried adding some debugging?
# Posted By Raymond Camden | 6/9/08 9:03 AM
ike's Gravatar 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
Daniel Espeset's Gravatar @Richard Steele / Ray Camden

I had the same problem: couldn't get the newsfeed pod to correctly display a .cfm feed. The feed is completely valid and works in all feed readers. The quick solution I used was to save the output of that .cfm file and write a .xml file just like Richard mentioned above. The code I used is quite simple:

<!--- save the output of our feed.cfm into a variable --->
<cfsavecontent variable="myFeed"><cfinclude template="feed.cfm"></cfsavecontent>

<!--- display it (optional) --->
<cfoutput>
#myFeed#
</cfoutput>

<!--- write the variable into a .xml file --->
<cffile action="write"
output="#myFeed#"
file="#ExpandPath('path/feed.xml')#">

You can run this with a scheduler or attach it to the operation that adds items to your original feed. Then configure the pod to read from the .xml file and it will work just fine.

(I realize this is months late and a clunky solution, but oh well)
# Posted By Daniel Espeset | 11/24/08 3:59 PM