<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: echo &#8220;Hello Again, World!&#8221;;</title>
	<atom:link href="http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/feed/" rel="self" type="application/rss+xml" />
	<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/</link>
	<description>"It's All Geek To Me"</description>
	<lastBuildDate>Sun, 14 Mar 2010 17:02:46 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Multiple Wordpress blogs from 1 instance / 1 wordpress folder to maintain &#124; Woody Hayday &#124; Blog</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-2538</link>
		<dc:creator>Multiple Wordpress blogs from 1 instance / 1 wordpress folder to maintain &#124; Woody Hayday &#124; Blog</dc:creator>
		<pubDate>Sat, 23 Jan 2010 16:34:52 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-2538</guid>
		<description>[...] &#8211; this post pretty much explains the theory, a bit like this post &#8211; but I actually happened across it [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8211; this post pretty much explains the theory, a bit like this post &#8211; but I actually happened across it [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strider</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-783</link>
		<dc:creator>Strider</dc:creator>
		<pubDate>Wed, 21 Nov 2007 17:16:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-783</guid>
		<description>&lt;a href=&quot;/nerdaphernalia/features/virtual-multiblog/&quot;&gt;VERSION 2.0!!!!!&lt;/a&gt;

This system now has its own page, rather than being a simple blog entry.  As such, comments are closed here.  Please leave new comments on the new page.

The new version has _significantly_ improved ease-of-setup, plus working domains and subdomains, new functions for your themes, and a VUSER constant that you can use to specify the current blog (great for customizing themes!)

Check it out! :)</description>
		<content:encoded><![CDATA[<p><a href="/nerdaphernalia/features/virtual-multiblog/">VERSION 2.0!!!!!</a></p>
<p>This system now has its own page, rather than being a simple blog entry.  As such, comments are closed here.  Please leave new comments on the new page.</p>
<p>The new version has _significantly_ improved ease-of-setup, plus working domains and subdomains, new functions for your themes, and a VUSER constant that you can use to specify the current blog (great for customizing themes!)</p>
<p>Check it out! <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strider</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-781</link>
		<dc:creator>Strider</dc:creator>
		<pubDate>Tue, 20 Nov 2007 23:05:57 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-781</guid>
		<description>New and improved!  This page now includes a &lt;a href=&quot;#tipjar&quot;&gt;Tip Jar&lt;/a&gt;!

Well, okay.  New and improved for &lt;em&gt;me&lt;/em&gt;.  I can&#039;t give you guys _all_ the goodies.  :)

Version 2.0 should be up tomorrow.  Just some final touches, packaging, and upload.</description>
		<content:encoded><![CDATA[<p>New and improved!  This page now includes a <a href="#tipjar">Tip Jar</a>!</p>
<p>Well, okay.  New and improved for <em>me</em>.  I can&#8217;t give you guys _all_ the goodies.  <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>Version 2.0 should be up tomorrow.  Just some final touches, packaging, and upload.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strider</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-780</link>
		<dc:creator>Strider</dc:creator>
		<pubDate>Tue, 20 Nov 2007 19:07:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-780</guid>
		<description>Chango --

Your code is _very_ similar to what I was trying to make work. :)

It appears that the &lt;code&gt;wp_cache_set()&lt;/code&gt; function is what I was missing.  I would change the prefix and the &lt;code&gt;$wpdb&lt;/code&gt; elements I needed, but returned the first blog&#039;s data twice.  I&#039;ll definitely check this out.  Thanks!</description>
		<content:encoded><![CDATA[<p>Chango &#8211;</p>
<p>Your code is _very_ similar to what I was trying to make work. <img src='http://striderweb.com/nerdaphernalia/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p>It appears that the <code>wp_cache_set()</code> function is what I was missing.  I would change the prefix and the <code>$wpdb</code> elements I needed, but returned the first blog&#8217;s data twice.  I&#8217;ll definitely check this out.  Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chango</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-778</link>
		<dc:creator>chango</dc:creator>
		<pubDate>Mon, 19 Nov 2007 22:19:08 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-778</guid>
		<description>Hi Stephen,

In my I need to display the most recent post from one blog, and then the last 5 posts from two other blogs, and this code seems to do the trick. I do this for each blog I am pulling from:

//map the wpdb table names with the new prefix
&lt;code&gt;
$blog_prefix = &#039;bob_&#039;;
global $wpdb;
$wpdb-&gt;prefix = $blog_prefix;
$wpdb-&gt;posts          = $wpdb-&gt;prefix . &#039;posts&#039;;
$wpdb-&gt;users          = $wpdb-&gt;prefix . &#039;users&#039;;
$wpdb-&gt;categories     = $wpdb-&gt;prefix . &#039;categories&#039;;
$wpdb-&gt;post2cat       = $wpdb-&gt;prefix . &#039;post2cat&#039;;
$wpdb-&gt;comments       = $wpdb-&gt;prefix . &#039;comments&#039;;
$wpdb-&gt;link2cat       = $wpdb-&gt;prefix . &#039;link2cat&#039;;
$wpdb-&gt;links          = $wpdb-&gt;prefix . &#039;links&#039;;
$wpdb-&gt;options        = $wpdb-&gt;prefix . &#039;options&#039;;
$wpdb-&gt;postmeta       = $wpdb-&gt;prefix . &#039;postmeta&#039;;
$wpdb-&gt;usermeta       = $wpdb-&gt;prefix . &#039;usermeta&#039;;
&lt;/code&gt;

//reload the query object with posts from new tables
&lt;code&gt;query_posts(&#039;showposts=5&#039;);&lt;/code&gt;

//Permalinks and other post-related URLs are prepended with the value of the &#039;home&#039; option 
//so we need to override this with the new proper value for the blog we&#039;re pulling from
&lt;code&gt;$old_option = get_option(&#039;home&#039;);&lt;/code&gt;
&lt;code&gt;wp_cache_set(&#039;home&#039;, &#039;http://www.mysite.com/bob/&#039;, &#039;options&#039;);&lt;/code&gt;

loop over posts...

//Restore the original &#039;home&#039; option so any remaining links render correctly
&lt;code&gt;wp_cache_set(&#039;home&#039;, $old_option, &#039;options&#039;);&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Hi Stephen,</p>
<p>In my I need to display the most recent post from one blog, and then the last 5 posts from two other blogs, and this code seems to do the trick. I do this for each blog I am pulling from:</p>
<p>//map the wpdb table names with the new prefix<br />
<code><br />
$blog_prefix = 'bob_';<br />
global $wpdb;<br />
$wpdb-&gt;prefix = $blog_prefix;<br />
$wpdb-&gt;posts          = $wpdb-&gt;prefix . 'posts';<br />
$wpdb-&gt;users          = $wpdb-&gt;prefix . 'users';<br />
$wpdb-&gt;categories     = $wpdb-&gt;prefix . 'categories';<br />
$wpdb-&gt;post2cat       = $wpdb-&gt;prefix . 'post2cat';<br />
$wpdb-&gt;comments       = $wpdb-&gt;prefix . 'comments';<br />
$wpdb-&gt;link2cat       = $wpdb-&gt;prefix . 'link2cat';<br />
$wpdb-&gt;links          = $wpdb-&gt;prefix . 'links';<br />
$wpdb-&gt;options        = $wpdb-&gt;prefix . 'options';<br />
$wpdb-&gt;postmeta       = $wpdb-&gt;prefix . 'postmeta';<br />
$wpdb-&gt;usermeta       = $wpdb-&gt;prefix . 'usermeta';<br />
</code></p>
<p>//reload the query object with posts from new tables<br />
<code>query_posts('showposts=5');</code></p>
<p>//Permalinks and other post-related URLs are prepended with the value of the &#8216;home&#8217; option<br />
//so we need to override this with the new proper value for the blog we&#8217;re pulling from<br />
<code>$old_option = get_option('home');</code><br />
<code>wp_cache_set('home', 'http://www.mysite.com/bob/', 'options');</code></p>
<p>loop over posts&#8230;</p>
<p>//Restore the original &#8216;home&#8217; option so any remaining links render correctly<br />
<code>wp_cache_set('home', $old_option, 'options');</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Wolf Leonard</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-774</link>
		<dc:creator>Wolf Leonard</dc:creator>
		<pubDate>Sun, 18 Nov 2007 03:15:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-774</guid>
		<description>Stephen :   Thanks for your comments in #91 to my scenario in #89.   We were both right. 

In synch with your advice, I pursued the symlink scenario with HostGator and the great guys there worked overtime to figure out that Allen Gurrea&#039;s symlink instruction wasn&#039;t quite right, at least on their server.   

I was on target with the thought that something minor such as a missing space or something-or-other could make all the difference in the world.    For my situation, it was a missing forward slash.

Allen&#039;s pHp symlink script &quot;home/user/public_html/cat&quot; didn&#039;t work for me until we added a forward slash upfront to make it &quot;/home/user/public_html/cat&quot;.    

Something just that simple ripped more time out of my hide than I want to think about, but it appears to have resolved the issue.   So everything looks good and I&#039;m moving forward.

Thanks for your innovative work and the opportunity to post here.</description>
		<content:encoded><![CDATA[<p>Stephen :   Thanks for your comments in #91 to my scenario in #89.   We were both right. </p>
<p>In synch with your advice, I pursued the symlink scenario with HostGator and the great guys there worked overtime to figure out that Allen Gurrea&#8217;s symlink instruction wasn&#8217;t quite right, at least on their server.   </p>
<p>I was on target with the thought that something minor such as a missing space or something-or-other could make all the difference in the world.    For my situation, it was a missing forward slash.</p>
<p>Allen&#8217;s pHp symlink script &#8220;home/user/public_html/cat&#8221; didn&#8217;t work for me until we added a forward slash upfront to make it &#8220;/home/user/public_html/cat&#8221;.    </p>
<p>Something just that simple ripped more time out of my hide than I want to think about, but it appears to have resolved the issue.   So everything looks good and I&#8217;m moving forward.</p>
<p>Thanks for your innovative work and the opportunity to post here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Strider</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-773</link>
		<dc:creator>Strider</dc:creator>
		<pubDate>Sat, 17 Nov 2007 21:52:21 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-773</guid>
		<description>I&#039;ve been trying to get a list of pages that combines the pages of multiple blogs.  WordPress appears to cache $wpdb in some way I can&#039;t figure out, so no luck so far.  It sounds as though what you&#039;re trying is very similar, so let me know if you figure it out.</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been trying to get a list of pages that combines the pages of multiple blogs.  WordPress appears to cache $wpdb in some way I can&#8217;t figure out, so no luck so far.  It sounds as though what you&#8217;re trying is very similar, so let me know if you figure it out.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: chango</title>
		<link>http://striderweb.com/nerdaphernalia/2006/10/hello-again-world/comment-page-6/#comment-770</link>
		<dc:creator>chango</dc:creator>
		<pubDate>Fri, 16 Nov 2007 00:10:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.striderweb.com/nerdaphernalia/2006/10/hello-again-world/#comment-770</guid>
		<description>hello stephen, thanks for your great work here I&#039;ve already put it to great use. I also have a need to display content from multiple blogs on a single page and noticed you are working on a release to do just this. 

I haven&#039;t quite figured out the details, but am experimenting with rewriting the $wpdb table names with the correct prefix for the blog I am trying to query at that moment, retrieving the original query string, and then re-calling query_posts with it. I was wondering if you were doing something similar or found a more elegant solution?

Thanks, looking forward to your next release!</description>
		<content:encoded><![CDATA[<p>hello stephen, thanks for your great work here I&#8217;ve already put it to great use. I also have a need to display content from multiple blogs on a single page and noticed you are working on a release to do just this. </p>
<p>I haven&#8217;t quite figured out the details, but am experimenting with rewriting the $wpdb table names with the correct prefix for the blog I am trying to query at that moment, retrieving the original query string, and then re-calling query_posts with it. I was wondering if you were doing something similar or found a more elegant solution?</p>
<p>Thanks, looking forward to your next release!</p>
]]></content:encoded>
	</item>
</channel>
</rss>
