<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">I'd recommend using the Sitewide Tags plugin (<a href="http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/">http://wordpress.org/extend/plugins/wordpress-mu-sitewide-tags/</a>) to create a Tags blog. This will, essentially, repost every public post in one place, maintaining information about the original author and permalink. Then you can grab a feed of the tag/category from the Tags blog. We use this at UMW to aggregate posts from around our entire multisite installation that use a particular course tag/category. <div><br></div><div><div>Beware of the switch_to_blog function -- it's all but deprecated and can cause performance issues. </div><div><br></div><div>HTH,</div><div>Martha</div><div><br></div><div><br></div><div><br><div><div>On Sep 28, 2012, at 8:50 AM, Jonathan Cox wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Check out <a href="http://codex.wordpress.org/Function_Reference/switch_to_blog">http://codex.wordpress.org/Function_Reference/switch_to_blog</a> and <a href="http://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters">http://codex.wordpress.org/Class_Reference/WP_Query#Tag_Parameters</a><br><br>I'd do something like<br><br>foreach ( $blog_ids as $blog ) :<br> switch_to_blog( $blog );<br> $the_query = new WP_Query( 'tag=whatever-tag' );<br> while ( $the_query->have_posts() ) :<br> $the_query->the_post();<br> sprintf( '<h1><a href="%s">%s</a></h1>', get_permalink(), get_the_title() );<br><span class="Apple-tab-span" style="white-space:pre">        </span>// more the_loop stuff here if you want<br> endwhile;<br>endforeach;<br><br>The initial blog would need to be restored after the foreach block, but I can't say offhand if restore_current_blog() will restore it or the penultimate blog.<br><br>It obviously becomes less efficient the more blogs you switch to and the more posts you pull.<br><br>Jonathan Cox<br>VCU Webmaster<br>Technology Services<br>(804) 827-0067<br><br>On Sep 27, 2012, at 10:18 AM, Grogan, David wrote:<br><br><blockquote type="cite">Hello all,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Does anyone have a solution for this use case?<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Given a subset of sites in our multi-site instance of WordPress, list the posts across those sites that have been specific tag or category.<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Thanks,<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">David<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">--------------------------------------------------------------<br></blockquote><blockquote type="cite">David Grogan<br></blockquote><blockquote type="cite">Senior Solutions Specialist<br></blockquote><blockquote type="cite">Educational & Scholarly Technology Services (ESTS)<br></blockquote><blockquote type="cite">University Information Technology (UIT) Tufts University<br></blockquote><blockquote type="cite">108 Bromfield Rd <br></blockquote><blockquote type="cite">Somerville, MA 02144<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">Phone: 617.627.2859<br></blockquote><blockquote type="cite">Fax: 617.627.3082<br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><a href="http://uit.tufts.edu/at/">http://uit.tufts.edu/at/</a><br></blockquote><blockquote type="cite"><a href="http://sites.tufts.edu/davidgrogan">http://sites.tufts.edu/davidgrogan</a><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite"><br></blockquote><blockquote type="cite">_______________________________________________<br></blockquote><blockquote type="cite">wp-edu mailing list<br></blockquote><blockquote type="cite"><a href="mailto:wp-edu@lists.automattic.com">wp-edu@lists.automattic.com</a><br></blockquote><blockquote type="cite"><a href="http://lists.automattic.com/mailman/listinfo/wp-edu">http://lists.automattic.com/mailman/listinfo/wp-edu</a><br></blockquote><br>_______________________________________________<br>wp-edu mailing list<br><a href="mailto:wp-edu@lists.automattic.com">wp-edu@lists.automattic.com</a><br>http://lists.automattic.com/mailman/listinfo/wp-edu<br></div></blockquote></div><br></div></div></body></html>