Monthly Archives: July 2010

Parsing CSV files with PHP – SPL-Style

There are some CSV (Comma Separated Values) related string and file functions in PHP. But when it comes to deal with CSV files, there is another gem: SplFileObject (PHP Manual) built-in. The class makes it even more easy to iterate … Continue reading

Posted in Hakre's Tips, Pressed | Tagged , , , , , , , , , , , | 2 Comments

Normalize URLs 1.0 released

My latest plugin release fixes multiple core wordpress problems to handle HTTP requests properly at once: Normalize URLs. It does so by normalizing every incoming URL to a form that is to be expected by the wordpress core. That way, … Continue reading

Posted in Hakre's Tips, Plugin Plugout, Pressed | Tagged , , , , , , , , , , | 2 Comments

Number of the day: 184 million

184 million gallons of oil are assumed to be spilled into the gulf of mexico lately. One drop of oil poisons about 300 liter of water. Update: About 4.9 million barrels (205.8 million gallons) [Flow Rate Technical Group]

Posted in Number of the Day, Pressed | Tagged | Leave a comment

Redirect Loop Protection for Better HTTP Redirects Plugin

Some wordpress user were concerned about Google webmaster tools giving notice about redirect errors (same page redirects). There is a flaw in the current canonical redirect implementation. That is the part of wordpress that takes care that all your site’s … Continue reading

Posted in Hacking The Core, Plugin Plugout, Pressed | Tagged , , , , , | Leave a comment

props

Just wondered what props stand for literally that can be seen in the one or other wordpress commit message: Slang; short for proper dues (source). More examples in the urban dictionary.

Posted in Hacking The Core, Pressed | Tagged , | Leave a comment

WordPress drops PHP 4 in Q1 2011

Introduced under a smaller flag of taking care for testing, a new direction slipped into wordpress developement: To drop PHP 4 and switch over to PHP 5.2 as a minimum requirement for wordpress. Opinion leader Andrew Nacin made the igniting … Continue reading

Posted in Hacking The Core, Pressed, Reports | Tagged , , , , , , , , , , , , , , , , , | 6 Comments

MattPress Egomania

It is somehow a pity to see how self-focused the wordpress project (in person: Matt Mullenweg) currently is. For example, on wordpress.com, if you write the name “Wordpress” into an article it will be displayed as “WordPress”. That’s no joke, … Continue reading

Posted in Pressed, Reports | Tagged , , , , , , , , , , , , , , , , , , , , , | 9 Comments

Resource Expert Droid – Analyze HTTP Requests

The Resource Expert Droid – or Redbot in short, is an online tool to analyze HTTP requests. It provides decent information about response headers and the request headers can be configured as well (javascript required).

Posted in Hakre's Tips, Pressed, Scripts, Surviving the Internet, Tools, Webtools | Leave a comment