From: jidanni@jidanni.org
To: tzz@lifelogs.com
Cc: ding@gnus.org
Subject: Re: nnrss-generate-download-script wrong-type-argument
Date: Mon, 15 Dec 2008 11:30:31 +0800 [thread overview]
Message-ID: <87d4fu5d48.fsf@jidanni.org> (raw)
In-Reply-To: <86bpvhqd24.fsf@lifelogs.com>
It turns out that often, one's nnrss-server-data has accrued several
junk groups that do not have exact matches in nnrss-group-alist.
This will cause nnrss-generate-download-script to fail mid-sentence
upon stumbling upon one.
It should be more cautious, and skip over such items.
Better yet, there should be a way for the user to clean out such
zombies the proper way (instead of doing surgery on whatever deep dark
files store them behind gnus' back.)
Proof:
(let ((nnrss-group-alist '(
("DreamHost Discussion Board POSTS" "http://discussion.dreamhost.com/feeds/all_posts.rss" "EVERY post on the DreamHost Discussion Board!")
("DreamHost Discussion Board" "http://discussion.dreamhost.com/feeds/all_threads.rss" "All threads on the DreamHost Discussion Board!")
("訂閱苦勞 性別 的文章" "http://www.coolloud.org.tw/tag/%E6%80%A7%E5%88%A5/feed" "次頁面的list - tag")
("DebCentral" "http://debcentral.org/backend.php" "The Center for all things Debian based")))
(nnrss-server-data
'(
("訂閱苦勞 性別 的文章" 116)
("DreamHost Discussion Board POSTS" 726)
("DreamHostDiscussion Board POSTS" 100) ;no corresponding entry. BOOM.
("DreamHost Discussion Board" 50)
("DebCentral" 25))))
(nnrss-generate-download-script)) ^X^E
#!/bin/sh
WGET=wget
RSSDIR='/home/jidanni/News/rss/'
$WGET -q -O "$RSSDIR"/'訂閱苦勞 性別 的文章.xml' 'http://www.coolloud.org.tw/tag/%E6%80%A7%E5%88%A5/feed'
$WGET -q -O "$RSSDIR"/'DreamHost Discussion Board POSTS.xml' 'http://discussion.dreamhost.com/feeds/all_posts.rss'
$WGET -q -O "$RSSDIR"/'DreamHostDiscussion Board POSTS.xml' '
next prev parent reply other threads:[~2008-12-15 3:30 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-12-12 1:22 jidanni
2008-12-12 21:49 ` Ted Zlatanov
2008-12-15 3:30 ` jidanni [this message]
2008-12-16 17:25 ` Ted Zlatanov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d4fu5d48.fsf@jidanni.org \
--to=jidanni@jidanni.org \
--cc=ding@gnus.org \
--cc=tzz@lifelogs.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).