Change BlogCFC tweetbacks function

Yesterday night, I was troubleshooting why my tweetbacks aren't coming out even they're in Twitter. I've asked Ray about this problem and he told me that previous version of BlogCFC is completely working for tweetbacks but in current version, it doesn't work at all. That's why I was troubleshooting on SweetTweets.cfc and make complicated testing. Finally, I found it's because getShortURLs function of it. In blogCFC infrastructure, it posts blog URL into getShortURLs function and which will make the short URLs and search those short URLs in twitter by getTweetSearchUrl function. So, getTweetSearchUrl found no records for my short URLs in twitter. That's why I've changed not to make short URLs and search Original URLs in twitter and found some of results from twitter as jSON format data.

[More]

BlogCFC simple add mobile ON/OFF feature with jQueryMobile

Yesterday I've added mobile version on/off feature in my blog with jQueryMobile. As we know, this mobile version on/off feature is already in BlogCFC. For my side, just put jQueryMobile button and add simple javascript.

Here is my change log in index.cfm file of BlogCFC mobile folder.

view plain print about
1<div data-role="fieldcontain" align="center">
2    <label for="slider">Mobile Version:</label>
3    <select name="slider" id="slider" data-role="slider">
4        <option value="nomobile">Off</option>
5        <option value="">On</option>
6    </select>
7</div>

[More]

Pagination in BlogCFC with jQuery Mobile

I've wrote how to integrate blogCFC into jQuerymobile. Honestly, it's just simple integration and don't have pagination features and comments at that time. Because it's my testing purpose and just want to play jQueryMobile. Now, it's time for me to add pagination feature in blogCFC with jQueryMobile. For about that, we need to add some codings in index.cfm and completely don't need to include posts.cfm from index.cfm of blogCFC mobile folder. Because I just took some coding reference from existing mobile version of blogCFC.

First of all, we need to declare following two parameters in index.cfm.

view plain print about
1<cfparam name="curPage" default="1">
2<cfparam name="Page" default="1">

After that, we need to replace the following coding from existing "posts.cfm" instead of "including=posts.cfm". In this point, I've changed some codes and add any needed function into it.

[More]

Simple Google Chrome Extension for BlogCFC Feed Reader

Today, I've read how to create Google Chrome extension. It's interesting and want to create Blog Feed Reader. That's why I kept going with this article and create a simple extension for blogCFC.

First of all, I need to create a folder for the extension. Then, create manifest.json file and needed to put following coding into it.

view plain print about
1{
2    "name": "Against All Odds Feeds",
3    "version": "1.0",
4    "description": "Fetching RSS Feeds from BlogCFC",
5    "browser_action": {
6        "default_icon": "pps.gif", <!--- icon --->
7        "popup": "RSS.html" <!--- file which read RSS --->
8    },
9    "permissions": [
10        "http://www.ppshein.net/"
11    ]
12}

After that, I need a image to represent the extension on Google Chrome Toolbar.

[More]

Simple change BlogCFC mobile version to jQueryMobile

Yesterday I've upgraded my blogCFC mobile version to jQueryMobile. Currently, blogCFC use jQtouch as their mobile version. Once I saw jQueryMobile, I want to upgrade and test it at my site. Installation jQueryMobile is kinda simple.

First of all, we need to include following stylesheet and JS file into our CFM page.

view plain print about
1[link rel="stylesheet" href="jquery.mobile-1.0a2.min.css" /]
2[script src="jquery-1.4.3.min.js"][/script]
3[script src="jquery.mobile-1.0a2.min.js"][/script]

After that, we need to change a bit of blogCFC mobile version index file like that.

[More]

Finally I'm on BlogCFC

I've spent 24 hours for migration my official blog from MangoBlog to BlogCFC. I don't want to clarify why I decided to move from MangoBlog to BlogCFC because most of facts have been clarified by Nil at his blog. http://nil.checksite.co.uk

For me, the important reason that I choose BlogCFC because of Mobile version and others are such as tweetbacks and gravatars picture from comment (which I really like this one :)).

MangoBlog has also advantages such as one-click-plugin-installation and themes which are based on Blogger and Wordpress. Please don't get me wrong either.

Database migration? No idea. I configured two databases by myself(manual) because my hosting is based on Railo which doesn't currently support ORM.

[More]

Migrating Wordpress to MangoBlog

As far as I know, I've got two bugs when migrated Worldpress to MangoBlog.

  • Formatting (Enter) = whenever I formatting, especially "enter" in my paragraph, MangoBlog remove "enter" keycode.
  • Category (Tags) = whenever I gave a tag in my Wordpress posts, MangeBlog change "tags" to "category" and oddly my orginal categories from Wordpress are lost. It's really awesome.

Top of Page