Dan Mackey On ColdFusion Development

ColdFusion, Java, .NET, AJAX, DHTML development and general programming. Daniel is owner and Administrator of CFTagStore.com and works for an Application Development Company in Ireland called Digital Crew. His interests cover all areas of programming in multiple languages with a particular interest in Internet Technologies.

All Articles tagged : Blog
2006-09-11 16:05:00.0

RSS Feed Counter

For a while now, I was interested in knowing how many actual subscribers I had to my blog. While my Blog stats showed me general stats, it did not show me a count of the RSS subscribers. Luckily, Peter had the same idea and wrote some handy code which I used as a basis for my tracking.

I added in a few extra fields so capture the user_agent and remote_host fields aswell as the last date the feed was consumed.

I reckoned Peters way was fairly clever and was simple to implement.

The basis is to use CFHEADER to send a message of Moved Permanently so the users agent would update their feed which infact tacked on a UID to identify them.

By checking to see if the UID was present on subsequent calls, I could update the other fields.

Below is a shot of the code and it is short and should make alot of sense.

I also have a field in the database which marks whether the subscriber is an aggregator or an RSS Reader. I am going to use this to place badges on my blog showing the number of individual subscribers like FeedBurner

If nothing else, this little excerise has thought me to look into the ON DUPLICATE KEY UPDATE directive in SQL and the ability to chain a number of updates together.

Add to your del.icio.us    DIGG This!    Technorati Cosmos Link    Post to Reddit    Add to your Furl    Add to Blinklist
Comments [1] - Leave a comment
2006-05-16 12:50:00.0

Easy Blog Posting For New Engine...

One of the reasons I stayed with Blogger for so long was the convenience of posting blogs.

Blogger hooks you in by adding Browser Toolbar blogging tools, Add-Ons to Word to allow blogging etc and it is something I kinda miss. Sometimes you want to do a quick post and not have to load up the full cms system.

I am thinking of using what I built for the Guarantee Certificates and adapting it to be a quick blog posting application that runs in the tasktray...

Because I am using the same engine as Peter I can also give him a copy of it an together we will be able to enhance our blogging app.

More details as I plan it...

Add to your del.icio.us    DIGG This!    Technorati Cosmos Link    Post to Reddit    Add to your Furl    Add to Blinklist
Comments [2] - Leave a comment
2006-05-13 17:34:00.0

How to make blog feeds more accessible

I never liked the way my old Blogger Blog worked. I didnt like the archives as it mad stuff hard for people to get to.

Peters blogging engine (in use here and at www.cftopper.com) is built upon our existing CMS system. I like the tags and the archives by months but I dont like the way the feeds get lost after you place more then 9 or so on the home page.

I am going to use the side nav to place the following:

  • This Month
    - Week 1...n
      - Monday, Tuesday, Wednesday, Thursday, Friday
  • Archives (Current Year)
     - Month 1
    -  :
     - Month n
  • Previous Years (Link to page with feeds categorised and searchable)

I am also going to limit the frontpage to just todays posts and if none are found then start placing the last 4 posts.

My posts tend to be long enough and I dont like a really long page......

Other things that need fixing:

  • Pinging sites when a post is added
  • Fix post tree in CMS section
  • Windows App to post to blog
Tags: Blog | cfdan.com
Add to your del.icio.us    DIGG This!    Technorati Cosmos Link    Post to Reddit    Add to your Furl    Add to Blinklist
Comments [0] - Leave a comment
2006-05-12 18:48:00.0

Left Blogger - Finally!

I have finally left Blogger.com and moved most of my Blog to the Blog system Peter wrote.

Blogger has fucked up and cant FTP into our servers anymore. I tried 2 different servers and Blogger gets as far as entering PASV mode and then fails to transfer anything more.

Its kind of a good thing to move it to our own engine anyway......

I also decided against importing all the old posts as many of them are kinda rubish and from now on they will be better....

To get to my old posts:

Tags: Blog | cfdan.com
Add to your del.icio.us    DIGG This!    Technorati Cosmos Link    Post to Reddit    Add to your Furl    Add to Blinklist
Comments [1] - Leave a comment