KinkyTwits Update - "Characters Remaining" Understands Message Type And HTML Entities

Posted October 7, 2008 at 9:37 AM

Tags: ColdFusion, Javascript / DHTML

Just a quick update to KinkyTwits, my ColdFusion, jQuery, and MySQL powered Twitter client. I know that some people have had issues with other twitter clients in that they do not accurately report the number of remaining characters. The problem is that these other clients do not take into account HTML entities that must be escaped. KinkyTwits now takes into account both escaped HTML entities as well as different message types (direct messages allow for a shorter length).

 
 
 
 
 
 
 
 
 
 

This is pretty exciting stuff for me. I've been using KinkyTwits for the past two days and its been a really easy to use.

Post Comment  |  Ask Ben  |  Permalink  |  Other Searches  |  Print Page




Learning ColdFusion 9 - ColdFusion 9 tutorials, samples, examples, demos

Reader Comments

Oct 9, 2008 at 8:26 AM // reply »
5 Comments

Pretty cool Ben. I had no clue that the character count worked this way. Sadly, now that my eyes have been opened, I'll have to implement something like this in dlog as well. And I thought I was doing so well :-p


Oct 9, 2008 at 8:45 AM // reply »
6,516 Comments

@Steve,

I found out from some of the Twitter chatter. I had no idea either (although I saw that some of my posts were getting truncated for seemingly no reason). If you want to look at any of my code, just let me know.


Post Comment  |  Ask Ben

Recent Blog Comments
Nov 22, 2009 at 1:56 AM
Learning ColdFusion 9: Using CFQuery In CFScript Can Enable SQL Injection Attacks
Why adobe would give you script equivalent of cfquery is beyond me. I love cfquery tag because it helps me wriite clean sql, and get away from the horrible jdbc queries If I wanted to write javali ... read »
Nov 22, 2009 at 1:45 AM
Streaming Text Using ColdFusion's CFContent Tag And The Variable Attribute
The reason you would want to do this is to stream. Ack json/xml files to ria clients I used thus technique before because putting json in response stream causes debugging info to come thru As well a ... read »
Nov 21, 2009 at 6:47 PM
Hal Helms - Real World Object Oriented Development, Sarasota - Day Five
@charlie griefer, Thank you.. ... read »
Nov 21, 2009 at 5:15 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jose Galdamez, Oh heh yeah I didn't paste the whole code. I should have defined the vars -- my bad. It's fixed thou. Thanks. ... read »
Nov 21, 2009 at 4:49 PM
Styling The ColdFusion 8 WriteToBrowser CFImage Output
Great work yet again Ben! Whilst I didn't use this whole code, I copied some of your regex code for a similar problem with the lack of an alt attribute and unescaped ampersands in CFIMAGE for Railo 3 ... read »
Nov 21, 2009 at 1:13 PM
My First ColdFusion Builder Extension - Encrypting And Decrypting CFM / CFC Files
@Ben, Because I am pedantic, I just want to make sure that everyone knows there is absolutely no encryption going on. There is only encoding and obfuscation. The cfencode tool only obfuscates your C ... read »
Nov 21, 2009 at 12:28 PM
Using ColdFusion Structures To Remove Duplicate List Values
@Jody I can't seem to get your code sample to work. If you are still having problems, try this code out and see if it gets you what you wanted. <!--- Comma delimited list with various duplicates ... read »
Nov 21, 2009 at 11:03 AM
Groovy Operator Overloading Does Not Work In The ColdFusion Context
Hi Ben, Thanks for this informative post. Now I am reading ur old posts too ... read »