<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: [Plugin: Feed Key] adding key to ALL feeds</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: [Plugin: Feed Key] adding key to ALL feeds</description>
<language>en</language>
<pubDate>Tue, 24 Nov 2009 12:53:18 +0000</pubDate>

<item>
<title>thinky72 on "[Plugin: Feed Key] adding key to ALL feeds"</title>
<link>http://wordpress.org/support/topic/229593#post-1234532</link>
<pubDate>Sun, 04 Oct 2009 12:25:57 +0000</pubDate>
<dc:creator>thinky72</dc:creator>
<guid isPermaLink="false">1234532@http://wordpress.org/support/</guid>
<description>&#60;p&#62;hi woody3k&#60;/p&#62;
&#60;p&#62;intresting hack - but i didn´t figure out, in wich files i have to add your code ... can you give us a hint??&#60;/p&#62;
&#60;p&#62;regards&#60;br /&#62;
thinky
&#60;/p&#62;</description>
</item>
<item>
<title>woody3k on "[Plugin: Feed Key] adding key to ALL feeds"</title>
<link>http://wordpress.org/support/topic/229593#post-985859</link>
<pubDate>Sat, 14 Feb 2009 03:28:27 +0000</pubDate>
<dc:creator>woody3k</dc:creator>
<guid isPermaLink="false">985859@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hi,&#60;/p&#62;
&#60;p&#62;Had an idea on another method for adding the feedkey to any feed links for a currently logged in user. This code could be added to the feed-key.php plugin:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;function feedkey_feed_link($feed_link)
{
	global $current_user;

	$feedkey = get_usermeta($current_user-&#38;gt;ID,&#38;#39;feed_key&#38;#39;);
	$permalink_structure = get_option(permalink_structure);
	//Check if Permalinks are being used

	//If feed key is defined for this user
	if (is_user_logged_in() &#38;#38;&#38;#38; !empty($feedkey))
	{
		empty($permalink_structure) ? $feedjoin = &#38;#39;&#38;#38;feedkey=&#38;#39; : $feedjoin = &#38;#39;?feedkey=&#38;#39;;
		$output = $feed_link.$feedjoin.$feedkey;
	}
	else
		$output = $feed_link;

	return $output;
}

add_action(&#38;#39;feed_link&#38;#39;, &#38;#39;feedkey_feed_link&#38;#39;, 10, 1);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Hooking this action means that the rss link is updated whenever it is added to a page. It works with/without permalinks, and for the basic feed query strings - eg. 'rss2_url' or 'comments_rss2_url', but I haven't tested it against more complex rss query strings.
&#60;/p&#62;</description>
</item>
<item>
<title>nemoprincess on "[Plugin: Feed Key] adding key to ALL feeds"</title>
<link>http://wordpress.org/support/topic/229593#post-974326</link>
<pubDate>Tue, 03 Feb 2009 08:39:38 +0000</pubDate>
<dc:creator>nemoprincess</dc:creator>
<guid isPermaLink="false">974326@http://wordpress.org/support/</guid>
<description>&#60;p&#62;This is my code to retrieve feedkey from wordpress db for logged user:&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;&#38;lt;a href=&#38;quot;
&#38;lt;?php
	global $current_user;
	$feedvalue = $wpdb-&#38;gt;get_var(&#38;quot;SELECT meta_value FROM $wpdb-&#38;gt;usermeta WHERE user_id=&#38;#39;$current_user-&#38;gt;ID&#38;#39; AND meta_key=&#38;#39;feed_key&#38;#39;&#38;quot;);

	echo (get_bloginfo(&#38;#39;url&#38;#39;).(&#38;quot;?feed=rss2&#38;#38;feedkey=&#38;quot;).($feedvalue));?&#38;gt;&#38;quot;&#38;gt;Post RSS Feed&#38;lt;/a&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;If it can be helpful
&#60;/p&#62;</description>
</item>
<item>
<title>thinky72 on "[Plugin: Feed Key] adding key to ALL feeds"</title>
<link>http://wordpress.org/support/topic/229593#post-940263</link>
<pubDate>Tue, 30 Dec 2008 14:51:14 +0000</pubDate>
<dc:creator>thinky72</dc:creator>
<guid isPermaLink="false">940263@http://wordpress.org/support/</guid>
<description>&#60;p&#62;hi hami,&#60;br /&#62;
you are doing great work with your plugins. i mentioned lately when using members-only and feed-key, that the feed-key is not implemented in all rss-feeds that are offered ... actually it would be useful, when the feed-key is automaticalli added to ALL or maybe to selectable categories or elements (eg. the status-bar ... )
&#60;/p&#62;</description>
</item>

</channel>
</rss>
