Monthly Archives: November 2012

Chris Hedges: Assault on Gaza is Not a War, it is Murder

via Jonathan Cook

Posted in General | Comments closed

PHP DOMDocument replace DOMElement contents with HTML string

This is another StackOverflow answer I’m moving over to my blog. AWinter asked: Using PHP I’m attempting to take an HTML string passed from a WYSIWYG editor and replace the children of an element inside of a preloaded HTML document with the new HTML. So far I’m loading the document identifying the element I want […]

Posted in Code | Leave a comment

Clean up HTML on paste in CKEditor

We use CKEditor at FiveFilters.org for our PastePad service. The idea is to allow users to paste content that’s not currently publically available on the web for processing with one of our web tools. This can be content that’s in a Word document, an email, or behind a paywall. CKEditor can automatically clean up HTML […]

Posted in Code | 7 Comments