By: Chris Dunn on Tue Apr 10, 2018 (3 min read)
If you're working on a web project with customizable html content you will need, at some point, a way to strip the Html in order to access the raw text. One scenario I use often is automatically generating an intro for a listing page for products, by using the html formatted product description. I do this by cleaning the html out of the description, and then grabbing the first 255 characters to display. In the case of extracting a preview or description of html text, I suggest you cache or p ...By: Chris Dunn on Tue Jan 9, 2018 (4 min read)
When you're writing a technical blog, you need a good syntax highlighter. I didn't want to point to external files or even GitHub Gists for every sample or partial piece of code. While there are probably hundreds of tools for the job, I ended up choosing Highlight JS, and couldn't be happier. Here's how I went about setting it up including a minor customization I added for the display. NOTE: If you have a code display option in your CMS or Wiki, I would try give that a try first and see if ...Copyright 2023 Cidean, LLC. All rights reserved.
Proudly running Umbraco 7. This site is responsive with the help of Foundation 5.