Thread View: news.software.readers
5 messages
5 total messages
Started by Nomen Nescio
Thu, 30 Dec 2010 17:11
[slrn] how do I write a script or macro to..
Author: Nomen Nescio
Date: Thu, 30 Dec 2010 17:11
Date: Thu, 30 Dec 2010 17:11
17 lines
1563 bytes
1563 bytes
Hi, I want to write a script or a macro, whichever is right to select articles in a newsgroup I am viewing based on header content and then save all the articles to a file and then do some process on it. For example suppose I am in news.software.readers and I want to select all the articles having a Message-ID that doesn't match googlegroups. Then I want to save all those articles in one file and then invoke a shell script to process that file. Would anyone be willing to give me some pointers in the right direction? I can write the shell script, but I don't know s-lang or slrn and I'm not sure where to get started. Thanks guys! Alan
Re: [slrn] how do I write a script or macro to..
Author: W. Citoan
Date: Thu, 30 Dec 2010 17:34
Date: Thu, 30 Dec 2010 17:34
30 lines
2694 bytes
2694 bytes
Nomen Nescio wrote: > > I want to write a script or a macro, whichever is right to select > articles in a newsgroup I am viewing based on header content and then > save all the articles to a file and then do some process on it. > > For example suppose I am in news.software.readers and I want to > select all the articles having a Message-ID that doesn't match > googlegroups. Then I want to save all those articles in one file and > then invoke a shell script to process that file. Would anyone be > willing to give me some pointers in the right direction? I can write > the shell script, but I don't know s-lang or slrn and I'm not sure > where to get started. The slrn macro page is a good starting point: http://slrn.sourceforge.net/macros.html You should also review other macros out there: http://cvs.pld-linux.org/cgi-bin/cvsweb/slrn-pl/macros/ However, depending upon what you are actually trying to do, there is another option. You can use a local newsspool (via slrnpool or other application) which will download the articles locally and then you can use a shell script (or other language you are already familiar with). http://slrn.sourceforge.net/docs/slrnpull/README - W. Citoan -- We give up the fort when there's not a man left to defend. -- [Captain] George Croghan
Re: [slrn] how do I write a script or macro to..
Author: Kulin Remailer
Date: Tue, 04 Jan 2011 08:15
Date: Tue, 04 Jan 2011 08:15
24 lines
2025 bytes
2025 bytes
> The slrn macro page is a good starting point: > http://slrn.sourceforge.net/macros.html Hi. I looked there before posting but it seems it only helps if you already have some experience with s-lang or slrn. > You should also review other macros out there: > http://cvs.pld-linux.org/cgi-bin/cvsweb/slrn-pl/macros/ Thanks I'll check. A how-to guide for getting started would be what I'm looking for but maybe there isn't one. > However, depending upon what you are actually trying to do, there is > another option. You can use a local newsspool (via slrnpool or other > application) which will download the articles locally and then you can > use a shell script (or other language you are already familiar with). > http://slrn.sourceforge.net/docs/slrnpull/README I used to use slrnpull but it wasn't flexible enough and caused alot of problems with more than one server. Thanks for the info. Happy New Year to the slrn-ers!
Re: [slrn] how do I write a script or macro to..
Author: Whiskers
Date: Tue, 04 Jan 2011 16:06
Date: Tue, 04 Jan 2011 16:06
22 lines
2339 bytes
2339 bytes
On 2011-01-04, Kulin Remailer <remailer@reece.net.au> wrote: [...] > I used to use slrnpull but it wasn't flexible enough and caused alot of > problems with more than one server. > > Thanks for the info. Happy New Year to the slrn-ers! Noffle and Leafnode are simple 'local caching proxy news-servers' that work well with slrn (or any other NNTP client) and multiple upstream servers. Leafnode's spool is in the form of individual files and folders, easily accessible to basic Unix/Linux file managers and other tools, whereas Noffle uses a 'database' file system but does include some tools for managing messages and groups. I've used both; currently I'm using Leafnode 2. Other interesting server-type things are available; see <http://www.newsreaders.com/unix/servers.html>. -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] how do I write a script or macro to..
Author: Andrew
Date: Thu, 06 Jan 2011 00:03
Date: Thu, 06 Jan 2011 00:03
13 lines
1591 bytes
1591 bytes
On 4 Jan 2011 08:15:17 -0000, Kulin Remailer <remailer@reece.net.au> wrote: > Hi. I looked there before posting but it seems it only helps if you already > have some experience with s-lang or slrn. I would dearly love to add a bit more information to that page on writing macros but I personally lack the knowledge :'(. Andrew -- Do you think that's air you're breathing?
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