Skip to content
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

Open
pjhfggij opened this issue Jul 3, 2024 · 3 comments
Open

https://archlinux.org/feeds/news doesn't work #519

pjhfggij opened this issue Jul 3, 2024 · 3 comments

Comments

@pjhfggij
Copy link

pjhfggij commented Jul 3, 2024

there is something wrong with https://archlinux.org/feeds/news
curl https://archlinux.org/feeds/news returns nothing
curl -L https://archlinux.org/feeds/news gets correct .rss feed

this doesn't show any entries

(setq elfeed-feeds (quote (
                           ("https://archlinux.org/feeds/news" linux)
                           )))

I thought that elfeed out of the box follows redirects?

@skeeto
Copy link
Owner

skeeto commented Jul 3, 2024 via email

@pjhfggij
Copy link
Author

pjhfggij commented Jul 4, 2024

@skeeto thank you, I haven't thought about that. You are right that curl https://archlinux.org/feeds/news/ works fine when / is added at end.

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.

@pjhfggij
Copy link
Author

pjhfggij commented Oct 1, 2024

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:

[2024-10-01 20:31:46] [info]: Elfeed update: October  1 2024 20:31:46 BST

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants