Too Cool for Internet Explorer


Swobodin's Profile | Swobodin's Blog | Back to Fedora Tunisia

Archive for the 'HTML' Category

SQLite to HTML

Monday, November 27th, 2006

Here’s a quick and dirty shell script to convert some data from SQLite to HTML format.

sqlite3 -html contacts.sqlite “SELECT name, number FROM contacts” | tidy -asxhtml > contacts.html

Tidy will fix errors and convert the table into XHTML format.

Arabic numbers in HTML

Tuesday, November 14th, 2006

May be the W3C hasn’t paid attention to this bug which is considered as a feature.
When you write in Arabic letters and you include numbers, the numbers turn into Hindi, instead of Arabic ones! I do never use Hindi numbers, that’s why I’m obliged everytime I write in Arabic, to use Gimp in order […]

Week-end’s discoveries: W3C Slidy rocks, SQLite sucks

Monday, November 6th, 2006

I found out a good tool to make slide shows without having to use a program such as PowerPoint or OpenOffice presentation, called Slidy.
You only have to include a JavaScript file, and optionally, a CSS in order to define different classes. All what you need is a basic [X]HTML/CSS knowledge, and go ahead! It […]

Is Nvu dead?

Friday, June 23rd, 2006

Nvu is a powerful WYSIWYG HTML and XHTML editor. I exclusively use this program when designing web pages for it’s reliable, has many features, supports CSS and generates valid code, let’s not mention it’s free!
However, it has been exactly one year since the last release of Nvu, 1.0 in June 22nd, 2005; no update, […]

Firefox screws XHTML code up

Tuesday, June 13th, 2006

Yes, that’s it, the wonderful Firefox has a problem, I can’t say it’s a bug, since the developers are aware and I can even say that they did it intentionally; well, here’s the point, when you save a valid XHTML page (Option: Web Page, complete), it reformats it to HTML 4 and keeps XHTML […]

Feel the CSS beauty

Friday, April 28th, 2006

I am only technical when talking of Web design. Like all webmasters, I know how to make a style sheet from a blank file, give definitions to elements, classes and ID’s, put HTML tags and respecting the standards; but I’m not artist in anyway. Art requires feelings, passion, mastering, whereas I make HTML/CSS templates […]

Flirting with AJAX

Thursday, April 27th, 2006

I started to find out about AJAX, a fashion Web technology, which stands for Asynchronous JavaScript And XML; Hatem’s blog helped me a lot, and the Internet is a huge source of information.
A “hello world” application is like the following: it requests data from page.php and writes the content between div tag identified by […]

XSL Rules!

Thursday, January 12th, 2006

Reading Linux Gazette, I found a nice RDF with XSL document that maps a picture and describes its parts.
I have hacked on the original script in order to change the picture and encode it using GraphInside.
You may also map the image using circles, shapes, etc.
This was tested on only Gecko softwares (Netscape, Mozilla, Firefox) […]

GraphInside

Monday, November 28th, 2005

A Perl script to integrate graphics into a HTML file.
Requires Perl with the following CPAN modules: HTML::TokeParser and MIME::Base64.
Handles HTML and XHTML documents, recognizes GIF, PNG and JPEG graphics, parses full path image files, compatible with standards.
See a live example (the documentation itself) here.
Click here to download the script.

Culture Shock: doctors Office

Tuesday, October 11th, 2005

Found a cool medical HTML template at OSWD.
It’s XHTML compliant and has nice CSS features, without tables nor Javascript.

Yet Another Easter Egg!

Tuesday, October 4th, 2005

Another verse of the Book of Mozilla , not by Firefox or any Gecko software, but with Nvu!
Click on Help, About Nvu and click on Credits while holding “Shift” key.
You will be redirected to http://disruptive-innovations.com/book/0823.html, where you can read the following verse:

The elementals fought and sent back the armies of Mammon to the inner […]

Quick hacks on WordPress

Sunday, September 25th, 2005

I made some quick and dirty hacks on WordPress that are useful for me:

Fixed keyword meta-tag adding categories as keywords; no need to make a file, just added to header.php the following lines:
<?php $numcats = $wpdb->get_var(”SELECT COUNT(*) FROM $wpdb->categories”); ?>
<meta name=”keywords” content=”<?php for ($i=1; $i< =$numcats;$i++) {print get_the_category_by_ID($i).’,';}?>Swobodin,blog” />
Added a plug-in that inserts images […]

A HTML validator for Firefox

Saturday, September 24th, 2005

The best Firefox extension I have ever downloaded is the HTML Validator, based on Tidy, the extension puts an icon at the foot of the browser, checking for each page whether it is or not a valid HTML or XHML.

If the icon is green (first picture), no validation error, thus the page is […]


Top Tunisie Blogs