Thread View: news.software.readers
18 messages
18 total messages
Started by Troy Piggins
Fri, 10 Jun 2005 04:12
[slrn] score for html only posts
Author: Troy Piggins
Date: Fri, 10 Jun 2005 04:12
Date: Fri, 10 Jun 2005 04:12
11 lines
1270 bytes
1270 bytes
Does anyone have a working scorefile entry to kill html-only posts? I don't mind posts with both plain text and html because I seem to only see the plain text part. Is it as simple as scoring based on the Content-Type header? Or is it a bit more complex than that? I notice not all posts have that header. Thanks. -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: SINNER
Date: Fri, 10 Jun 2005 12:36
Date: Fri, 10 Jun 2005 12:36
16 lines
1903 bytes
1903 bytes
* Troy Piggins wrote in news.software.readers:
> Does anyone have a working scorefile entry to kill html-only posts? I
> don't mind posts with both plain text and html because I seem to only
> see the plain text part.
> Is it as simple as scoring based on the Content-Type header? Or is it a
> bit more complex than that? I notice not all posts have that header.
> Thanks.
I cant imagine how you could differentiate between posts with some and
posts with none. Posts with ANY should be doable.
--
David
<change_m2> Will LINUX ever overtake sliced bread as the #1 achievement
of mankind?
Re: [slrn] score for html only posts
Author: Frank Slootweg
Date: Fri, 10 Jun 2005 13:41
Date: Fri, 10 Jun 2005 13:41
12 lines
1644 bytes
1644 bytes
Troy Piggins <usenet@piggo.com> wrote: > Does anyone have a working scorefile entry to kill html-only posts? I > don't mind posts with both plain text and html because I seem to only > see the plain text part. > > Is it as simple as scoring based on the Content-Type header? Or is it a > bit more complex than that? I notice not all posts have that header. A *"good"* html-only post will not have (Content-Type:) multipart/alternative;", but a bad one will (with an (effectively) empty text/plain part). So start with killing text/html posts which do *not* have an (earlier) multipart/alternative.
Re: [slrn] score for html only posts
Author: Troy Piggins
Date: Fri, 10 Jun 2005 13:46
Date: Fri, 10 Jun 2005 13:46
20 lines
1784 bytes
1784 bytes
* Frank Slootweg wrote: > Troy Piggins <usenet@piggo.com> wrote: >> Does anyone have a working scorefile entry to kill html-only posts? >> I don't mind posts with both plain text and html because I seem to >> only see the plain text part. >> >> Is it as simple as scoring based on the Content-Type header? Or is >> it a bit more complex than that? I notice not all posts have that >> header. > > A *"good"* html-only post will not have (Content-Type:) > multipart/alternative;", but a bad one will (with an (effectively) > empty text/plain part). So start with killing text/html posts which > do *not* have an (earlier) multipart/alternative. Ok - thanks for the pointer. Will do some testing and post my solution. -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: Troy Piggins
Date: Fri, 10 Jun 2005 14:52
Date: Fri, 10 Jun 2005 14:52
43 lines
2870 bytes
2870 bytes
* Frank Slootweg wrote: > Troy Piggins <usenet@piggo.com> wrote: >> Does anyone have a working scorefile entry to kill html-only posts? >> I don't mind posts with both plain text and html because I seem to >> only see the plain text part. >> >> Is it as simple as scoring based on the Content-Type header? Or is >> it a bit more complex than that? I notice not all posts have that >> header. > > A *"good"* html-only post will not have (Content-Type:) > multipart/alternative;", but a bad one will (with an (effectively) > empty text/plain part). So start with killing text/html posts which > do *not* have an (earlier) multipart/alternative. I notice you use tin (well, for this post), not sure how familiar you are with slrn. I found the macros slrn-pl.sl, konwertuj.sl, and tsca-mymime.sl which do convert multipart messages for me - hence my comment about not minding them, I can read the plain text part ok. I have no idea how to score multipart/alternative posts with an empty text/plain part to them. I only know how to score based on headers. So what I have decided to do is just kill any posts with text/html only, like this: [*] Score: -9999 Content-Type: text/html What do you think? I have tested 10's of 1000's of posts to see how many have this format, and in the groups I frequent all of the posts matching this score were spam/shit. Getting back to your post - I notice you said "good" html-_only_ posts will not have the multipart/alternative header. But I have noticed some posts with that header, but they did have some text/plain parts and that is ok. Is that what you meant? That as long as they have the plain part they are ok? They are certainly readable by my macros. -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: DC
Date: Fri, 10 Jun 2005 16:21
Date: Fri, 10 Jun 2005 16:21
19 lines
1879 bytes
1879 bytes
Troy Piggins wrote: > Does anyone have a working scorefile entry to kill html-only posts? I > don't mind posts with both plain text and html because I seem to only > see the plain text part. > Is it as simple as scoring based on the Content-Type header? Or is it a > bit more complex than that? I notice not all posts have that header. > Thanks. Not exactly what you want, but I get by with this: http://www.geocities.com/tsca.geo/slang.html#uhtml -- DC Linux RU #1000111011000111001 An effective way to deal with predators is to taste terrible.
Re: [slrn] score for html only posts
Author: SINNER
Date: Fri, 10 Jun 2005 16:46
Date: Fri, 10 Jun 2005 16:46
26 lines
1840 bytes
1840 bytes
* DC Wrote in news.software.readers: > Troy Piggins wrote: >> Does anyone have a working scorefile entry to kill html-only >> posts? I don't mind posts with both plain text and html because >> I seem to only see the plain text part. > >> Is it as simple as scoring based on the Content-Type header? Or >> is it a bit more complex than that? I notice not all posts have >> that header. > >> Thanks. > > Not exactly what you want, but I get by with this: > > http://www.geocities.com/tsca.geo/slang.html#uhtml > Have you switched to Poor Mans MIME? That looks cool, Will impliment when I get home, Thanks DC :) -- David
Re: [slrn] score for html only posts
Author: DC
Date: Fri, 10 Jun 2005 17:30
Date: Fri, 10 Jun 2005 17:30
34 lines
2265 bytes
2265 bytes
SINNER wrote: > * DC Wrote in news.software.readers: >> Troy Piggins wrote: >>> Does anyone have a working scorefile entry to kill html-only >>> posts? I don't mind posts with both plain text and html because >>> I seem to only see the plain text part. >>> Is it as simple as scoring based on the Content-Type header? Or >>> is it a bit more complex than that? I notice not all posts have >>> that header. >>> Thanks. >> Not exactly what you want, but I get by with this: >> http://www.geocities.com/tsca.geo/slang.html#uhtml > Have you switched to Poor Mans MIME? No, haven't. Let me know how that works, if you try it. > That looks cool, Will impliment when I get home, > Thanks DC :) You betcha. }:O) -- DC Linux RU #1000111011000111001 An effective way to deal with predators is to taste terrible.
Re: [slrn] score for html only posts
Author: Frank Slootweg
Date: Fri, 10 Jun 2005 17:42
Date: Fri, 10 Jun 2005 17:42
56 lines
3903 bytes
3903 bytes
Troy Piggins <usenet@piggo.com> wrote: > * Frank Slootweg wrote: [deleted] > > A *"good"* html-only post will not have (Content-Type:) > > multipart/alternative;", but a bad one will (with an (effectively) > > empty text/plain part). So start with killing text/html posts which > > do *not* have an (earlier) multipart/alternative. > > I notice you use tin (well, for this post), not sure how familiar you > are with slrn. I found the macros slrn-pl.sl, konwertuj.sl, and > tsca-mymime.sl which do convert multipart messages for me - hence my > comment about not minding them, I can read the plain text part ok. > > I have no idea how to score multipart/alternative posts with an empty > text/plain part to them. I only know how to score based on headers. > > So what I have decided to do is just kill any posts with text/html only, > like this: > > [*] > Score: -9999 > Content-Type: text/html > > What do you think? I have tested 10's of 1000's of posts to see how > many have this format, and in the groups I frequent all of the posts > matching this score were spam/shit. Hmmm! A good point. I did not think of that. I gather that a html-only post will indeed have "Content-Type: text/html" in the *headers* and a plain+html post will *not* have that in the *headers* (but will have "Content-Type: multipart/alternative" instead). I thought it would be needed to test for both, but I gather that for multipart/alternative, the "Content-Type: text/html" will be, as far as the newsreader is concerned be in the *body*, not in the headers, so it's not needed to test for both. So bottom line: Yes, I think that scorefile entry should work. > Getting back to your post - I notice you said "good" html-_only_ posts > will not have the multipart/alternative header. But I have noticed some > posts with that header, but they did have some text/plain parts and that > is ok. Is that what you meant? That as long as they have the plain > part they are ok? They are certainly readable by my macros. No, I used quotes around "good", because, as far as I am concerned, there are no good html Usenet postings, so also no good html-only postings. But the "good" ones, i.e. the ones without a multipart/alternative header, could be filtered out. OTOH, there are "bad" *pseudo*-html-only postings. There the text/plain part is not a usable/readable part, but an empty one, or one which says something like "See the HMTL part for the text." or something like that. Those are "bad" because you can not filter on them, because they will have multipart/alternative in the header and text/plain and text/html in the body, i.e. they look like good plain+html postings, but are effectively html-only postings.
Re: [slrn] score for html only posts
Author: Troy Piggins
Date: Sat, 11 Jun 2005 07:47
Date: Sat, 11 Jun 2005 07:47
29 lines
2063 bytes
2063 bytes
* DC wrote: > Troy Piggins wrote: >> Does anyone have a working scorefile entry to kill html-only posts? >> I don't mind posts with both plain text and html because I seem to >> only see the plain text part. > >> Is it as simple as scoring based on the Content-Type header? Or is >> it a bit more complex than that? I notice not all posts have that >> header. > > Not exactly what you want, but I get by with this: > > http://www.geocities.com/tsca.geo/slang.html#uhtml Thanks DC. Actually those macros from that site are the ones I am already using, and help me only see the text/plain part of multipart posts. Unfortunately text/html only posts are not caught by that poor man's mime one. To be honest, however, I am not using the exact one you pointed to - 'uhtml' - because on his site he mentions that best not to use it, poor man's mime does everything plus more. However it doesn't handle html-only well. Should I use uhtml in addition to the others? Hopefully they won't clash. -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: DC
Date: Sat, 11 Jun 2005 16:39
Date: Sat, 11 Jun 2005 16:39
44 lines
3050 bytes
3050 bytes
Troy Piggins wrote: > * DC wrote: >> Troy Piggins wrote: >>> Does anyone have a working scorefile entry to kill html-only posts? >>> I don't mind posts with both plain text and html because I seem to >>> only see the plain text part. >>> Is it as simple as scoring based on the Content-Type header? Or is >>> it a bit more complex than that? I notice not all posts have that >>> header. >> Not exactly what you want, but I get by with this: >> http://www.geocities.com/tsca.geo/slang.html#uhtml > Thanks DC. Actually those macros from that site are the ones I am > already using, and help me only see the text/plain part of multipart > posts. Unfortunately text/html only posts are not caught by that poor > man's mime one. > To be honest, however, I am not using the exact one you pointed to - > 'uhtml' - because on his site he mentions that best not to use it, poor > man's mime does everything plus more. > However it doesn't handle html-only well. Should I use uhtml in > addition to the others? Hopefully they won't clash. To be honest, I've not used the poor man's mime macro, so I can't comment on it. I understand what you mean about *pure html* posts -- even with the uhtml macro in place, slrn still prompts me to render *those* posts with metamail... http://slrn.sourceforge.net/manual/slrn-manual-6.html#ss6.65 I'd like to kill them outright, also, but I don't like to resort to expensive scoring rules. I simply deal with the odd one -- fortunately, in the groups I frequent, those are few enough for it to not matter all that much. -- DC Linux RU #1000111011000111001 An effective way to deal with predators is to taste terrible.
Re: [slrn] score for html only posts
Author: W. Citoan
Date: Sat, 11 Jun 2005 17:36
Date: Sat, 11 Jun 2005 17:36
23 lines
1975 bytes
1975 bytes
DC wrote: > SINNER wrote: > > > > Have you switched to Poor Mans MIME? > > No, haven't. Let me know how that works, if you try it. Seems to work okay, but I haven't been using it long. There seem to be two cases where it has problems: multipart/mixed and multipart/signed. On a post with an attachment (the multipart/mixed case), it left the MIME crap in, but since I don't want attachments, I have a score entry to kill these. On posts with a PGP mime section (the multipart/signed case), it's not stripping out all the MIME, but it's still readable. I haven't used the uhtml macro so I don't know how it compares. - W. Citoan -- My opinion is neither copyrighted nor trademarked, and it's price competitive. If you like, I'll trade for one of yours. -- Anonymous
Re: [slrn] score for html only posts
Author: DC
Date: Sun, 12 Jun 2005 16:30
Date: Sun, 12 Jun 2005 16:30
25 lines
2222 bytes
2222 bytes
W. Citoan wrote: > DC wrote: >> SINNER wrote: >> > Have you switched to Poor Mans MIME? >> No, haven't. Let me know how that works, if you try it. > Seems to work okay, but I haven't been using it long. > There seem to be two cases where it has problems: multipart/mixed and > multipart/signed. On a post with an attachment (the multipart/mixed > case), it left the MIME crap in, but since I don't want attachments, I > have a score entry to kill these. I only use slrn for text groups, so this is unnecessary for me. I can't say how uhtml.sl handles that, if at all. [...] -- DC Linux RU #1000111011000111001 An effective way to deal with predators is to taste terrible.
Re: [slrn] score for html only posts
Author: W. Citoan
Date: Sun, 12 Jun 2005 18:27
Date: Sun, 12 Jun 2005 18:27
38 lines
2625 bytes
2625 bytes
DC wrote: > W. Citoan wrote: > > DC wrote: > >> SINNER wrote: > > >> > Have you switched to Poor Mans MIME? > > >> No, haven't. Let me know how that works, if you try it. > > > Seems to work okay, but I haven't been using it long. > > > There seem to be two cases where it has problems: multipart/mixed and > > multipart/signed. On a post with an attachment (the multipart/mixed > > case), it left the MIME crap in, but since I don't want attachments, I > > have a score entry to kill these. > > I only use slrn for text groups, so this is unnecessary for me. I can't > say how uhtml.sl handles that, if at all. Well, I also only use it for text groups. That hasn't stopped people from posting them though. I believe the servers are supposed to kill attachments in text groups, but in at least this case, one made it through. It's is still on my slrnpull feed. Message id: <u4hMN#fbFHA.3444@TK2MSFTNGP10.phx.gbl> Group: microsoft.public.outlook.general I notice it's not in google (though the person's apology is: <#69cOAgbFHA.1404@TK2MSFTNGP09.phx.gbl>) so google recognized it as an attachment and killed it. - W. Citoan -- There is nothing more difficult to take in hand, more perilous to conduct, or more uncertain in its success, than to take the lead in the introduction of a new order of things. -- Nicclo Machiavelli
Re: [slrn] score for html only posts
Author: Troy Piggins
Date: Mon, 13 Jun 2005 06:21
Date: Mon, 13 Jun 2005 06:21
31 lines
2308 bytes
2308 bytes
* DC wrote: > W. Citoan wrote: >> DC wrote: >>> SINNER wrote: > >>> > Have you switched to Poor Mans MIME? > >>> No, haven't. Let me know how that works, if you try it. > >> Seems to work okay, but I haven't been using it long. > >> There seem to be two cases where it has problems: multipart/mixed and >> multipart/signed. On a post with an attachment (the multipart/mixed >> case), it left the MIME crap in, but since I don't want attachments, >> I have a score entry to kill these. > > I only use slrn for text groups, so this is unnecessary for me. I > can't say how uhtml.sl handles that, if at all. I also use it on text-only groups. I have the same trouble WC mentioned with multipart/signed posts. I have mentioned it to the author of slrn and he mentioned that the handling of it (mime/pgp) will hopefully be better in slrn itself in future versions. I even started trying to do my own macro to get rid of the mime boundary messages and signature so it would just read the message itself, but that little project has stalled at the moment. -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: Frank Slootweg
Date: Mon, 13 Jun 2005 07:49
Date: Mon, 13 Jun 2005 07:49
34 lines
2640 bytes
2640 bytes
Troy Piggins <usenet@piggo.com> wrote: [deleted] > I also use it on text-only groups. I have the same trouble WC mentioned > with multipart/signed posts. I have mentioned it to the author of slrn > and he mentioned that the handling of it (mime/pgp) will hopefully be > better in slrn itself in future versions. > > I even started trying to do my own macro to get rid of the mime boundary > messages and signature so it would just read the message itself, but > that little project has stalled at the moment. If you mean the multipart/signed posts like "Sam" posts in comp.mail.misc, then you may want to disable the MIME viewer, if that is possible in slrn. For *tin*, this is what works for Sam's multipart/signed posts: # If --internal automatically use the built in MIME viewer for non-text # parts of articles. # Otherwise specify an external viewer program (eg, metamail) or leave blank # for no automatic viewing metamail_prog= I.e. I do not use any MIME viewer. For Sam's posts that results in a > [-- text/plain, encoding 7bit, charset: US-ASCII, 17 lines --] line before the first/attribution line of the body and a > [-- application/pgp-signature, encoding 7bit, 8 lines --] at the end of the body. I.e. quite unproblematic. I hope this helps.
Re: [slrn] score for html only posts
Author: Troy Piggins
Date: Mon, 13 Jun 2005 09:05
Date: Mon, 13 Jun 2005 09:05
32 lines
2729 bytes
2729 bytes
* Frank Slootweg wrote: > Troy Piggins <usenet@piggo.com> wrote: [deleted] >> I also use it on text-only groups. I have the same trouble WC >> mentioned with multipart/signed posts. I have mentioned it to the >> author of slrn and he mentioned that the handling of it (mime/pgp) >> will hopefully be better in slrn itself in future versions. >> >> I even started trying to do my own macro to get rid of the mime >> boundary messages and signature so it would just read the message >> itself, but that little project has stalled at the moment. > > If you mean the multipart/signed posts like "Sam" posts in > comp.mail.misc, then you may want to disable the MIME viewer, if > that is possible in slrn. Yep. He's the main culprit (not quite the correct term since it is not his fault really, although what's the point in pgp on usenet?). I have never seen another post with that mime content. I mentioned it to him, and he just replies that my newsreader is broken coz it can't handle an 8 yr old standard. Fair call. I wouldn't know, just makes my usenet experience a bit uglier. Not sure about disabling mime in slrn - I have a setting "set use_mime 9" in my .slrnrc. Might play with that, but have a feeling I tried that long ago with no success. I can still read his posts, but just have all that boundary crap at beginning and end etc. I can live with it. With enough beer.... -- T R O Y P I G G I N S e : usenet@piggo.com
Re: [slrn] score for html only posts
Author: Faux_Pseudo
Date: Mon, 13 Jun 2005 12:53
Date: Mon, 13 Jun 2005 12:53
16 lines
2155 bytes
2155 bytes
_.-In news.software.readers, Troy Piggins wrote the following -._
> Yep. He's the main culprit (not quite the correct term since it is not
> his fault really, although what's the point in pgp on usenet?).
A visit to alt.os.linux.slackware will educate you on the point of pgp
in usenet. We have been dealing with RM who has been trolling some
groups for as long as 10 years. And one of his favorit things is to
forge posts. PGP lets us know if something was really said by someone
or not. But we do not post them in mime. People in mime news groups
doen't even post in mime.
--
.-')) fauxascii.com ('-. | It's a damn poor mind that
' ..- .:" ) ( ":. -.. ' | can only think of one way to
((,,_;'.;' UIN=66618055 ';. ';_,,)) | spell a word.
((_.YIM=Faux_Pseudo :._)) | - Andrew Jackson
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