[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

[ANN] fm.rb 0.5.0 - program to split fm newsletters

Josef 'Jupp' Schugt

5/1/2005 7:47:00 PM

Hi!

I am proud to announce the availability of fm.rb 0.5.0 (Shamshiel).

First of all (and to avoid that people are dissapointed because fm.rb
does not run on their system):

WHAT DOES FM.RB NEED?
=======================

While fm.rb is written so that from the side of Ruby you only need a
recent installation (i.e. version 1.8 or later) is sufficient, it
relies on external software that needs to be in place:

* To obtain the messages fm.rb requires an MDA (mail delivery
agent) that is capable of piping messages through external
programs. Alternatively you can store the message and pipe it
manually but that should be considered a last resort.

* fm.rb does logging so a Unix with syslog is needed.

* To deliver the messages a local mail server is needed.

The typical MDA is procmail so the web page explains how to use
fm.rb together with that program.

WHY HAS FM.RB BEEN WRITTEN?
=============================

I came across several programs for splitting these newsletters but
none of these seemed to fit my needs.

I wanted a program that creates an e-mail for every announcement and
article in the freshmeat newsletter and allows a mail program to
easily filter according to the category a program belongs to. I also
wanted that the mails are generated in such a way that
thread-enabled mail programs display releases of a certain program
as a thread.

In addition to this I wanted the program to be able to generate
messages in text/plain (Plain Text), text/html (Rich Text) and
multipart/alternative (Plain and Rich Text) format.

All these major goals have been achieved now so i guess it is time
for a public announcement. Follow details:

WHAT IS FM.RB GOOD FOR?
=========================

fm.rb parses FreshMeat newsletters, generates a mail for each item
of the article and the announcement section thereby generating some
useful message header fields and re-formatting the text so that is
better fits the needs of text mode mail user agents. It also adds
the declaration of the character set (Latin-1) that is missing in
the freshmeat newsletter.

The header fields generated are References and X-Trove-Category.

* The single References line allows modern mail user agents to
provide a thread view of all releases of a program. This even
works if the program name changes because fm.rb relies on
freshmeat's project URL that is not influenced by such a change
of name.

* The single X-License line (only present for announcements)
contains the license the program is released under.

* A X-Trove-Category line contains a software map category the
given program falls into. Mails concerning articles do not
contain this. Mails concerning software may contain many of
these fields, the presence of at least one is guaranteed. If the
project has not yet categorized itself the value "none provided"
is used. X-Trove-Category simplifies filtering the messages
according to the category the software belongs to.

A feature that has not originally been planned but that turned out
to be useful is that version 0.5.0 now is capable of hyperlinking
the trove categories that are provided to the corresponding
freshmeat URLs. A program that is capable of playing a CD is a
program from the "Multimedia" field, "Sound/Audio" category, "CD
Audio" subcategory, "CD Playing" section. Each part of the
categorization is hyperlinked to the corresponding freshmeat URL.
This makes it easier to look up similar applications at different
levels of similarity. Note that this feature is not available for
text/plain.

Another feature is that (for known licenses) a hyperlink to the
license is generated (for all versions).

When using HTML message parts the default format is such that the
message starts with a headline containing the full name of the
release that is hyperlinked to the corresponding freshmeat release
URL.

I hope I did not forget to mention any major feature of fm.rb :->

AVAILABILITY
==============

fm.rb is available at

http://dwd.da.ru/software/ru...

It took me quite some time to collect the URLs for the Licenses and
Trove Categories. Please report any problems with them ASAP to the
From of this message.

I use fm.rb on a daily basis; it seems not to contain any major bug
but if you find one please communicate it immediately.

Josef 'Jupp' Schugt

Follows sample message ('mononoke.linux.dd' is the local system's
domain - the 'dd' TLD should not be in use any more; it was assigned
to the former GDR):

> Received: from localhost.localdomain (mononoke.linux.dd [127.0.0.1])
> by mononoke.linux.dd (8.12.11/8.12.11) with ESMTP id j3ULPkFV013942
> for <jupp@localhost>; Sat, 30 Apr 2005 23:26:41 +0200
> Date: Sat, 30 Apr 2005 23:26:41 +0200
> X-Trove-Category: Communications :: Email :: Filters
> X-Trove-Category: Software Development :: Libraries :: Perl Modules
> Message-Id: <1114896401.47869-spamassassin-release-details-for-jupp@freshmeat.net>
> From: jupp@mononoke.linux.dd
> User-Agent: fm.rb 0.5.0 [Shamshiel; Plain Text]
> Subject: SpamAssassin 3.0.3
> X-License: The Apache License 2.0
> MIME-Version: 1.0
> Content-Transfer-Encoding: 8bit
> Content-Type: text/plain; charset=ISO-8859-1
>
> SpamAssassin is an extensible email filter that is used to identify
> spam. Once identified, the mail can then be optionally tagged as spam
> for later filtering. It provides a command line tool to perform
> filtering, a client-server system to filter large volumes of mail, and
> Mail::SpamAssassin, a set of Perl modules allowing SpamAssassin to be
> used in a wide variety of email systems.
>
> http://freshmeat.net/projects/spa...
>
> *CHANGES*
>
> This release fixes possible memory bloat from large AutoWhitelist db
> files. It fixes a bug where user defined rules scores became ignored.
> The parsing code for several Received: header formats has been updated.
> Some BAYES_* scores for the network+bayes score set have been increased.
> set_tag has been documented for the plugin API, and get_tag has been
> added. There are additional bugfixes.
>
> *LICENSE*
>
> The Apache License 2.0, see:
> http://www.apache.org/licenses/LICENS...


24 Answers

John R. Carroll

5/19/2007 12:47:00 AM

0

Deaf Power wrote:
> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
> again" <Global Warming k00k @ ELF.org> wrote:
>
>>
>> "Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>> news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>> Lowering Gas Prices
>>>
>>> House Democrats are committed to lowering gas prices to ease the
>>> burden on American families.
>> =================
>>
>> Is Pelosi going to investigate Democrast who are Jet Setting gas
>> guzzling hypocrits helping to drive Gas demand up even under higher
>> prices?
>
> Not just Democrats, but Republicans and the whole Bush admin, too.
>
> In addition, Congress should investigate Bush for breaking laws.

Investigate? He's admited eaxactly this on national television.
Pol Axe the bastard...



--
John R. Carroll
www.machiningsolution.com


Elwood P. Dowd

5/19/2007 1:03:00 AM

0


"Global Warming K00ks Gone Wild again" <Global Warming k00k @ ELF.org> wrote
in message news:464e45dd$0$28219$a82e2bb9@reader.athenanews.com...
>
> "Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
> news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>> Lowering Gas Prices
>>
>> House Democrats are committed to lowering gas prices to ease the burden
>> on American families.
> =================
>
> Is Pelosi going to investigate

If you took as much time to read the links as you do worshipping the Devils
on Fox Noise you wouldn't need to ask simpleminded questions that are
intended to parrot Karl "the double-chinned bend-over-boy" Rove.
republicans are negative, immature little whiners.


Elwood P. Dowd

5/19/2007 1:08:00 AM

0


"Deaf Power" <deaf@power.com> wrote in message
news:CLr3i.77475$vE1.14420@newsfe24.lga...
>
> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
> again" <Global Warming k00k @ ELF.org> wrote:
>
>>
>>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>> Lowering Gas Prices
>>>
>>> House Democrats are committed to lowering gas prices to ease the burden
>>> on
>>> American families.
>>=================
>>
>>Is Pelosi going to investigate Democrast who are Jet Setting gas guzzling
>>hypocrits helping to drive Gas demand up even under higher prices?
>
> Not just Democrats, but Republicans and the whole Bush admin, too.
>
> In addition, Congress should investigate Bush for breaking laws.
>
>
> --
> Impeach Bush!
> http://www.gnn.tv/articles/2791/Rep_McKinney_Files_Articles_of_I...

Nancy's had 6 months and has to deal with the
tantrums and thumbsucking children in the White House.


Elwood P. Dowd

5/19/2007 1:56:00 AM

0


"SyVyN11" <syvyn11@peoplepc.com> wrote in message
news:f2lk68$3ke$1@news.albasani.net...
>
> "Deaf Power" <deaf@power.com> wrote in message
> news:CLr3i.77475$vE1.14420@newsfe24.lga...
>>
>> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
>> again" <Global Warming k00k @ ELF.org> wrote:
>>
>>>
>>>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>>news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>>> Lowering Gas Prices
>>>>
>>>> House Democrats are committed to lowering gas prices to ease the burden
>>>> on
>>>> American families.
>>>=================
>>>
>>>Is Pelosi going to investigate Democrast who are Jet Setting gas guzzling
>>>hypocrits helping to drive Gas demand up even under higher prices?
>>
>> Not just Democrats, but Republicans and the whole Bush admin, too.
>>
>> In addition, Congress should investigate Bush for breaking laws.
>
> Sure, which laws did he break?
>
> list here please!

When The New York Times revealed that President George Bush had authorized
warrantless surveillance of Americans, the Bush administration reacted in
its usual manner: attack and then stage a public-relations campaign.

The attack was in the usual jingoistic mode, implying that both the Times
and its source, a whistle-blower at the National Security Agency, were
providing aid and comfort to the enemy and undermining the war on terror.

That's garbage, of course. Any terrorist with more than a two-digit IQ knows
that the NSA has the means to intercept any electronic communication.
Terrorists don't need to read the Times to figure that out.

The reason it is important for the American people to know is because the
president appears to have violated both the law and the Constitution.


SyVyN11

5/19/2007 2:33:00 AM

0


"Deaf Power" <deaf@power.com> wrote in message
news:CLr3i.77475$vE1.14420@newsfe24.lga...
>
> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
> again" <Global Warming k00k @ ELF.org> wrote:
>
>>
>>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>> Lowering Gas Prices
>>>
>>> House Democrats are committed to lowering gas prices to ease the burden
>>> on
>>> American families.
>>=================
>>
>>Is Pelosi going to investigate Democrast who are Jet Setting gas guzzling
>>hypocrits helping to drive Gas demand up even under higher prices?
>
> Not just Democrats, but Republicans and the whole Bush admin, too.
>
> In addition, Congress should investigate Bush for breaking laws.

Sure, which laws did he break?

list here please!

>
>
> --
> Impeach Bush!
> http://www.gnn.tv/articles/2791/Rep_McKinney_Files_Articles_of_I...
>
>


SyVyN11

5/19/2007 2:34:00 AM

0


"J Carroll" <jcarroll@machiningsolution.com> wrote in message
news:SNr3i.21210$YL5.3874@newssvr29.news.prodigy.net...
> Deaf Power wrote:
>> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
>> again" <Global Warming k00k @ ELF.org> wrote:
>>
>>>
>>> "Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>> news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>>> Lowering Gas Prices
>>>>
>>>> House Democrats are committed to lowering gas prices to ease the
>>>> burden on American families.
>>> =================
>>>
>>> Is Pelosi going to investigate Democrast who are Jet Setting gas
>>> guzzling hypocrits helping to drive Gas demand up even under higher
>>> prices?
>>
>> Not just Democrats, but Republicans and the whole Bush admin, too.
>>
>> In addition, Congress should investigate Bush for breaking laws.
>
> Investigate? He's admited eaxactly this on national television.
> Pol Axe the bastard...

admitted to what?

>
>
>
> --
> John R. Carroll
> www.machiningsolution.com
>
>


Global Warming K00ks Gone Wild again

5/19/2007 3:55:00 AM

0


"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
news:Cbs3i.3436$4Y.569@newssvr19.news.prodigy.net...
>
> "Global Warming K00ks Gone Wild again" <Global Warming k00k @ ELF.org>
> wrote in message news:464e45dd$0$28219$a82e2bb9@reader.athenanews.com...
>>
>> "Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>> news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>> Lowering Gas Prices
>>>
>>> House Democrats are committed to lowering gas prices to ease the burden
>>> on American families.
>> =================
>>
>> Is Pelosi going to investigate
>
> If you took as much time to read the links as you do worshipping the
> Devils on Fox Noise
================

Quit Snipping out the British Newspaper facts that bitch slap you in your VD
infested mouth .

http://travel.guardian.co.uk/article/2007/may/06/travelnews.climatech...
Democrats Binge Flying
Travel: the new tobacco
The founder of Rough Guides now believes that our addiction to 'binge
flying' is killing the planet

Democrats' 'Orangeburg 8' leave huge carbon footprints

Yet all eight of the potential chief executives -- Joe Biden, Hillary
Clinton, Chris Dodd, John Edwards, Mike Gravel, Dennis Kucinich, Barrack
Obama and Bill Richardson -- found their way to the charming small town of
Orangeburg on eight separate private jets. None of them took a commercial
airliner.

None of the five based in the nation's capital offered to plane pool with
the others. All left an oversized carbon footprint -- one that exceeds the
monthly energy-usage by most American families -- drifting away in the vapor
trails of personal privilege.

http://detnews.com/apps/pbcs.dll/article?AID=/20070502/OPINION01/7050...






SyVyN11

5/19/2007 4:45:00 AM

0


"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
news:NOs3i.3456$4Y.2555@newssvr19.news.prodigy.net...
>
> "SyVyN11" <syvyn11@peoplepc.com> wrote in message
> news:f2lk68$3ke$1@news.albasani.net...
>>
>> "Deaf Power" <deaf@power.com> wrote in message
>> news:CLr3i.77475$vE1.14420@newsfe24.lga...
>>>
>>> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
>>> again" <Global Warming k00k @ ELF.org> wrote:
>>>
>>>>
>>>>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>>>news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>>>> Lowering Gas Prices
>>>>>
>>>>> House Democrats are committed to lowering gas prices to ease the
>>>>> burden on
>>>>> American families.
>>>>=================
>>>>
>>>>Is Pelosi going to investigate Democrast who are Jet Setting gas
>>>>guzzling
>>>>hypocrits helping to drive Gas demand up even under higher prices?
>>>
>>> Not just Democrats, but Republicans and the whole Bush admin, too.
>>>
>>> In addition, Congress should investigate Bush for breaking laws.
>>
>> Sure, which laws did he break?
>>
>> list here please!
>
> When The New York Times revealed that President George Bush had authorized
> warrantless surveillance of Americans, the Bush administration reacted in
> its usual manner: attack and then stage a public-relations campaign.
>
> The attack was in the usual jingoistic mode, implying that both the Times
> and its source, a whistle-blower at the National Security Agency, were
> providing aid and comfort to the enemy and undermining the war on terror.
>
> That's garbage, of course. Any terrorist with more than a two-digit IQ
> knows that the NSA has the means to intercept any electronic
> communication. Terrorists don't need to read the Times to figure that out.
>
> The reason it is important for the American people to know is because the
> president appears to have violated both the law and the Constitution.

do not post left wing talking points. Do post what law did president
bush break.

>
>


3410 Dead

5/19/2007 11:51:00 AM

0

On Fri, 18 May 2007 23:45:22 -0500, "SyVyN11" <syvyn11@peoplepc.com>
wrote:

>
>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>news:NOs3i.3456$4Y.2555@newssvr19.news.prodigy.net...
>>
>> "SyVyN11" <syvyn11@peoplepc.com> wrote in message
>> news:f2lk68$3ke$1@news.albasani.net...
>>>
>>> "Deaf Power" <deaf@power.com> wrote in message
>>> news:CLr3i.77475$vE1.14420@newsfe24.lga...
>>>>
>>>> On Fri, 18 May 2007 20:33:35 -0400, "Global Warming K00ks Gone Wild
>>>> again" <Global Warming k00k @ ELF.org> wrote:
>>>>
>>>>>
>>>>>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>>>>news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>>>>> Lowering Gas Prices
>>>>>>
>>>>>> House Democrats are committed to lowering gas prices to ease the
>>>>>> burden on
>>>>>> American families.
>>>>>=================
>>>>>
>>>>>Is Pelosi going to investigate Democrast who are Jet Setting gas
>>>>>guzzling
>>>>>hypocrits helping to drive Gas demand up even under higher prices?
>>>>
>>>> Not just Democrats, but Republicans and the whole Bush admin, too.
>>>>
>>>> In addition, Congress should investigate Bush for breaking laws.
>>>
>>> Sure, which laws did he break?
>>>
>>> list here please!
>>
>> When The New York Times revealed that President George Bush had authorized
>> warrantless surveillance of Americans, the Bush administration reacted in
>> its usual manner: attack and then stage a public-relations campaign.
>>
>> The attack was in the usual jingoistic mode, implying that both the Times
>> and its source, a whistle-blower at the National Security Agency, were
>> providing aid and comfort to the enemy and undermining the war on terror.
>>
>> That's garbage, of course. Any terrorist with more than a two-digit IQ
>> knows that the NSA has the means to intercept any electronic
>> communication. Terrorists don't need to read the Times to figure that out.
>>
>> The reason it is important for the American people to know is because the
>> president appears to have violated both the law and the Constitution.
>
>do not post left wing talking points. Do post what law did president
>bush break.

You can start with the fourth Amendment.
>
>>
>>
>
--

"I am fully committed, as the administration's fully committed, to ensure that, with respect to every United States
attorney position in this country, we will have a presidentially appointed, Senate-confirmed United States attorney."

--Alberto Gonzales, committing perjury before Congress

Putsch: leading America to asymetric warfare since 2001

Not dead, in jail, or a slave? Thank a liberal!
Pay your taxes so the rich don't have to.
For the finest in liberal/leftist commentary,
http://www.zeppscommen...
For news feed (free, 10-20 articles a day)
http://groups.yahoo.com/subscribe/...
For essays (donations accepted, 2 articles/week)
http://groups.yahoo.com/subscribe/ze...

a.a. #2211 -- Bryan Zepp Jamieson

3410 Dead

5/19/2007 11:54:00 AM

0

On Fri, 18 May 2007 23:54:56 -0400, "Global Warming K00ks Gone Wild
again" <Global Warming k00k @ ELF.org> wrote:

>
>"Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>news:Cbs3i.3436$4Y.569@newssvr19.news.prodigy.net...
>>
>> "Global Warming K00ks Gone Wild again" <Global Warming k00k @ ELF.org>
>> wrote in message news:464e45dd$0$28219$a82e2bb9@reader.athenanews.com...
>>>
>>> "Elwood P. Dowd" <Reagan-AlQueda@FoxNews.net> wrote in message
>>> news:7vr3i.3416$4Y.891@newssvr19.news.prodigy.net...
>>>> Lowering Gas Prices
>>>>
>>>> House Democrats are committed to lowering gas prices to ease the burden
>>>> on American families.
>>> =================
>>>
>>> Is Pelosi going to investigate
>>
>> If you took as much time to read the links as you do worshipping the
>> Devils on Fox Noise
>================
>
>Quit Snipping out the British Newspaper facts that bitch slap you in your VD
>infested mouth .
>
>http://travel.guardian.co.uk/article/2007/may/06/travelnews.climatech...
>Democrats Binge Flying
>Travel: the new tobacco
>The founder of Rough Guides now believes that our addiction to 'binge
>flying' is killing the planet
>
>Democrats' 'Orangeburg 8' leave huge carbon footprints
>
>Yet all eight of the potential chief executives -- Joe Biden, Hillary
>Clinton, Chris Dodd, John Edwards, Mike Gravel, Dennis Kucinich, Barrack
>Obama and Bill Richardson -- found their way to the charming small town of
>Orangeburg on eight separate private jets. None of them took a commercial
>airliner.

Are there any commercial flights into Orangeburg?
>
>None of the five based in the nation's capital offered to plane pool with
>the others. All left an oversized carbon footprint -- one that exceeds the
>monthly energy-usage by most American families -- drifting away in the vapor
>trails of personal privilege.
>
>http://detnews.com/apps/pbcs.dll/article?AID=/20070502/OPINION01/7050...
>
>
>
>
>
--

"I am fully committed, as the administration's fully committed, to ensure that, with respect to every United States
attorney position in this country, we will have a presidentially appointed, Senate-confirmed United States attorney."

--Alberto Gonzales, committing perjury before Congress

Putsch: leading America to asymetric warfare since 2001

Not dead, in jail, or a slave? Thank a liberal!
Pay your taxes so the rich don't have to.
For the finest in liberal/leftist commentary,
http://www.zeppscommen...
For news feed (free, 10-20 articles a day)
http://groups.yahoo.com/subscribe/...
For essays (donations accepted, 2 articles/week)
http://groups.yahoo.com/subscribe/ze...

a.a. #2211 -- Bryan Zepp Jamieson