Folks,
I've just submited a new version of usenet handler to David. Hopefully
it will be available for download soon. This version has a number of
new features, which I thought were lacking and that I hope you'll
like. Because of that there are a couple minor but neccessary non-backward
compatibilites. I've list them all below. Also with gracious agreement
of the original author I'll take over maintance of this handler as he
is no longer using Newsclipper at the moment. So if you have any
problems with this new version or suggestions on the features to add
(or remove :-) let me know.
New Features:
- "since" attribute specifies time from which to start retrieving
articles, instead of all articles.
- Outputs Array of hashes intstead of Array Of links. Allows easier
formatting.
- Hash contains the following fields: msgid,refs,date,author,article
article text is optional if "articles" attribute is specified. This has
performance implication, so use only with small "since" attribute.
- filter that converts ArrayOfUsenetHash into a Thread structure.
Example:
<filter name=usenet filter=hash2string
format='<b>Subject:</b>%{subject}<br><b>From:</b>
%{author}<br><b>Date:</b>%{date}<br><pre>%{article}</pre><br>'>
Backward-Compatibility Issues:
- Requires "Time::ParseDate".
- Outputs Array of hashes intstead of Array Of links. If you modified
output and/or filter the result you will need to insert the following
filter after the input:
<filter name=map filter=hash2string
format='<a href="news://%{msgid}">%{subject}</a>'>
To get exactly the original output. [Note the original default
didn't work for netscape]
- Default format is changed have "news" name for the server so that
the default link works on Netscape. (news://news/<msgid>) You can
substitute with any server name in your own custom hash2string filter.
- "refs" attribute now _really_ works. It was broken. So default
refs=0 will now be enforced and you will really get only the thread start.
-Vadim
-
If you would like to unsubscribe from this mailing list send an email to
[EMAIL PROTECTED] with the body "unsubscribe newsclipperlist
YOUR_EMAIL_ADDRESS" (without the quotes) or use the form provided at
http://www.NewsClipper.com/TechSup.htm#MailingList.