{"action":"created","issue":{"url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/6","labels_url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/6/comments","events_url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/6/events","html_url":"https://github.com/remyhonig/elfeed-org/issues/6","id":53250844,"number":6,"title":"Doesn't filter trees with `:ID: elfeed` property","user":{"login":"leafac","id":586813,"avatar_url":"https://avatars.githubusercontent.com/u/586813?v=3","gravatar_id":"","url":"https://api.github.com/users/leafac","html_url":"https://github.com/leafac","followers_url":"https://api.github.com/users/leafac/followers","following_url":"https://api.github.com/users/leafac/following{/other_user}","gists_url":"https://api.github.com/users/leafac/gists{/gist_id}","starred_url":"https://api.github.com/users/leafac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafac/subscriptions","organizations_url":"https://api.github.com/users/leafac/orgs","repos_url":"https://api.github.com/users/leafac/repos","events_url":"https://api.github.com/users/leafac/events{/privacy}","received_events_url":"https://api.github.com/users/leafac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/remyhonig/elfeed-org/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-01-02T12:42:53Z","updated_at":"2015-04-09T15:54:08Z","closed_at":"2015-04-09T15:54:08Z","body":"I have the following Org file:\r\n\r\n```\r\n* I should not be fetched, but am:\r\n** http://example.com\r\n* I'm fetched just fine\r\n  :PROPERTIES:\r\n  :ID:       elfeed\r\n  :END:\r\n** http://gdata.youtube.com/feeds/base/users/portadosfundos/uploads?alt=rss&v=2&orderby=published&client=ytapi-youtube-profile\r\n```\r\n\r\nFrom what I understand, only the second link should be added to elfeed's list. But that's not what happens. In fact, elfeed tries to fetch the first link and fails with `Elfeed update failed for http://example.com: (error XML: (Well-Formed) Invalid character)`.\r\n\r\n[Org Mode manual](http://orgmode.org/manual/Special-properties.html#Special-properties) states that `:ID:` is a special property key and should not be used. Maybe that has to do with the error.\r\n\r\n---\r\n\r\nI'm new to Elisp, so I'm having trouble to debug this myself. But I would love to help fixing the issue.\r\n\r\nOther than this, I'm looking forward into using this extension to elfeed!\r\n\r\nBest."},"comment":{"url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/comments/91271103","html_url":"https://github.com/remyhonig/elfeed-org/issues/6#issuecomment-91271103","issue_url":"https://api.github.com/repos/remyhonig/elfeed-org/issues/6","id":91271103,"user":{"login":"leafac","id":586813,"avatar_url":"https://avatars.githubusercontent.com/u/586813?v=3","gravatar_id":"","url":"https://api.github.com/users/leafac","html_url":"https://github.com/leafac","followers_url":"https://api.github.com/users/leafac/followers","following_url":"https://api.github.com/users/leafac/following{/other_user}","gists_url":"https://api.github.com/users/leafac/gists{/gist_id}","starred_url":"https://api.github.com/users/leafac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/leafac/subscriptions","organizations_url":"https://api.github.com/users/leafac/orgs","repos_url":"https://api.github.com/users/leafac/repos","events_url":"https://api.github.com/users/leafac/events{/privacy}","received_events_url":"https://api.github.com/users/leafac/received_events","type":"User","site_admin":false},"created_at":"2015-04-09T15:54:08Z","updated_at":"2015-04-09T15:54:08Z","body":"I'm going to close this issue for two reasons:\r\n\r\n1. You said you're going to rewrite elfeed-org so this would be out of scope.\r\n2. I'm no longer using elfeed-org. What I have instead is an entry like the\r\n   following in the middle of a huge Org mode file:\r\n\r\n   ```org\r\n   *** Feeds\r\n       :PROPERTIES:\r\n       :CATEGORY: feeds\r\n       :END:\r\n   **** Category\r\n   ***** http://example.com/feed\r\n   ***** http://example.com/other-feed\r\n   ***** Sub category\r\n   ****** http://example.com/yet-other-feed\r\n   ...\r\n   ```\r\n\r\n   Then, I setup the `elfeed-feeds` variable with the following Emacs Lisp code\r\n   that I load on startup:\r\n\r\n   ```elisp\r\n   (require 'dash)\r\n   (require 'url-parse)\r\n   (require 'org)\r\n\r\n   (defun leafac-elfeed-update-feeds ()\r\n     \"Update the `elfeed-feeds' variable based on a feed list kept\r\n   in a Org Mode file.\"\r\n     (interactive)\r\n     (setq elfeed-feeds\r\n           (--filter (url-type (url-generic-parse-url it))\r\n                     (org-map-entries\r\n                      '(org-get-heading t t)\r\n                      \"CATEGORY=\\\"feeds\\\"\" 'agenda))))\r\n\r\n   (leafac-elfeed-update-feeds)\r\n   ```\r\n\r\n   If I change the feed list and want to see the update right away, I just call\r\n   `leafac-elfeed-update-feeds` by hand.\r\n\r\nThanks for your project and the inspiration!"}}