Gfp <[email protected]> writes:
> I wanted to create a new rss group
>
> https://planet.guix.gnu.org/
>
> and I added that on gwene.
>
> This group name is already in use for
> https://planet.guix.gnu.org/atom.xml.
>
> but in gnus
> foreign groups
> rss group
>
> it does not allow me to add this group
>
> „wrong type argument listp, html“
>
> what does that mean?
>
1. Restating the problem, after starting gnus, select from the menu:
Groups -> Foreign groups -> Make an RSS group
or, from the keyboard, type
G R
At the prompt "URL to Search for RSS: ", type
https://planet.guix.gnu.org
followed by RET (the Return/Enter key). The error message
displayed is:
Wrong type argument: listp, html
This is because the URL did not contain the trailing text
"atom.xml".
If we type G R a second time and add "atom.xml" to the URL:
https://planet.guix.gnu.org/atom.xml
then Emacs responds with:
No feeds found for https://planet.guix.gnu.org/atom.xml
So, Gnus does not recognize the URL as an RSS feed.
2. Check to see whether your URL is a valid RSS feed using:
https://www.rssboard.org/rss-validator/
When https://planet.guix.gnu.org/atom.xml is entered into
the RSS validator tool, it reports:
"This is a valid Atom 1.0 feed."
It is not an RSS feed, but it is an Atom feed. So, you
will need to use Gnus support for Atom feeds instead of its
support for RSS feeds. Evaluate the following expression in
Emacs in order to read the Gnus manual section on reading an
Atom feed:
(info "(gnus) Atom")
Using the instructions there, we have the following steps
to read an Atom feed:
a. M-x gnus
b. In the *Group* buffer, type B to invoke the command
‘gnus-group-browse-foreign-server’.
c. At the prompt
Which back end: nntp
delete ‘nntp’ and enter ‘nnatom’
d. At the prompt
Address:
enter the URL, but without "http://" or "https://":
Address: planet.guix.gnu.org/atom.xml
Emacs responds with three messages:
Contacting host: planet.guix.gnu.org:443
Reading active file...done
Connecting to planet.guix.gnu.org/atom.xml...done
e. Emacs displays a buffer with the following name:
*Gnus Browse Server* {nnatom:planet.guix.gnu.org/atom.xml}
In this buffer is a single line with the text:
U 199: Planet Guixp
f. To subscribe to this new group:
menu -> Browse -> Toggle Subscribe
or type u
The next time you start Gnus, the
planet.guix.org/atom.xml group should be included in your
*Group* buffer
g. Press RET (Enter or Return key) to view the messages
in this new group.
3. Extra information about RSS groups.
Evaluate the following expression in Emacs to read about
RSS:
(info "(gnus) RSS")
This section contains the following example of an RSS
feed:
https://cliki.net/site/recent-changes
When this URL is entered into the RSS validator tool:
https://www.rssboard.org/rss-validator/
then the tool reports:
"This feed does not validate."
followed by several descriptive error messages. So the
example in the Gnus manual is neither a valid RSS feed
nor a valid Atom feed.
--
The lyf so short, the craft so long to lerne.
- Geoffrey Chaucer, The Parliament of Birds.