<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>real ultimate waffe (.net)</title>
	<atom:link href="http://mdawaffe.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://mdawaffe.wordpress.com</link>
	<description>FACT: mdawaffes are mammals</description>
	<lastBuildDate>Fri, 13 Jan 2012 18:29:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='mdawaffe.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>real ultimate waffe (.net)</title>
		<link>http://mdawaffe.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://mdawaffe.wordpress.com/osd.xml" title="real ultimate waffe (.net)" />
	<atom:link rel='hub' href='http://mdawaffe.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Automattic 5k in Pasadena, CA</title>
		<link>http://mdawaffe.wordpress.com/2011/04/10/automattic-5k-in-pasadena-ca/</link>
		<comments>http://mdawaffe.wordpress.com/2011/04/10/automattic-5k-in-pasadena-ca/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 21:24:25 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[Automattic]]></category>
		<category><![CDATA[wwwp5k]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/?p=191</guid>
		<description><![CDATA[Michelle and I walked our part of Automattic’s Worldwide WP 5k this afternoon. Interestingly, despite the hundreds (thousands?) of people doing the 5k, &#8220;our part&#8221; was still five kilometers long. You&#8217;d think we could have split it up better or &#8230; <a href="http://mdawaffe.wordpress.com/2011/04/10/automattic-5k-in-pasadena-ca/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=191&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Michelle and I walked our part of <a href="http://en.blog.wordpress.com/2011/03/29/automattic%E2%80%99s-worldwide-wp-5k/">Automattic’s Worldwide WP 5k</a> this afternoon.</p>
<p>Interestingly, despite the hundreds (thousands?) of people doing the 5k, &#8220;our part&#8221; was still five kilometers long.  You&#8217;d think we could have split it up better or something.</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/191/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/191/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/191/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=191&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2011/04/10/automattic-5k-in-pasadena-ca/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<georss:point>34.147188 -118.144265</georss:point>
		<geo:lat>34.147188</geo:lat>
		<geo:long>-118.144265</geo:long>
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress __autoload() idea</title>
		<link>http://mdawaffe.wordpress.com/2009/03/31/wordpress-__autoload-idea/</link>
		<comments>http://mdawaffe.wordpress.com/2009/03/31/wordpress-__autoload-idea/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 08:36:53 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/?p=69</guid>
		<description><![CDATA[PHP 5 introduces autoloading classes. The way WordPress is currently structured, I don&#8217;t think we&#8217;d get much benefit from switching to autoloading. There aren&#8217;t that many classes in core WordPress that don&#8217;t need to get loaded on every page load. &#8230; <a href="http://mdawaffe.wordpress.com/2009/03/31/wordpress-__autoload-idea/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=69&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>PHP 5 introduces <a href="http://php.net/manual/en/language.oop5.autoload.php">autoloading classes</a>.  The way WordPress is currently structured, I don&#8217;t think we&#8217;d get much benefit from switching to autoloading.  There aren&#8217;t that many classes in core WordPress that don&#8217;t need to get loaded on every page load.</p>
<p>With some restructuring, though, we might be able to cut down on the number of bytes of code we load on every page (and we could get rid of some <code>class_exists()</code> and <code>require_once</code> calls).</p>
<p>We&#8217;d want an autoloader, though, that could handle plugin files as well as core files.</p>
<p><span id="more-69"></span></p>
<p><strong>Idea</strong>: an autoloader that can load classes from some deterministic path (e.g., the usual <code>$classname.class.php</code> or what have you) but that can also register classes at specific paths.</p>
<p><pre class="brush: php;">
if ( !defined( 'WP_AUTOLOAD_CLASSES' ) ) {
    define(
        'WP_AUTOLOAD_CLASSES',
        function_exists( 'spl_autoload_register' )
    );
}

if ( WP_AUTOLOAD_CLASSES ) {
   /**
&lt;ul&gt;
  &lt;li&gt;PHP 5.1.2+&lt;/li&gt;
&lt;li&gt;Called once per class during setup (each time&lt;/li&gt;
&lt;li&gt;with two args) to tell it where the class is&lt;/li&gt;
&lt;li&gt;located.&lt;/li&gt;
&lt;li&gt;Don't need to call for a class if that class&lt;/li&gt;
&lt;li&gt;exists in some easy deterministic path.&lt;/li&gt;
&lt;li&gt;Called (with only one arg) when looking for a&lt;/li&gt;
&lt;li&gt;not-currently-loaded class.&lt;/li&gt;
&lt;li&gt;/&lt;/li&gt;
&lt;/ul&gt;

    function wp_autoload( $class, $path = null ) {
        static $classes = array();

        // Being called by PHP's autoloader
        if ( is_null( $path ) ) {
            if ( isset( $classes[$class] ) ) {
               /* Use include, not require.  That
&lt;ul&gt;
  &lt;li&gt;way we get a more meaningful&lt;/li&gt;
&lt;li&gt;Fatal error: class does not exist&lt;/li&gt;
&lt;li&gt;/&lt;/li&gt;
&lt;/ul&gt;

                include( $classes[$class] );
            } else {
               /* Look in some default path(s) for
&lt;ul&gt;
  &lt;li&gt;appropriately named files.&lt;/li&gt;
&lt;li&gt;/&lt;/li&gt;
&lt;/ul&gt;

            }
            return;
        }

        // Being called by us
        $classes[$class] = $path;
    }
    
    // Register it
    spl_autoload_register( 'wp_autoload' );
} else {
   /**
&lt;ul&gt;
  &lt;li&gt;PHP 4 (PHP 5.1.1-)&lt;/li&gt;
&lt;li&gt;Just require each file.&lt;/li&gt;
&lt;li&gt;/&lt;/li&gt;
&lt;/ul&gt;

    function wp_autoload( $class, $path ) {
        require_once( $path );
    }
}

// Core classes in WPINC probably wouldn't have
// to be explicitly registered, but as an example:
wp_autoload(
    'WP_Error',
    ABSPATH . WPINC . '/classes.php'
);
// OK to call multiple times per path
wp_autoload(
    'Walker',
    ABSPATH . WPINC . '/classes.php'
);
// ...

// In some plugin file
wp_autoload(
    'My_Plugin_Foo',
    plugin_dir_path( __FILE__ ) . 'foo.class.php'
);
</pre></p>
<p><strong>Update</strong>:  To clarify, I don&#8217;t mean to imply that this idea would improve WordPress performance.  It&#8217;s just an idea, not a proposal.  I haven&#8217;t done any benchmarking or even naive experimentation.</p>
<p>Conditionally including files involves tradeoffs that need to be evaluated per app.  Also, as Jacob Santos points out in the comments below, conditionally including files from conditionally defined functions is way out there.</p>
<p>I might call the idea clever, but it&#8217;s not necessarily good <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/69/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/69/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/69/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=69&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2009/03/31/wordpress-__autoload-idea/feed/</wfw:commentRss>
		<slash:comments>21</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>Post Revisions in WordPress 2.6</title>
		<link>http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/</link>
		<comments>http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/#comments</comments>
		<pubDate>Thu, 22 May 2008 22:41:51 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/?p=63</guid>
		<description><![CDATA[Have you ever saved a post on your blog only to realize later that you accidentally erased a critical paragraph? Ever worked on a blog with multiple authors and needed to keep a log of who changed what and when? &#8230; <a href="http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=63&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Have you ever saved a post on your blog only to realize later that you accidentally erased a critical paragraph?  Ever worked on a blog with multiple authors and needed to keep a log of who changed what and when?</p>
<p>WordPress should store a history of all your posts.  You&#8217;d get protection from accidental changes, and you&#8217;d be able to see a clear timeline of the evolution of each of you posts.</p>
<p>Happily, WordPress is awesome!  In the upcoming WordPress 2.6 release, the feature exists and rules!</p>
<p> <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>And check out the pretty colors!</p>

<a href='http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/post-revisions-1/' title='Post Revisions'><img data-attachment-id='64' data-orig-size='1010,933' data-liked='0'width="150" height="138" src="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-1.png?w=150&#038;h=138" class="attachment-thumbnail" alt="Diff of two revisions" title="Post Revisions" /></a>
<a href='http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/post-revisions-2/' title='More Post Revisions'><img data-attachment-id='65' data-orig-size='995,986' data-liked='0'width="150" height="148" src="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-2.png?w=150&#038;h=148" class="attachment-thumbnail" alt="Another Diff" title="More Post Revisions" /></a>
<a href='http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/post-revisions-3/' title='Post Revisions Meta Box'><img data-attachment-id='66' data-orig-size='1010,468' data-liked='0'width="150" height="69" src="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-3.png?w=150&#038;h=69" class="attachment-thumbnail" alt="Post Revisions on the Write Screen" title="Post Revisions Meta Box" /></a>

<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/63/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/63/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/63/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/63/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/63/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=63&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2008/05/22/post-revisions-in-wordpress-26/feed/</wfw:commentRss>
		<slash:comments>173</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>

		<media:content url="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-1.png?w=150" medium="image">
			<media:title type="html">Post Revisions</media:title>
		</media:content>

		<media:content url="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-2.png?w=150" medium="image">
			<media:title type="html">More Post Revisions</media:title>
		</media:content>

		<media:content url="http://mdawaffe.files.wordpress.com/2008/05/post-revisions-3.png?w=150" medium="image">
			<media:title type="html">Post Revisions Meta Box</media:title>
		</media:content>
	</item>
		<item>
		<title>Improved Post and Page management in WordPress</title>
		<link>http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/</link>
		<comments>http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/#comments</comments>
		<pubDate>Tue, 29 May 2007 05:44:50 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/</guid>
		<description><![CDATA[Managing thousands of posts and dozens of drafts will be much easier in the upcoming WordPress 2.3 thanks to some revamped backend code and admin interfaces. First, the interface changes. In Manage -&#62; Posts you can currently look for posts &#8230; <a href="http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=28&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Managing thousands of posts and dozens of drafts will be much easier in the upcoming <a href="http://trac.wordpress.org/milestone/2.3">WordPress 2.3</a> thanks to some revamped backend code and admin interfaces.</p>
<p>First, the interface changes.  In Manage -&gt; Posts you can currently look for posts by search term, or browse by month or category, but <em>only one of these things at a time</em>.</p>
<p>In WordPress 2.3 (or currently on WordPress.com), you&#8217;ll be able to filter by search term, post type (draft, private, scheduled for future publishing, or published), author, month published, and category.  You&#8217;ll also be able to <em>combine any or all of those filters and do them all at once</em>:</p>
<p><a href='http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query-form.png' title='wordpress-23-manage-posts-query-form.png'><img src='http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query-form.png?w=640' style="width:450px;" /></a></p>
<p>so you&#8217;ll be able to ask for all published posts written by Lion-O during May of 2007, filed in the &#8220;cartoons from the eighties&#8221; category, and matching the phrase &#8220;Mumm-Ra, the Ever-Living&#8221;.  That was a hard list of posts to come by until 2.3.</p>
<p><a href='http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query.png' title='wordpress-23-manage-posts-query.png'><img src='http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query.png?w=640' style="width:450px;" /></a></p>
<p>Manage -&gt; Pages will be getting a similar face lift; you&#8217;ll be able to filter by search term, author and page type (draft, private, or published).</p>
<p><a href="http://wordpress.org/extend/ideas/topic.php?id=7">Better draft management</a>, in particular, has consistently been one of the most frequently requested improvements in WordPress, and these changes are a big piece of that.</p>
<p>Neat huh?</p>
<p>Secondly, the back end changes.  The <code>WP_Query</code> class can now select posts by <code>post_status</code> (draft, future, private, publish).  This makes it trivial to use <code>query_posts()</code> and <code>wp()</code> for such queries; no more need for kludgey filters and hacks.</p>
<p>WordPress 2.3 comin&#8217;, at you soon.  Be there!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/28/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/28/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/28/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/28/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/28/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=28&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2007/05/29/improved-post-and-page-management-in-wordpress/feed/</wfw:commentRss>
		<slash:comments>34</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>

		<media:content url="http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query-form.png" medium="image" />

		<media:content url="http://mdawaffe.files.wordpress.com/2007/05/wordpress-23-manage-posts-query.png" medium="image" />
	</item>
		<item>
		<title>Hitting WordPress Attachment Handling</title>
		<link>http://mdawaffe.wordpress.com/2006/12/05/hitting-wordpress-attachment-handling/</link>
		<comments>http://mdawaffe.wordpress.com/2006/12/05/hitting-wordpress-attachment-handling/#comments</comments>
		<pubDate>Tue, 05 Dec 2006 23:54:28 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[note to self]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2006/12/05/hitting-wordpress-attachment-handling/</guid>
		<description><![CDATA[In debugging some stuff here on WordPress.com, I dived (once more) into the image handling guts of WordPress. A while ago, I revamped WordPress&#8217; inline uploading functionality to be more pluggable, cacheable, maintainable and (hopefully) intuitive. A hundred bugs later, &#8230; <a href="http://mdawaffe.wordpress.com/2006/12/05/hitting-wordpress-attachment-handling/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=22&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>In debugging some stuff here on WordPress.com, I dived (once more) into the image handling guts of WordPress.</p>
<p>A while ago, I revamped WordPress&#8217; inline uploading functionality to be more pluggable, cacheable, maintainable and (hopefully) intuitive.  A hundred bugs later, it seems to be working pretty well.</p>
<p>This time around, the issue was not how WP displayed the data, but how it stores it.</p>
<p>In trying to make things leaner and meaner on WordPress.com, we reworked some of the behind-the-scenes directory structures on our servers.  This should have been totally transparent to the user, but, of course, it wasn&#8217;t.  It broke our image handling.</p>
<p>Each file uploaded to WordPress is stored as a special type of post called an &#8220;attachment&#8221;.  In the post and postmeta tables, WordPress stores things like file URL, file path on the server, image dimensions, image thumbnail info, etc.  So to figure out anything we want about an uploaded file, all we have to do is essentially <code>get_post()</code> and a few <code>get_post_meta()</code>s.  Sounds great.</p>
<p>It&#8217;s not.</p>
<p>Two reasons:</p>
<ol>
<li>To answer a question like &#8220;Where is this file located on the server&#8221;, we have to <code>get_post_meta()</code> every time for the answer.  With such a generic function, it&#8217;s impossible for plugins to filter that data on the fly even for this really simple question.</li>
<li>WordPress stores the data in a <em>really</em> inconvenient way; everything is absolute: paths, urls, you name it.</li>
</ol>
<p>Because of the absolute paths, lack of API, and the aforementioned directory restructuring, we had hardcoded into our DB tens of thousands (a blind guess) of incorrect file locations and no way to filter them.  Doing DB updates across hundreds of thousands of tables (not a blind guess) replicated on dozens of servers was not an option.</p>
<p>Partial solution (now implemented in WordPress core): Write a basic API for getting and putting the data.  <code>wp_get_attachment_metadata()</code>, <code>wp_update_attachment_metadata()</code>, <code>get_attached_file()</code>, <code>update_attached_file()</code> (the lack of parallelism between function names, and the ambiguity in those names is an historical artifact) are all nicely filterable.</p>
<p>Improvements that still could be made: Don&#8217;t store absolute data.  This is better for portability too. (Exceptition: guid &#8211; but don&#8217;t use it for the URL).</p>
<p>Related improvements that could be made:</p>
<ul>
<li><code>wp_get_attachment_url()</code></li>
<li><code>wp_get_thumbnail_file()</code></li>
<li><code>wp_get_thumbnail_url()</code></li>
<li><code>wp_attachment_is_image()</code></li>
<li><code>wp_mime_type_icon()</code></li>
<li>Rework <code>get_attachment_icon()</code> given the above</li>
<li>Kill reliance on or rework <code>get_attachment_innerHTML()</code> (see above)</li>
</ul>
<p>Vaguely related improvements that could be made:</p>
<ul>
<li><code>wp_handle_upload()</code> is a little awkward (but nice and robust!).  Maybe wrap it?  That might be silly.</li>
<li><code>wp_generate_thumbnail_filename()</code></li>
<li>Make thumbnail creation hookable and provide above convenience function</li>
</ul>
<p><ins datetime="2007-01-29T10:17:08+00:00"><strong>Update:</strong>  All of the &#8220;related improvements&#8221; noted above have been made in the recently released WordPress 2.1.  Of the &#8220;vaguely related improvements&#8221; suggested, 2.1 offers hookable thumbnail creation.</ins></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/22/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/22/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/22/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/22/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/22/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=22&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2006/12/05/hitting-wordpress-attachment-handling/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>bbPress + AJAX = &#8220;oooh&#8230; pretty&#8230;&#8221;</title>
		<link>http://mdawaffe.wordpress.com/2005/08/31/bbpress-ajax-oooh-pretty/</link>
		<comments>http://mdawaffe.wordpress.com/2005/08/31/bbpress-ajax-oooh-pretty/#comments</comments>
		<pubDate>Wed, 31 Aug 2005 08:27:42 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[bbPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2005/08/31/bbpress-ajax-oooh-pretty/</guid>
		<description><![CDATA[bbPress has been getting an extreme AJAX makeover, and things are looking pretty good. We&#8217;re still working on the best user interface, particularly for posting new posts. Firas mentioned the possibility of including a cute spinner à la Technorati. Perhaps &#8230; <a href="http://mdawaffe.wordpress.com/2005/08/31/bbpress-ajax-oooh-pretty/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=7&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>bbPress has been getting an <a href="http://bbpress.org/blog/2005/08/bbpress-now-fully-buzz-word-compliant/">extreme AJAX makeover</a>, and things are looking pretty good.</p>
<p>We&#8217;re still working on the best user interface, particularly for posting new posts.  <a href="http://firasd.org/">Firas</a> mentioned the possibility of including a cute spinner <a href="http://static.technorati.com/pix/loading-anim.gif">à la</a> <a href="http://technorati.com/">Technorati</a>.  Perhaps a spinner over the post textbox would be best.  Something like <a href="http://asymptomatic.net/wp/">Owen</a>&#8216;s <a href="http://redalt.com/downloads/">CanaryComment</a>.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=7&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2005/08/31/bbpress-ajax-oooh-pretty/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>WordPress.com invites.</title>
		<link>http://mdawaffe.wordpress.com/2005/08/22/wordpresscom-invites/</link>
		<comments>http://mdawaffe.wordpress.com/2005/08/22/wordpresscom-invites/#comments</comments>
		<pubDate>Mon, 22 Aug 2005 05:52:36 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2005/08/22/wordpresscom-invites/</guid>
		<description><![CDATA[WordPress.com is free as in beer, the software behind it is free as in speech, but my invite ain&#8217;t. It&#8217;ll cost you a pretty penny: twenty-five of them, to be exact. Go forth and multiply. Update: The news keeps on &#8230; <a href="http://mdawaffe.wordpress.com/2005/08/22/wordpresscom-invites/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=5&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>WordPress.com is free as in beer, the software behind it is free as in speech, <a href="http://cgi.ebay.com/ws/eBayISAPI.dll?ViewItem&#038;item=5994774713">but my invite ain&#8217;t</a>.  It&#8217;ll cost you a pretty penny: twenty-five of them, to be exact.</p>
<p>Go forth and multiply.</p>
<p><strong>Update</strong>: The <a href="http://photomatt.net/2005/08/21/invite-on-ebay/">news</a> <a href="http://lorelle.wordpress.com/2005/08/23/wordpresscom-invite-on-ebay-2/">keeps</a> <a href="http://blogs.linux.ie/xeer/2005/08/22/ebay-wordpress-invite-for-sale/">on</a> <a href="http://textdrive.blogspot.com/2005/08/just-in-case.html">spreading</a>.   And if auctions aren&#8217;t your thing, try a <a href="http://changingway.net/archives/244">guessing game</a>!</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/5/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/5/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/5/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/5/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/5/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=5&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2005/08/22/wordpresscom-invites/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>Stylesheets</title>
		<link>http://mdawaffe.wordpress.com/2005/08/18/stylesheets/</link>
		<comments>http://mdawaffe.wordpress.com/2005/08/18/stylesheets/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 19:48:21 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[bbPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2005/08/18/stylesheets/</guid>
		<description><![CDATA[I&#8217;ll be looking around eventually for people with installs to check out their CSS. I&#8217;ve contacted one site already about the possibility of including its stylesheet with bbPress as the default. Please feel free to leave your or others&#8217; site(s) &#8230; <a href="http://mdawaffe.wordpress.com/2005/08/18/stylesheets/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=4&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ll be looking around eventually for people with installs to check out their CSS.  I&#8217;ve contacted one site already about the possibility of including its stylesheet with bbPress as the default.  Please feel free to leave your or others&#8217; site(s) here.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=4&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2005/08/18/stylesheets/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>You can count on bbPress</title>
		<link>http://mdawaffe.wordpress.com/2005/08/18/you-can-count-on-bbpress/</link>
		<comments>http://mdawaffe.wordpress.com/2005/08/18/you-can-count-on-bbpress/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 01:58:59 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[bbPress]]></category>

		<guid isPermaLink="false">http://mdawaffe.wordpress.com/2005/08/18/you-can-count-on-bbpress/</guid>
		<description><![CDATA[The only problem is bbPress can&#8217;t count just yet. There&#8217;s a few issues we&#8217;re working on re: pagination. To know the total number of pages a particular topic spans, for example, you have to know the total number of posts. &#8230; <a href="http://mdawaffe.wordpress.com/2005/08/18/you-can-count-on-bbpress/">Continue reading <span class="meta-nav">&#8594;</span></a><img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=3&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>The only problem is bbPress can&#8217;t count just yet.  There&#8217;s a few issues we&#8217;re working on re: pagination.  To know the total number of pages a particular topic spans, for example, you have to know the total number of posts.  But how do you define &#8220;total&#8221;.  With things like deleted and bozoed posts in the mix, counting gets tricky depending on what view you&#8217;re working with at the moment.  And by &#8220;tricky&#8221; I mean impossible without extra queries.</p>
<p>We&#8217;ll need to add some more info into the DB to handle this.  topicmeta can handle the number of deleted and bozoed posts, but where to put the number of sticky topics or the number of no-replied, untagged or unresolved topics?  Those last queries could use a little benchmarking; maybe we can get away with grabbing them dynamically.  But for stickies&#8230; would forummeta be useful anywhere else?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/3/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/3/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/3/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/3/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/3/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=3&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2005/08/18/you-can-count-on-bbpress/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
		<item>
		<title>I may need to delete you</title>
		<link>http://mdawaffe.wordpress.com/2005/08/18/hello-world/</link>
		<comments>http://mdawaffe.wordpress.com/2005/08/18/hello-world/#comments</comments>
		<pubDate>Thu, 18 Aug 2005 01:27:43 +0000</pubDate>
		<dc:creator>mdawaffe</dc:creator>
				<category><![CDATA[WordPress.com]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[Thus saith matt about my precious real ultimate waffe. Well, it all seems to be square now. Rock on WordPress.com. Rock on.<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=1&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Thus saith <a href="http://matt.wordpress.com">matt</a> about my precious real ultimate waffe.</p>
<p>Well, it all seems to be square now.  Rock on <a href="http://wordpress.com">WordPress.com</a>.  Rock on.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/mdawaffe.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/mdawaffe.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/mdawaffe.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/mdawaffe.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/mdawaffe.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=mdawaffe.wordpress.com&amp;blog=90&amp;post=1&amp;subd=mdawaffe&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://mdawaffe.wordpress.com/2005/08/18/hello-world/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4d346581a3340e32cf93703c9ce46bd4?s=96&#38;d=monsterid&#38;r=R" medium="image">
			<media:title type="html">Administrator</media:title>
		</media:content>
	</item>
	</channel>
</rss>
