Cookie

HTML Purifier per “purify” HTML l'

Today we see a small program in PHP on that adapts well to any of our web pages. It is HTML Purifier a common libreria PHP, that cleans up the HTML dates of the pages by removing all tag e i markup unnecessary, that often weigh down the page. Also makes the code of our pages secure (I'm thinking about dynamic sites: WordPress, Joomla, Drupal, etc..) contrasting effectively XSS attacks (Cross-site scripting).

For those who want to use HTML Purifier hand operation is more than obvious; downloaded and extracted the package we give write permissions the folder /HTMLPurifier/DefinitionCache/Serializer: (more…)

GTranslate: a widget for automatic translation

Today we see up close one of the most automatisms that I have made my life easier on the web. Many of us know the “Language Tools” offered by Google, but not everyone knows that it is possible integrate the buttons flagwithin your site to make a machine translation, snapshot of all the content without changing the address in the URL bar. I'm talking about GTranslate, a book which deals with the instant translation of all the content that is on a page; and an example you can see it by clicking on the flags in the right column, at the top of this site. In this case, the library is integrated in a a WordPress plugin (the motor that “turn” this blog), but you can use it with any website, even with static HTML pages. (more…)