<?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/"
	>

<channel>
	<title>thedeadone.net &#187; tags</title>
	<atom:link href="http://thedeadone.net/tag/tags/feed/" rel="self" type="application/rss+xml" />
	<link>http://thedeadone.net</link>
	<description></description>
	<lastBuildDate>Tue, 14 Feb 2012 22:06:46 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>WordPress Tip: Get an RSS feed from a Tag and from a Search!</title>
		<link>http://thedeadone.net/blog/wordpress-tip-get-an-rss-feed-from-a-tag-and-from-a-search/</link>
		<comments>http://thedeadone.net/blog/wordpress-tip-get-an-rss-feed-from-a-tag-and-from-a-search/#comments</comments>
		<pubDate>Wed, 05 Mar 2008 05:30:10 +0000</pubDate>
		<dc:creator>Mark Cunningham</dc:creator>
				<category><![CDATA[Blog]]></category>
		<category><![CDATA[Search]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[Tip]]></category>
		<category><![CDATA[Wordpress]]></category>

		<guid isPermaLink="false">http://thedeadone.net/blog/wordpress-tip-get-an-rss-feed-from-a-tag-and-from-a-search/</guid>
		<description><![CDATA[While working on TDO-Forum, I had to generate a RSS feed for new &#8220;forum posts&#8221;, not just posts but posts and comments. So I was digging into the RSS feed code. And I discovered something kind of neat. I knew you get an RSS feed for posts with a specific tag in WordPress 2.3. I [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<!--INFOLINKS_ON-->
<p><p>While working on <a HREF="http://thedeadone.net/software/tdo-forum-wordpress-theme/">TDO-Forum</a>, I had to generate a RSS feed for new &#8220;forum posts&#8221;, not just posts but posts and comments. So I was digging into the RSS feed code. And I discovered something kind of neat.</p>
<p>I knew you get an <strong>RSS feed for posts with a specific tag in WordPress 2.3</strong>.  I used it on the <a HREF="http://thedeadone.net/software/tdo-mini-forms-wordpress-plugin/">TDO Mini-Forms plugin</a> as a news page. But did you know you can get <strong>an RSS feed for a search</strong> too? Neither the tag nor the search rss feed seem to be really support by template tags so you can&#8217;t really access them normally within a theme or from a WordPress enabled webpage.<br />
<span id="more-446"></span><br />
BTW If you have a site using FeedBurner to wrap RSS feeds and you are using <a HREF="http://www.feedburner.com/fb/a/help/wordpress_quickstart">FeedBurner FeedSmith plugin</a>, then this won&#8217;t work. This plugin will wrap your posts RSS feed and ignore tag and search distinctions. I did a bit of hacking in th version of this plugin I use on this site to make this post work.</p>
<p>To get an RSS feed for posts with a specific tag, go to the tag archive and, if the site is using fancy permalinks, add <em>&#8220;/feed/&#8221;</em> to the end of the url. If it&#8217;s not using fancy permalinks, add <em>&#8220;&amp;feed=rss2&#8243;</em> instead. You can tell a site is not using fancy permalinks if the tag archive URL is like this: <em>http://[site-url]/?tag=tag_slug</em> (i.e. it contains a &#8220;?&#8221;).</p>
<p>For example: the URL for any posts tagged with WordPress on this site is:</p>
<p><a HREF="http://thedeadone.net/tag/wordpress/">http://thedeadone.net/tag/wordpress/</a></p>
<p>The non-fancy-permalink version would be:</p>
<p><a HREF="http://thedeadone.net/?tag=wordpress">http://thedeadone.net/?tag=wordpress</a></p>
<p>Now to get an RSS feed for that tag you change the URL like this for fancy permalinks:</p>
<p><a HREF="http://thedeadone.net/tag/wordpress/feed">http://thedeadone.net/tag/wordpress/feed</a></p>
<p>Change the non-fancy permalink like this:</p>
<p><a HREF="http://thedeadone.net/?tag=wordpress&amp;feed=rss2">http://thedeadone.net/?tag=wordpress&amp;feed=rss2</a></p>
<p>For search, it&#8217;s slightly simpler  as there does not seem to be a fancy permalink for searches. So do a search for wordpress on my site (you can use the searchbox up there in the top). You&#8217;ll end up with a URL like this:</p>
<p><a HREF="http://thedeadone.net/?s=wordpress">http://thedeadone.net/?s=wordpress</a></p>
<p>Now just add <em>&#8220;&amp;feed=rss2&#8243;</em> to the end and you get a feed for any posts on my blog that mention wordpress.</p>
<p><a HREF="http://thedeadone.net/?s=wordpress&amp;feed=rss2">http://thedeadone.net/?s=wordpress&amp;feed=rss2</a></p>
<p>This feed will pick up any post I happen to mention the word &#8220;WordPress&#8221; in.</p>
<p>Quite neat isn&#8217;t it? Now if there was some proper template tags for these feeds I&#8217;m sure more themes would natively support them.</p>
<p>What&#8217;s the use of using a search rss feed over a tag rss feed? Well you want your blog posts the way you want to read them don&#8217;t you? For example, I do not always tag any post about TDOMF with TDOMF. I only tag thoses posts with TDOMF that are relevant to users of TDOMF. But you might want to know everything and anything about TDOMF, so you could use the search rss feed to keep up to date!<br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://thedeadone.net/blog/the-answer-to-my-question-wordpress-press-it-feature/' title='The answer to my question: WordPress &ldquo;Press It&rdquo; feature'>The answer to my question: WordPress &ldquo;Press It&rdquo; feature</a></li>
<li><a href='http://thedeadone.net/download/tdo-tag-fixes-wordpress-plugin/' title='TDO Tag Fixes WordPress Plugin (0.5)'>TDO Tag Fixes WordPress Plugin (0.5)</a></li>
<li><a href='http://thedeadone.net/blog/where-has-tdo-mini-forms-plugin-gone/' title='Where has TDO Mini Forms plugin gone?'>Where has TDO Mini Forms plugin gone?</a></li>
<li><a href='http://thedeadone.net/blog/pet-projects-tdo-mini-forms-and-forums/' title='Pet Projects, TDO-Mini-Forms and Forums'>Pet Projects, TDO-Mini-Forms and Forums</a></li>
<li><a href='http://thedeadone.net/blog/working-on-a-taxonomy-widget-for-tdo-mini-forms/' title='Working on a Taxonomy Widget for TDO Mini Forms'>Working on a Taxonomy Widget for TDO Mini Forms</a></li>
</ul>

<!--INFOLINKS_OFF-->
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://thedeadone.net/blog/wordpress-tip-get-an-rss-feed-from-a-tag-and-from-a-search/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>TDO Tag Fixes WordPress Plugin (0.5)</title>
		<link>http://thedeadone.net/download/tdo-tag-fixes-wordpress-plugin/</link>
		<comments>http://thedeadone.net/download/tdo-tag-fixes-wordpress-plugin/#comments</comments>
		<pubDate>Thu, 06 Dec 2007 14:02:41 +0000</pubDate>
		<dc:creator>Mark Cunningham</dc:creator>
				<category><![CDATA[Downloads]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[TDOTF]]></category>
		<category><![CDATA[Wordpress]]></category>
		<category><![CDATA[Wordpress-Plugins]]></category>

		<guid isPermaLink="false">http://thedeadone.net/software/tdo-tag-fixes-wordpress-plugin/</guid>
		<description><![CDATA[Download now from WordPress.org! Requires at least WordPress v and tested up to WordPress v. This plugin has been downloaded times. Related Posts: New Releases of TDO Mini Forms (0.12.3) and TDO Tag Fixes (0.5) avaliable&#8230; TDO Mini Forms WordPress Plugin (v0.13.9) WordPress Tip: Get an RSS feed from a Tag and from a Search! [...]]]></description>
			<content:encoded><![CDATA[
<!-- google_ad_section_start -->
<!--INFOLINKS_ON-->
<p><p><!-- TDO Tag Fixes WordPress Plugin (v0.5) --></p>
<p><strong><a href="http://downloads.wordpress.org/plugin/tdo-tag-fixes.0.5.zip">Download now from WordPress.org!</a></strong></p>
<p><small>Requires at least WordPress v2.3 and tested up to WordPress v2.5.1.</small></p>
<p>This plugin is simply intended as an example of how to implement tag and category intersections. However it has got a bit more feature-heavy recently. Please feel free to re-use the code in your plugin. <a href="http://boren.nu/archives/2007/10/01/taxonomy-intersections-and-unions/">This plugin is based on information found here.</a></p>

<p><strong>Version 0.5 enables true 'or' tag intersection when using a category. It wasn't working prior to this (and no-one noticed). Thanks to Joel Giddey for spotting it.</strong></p>

<p>Wordpress 2.3 introduced native tagging support, which is rather nifty.</p>

<p>But did you know that you can display multiple tags in the one archive and even generate a feed for that?</p>

<ul>
<li>"<code><a href="http://your-blog-uri/?tag=tag1,tag2" rel="nofollow">http://your-blog-uri/?tag=tag1,tag2</a></code>" this would get all the posts tagged with tag1 <strong>or</strong> tag2.</li>
<li>"<code><a href="http://your-blog-uri/?tag=tag1+tag2" rel="nofollow">http://your-blog-uri/?tag=tag1+tag2</a></code>" this would get all the posts tagged with tag1 <strong>and</strong> tag2</li>
<li>"<code><a href="http://your-blog-uri/?tag=tag1,tag2&#038;feed=rss" rel="nofollow">http://your-blog-uri/?tag=tag1,tag2&#038;feed=rss</a></code>" this would get you an RSS feed for all the posts tagged with tag1 or tag2</li>
</ul>

<p>Neat huh? But did you notice that on the generated tag page you see only one tag listed in the header? This function fixes that and displays all tags used to generate that tag archive. It does this by silently modifying the <code>single_tag_title</code> template tag. It'll even work on the RSS feed generated by that page!</p>

<p>What would be also be cool is to be able to intersect categories and tags so you could grab posts with tags from a specific category for example?</p>

<p>With this plugin you can. It's not perfect however. It only allows intersection between a single category and one or more tags. Technically Wordpress should be able to support multiple categories and tags intersections but it didn't work for me in Wordpress 2.3.x and 2.5.</p>

<p>So go to one of your category pages. If your using using fancy permalinks then at the end of the url add "<code>?tdo_tag=a_tag</code>". If your not using permalinks then you can just use "<code>&#38;tdo_tag=a_tag</code>". You must use the tag slug, not the full tag name. You can use multiple tags as above using "," and "+".</p>

<ul>
<li>Example not using fancy permalinks: "<code><a href="http://your-blog-uri/?cat=35&#038;tdo_tag=tag1,tag2" rel="nofollow">http://your-blog-uri/?cat=35&#038;tdo_tag=tag1,tag2</a></code>" this would get all posts in category with id 35 and tagged with either tag1 or tag2.</li>
<li>Example using fancy permalinks: "<code><a href="http://your-blog-uri/category/mycategory/?tdo_tag=tag1+tag2" rel="nofollow">http://your-blog-uri/category/mycategory/?tdo_tag=tag1+tag2</a></code>" this would get all posts in the category "mycategory" and tagged with both tag1 and tag2.</li>
</ul>

<p>This plugin uses this intersection code to automatically modify the built-in tag cloud template tag <code>wp_tag_cloud</code> so that if it is used on a category archive, it shows only the tags within that category. You can then click on a tag in that tag cloud and it will get the posts for in that category that tagged with that tag. (You can disable this and just use the specific template as you need).</p>
<p><small>This plugin has been downloaded 4,827 times.</small><br />
<h3 class='related_post_title'>Related Posts:</h3>
<ul class='related_post'>
<li><a href='http://thedeadone.net/blog/new-releases-tdomf-tdotf/' title='New Releases of TDO Mini Forms (0.12.3) and TDO Tag Fixes (0.5) avaliable&#8230;'>New Releases of TDO Mini Forms (0.12.3) and TDO Tag Fixes (0.5) avaliable&#8230;</a></li>
<li><a href='http://thedeadone.net/download/tdo-mini-forms-wordpress-plugin/' title='TDO Mini Forms WordPress Plugin (v0.13.9)'>TDO Mini Forms WordPress Plugin (v0.13.9)</a></li>
<li><a href='http://thedeadone.net/blog/wordpress-tip-get-an-rss-feed-from-a-tag-and-from-a-search/' title='Wordpress Tip: Get an RSS feed from a Tag and from a Search!'>WordPress Tip: Get an RSS feed from a Tag and from a Search!</a></li>
<li><a href='http://thedeadone.net/blog/use-wordpress-as-a-forum-powered-by-tdomf/' title='Use WordPress as a Forum (powered by TDOMF)!'>Use WordPress as a Forum (powered by TDOMF)!</a></li>
<li><a href='http://thedeadone.net/blog/the-ever-expanding-todo-list-for-tdo-mini-forms-plugin/' title='The ever-expanding TODO list for TDO Mini Forms plugin'>The ever-expanding TODO list for TDO Mini Forms plugin</a></li>
</ul>

<!--INFOLINKS_OFF-->
<!-- google_ad_section_end -->
]]></content:encoded>
			<wfw:commentRss>http://thedeadone.net/download/tdo-tag-fixes-wordpress-plugin/feed/</wfw:commentRss>
		<slash:comments>145</slash:comments>
		</item>
	</channel>
</rss>

