Home » Page 8
  • Remove JavaScript and other unwanted codes from a ColdFusion String
    It is quite simple to inject a tags using your form and do something you absolutely don't want to see happening in your webpage. It won't take much, except little bit of luck and a html enabled form, like a FCK Editor enabled form that we all like to use time to time. Here I assembled a simple function to remove all those codes from a given string, so you can clean your input data, before you send it to the database or save anywhere else. (more..)
    6 Comments Post Comment Thursday 24.12.2009 by Saman W Jayasekara
  • Talking to inDesign server with ColdFusion
    I was trying to connect to inDesign server with ColdFusion today, realize there are no code examples in CFM. There are php, java and other language examples in adobe site, but not CFM. This is not the first time I noticed that. When adobe released Spry framework before CF 8, Adobe labs most graciously released php and .net examples, but there were no CFM either. (more..)
    7 Comments Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Extract Links from a HTML page
    Here is a simple ColdFusion function to extract URL and link Titles form a given string. This outputs an array of links, URLs and Titles. (more..)
    0 Comment Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Google AJAX Search API with Coldfusion
    Google Ajax API is a neat way to create your own little search function inside your webpage, using Ajax. But with few lines of codes, we can do the same inside ColdFusion too. In this example, I'm going to search within this site. So I went to Google advance search and build up my query string for the keyword "coldfusion". (more..)
    2 Comments Post Comment Saturday 05.12.2009 by Saman W Jayasekara
  • Every Blog Needs a Test Post
    Every blog need a test post. So here goes mine. Just setting up the domian and ftp publishing. Hope it works. Update (01/31/10):Finally the blog can go back up with new coding.Update (12/22/08):After trying out all blog applications out there, decided to write my own. I don’t know why. May be I’m too lazy to modify. Site has been down more than a year now. Update (12/22/08):Gave up on blogger.com for good. Moved to blogcfc. A happy journey. Change the layout a bit. (more..)
    0 Comment Post Comment Tuesday 24.11.2009 by Saman W Jayasekara
  • 2D datamatrix Barcode with Barcode4j, CFC
    Here I created a CFC wrapper from the previous code for creating a datamarix barcode with barcode4j. You can output EPS, PNG and JPG files, but EPS is the best format if you are planning to use it inside PDF, it can reduce printing time if you are using a digital printer. Even though you can create JPG output, it can seriously affect the reading part. In other words, using JPG is not an very good idea. (more..)
    11 Comments Post Comment Tuesday 24.11.2009 by Saman W Jayasekara
  Home   Recent Posts
  • Search
  • ColdFusion File Manager for TinyMCE 4
  • IronGate : ColdFusion Exception Manager Application
  • Teapot : ColdFusion Blog Application Software
  • An Unofficial ColdFusion Developer Salary Survey
  • Topics
  • AWS
  • Barcode
  • ColdFusion
  • Image Processing
  • inDesign Server
  • JavaScript
  • Shipping API
  • Teapot Blog
  • This and That
  • Recent Posts
  • ColdFusion File Manager for CKeditor 4
  • ColdFusion File Manager for TinyMCE 4
  • How to Create ColdFusion Snippets in Sublime Text
  • Switch to Sublime Text IDE for ColdFusion Developers.
  • BootStrap Popover Essential Tricks


  • Archive
  • 2013 November (1)
  • 2013 October (1)
  • 2013 September (2)
  • 2013 July (1)
  • 2013 June (1)
  • 2013 May (6)
  • 2013 April (1)
  • 2013 March (1)
  • 2013 February (3)
  • 2013 January (1)
  • 2012 December (3)
  • 2012 October (1)
  • 2012 September (2)
  • 2012 July (1)
  • 2012 June (1)
  • 2012 March (2)
  • 2011 November (3)
  • 2011 October (1)
  • 2011 September (1)
  • 2011 July (1)
  • 2011 January (2)
  • 2010 December (4)
  • 2010 November (1)
  • 2010 October (5)
  • Drop me a Note


  • rss
Powered by Teapot ColdFusion Blog