Crash Course In CFML & jsoup

Over the years I’ve made repeatable use of the jsoup library so I figured it’d be nice to put out a little primer on using it with CFML. What Is jsoup? From the official site: jsoup is a Java library for working with real-world HTML. It provides a very convenient API for extracting and manipulating data, using the best of DOM, CSS, and jquery-like methods. jsoup is designed to deal with all varieties of HTML found in the wild; from pristine and validating, to invalid tag-soup; jsoup will create a sensible parse tree. [Read More]

Exposing Private Fields in Jsoup's Whitelist Class with Reflection

In recent days I’ve been trying to knock out some answers to questions on Stack Overflow. I’ve actually been pretty successful in helping some people out, so I’m happy about that. Two of the questions I ended up answering were in regards to using ColdFusion with Jsoup, a Java based Document Parser, and it’s Whitelist class in some strange different ways. By that I mean they wanted to gain access to data that isn’t freely exposed; and in most cases, I feel you really don’t need it to be. [Read More]