Please note: This site is now an archive, visit Atomic Ninja Labs for the latest content and updates.
Archive Page 2
If you happened to notice odd on-off-on-off formatting changes to the foo’s remaindered links, you weren’t actually seeing things.
You see, there’s yet another safety feature in wordpress 2.1. That being the ubiquitous add_filter, via the kses.php sitting in wp-includes. Allow me a moment to set-the-scene, as it were, so you have at least some reference point:
I have a handy (and somewhat hacked) php script that pulls in del.icio.us links and injects them as entries. It parses the RSS feed, generates a snazzy (and pre-formatted) array and injects each bookmark as an entry. I even parse in the associated del.icio.us tags to map as entry tags.
And it all works remarkably well — submit a bookmark to del.icio.us and the script takes care of the rest. Until one uses curl, or wget.
Both are simple text-mode commands to retrieve web pages. As I use a cron job to process pending remaindered links, it was a natural progression to keep things tidy via curl. Why are they so special, you ask? They aren’t. But WP 2.1 is. Confused yet? So was I.
On the subject of updates - just a quick note to indicated broadleaf has undergone a minor revision and is now both 2.0.x and 2.1.x compatible. Twice the leafy love, half the fat.
I’ve been using an admin bar plugin for some time now, which sadly hasn’t been particularly friendly under wordpress 2.1.
Thus, I present to you Admin Strip 2, the rejuvenated version of the wildly successful admin bar.
After a short hiatus — the orange powered ninja is back and is just as badass ((.. or is that just plain bad? :) )) as ever.
If you recall, I had been experiencing some issues with the wordpress function is_page() — in that it wouldn’t always return a valid value ((.. due in part to my craptastic coding skills and playing fast and loose with functions)) in the sidebar. After trying, once again to crack the is_page() puzzle, I was struck by a simpler, faster and stupefyingly simple alternative. You ready for it?
There are times where the standard wordpress loop, is a simple, effective and well documented solution to generated a page, or a series of posts. It safely hides all the mySQL query language away in reusable, modular PHP expressions and can be called at the drop of a hat, as needed.
However, it’s downfall is that it’s based on grabbing n amount of posts based on the options set — which then requires expressions run against the results to further prune out unwanted data, such as excluding a post based on a category, or date. This, then, creates a scenario whereby there is a sizeable performance hit as the wordpress db is hit with, for example, a request for 10 entries, of which some may be thrown out during the_post() loop.
After the amazing demand whipped by by
sig2feed, I’m pleased to announce it’s gone beta!
Code named ’snarf’ — sig2feed has had some small sections of code cleaned up, the admin panel is a little less, well, ugly and a new feature has been bedded down.
If you wish to add your custom sig2feed block on a […]
Smithers.. release the hounds!
My experience post creation and releasing a
certain theme goes a little something like this:
broadleaf is released.. time passes..
broadleaf is poked and prodded by quite a few folks.. time passes..
a bunch of issues are discovered and fixed.. time passes.
I read Lorelle’s
reminder on the joys of
oversized element content.. time pas.. oh […]
Broad leaf has gone release candidate
• masses of fixes and shiny new loop code that handles asides, or ’sides-less configuration.. get it while it’s hot! :)
The scenario:
You want to exclude a category from being processed by a post loop, with posts in said category having more than one category1, keep wordpress db calls to a minimum2, no dropping of data after you’ve already hit the db3 and finally provide a set limit of posts.
The quest:
After a quick grep of
the […]
Whatever have you done to the wordpress.org
search, Mr
Matt ‘wordpress’ Mullenweg? It’s so very badly broken.
Once upon a time, in place not so far away, one could spend quite the merry sunny afternoon or cool winters evening searching
the codex for all manner of code goodies.. but not today.
Oh how I long for […]
As has been noted by a few people now, smackfoo has experienced some issues issues recently with mySQL db corruption and severe post duplication.
This is yet another lengthy post, so if you’re reading this via your RSS reader of choice, you might want to check out the full post. :)
It’s amazing how quickly one […]
Latest Entries
Archives
- April 2008
- March 2008
- February 2008
- January 2008
- December 2007
- November 2007
- October 2007
- September 2007
- August 2007
- July 2007
- June 2007
- May 2007
- April 2007
- March 2007
- February 2007
- January 2007
- December 2006
- November 2006
- October 2006
- September 2006
- August 2006
- July 2006
- June 2006
- May 2006
- April 2006
- March 2006
- February 2006
- January 2006
- December 2005
- November 2005
- October 2005
- September 2005
- August 2005
- July 2005
- June 2005
- May 2005
- April 2005
In partnership with (mt).



