Skip to main content

Posts

Showing posts with the label internet

What does http-equiv stands for?

Many web developers uses meta http-equiv tag, without solid understanding what does it means. http-equiv stands for: hypertext transfer protocol equivalent and is equivalent to HTTP response header. So putting: <http-equiv="content-type" content="text/html; charset=UTF-8"> <META http-equiv="content-type" content="text/html; charset=UTF-8"> in HTML as meta TAG has the same effect as declaring HTTP response header Content-Type: text/html; charset=utf-8 That is why they are called ‘equivalent’. It is recommended to use HTTP header over HTML http-equiv meta tags. Multiple headers with the same name may be present only if the values may be concatenated.

Change interface language of Google webmaster

To change your Google webmaster interface language you need to set your browser language to whatever language is you need. Of course not the browser interface language, but the Accept-Language header browser sends. So, for example, this HTTP request to Google webmaster will return a Swedish version GET /webmasters/ HTTP/1.1 Host : www.google.com Accept-Language : sv,lv;q=0.8,lv;q=0.6,lv;q=0.4,en;q=0.2 But this is going to return an English one GET /webmasters/ HTTP/1.1 Host : www.google.com Accept-Language : en,lv;q=0.8,lv;q=0.6,lv;q=0.4,en;q=0.2 Where to configure browser headers differs from browser to browser, but for chrome it is under Options->Change font and language settings. I’m not sure that showing interface language based on headers is the best solution. I think much better would be if there was an option where to switch a language, just like it is for gmail.com .

Drupal first impressions

As of 2009 Drupal is one of the leading opensource CMS on the web. Others worth mention would be Joomla and WordPress. There are two ways actually to create a Drupal based web page.   Easy way . No programming skills required. Download drupal from the drupal.org.  Extract contents onto your server public_html directory. Launch www.yourdomain.com/install.php and follow the instructions provided. After installation successfully completes: the following things can be performed - Adding a content to web site - Installing additional modules, wich can be downloaded from drupal module download page - Choose from existing themes from drupal theme page Advanced way At heart drupal contains a very a flexible module system. Module system not only provides scaleability, but also code reusability and structured manner into which the whole system is developed. And because developers share their modules, it really speeds up web site development. Because it's like code reusing among whole commun...