BlogCFC 5 development starts...
So it's been quite a long time since the last release of BlogCFC. I've finally started development of version 5. Last night I started on the administrator. The blog uses what is called "designmode" to allow you to edit on the page. This was based off Spectra (may it rest in peace). While this is handy for simply popping up a window and writing a quick article, it really isn't great for administration. As my blog has grown, I've really felt constrained by the decision to not have a "real" admin and now I'm finally doing something about it.
So far I've got comment editing (and deleting), category editing, and subscriber editing working. All things that are not in the current release. (Category editing is, but it's not terribly nice I think.)
Along with administration work, I added a new property to blog entries - views. A view is added anytime a person views a particular blog entry - not including reading the entry on the home page. You can see this on my blog in the stats portion. The numbers are a bit low since I only turned it on this morning. This change will also let me show what categories are most popular.
While I'm working on the admin and other behind the scenes stuff, Scott Stroz (Boyzoid) is working on the front end. The goal is to get to a pure CSS layout for BlogCFC, and to simply make it a bit prettier. Simple things like a background color and centering the blog make it look quite a bit nicer. I've also had other a few other people offer to submit their CSS changes, so I will be passing that to Scott to integrate.
Other changes include:
- XML-RPC: From Jake. This will let you write blog entries completely outside of the web site.
- Send to a Friend: This is an obvious feature that I should have added a long time ago. Once again it wasn't my idea, but suggested by a friend.
- Related Entries: Written by Jeff and CJ. I've had the code for a while now, just haven't had a time to integrate it.
- I'm considering a few ways to make it easier to add images to a post. I don't want a HTML editor - but maybe a way to automatically include a picture if it is attached to the entry as an enclosure.
So - there is a lot left to do. The good news is that I'm now using SVN. Once it gets to a stable alpha, I'll open it up for folks to download from and play.
Comments
Seriously, though, I *really* look forward to the pure CSS changes. Much needed!
And some kind of unified administration would be awesome. Hm... using Flash or Flex for that would be nice, too. Just thinking aloud.
I wish I could assist more, but I am not what you'd call an intermediate Coldfusion developer yet.
What about:
- Photo Pod: Didn't someone (not naming names) promise that they were actually going to publish their Photo Pod source? Hopefully they'll feel the urge to add it to the Subversion repository.
- Most Recent Comment Pod? That'd be nice. I suppose I could put something like that together. Of course, I'd have a shamefully small number of comments, though. :-(
Looking forward to the new version! :-)
I only ask because I know of your love for mg, and how many people look to your blog code for examples of how to do things. I'll be happy either way, just a curiosity.
My main focus on blogcfc5 is stuff that I think has been missing for a while. Things that have been making me say "I wish my blog could do that..."
I could assist in development if you wish, so just drop me an email if you wish, and I'll be more than happy to contribute.
a nice url like:
category/coldfusion/ much more google and SEO friendly
As usual thanks for your great application
I guess an addition to the blog.ini.cfm file of podOrder which would accept a list. Then in layout.cfm it would just loop over the list and include the pod items in order.
The reason im excited about this release is the css improvements. Its dificult to do a custom layout right now and follow the upgrade path at the same time. CSS improvements will hopefully change this.
Maybe a better way to promote and distribute the pods or skins we've all written would be nice. I never think of combing through galleon to see whats out there. If there was a pod directory maybe people would be more inclined to share their cusomizations.
Why not put the colons in the text contained in the main_en_US.properties file? It would make the code base cleaner and make updates easier for those of us who are picky about capitalization and punctuation preferences.
I need to ask Adobe if I can release my beginners' "how-to" article from the DRK that went along with the component. You don't need it, but it might help others. Assuming I can figure out who to ask at this point.
"maybe a way to automatically include a picture if it is attached to the entry as an enclosure"
I do that in two different ways:
(1) If the user attaches a gif/jpg/png, I automatically insert the pic at the top of the post.
(2) If the user attaches a gif/jpg/png and adds an IMG element with @src="[attachment]" to the body of the post, I insert the pic at that point.
Most recent comment pod: Leif, I think you already emailed it to me today. Someone did. I'll definitely include it in source though. I won't use it here, but it definitely belongs in the core blog.
itcoder: SES URLs for Categories will happen. (Mostly sure.)
Leif: Ordering of pods. While I won't make it super easy for non-coders, but right now I have -0- docs for it. Two paragraphs would probably make it a lot easier for folks like her.
Laura: Colons - well, I'm not so sure they belong in the locale files. However - I mentioned above how I need more docs for layout crap. If I told people where all this stuff was, it would make it easier to make changes like that.
Raphael: I'm not quite sure I get what you mean. To have N blogs, you would use 1 ORG folder, and N client folders. These all have their own application scopes. Maybe you could explain a bit more?
Roger: I like your ideas. I worry about it being a bit too complex for the avg user, but then again, the avg user could just ignore it if they can't handle. Anyway, Roger, thank you, I'll "innovate" this as Microsoft says. ;)
John F: I agree with you, but for now I probably will not address it. You are right - it is a problem.
some timezone handling functionality might be nice (i think i promised i'd add that once but your code base is moving too fast for me to keep up ray ;-)
But I am looking forward to the CSS updates (XHTML too?). BlogCFC is a great resource and I do appreciate it being available to the CF community.
Oh, and Happy Bday!
--- Ben
Rapheal: What you want to do is possible, but you would need to modify some of the code in Application.cfm. As you know, there is a line in there to hard code that blog name used in blog.ini.cfm. You could make it dynamic based on cgi hostname or something else.
I was just wondering if you knew any PHP equivalent of your great blogging software.
<code>
<div id="header"><?php mosLoadModules('header'); ?></div>
<div id="maincontent">
<div id="newsflash"><?php mosLoadModules('newsflash'); ?></div>
<div id="contentarea"><?php mosLoadModules('content'); ?></div>
</div>
</code>
So I guess my idea is to transform the main index.cfm into a simple html page (a complete, xhtml-compliant page) scattered with a few cfinclude tags or cf function calls. This would allow someone (a newbie?) to edit the page in a Dreamweaver-type program to modify the layout without having to modify html code scattered throughout several different, sometimes obscure files. The other idea, also based off mambo/joomla, would be to create a templates subdir, with a subfolder for any template (or skin) that would include an index.cfm for the layout and any supporting css/image files. Then create a new setting to allow the admin user to change which template is in use. We could then create a community of templates that could simply be dropped-in (unzip the folder in the template subdir).
These are just some brainstorm ideas. I know this would be quite a bit different than how things are done in the 4.x release, but it would provide several benefits:
* allow easier minor-dot-version upgrades because we could have a layout file that doesn't change (or doesn't change much)
* allow those that want css-layout to do that, but still easily allow those silly people that may want table-based layout to remain archaic ;-)
* allow non-CF people an easier way to manipulate the presentation output because they can load a single file in Dreamweaver and edit it
Mark
Two comments from me:
- make the default font LARGER - 11px minimum - it really hurts me to read all these posts in blogCFC implementations in the Adobe world. I'm not young anymore :)
- add KTML lite as a visual HTML editor for posts - http://www.interaktonline.com/Products/Online-HTML...
Alexandru
love your work, and i have a few suggestions for you...
- how about a comments rss feed? one general one, and one for each post. Maybe one for the threads I am subscribed to?
- I also 2nd itcoder's suggestion of friendly category urls.
- I would prefer no JS dependency too.
- a html editor for writing posts? I really don't like the paragraphFormat() approach used at the moment. I've removed it from my own blog.
- Say i wanted your CF posts from jan 06. I would have to go to either your CF category and click "next page" to find the ones from jan 06, or go to jan 06 and then filter them by hand. Could we have categories where you can browse around a bit better? Search in a category, look at category posts from a certain date etc?
Thanks
For the admin section, things like removing posts, and possibly, work in progress? I used blogspot/blogger before and I was able to write a few posts, that I needed to add more info into and save them without publishing them? That would be real neat.
Many thanks for your contributions Ray, this is an awesome bit of software and just getting better all the time!
MD
Gavin: I can't imagine subscribing to a comments feed, but I know other blogs have it. I'll consider it. HTML Editor - everyone in the world wants this but me. ;) So I'm considering it at least. If I do put one in, or support for one, it will be turned off by default, but I'll consider it.
I'd have to agree with Roger Benningfield suggestion of having something like @src="[attachment]" to allow you to insert an image into the body of the post at that location.
As for an avg user, well for every picture that a user uploads you could automatically generate the text to insert for each image (allowing for multiple images too) eg:
@src="[attachment1]"
@src="[attachment2]"
A user can then just copy and paste that text into the location of their choosing. Then you could parse over the file and replace it with the image tags on saving.
If you wanted to got down the JS path you could do a right click picker, and then still just insert the text code @src="[attachment1]" ??
Cheers Ray
Pete
1) Image includes: I had to deal with this to o, and i just did a simple if statement to check if the files extension was a gif, jpg or png. If it was i just dumped the file at the bottom of the post. I think that would be sufficient for 99%.
2) specific category subscriptions: make it easy for people to subscribe only to specific categories. I wrote some code already to do this (i can send it in), but i will admit it semi-sucks, and the method i used is overly complex.
3) admin approval system: I would love to see a way to allow multiple users to post to the blog but require approval. And then only admins could approve them. This doesn't seem technically difficult, and i wouldn;t mind working on it.
4) html editors: I really DONT think we need fckeditor or full editors. The only thing i really need is: bold, italics, underline, and make a link. Thats it. I think everything else will just confuse novice posters. (im developing for people used to ms word)
In any case, i am excited about the new version, and can't wait for updates!


I am implmenting the current version into a site at the moment.
Have you considered AJAXing the comments? I've thought of doing that using ajaxCFC for the version I am implementing but it may be easier to do with a pure CSS front end.