Thread View: news.software.readers
1 messages
1 total messages
Started by Sabahattin Gucukoglu
Mon, 14 Jul 2008 00:20
Pull News To Mail
Author: Sabahattin Gucukoglu
Date: Mon, 14 Jul 2008 00:20
Date: Mon, 14 Jul 2008 00:20
61 lines
4267 bytes
4267 bytes
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi all, I have written a tool to send news by mail. It's written in Tcl and you can fetch it from here: http://sabahattin-gucukoglu.com/newsfetch It's sufficiently small that writing it was neither troublesome nor unrewarding. It works on all platforms and it's fast. Here's a surprisingly related thread: http://tinyurl.com/5h7vnv Now, I want to go the other way: to put unique news articles sucked from a news server (identified uniquely by Message-ID fields) for specified groups into some sort of mail store or for posting to lists, by injecting them into the stdin of some responsible process (maildrop, for instance). The useful advantage of a mail store is that one gains all the benefits of IMAP, and all of the filtering, tools and features of all of the email filters and clients that can use either IMAP or the store that the IMAP server is using. (Making easy stuff hard, you see. :-) ) I've looked at the big, bloated options. In particular, suck and inn. I've tried to repurpose tools like fetchnews in leafnode, but it's hopeless. Wherever I look, I find the tools written for fetching articles are all purpose-built. I'd hate to write the program myself if I could avoid duplicating effort, mostly because of details of the implementation in Tcl that would make the script decidedly less portable and decidedly more unwieldy. I will, if it comes to it, but it'll take more thought than for newspost to get it all right. (Currently, an "xhdr message-id 1-" on each group followed by "article msgid" on not-seen articles should be all that's needed.) Does anybody have last thoughts on a convenient way to fetch news articles separately into the stdin of subprocesses? That's all I need. I can work out how to store articles, or how to separate articles for each group (which could include not downloading duplicate articles that were crossposted) later. Cheers, Sabahattin - -- Sabahattin Gucukoglu <mail<at>sabahattin<dash>gucukoglu<dot>com> Address harvesters, snag this: feedme@yamta.org Phone: +44 20 88008915 Mobile: +44 7986 053399 http://sabahattin-gucukoglu.com/ -----BEGIN PGP SIGNATURE----- Version: PGP 8 Comment: QDPGP - http://community.wow.net/grt/qdpgp.html iQA/AwUBSHqbyyNEOmEWtR2TEQIe7QCaA4XNXkEmPZSV3kQFp6SemhOAcT4AoLxd ozURe0yc3jmvEt0uavQ7NfzA =eAJx -----END PGP SIGNATURE-----
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads