{"action":"created","issue":{"url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/23","repository_url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server","labels_url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/23/comments","events_url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/23/events","html_url":"https://github.com/jackjamieson2/yarns-microsub-server/issues/23","id":356929170,"node_id":"MDU6SXNzdWUzNTY5MjkxNzA=","number":23,"title":"Search for RSS feeds directly","user":{"login":"jackjamieson2","id":12275399,"node_id":"MDQ6VXNlcjEyMjc1Mzk5","avatar_url":"https://avatars2.githubusercontent.com/u/12275399?v=4","gravatar_id":"","url":"https://api.github.com/users/jackjamieson2","html_url":"https://github.com/jackjamieson2","followers_url":"https://api.github.com/users/jackjamieson2/followers","following_url":"https://api.github.com/users/jackjamieson2/following{/other_user}","gists_url":"https://api.github.com/users/jackjamieson2/gists{/gist_id}","starred_url":"https://api.github.com/users/jackjamieson2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackjamieson2/subscriptions","organizations_url":"https://api.github.com/users/jackjamieson2/orgs","repos_url":"https://api.github.com/users/jackjamieson2/repos","events_url":"https://api.github.com/users/jackjamieson2/events{/privacy}","received_events_url":"https://api.github.com/users/jackjamieson2/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-04T18:39:42Z","updated_at":"2018-10-19T19:10:56Z","closed_at":null,"author_association":"OWNER","body":"When adding a feed, if the user searches for an rss feed directly (e.g. searches for https://www.thestar.com/feeds.articlestopstories.rss instead of simply https://www.thestar.com/), it doesn't work.\r\n\r\nThis is because the search function checks for feeds on the page, but does not recognize rss feeds themselves. \r\n\r\nAn easy thing to fix, just add a check if the URL itself is an rss/atom/xml feed, and if so return it directly "},"comment":{"url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/comments/431467897","html_url":"https://github.com/jackjamieson2/yarns-microsub-server/issues/23#issuecomment-431467897","issue_url":"https://api.github.com/repos/jackjamieson2/yarns-microsub-server/issues/23","id":431467897,"node_id":"MDEyOklzc3VlQ29tbWVudDQzMTQ2Nzg5Nw==","user":{"login":"jackjamieson2","id":12275399,"node_id":"MDQ6VXNlcjEyMjc1Mzk5","avatar_url":"https://avatars2.githubusercontent.com/u/12275399?v=4","gravatar_id":"","url":"https://api.github.com/users/jackjamieson2","html_url":"https://github.com/jackjamieson2","followers_url":"https://api.github.com/users/jackjamieson2/followers","following_url":"https://api.github.com/users/jackjamieson2/following{/other_user}","gists_url":"https://api.github.com/users/jackjamieson2/gists{/gist_id}","starred_url":"https://api.github.com/users/jackjamieson2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jackjamieson2/subscriptions","organizations_url":"https://api.github.com/users/jackjamieson2/orgs","repos_url":"https://api.github.com/users/jackjamieson2/repos","events_url":"https://api.github.com/users/jackjamieson2/events{/privacy}","received_events_url":"https://api.github.com/users/jackjamieson2/received_events","type":"User","site_admin":false},"created_at":"2018-10-19T19:10:56Z","updated_at":"2018-10-19T19:10:56Z","author_association":"OWNER","body":"Since I switched from file_get_contents to wp_remote_get, I should be able to do this easily by simply getting the `header-> content-type` .  See https://codex.wordpress.org/Function_Reference/wp_remote_post"}}
{"actor":{"display_login":"jackjamieson2"}}