Sometimes your web application generates, on the fly, downloadable files with really horrible file names. You can use the html5 download attribute as a remedy ! Just like this : <!-- will download as "expenses.pdf" --> <a href="wtfreallybadassname9ad8f.pdf"...
Active Telephone lin...
posted by xav
If you’re a smartphone user, you might get sensible to websites making phone numbers directly usable by the phone on the webpage. it’s quite simple to code a phone sensitive link. Use this : <a href="tel:1-555-555-555">call me directly</a> Some phones or...
Yii: Multilingual si...
posted by xav
Nowadays, if you want to get in touch with the world, you’ve got to think about the people who don’t speak your native language. In Yii there is a simple mechanism to integrate translation. While it’s a quite a long topic I will try to make it short and basic. The setup It is...
WP Wamp Installer
posted by xav
Each time you have to work on a new project based on WordPress, and working locally on your machine with Wamp or Mamp. You surely go to through the following steps : Download the last WordPress Archive Create a folder in your webserver webroot And unzip the Archive in the newly created...
Yii the fast way
posted by xav
Here goes a quickie to get started with Yii. Yii is a PHP framework. I won’t go into the very details here, but just be aware that using a framework will help you develop light speed any app that would have taken ages to do without it. I walked through many of them, Zend,...
Git on MAC : Quick S...
posted by xav
Do ou know SVN ? I assume here that you know what is version control and what is its main goals. First of, version control allows you to have access to several versions of your sources. Sometimes, when developping, you want to change some logic in your program, just to try out, but you...
HUMANS.txt
posted by xav
We are not machines ! We are human ! http://humanstxt.org/ That is the moto a the humanstxt.org !! The idea is simple: To know who is behind the website you visit. Who are those guys that crafted this superb registration form ? Who made this excellent illustration ? Who thought about this...
Webfonts : Expand yo...
posted by xav
I’m going here to avoid Google WebFonts and talk more about the fonts that you buy and that are more and more provided with a “webfont” package. The package is generally a directory containing several files. Even though all major browsers support Webfonts they all don’t...
Child theme in WordP...
posted by xav
When dealing with WordPress it often happen that you end up using one of the fabulous themes the exist in large amounts and for all tastes. It is a quest on itself and it is time consuming to check the features, once you think you’ve found a candidate. Anyway ! Let’s say...
Password protect a d...
posted by xav
To do that you will need two files: 1. .htaccess (abviously) 2. .htpasswd The .htaccess file will ensure that no one sees the content of the directory unless the good login/password (contained in .htpasswd) has been entered. The content of the .htpasswd will look like...
The Meta way of ROBO...
posted by xav
There goes a little practical hint on how to control how the webcrawlers (robots, spiders) out there see your web site. Might be useful in your html header section. The content="robots-terms" is a comma separated list used in the Robots META Tag that may contain one or more of the following...


Abduzeedo