-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
https://archlinux.org/feeds/news doesn't work #519
Comments
The canonical URL has a slash at the end, and the server redirects you
there from the non-slash URL, which is why you need -L (--location). You
should use the canonical URL if you add it to Elfeed because it would be
slightly more efficient, but it's not required so long as they maintain
the redirect.
Either way it works for me any way I test it, so perhaps it's a local
configuration problem. Clone the repository and "make virtual" to get a
clean configuration with a temporary database, add this feed, and then
gradually introduce your real configuration until it stops working.
|
@skeeto thank you, I haven't thought about that. You are right that Sadly, I've used curl https://archlinux.org/feeds/news/ (with slash at the end) since the beginning (as that's how it's been published on archlinux website) and only changed it now when troubleshooting this issue. I can't remember sadly commands to restart doom emacs with minimal configuration. This is my entire elfeed-related configuration: (setq elfeed-feeds (quote (
("https://lwn.net/headlines/rss" linux)
("https://archlinux.org/feeds/news/" archlinux)
("https://rss.slashdot.org/Slashdot/slashdotMain" linux)
)))
(setq elfeed-goodies/entry-pane-size 0.7)
(use-package! elfeed-system-notifier
:defer t
:commands elfeed-notifier-mode)
(elfeed-notifier-mode)
(defun elfeed-desktop-notifications (entry)
"Parse and display new feeds as desktop notifications."
(alert (elfeed-deref (elfeed-entry-content entry))
:title (concat
(elfeed-feed-title (elfeed-deref (elfeed-entry-feed entry))) "\n"
(elfeed-deref (elfeed-entry-title entry))
)
;; :severity 'high
))
(add-hook! 'elfeed-new-entry-hook #'elfeed-desktop-notifications)
I can't think of a reason why all the other feeds would work except for archlinux' one, as if it was different for some reason. I've checked firewall just in case and there are no deny archlinux entries. |
Sorry for reviving an old thread, but would anyone have any idea how this could be solved? Unfortunately I'm using doom emacs which makes minimizing configuration prohibitively complicated. Are there no other methods to check any parsing errors within elfeed? I'm sure that it receives response from archilinux based on the elfeed-log, which further listed archlinux news:
|
there is something wrong with https://archlinux.org/feeds/news
curl https://archlinux.org/feeds/news
returns nothingcurl -L https://archlinux.org/feeds/news
gets correct .rss feedthis doesn't show any entries
I thought that elfeed out of the box follows redirects?
The text was updated successfully, but these errors were encountered: