Tag Archives: HTML

PHP: XPath on HTML and XHTML

Christan Weiske has published a nice summarizing article with the same title. It contains some detailed information I haven’t found so far on the web so worth the link: PHP: XPath on HTML and XHTML. It also reminds me of … Continue reading

Posted in Developing, Hakre's Tips, PHP Development, Pressed | Tagged , , , , | Leave a comment

Thoughts on a Websites’ Environment

I needed to put an older site under git version control and I wanted to be able to at least semi-automatically publish that site to the webserver. This is an old project for very good friends. Time to put it … Continue reading

Posted in Pressed | Tagged , , , , , , , , , | Leave a comment

CSS Selector to XPath conversion

While playing with a parser experiment that fully supports the CSS selectors syntax and the discovery of the Selectors API I started to think about the transformation from CSS selectors to XPath. Sure I’m not the only one, so I … Continue reading

Posted in Developing, PHP Development, Pressed | Tagged , , , , , , , | 1 Comment

Architecture the Lost Years (Robert Cecil Martin; 4 Nov 2011)

Did worldwide Hypertext turned software developers out in the field upside-down? In Architecture the Lost Years (1h 06m) Robert C. Martin talks about the web and how it influenced development design decisions in the last decade(s). Is the system the … Continue reading

Posted in Developing, Hakre's Tips, Linked, Pressed, Surviving the Internet | Tagged , , , , , , , , , | 1 Comment

Title belongs into Head

Whatever type of website you create, take care you put the <title> on top of the <head> (add this to your quality-control checklist). As most web-browser don’t support to copy the title-line easily (I guess that’s because of how in-accessible … Continue reading

Posted in Hakre's Tips, Pressed | Tagged , , | 1 Comment

Substitutes for PHP 5.4’s htmlspecialchars.

See UPGRADING

Posted in Hakre's Tips, Pressed | Tagged , , , | Leave a comment

QueryPath

QueryPath PHP Library to deal with XML/HTML esay CSS-like access and manipulation. Code available at Github.

Aside | Posted on by | Tagged , , , , | Leave a comment

HTML5 is lame

Some say XHTML was lame. If so, HTML5 will be even more lame. There isn’t any DTD. Can you imagine? Is the HEAD element needed or not? And what about the BODY or HTML element? Who can answer these questions? … Continue reading

Posted in Uncategorized | Tagged , , , , | Leave a comment

Mozilla Documentation Center

+1: “Mozilla Document Center is by a stretch my favourite. It’s a rapidly growing wiki-based documentation […]. The HTML, CSS and Javascript documentation is really excellent, and going there directly often beats googling.” – via: Het Bijstere Spoor

Aside | Posted on by | Tagged , , , , , | Leave a comment

html5lib

html5lib – A Python and PHP implementations of a HTML parser based on the WHATWG HTML5 specification.

Aside | Posted on by | Tagged , , , , | Leave a comment

WasHTML PHP Library

Noting this down for future reference: WasHTML is a PHP script that allow only safe HTML for web-applications that have to display unsafe data. It washes your HTML from dangerous data like javascript, references to unchecked remote files and forms … Continue reading

Posted in PHP Development, PHP Library, Scripts, Tools | Tagged , , , , , , , , | 3 Comments

Disable Stylesheets in Internet Explorer

Microsofts Browser, the Internet Explorer, is somehow hated by Webdesigners and Developers throughout the world. But still there is discussion over here and there whether or not to support the Browser any longer, for example version 6. I won’t go … Continue reading

Posted in Pressed, Surviving the Internet | Tagged , , , , , , , , , , , , | Leave a comment

HTTP/HTML: Missing HTTP-Body/HTML on Redirect

This bothers me often: unfriendly redirects.

Posted in Code Smells, Hacking The Core, Surviving the Internet | Tagged , , , , , , , | Leave a comment

XHTML5

Did you know that HTML5 extends from XHTML as well? I did not, it was Anne who made me curious. The quiz (see on the right) is still open.

Posted in Pressed | Tagged , , , , | Leave a comment

Mass Deletion Problems with WordPress

I had a sort of hardcore testing running over the weekend, there was a bogus bugreport that made me uploading more than 80 thousand images to my blog in #13443. Now my Blog has way too many useless images, some … Continue reading

Posted in Hacking The Core | Tagged , , , , , , , , , , , | 4 Comments

QueryPath – Find your Way

QuerPath is another PHP library for working with XML and HTML. Licensed under LGPL/MIT it self-announces it with the following features:

Posted in Hakre's Tips, PHP Development, Tools | Tagged , , , , , , | Leave a comment

mustache — Logic-less templates.

Another minimalistic template lanugage I stumbeled over: mustache. It’s so reduced it has the tagline “logic-less templates” and really, it is reduced. Reduced in features but not in implementation languages:

Posted in Hakre's Tips, PHP Template Language, Tools | Tagged , , , , , , , , , , , | 1 Comment

Mozilla Jetpack

If you’re a webdeveloper you sometime might have dreamed about creating your own Firefox extension. But you might never wanted to learn all the Details of XUL and XPI. Well, no need to do so any longer with the Mozilla … Continue reading

Posted in Hakre's Tips, Tools | Tagged , , , , , , , , , | Leave a comment

HTML Entity Boundaries – Zero Padding

I can not say why, but the HTML specification does allow to zero-pad numerical entities [Reference needed]. Well that sounds fair per-se, but it does not give a limit here. So strictly spoken, you can pad your numeric entities with … Continue reading

Posted in Hacking The Core, Hakre's Tips, Pressed | Tagged , , , , , | 1 Comment

Twig PHP template

Marketing is often referred to black magic. Looks like within the PHP Community some coders know how to deal properly with it when you see this list of adjectives for the Twig template language (isn’t that a template engine?): Twig, … Continue reading

Posted in PHP Template Language, Pressed, Tools | Tagged , , , , , , , , | 3 Comments