{"action":"created","issue":{"url":"https://api.github.com/repos/memberful/memberful-wp/issues/131","labels_url":"https://api.github.com/repos/memberful/memberful-wp/issues/131/labels{/name}","comments_url":"https://api.github.com/repos/memberful/memberful-wp/issues/131/comments","events_url":"https://api.github.com/repos/memberful/memberful-wp/issues/131/events","html_url":"https://github.com/memberful/memberful-wp/issues/131","id":68719573,"number":131,"title":"Private User RSS Feeds","user":{"login":"dstrojny","id":427900,"avatar_url":"https://avatars.githubusercontent.com/u/427900?v=3","gravatar_id":"","url":"https://api.github.com/users/dstrojny","html_url":"https://github.com/dstrojny","followers_url":"https://api.github.com/users/dstrojny/followers","following_url":"https://api.github.com/users/dstrojny/following{/other_user}","gists_url":"https://api.github.com/users/dstrojny/gists{/gist_id}","starred_url":"https://api.github.com/users/dstrojny/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dstrojny/subscriptions","organizations_url":"https://api.github.com/users/dstrojny/orgs","repos_url":"https://api.github.com/users/dstrojny/repos","events_url":"https://api.github.com/users/dstrojny/events{/privacy}","received_events_url":"https://api.github.com/users/dstrojny/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/memberful/memberful-wp/labels/Feature","name":"Feature","color":"444444"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-15T15:56:56Z","updated_at":"2015-04-15T16:47:32Z","closed_at":null,"body":"## Overview\r\n\r\nWordPress Users with specified Memberful Subscription Plan(s) will get a **full user specific RSS feed (all posts)** with the default WordPress RSS formatting. This should be a **completely custom RSS feed**, as the plugin already hides parts of protected posts from the default RSS feed. We also want to avoid collisions with a WordPress theme that may be modifying the default RSS feed to exclude certain posts.\r\n\r\n## Scope\r\n\r\n1. Functionality to be included in the [Memberful WP plugin](https://github.com/memberful/memberful-wp) under a new tab on the existing Settings page labeled **RSS Feed**.\r\n2. From the RSS Feed tab on the Settings page, the admin chooses specific Memberful Subscription Plans required for access (re-use the plan selector found elsewhere in the plugin).\r\n3. If the WordPress user has the specified access[[1]]( https://memberful.com/help/integrate/services/wordpress/wordpress-functions/) as detailed in the previous step, generate a custom RSS feed for that user[[2]](http://wordpress.stackexchange.com/questions/46074/allow-users-to-create-their-own-feed-from-selected-categories) that has been hashed[[3]](https://github.com/adamfranco/private-feed-keys/blob/master/private-feed-keys.php) (so it isn’t guessable).\r\n4. Provide a function for outputting the private user RSS Feed URL in a WordPress template and provide a shortcode for outputting it in a post or page. If the user doesn’t have access the function and the shortcode should instead display “You don’t have access to this RSS feed.” Display the function code and the shortcode in a note in the RSS Feed tab for convenience (I will style this).\r\n\r\n## Important condition!\r\n\r\nWhen the `is_subscribed_to_memberful_plan( $slug )` condition changes to false for that user (which will happen periodically), **the RSS feed should no longer work**. If it changes back to true, **the RSS feed should work again**. It’s not good enough just to hide the unique Feed URL if the condition is false, the feed **must also stop working** as the user will have already added the URL to their RSS reader."},"comment":{"url":"https://api.github.com/repos/memberful/memberful-wp/issues/comments/93482573","html_url":"https://github.com/memberful/memberful-wp/issues/131#issuecomment-93482573","issue_url":"https://api.github.com/repos/memberful/memberful-wp/issues/131","id":93482573,"user":{"login":"monkbent","id":740683,"avatar_url":"https://avatars.githubusercontent.com/u/740683?v=3","gravatar_id":"","url":"https://api.github.com/users/monkbent","html_url":"https://github.com/monkbent","followers_url":"https://api.github.com/users/monkbent/followers","following_url":"https://api.github.com/users/monkbent/following{/other_user}","gists_url":"https://api.github.com/users/monkbent/gists{/gist_id}","starred_url":"https://api.github.com/users/monkbent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/monkbent/subscriptions","organizations_url":"https://api.github.com/users/monkbent/orgs","repos_url":"https://api.github.com/users/monkbent/repos","events_url":"https://api.github.com/users/monkbent/events{/privacy}","received_events_url":"https://api.github.com/users/monkbent/received_events","type":"User","site_admin":false},"created_at":"2015-04-15T16:47:32Z","updated_at":"2015-04-15T16:47:32Z","body":"Looks good"}}