hakre on wordpress
Hakre's devlog, thoughts and rants on wordpress on wordpress.com. And webdesign related. And web development related. My weapons of choice are Netscape 2.01, HTML, CSS, PHP and the Gif Construction Kit.
You can find out more on my codex page.
hakre on wordpress » WordPress Licensing- GPL: This Deserves a Special Mention, II 17 Feb 2011
- b2/cafelog is GPL 3 Feb 2011
- WordPress Changes GPL License Text Again 15 Jan 2011
- Akismet Introduces GPL Version to WordPress (Updated 3x) 1 Jan 2011
- Kses, GPL, Copyright, Licensing and Disclaimer 30 Dec 2010
- WordPress, Copyright, Hello Dolly Lyrics, the GNU GPL and I 22 Dec 2010
- WordPress Licensing Issues – Plugins are GPL, Right? 15 Dec 2010
- WordPress Licensing Issues – On Showing License 6 Oct 2010
- Relicensing of IXR – The Incutio XML-RPC Library (Day 15) 8 Sep 2010
- WordPress Licensing Issues – NOOP (Day 8) 2 Sep 2010
- WordPress Licensing Issues – Summary (Week 1) 1 Sep 2010
- WordPress Licensing Issues – Submitting Code (Day 6) (Update 1x) 30 Aug 2010
- WordPress Licensing Issues – Progress (Day 5) 30 Aug 2010
- WordPress Licensing Issues – Why I care (Day 4) 28 Aug 2010
- WordPress Licensing Issues – the third day 28 Aug 2010
Wordpress Questions (and Answers)- How do I include custom fields in search? 22 May 2012
- How to correctly limit the content and strip HTML? 19 May 2012
- Can I have mutiple custom html editors for each page? 22 May 2012
- Space in between query values 22 May 2012
- WP text styles not coming through to actual post 22 May 2012
Linked
- TkSQLite
- They killed the Failwhale
- The Law of Leaky Abstractions
- WTFPL
- The JavaScript Trap
- DejaVu fonts
- XHProf PHP Profiling Tool
- Image_Graph
- SJ Hook Profiler
- RIPS – A static source code analyser for vulnerabilities in PHP scripts
- Looking back on Selling Gravatar to Automattic
- Using Linux Screen for Session Management
Archives
- May 2012 (7)
- April 2012 (11)
- March 2012 (7)
- February 2012 (3)
- January 2012 (8)
- December 2011 (6)
- November 2011 (1)
- October 2011 (7)
- September 2011 (3)
- August 2011 (4)
- July 2011 (7)
- June 2011 (7)
- May 2011 (6)
- April 2011 (7)
- March 2011 (16)
- February 2011 (29)
- January 2011 (11)
- December 2010 (10)
- November 2010 (11)
- October 2010 (9)
- September 2010 (15)
- August 2010 (23)
- July 2010 (9)
- June 2010 (33)
- May 2010 (26)
- April 2010 (20)
- March 2010 (8)
- February 2010 (11)
- January 2010 (26)
Wordpress
Ex-Blogroll
Categories
- Code Smells (9)
- HTML/CSS Code Smells (3)
- PHP Code Smells (3)
- Developing (6)
- Licensing (2)
- Hacking The Core (69)
- Wordpress Licensing (17)
- Hakre's Tips (63)
- Patched (5)
- Persona (5)
- Plugin Plugout (28)
- Enhancing Feeds (7)
- Theme-A-Licious (2)
- Pressed (269)
- Linked (101)
- Bugs and Features (11)
- Hashcat sightings (1)
- Number of the Day (3)
- PHP Development (34)
- PHP Library (7)
- Reports (23)
- Save the Date (7)
- Wordpress Releases (6)
- Linked (101)
- Surviving the Internet (21)
- Tools (68)
- Gates and Fences (3)
- PHP Development (23)
- PHP Frameworks (9)
- PHP Standards (2)
- PHP Template Language (5)
- Scripts (4)
- Webtools (5)
- WordPress Support (9)
- Uncategorized (30)
- Code Smells (9)
Music
Tag Archives: Encoding
CSS character escape sequences, more on the CSS3 selector syntax (STTS 3 Profile Specification) at W3C.
htmlspecialchars() improvements in PHP 5.4; the PHP default_charset is here. Input has left untouched so far, first assumable is output encoding will lead to input encoding. But can’t resolve the general dilemma of unknown input encoding for your webapp. See … Continue reading
PHP UTF-8 String Length
If you’ve got an UTF-8 encoded PHP string (e.g. when working with DOMDocument) and you don’t want to rely on the mbstring extension to get it’s length, this can be solved with a simple regular expression (as the string does … Continue reading
Posted in Pressed, PHP Development, The Know Your Language Department, PHP Library
Tagged PHP, Encoding, Charset, UTF-8, Unicode, String, PHP 5.4, strlen, Nicolas Grekas
1 Comment
Substitutes for PHP 5.4′s htmlspecialchars.
See UPGRADING
Best Practice robots.txt
I did some research month ago and wrote a longer article about robots.txt. But for a quick lookup it’s too much to read, so today it’s time a for a simple best-practices check-list: Use ASCII encoding for robots.txt (see as … Continue reading
Posted in Pressed, Surviving the Internet
Tagged #14069, ASCII, best practice, Encoding, How-To, robots.txt
2 Comments
Encode a PHP String
Today I updated PHPMyadmin on one of my boxes. Nothing special so far, but I saw that it’s now possible to export data in form of a PHP array. Well I thought that’s somehow nice. But the plugin was broken. … Continue reading
Verify file encoding with grep
List all lines in PHP-files in a directory-tree that contain characters out of the ASCII 7Bit pane: ~ grep -nPR –include=*.php [\xE0-\xFF] * Does a quick and easy controlling on a full package of files quickly. Finds stuff like this … Continue reading
Posted in Hacking The Core, Hakre's Tips, Pressed
Tagged #14735, ASCII, Encoding, Grep, US-ASCII
Leave a comment
Encoding of the robots.txt file
The old, rusty tech-monster from swamp, beloved robots.txt, that did prevent gaga-gone droids from DDOSsing your servers years ago, still has its place in SEO, SEM and generic robots access control today. A site shouldn’t be run w/o having this … Continue reading
Posted in Hacking The Core, Hakre's Tips, Pressed, Surviving the Internet
Tagged #14069, #14292, #14313, Bing, Charset, Encoding, EUC-JP, google, HTTP, Latin-1, RFC 1945, RFC 3986, Robot, Robots, robots.txt, Search Engine, Search Engines, SEM, SEO, Unicode, URL, US-ASCII, UTF-8, Yahoo
1 Comment
Line Endings in diverse Operating Systems
While coding some XML stuff lately (if you’re into PHP and XML, get a grip on FluentDOM if you have not already) I ran about some line ending issues. That [NEL] thingy was new to me, so I just wanted … Continue reading
Posted in Hakre's Tips, Pressed
Tagged Apple Macintosh, DOS, Encoding, FluentDOM, Line Ending, OS/390, PHP, UNIX, XML
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 #12284, Encoding, Entity, HTML, HTML Character Entities, Wordpress
1 Comment