Cookie

WordPress: warn the reader that the post is old

Often (writing software and technology) that the article is now present, tomorrow has already passed. There is at least un plugin per WordPress to notify the reader that the post you're reading was written long ago, which it is a perfect fit and ready for use, groped but I also wanted to change the code of my theme to add this simple function automatically.

I state that the following steps create a box (in this case yellow) before the article title. (more…)

WordPress: alert the reader to an article dated

Today I illustrate a small process, which I highly recommend to those bloggers linked to the development of a certain topic, to automatically alert the reader that the article you are reading is more old man a time of our choosing, and possibly belonging to a certain category. I am thinking especially to my blog, where technical information can be fine today, but it may already be obsolete with the next release of a software, no longer supported by the operating system or ingetrata.

The result will be completely customizable: appear a block (DIV) leading article, with a class of our choice. We will then give us a style to the DIV. (more…)

automatically print, with file upload on Linux servers

In today's article I deal with printing. After I compared the various requirements of customers, I came to theorize the idea that the user (utonto) should have to have everything ready. Less software or drivers will be installed, will be more happy and will be less annoying to those who have something else to do.

The illumination came to me sifting between the printer settings that we have in the office. In one of the menus I see that you can upload the PDF to print on the printer's internal memory to print automatically. (more…)

Resize multiple images in one go

Resize Images, since the photo editing programs have become part of the routine of the average, is a task as simple as trivial. It is used especially for smaller size is available save bandwidth on the transfer of the file: smaller image will load faster and also to use the images on the web is not the high resolution needed. The problem arises when we have a considerable number of images to be resized, open them one by one can become quite long and tedious. (more…)

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…)

LAMP: Linux, Apache, MySQL and PHP for production

Today we see how to set up our Linux box for the web production. What we need is Apache (il web server), MySQL (the database that will contain the data) and PHP (the interpreter for the dynamic language PHP). This configuration is exactly the same adopted by major server worldwide.

Some time ago there was some’ confusion about which version to use php. It was just released php5 and was still using the version 4, for some commands backward compatibility has not been met and some scripts have stopped working. Fortunately php5 circulating for quite some time, and it is even completed the development of php4. There will be problems with large packages (wordpress, joomla and company). (more…)

The best HTML editor for non-commercial Linux

Anyone who has ever tried to create piagne HTML with Linux you will certainly clashed with the lack of WYSIWYG software developed ad hoc for our favorite operating system. Fortunately, today this “gap” is filled only in part due to the development of some open source programs that attempt to compensate for the lack of development in Dreamweaver (or still commercial alternatives) su piattaforma Linux, but in many ways we are still far from having reached the usability of Dreamweaver or similar.

Today we see some of the best software for the’editing WYSIWYG developed natively for Linux. Thank you the blog web distortion translated for the advice that I report below. (more…)