Cookie

TheJoe.it Into the (open) source

29Jan/142

WordPress: warn the reader that the post is old

clocky

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, that is a perfect solution 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 title of the article.

1Jul/130

WordPress: alert the reader to an article dated

clocky

Today I illustrate a small process, which I highly recommend to those bloggers linked to the development of a certain topic, to automatically warn 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, in which information technology can go well 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) in the top of the article, with a class of our choice. We will then give us a style to the DIV.

31May/130

Print without driver, with file upload on Linux servers

canon-pixma-mp495

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.

5Jun/122

Resize multiple images in one go

gimp_imagick

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: a smaller image will load faster and also to use the pictures on the web is not required high resolution. 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.

17May/120

Fusion News: another project agonizing

news

It 's been almost a year since my last article about a an open source project in a state of neglect. The project was Linux4one, a distribution optimized for Acer Aspire One. Linux4one then made the natural end of each small project that is incorporated, more or less happily, in a bigger project.

9Sep/110

HTML Purifier per “purify” HTML l'

bglogo

Today we see a small program in PHP ready to use and is well suited 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:

4Sep/112

LAMP: Linux, Apache, MySQL and PHP for production

martyr_lamp

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 a bit 'of confusion about which version of php use. 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).

18Feb/115

The best HTML editor for non-commercial Linux

HTML_Icon_Final

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 'editing WYSIWYG developed natively for Linux. Thank you the blog web distortion translated for the advice that I report below.

6Jan/117

Use “.htaccess” to rewrite the extensions of the pages

php_html

In today's driving back to talk about ".htaccess", this time we will use the "mod_rewrite" to change the file extension to so that by making a request to "file.html" the request is turned to "file.php" without altering the URL.

Today's tutorial is very short and very easy. The following lines of code do all the work:

26Oct/1012

TCPDF: a PHP library to convert web pages to PDF

tcpdf_logo

Today we talk about software that carries on his shoulders 8 years of programming and mature to the point to be used as default in Joomla, one of the main CMS open source used today by millions of satisfied users around the world.