Help → rss + POPFILE

rss + POPFILE

I read in some old archives it's possible to chain POPFILE with nntprss.

http://www.methodize.org/nntprss/

"nntp//rss is a Java-based bridge between RSS feeds and NNTP clients, enabling you to read your favorite RSS syndicated content within your existing NNTP newsreader. RSS feeds are represented as NNTP newsgroups, providing a simple, straightforward and familiar environment for news reading."

The idea here is to use say

Thunderbird --> POPFile --> nntp//rss (loaded with RSS feeds) on your computer to pull RSS feeds for filtering.

I'm intending to pull in table of contents of ejournals, from http://www.tictocs.ac.uk/ in RSS format, then train POPFILE (using NNTP module) to classify interesting vs not-interesting articles.

In theory it should work, but in practice I keep getting a prompt for user name.

I turn on the NNTP module in POPfile in the UI's advanced page. I set it up to listen on port 112 (to avoid conflict with nttp//rss which is on 119).

nntp//rss is listening on port 119

Then i let up Thunderbird

Servername: 127.0.0.1 Port: 112

Yourname : 127.0.0.1:

I read that

"You can connect without authentication by changing your user id field (in your NNTP client) to ”news.isp.com:” (copy your NNTP server name and add ”:” after the name). You don't need to fill the password field but If your NNTP client needs some password, you can fill it with random charactor string. "

But with this setup.. i keep getting a user/password prompt..

I'm sure i'm missing something, can someone help?

Thanks



  • Message #1091

    But with this setup.. i keep getting a user/password prompt.

    While you are trying to get this working I suggest you set POPFile's logger level to 2 (instead of the default setting of 0) as this will add a lot more detail to POPFile's log file. The logger_level setting can be changed via the ADVANCED page of POPFile's UI.

    After I installed POPFile's NNTP module and set it to listen on port 112 I configured a news account in Thunderbird and tried a refresh. I don't use NNTP and had not installed nntp//rss so Thunderbird displayed an error message ("A News error (NNTP) error occurred: can't connect to demo:119"). Here is an extract from my log using logger_level 2:

    2009/11/5 17:44:31 4540: nntp: 310: 201 NNTP POPFile (v1.1.0) server ready[0d][0a]
    2009/11/5 17:44:31 4540: nntp: 209: Command: --MODE READER--
    2009/11/5 17:44:31 4540: nntp: 310: 480 Authorization required for this command[0d][0a]
    2009/11/5 17:44:34 4540: nntp: 209: Command: --AUTHINFO user XXXXXX
    2009/11/5 17:44:34 4540: nntp: 608: Attempting to connect to POP server at demo:119
    2009/11/5 17:44:36 4540: nntp: 693: IO::Socket::INET or IO::Socket::SSL gets an error: Invalid argument
    2009/11/5 17:44:36 4540: nntp: 310: 500 can't connect to demo:119[0d][0a]
    2009/11/5 17:44:36 4540: mq: 380: post CMPLT (4540)
    2009/11/5 17:44:36 4540: mq: 391: dropping post CMPLT (4540)
    2009/11/5 17:44:36 4540: nntp: 619: NNTP proxy done
    

    If you set the logger_level to 2 then POPFile's log should provide some clues about what is going wrong in your system.

    Brian

    • Message #1093

      Thanks

      Here's the log (not very enlightening to me)

      2009/11/6 19:05:39 7836: bayes: 2190: get_session_key returning key yHYeO59aJ0AAZqnoFg8 for user XXXXXX
      2009/11/6 19:05:39 7836: mq: 227: Parent: postfork() called for pid -7620, reader GLOB(0x22e967c)
      2009/11/6 19:05:39 -7620: bayes: 811: Attempting to connect to dbi:SQLite:dbname=C:\DOCUME~1\clbtcha\APPLIC~1\POPFile/popfile.db (1)
      2009/11/6 19:05:39 -7620: bayes: 912: Using SQLite library version 3.6.13
      2009/11/6 19:05:39 -7620: bayes: 512: Performing tweak 1 to 1
      2009/11/6 19:05:39 -7620: nntp: 310: 201 NNTP POPFile (v1.1.1) server ready[0d][0a]
      2009/11/6 19:05:39 -7620: nntp: 209: Command: --MODE READER--
      2009/11/6 19:05:39 -7620: nntp: 310: 480 Authorization required for this command[0d][0a]
      2009/11/6 19:05:40 -7620: nntp: 209: Command: --AUTHINFO user XXXXXX
      2009/11/6 19:05:40 -7620: nntp: 310: 480 Authorization required for this command[0d][0a]
      2009/11/6 19:05:40 -7620: nntp: 209: Command: --AUTHINFO user XXXXXX

      Here's screenshots of my setup in thunderbird

      http://bit.ly/3L6xTF (goes to pictures uploaded on google sites)

      http://bit.ly/6OfKI

      I suspect, my setup is wrong somehow, haven't used POPFILE for a while so might have got the concepts confused.. when chaining them together.

      Any ideas? Thanks

      • Message #1094

        Here's the log (not very enlightening to me)

        It seems that POPFile's NNTP module has not tried to connect to nntp//rss.

        My log;

        2009/11/5 17:44:31 4540: nntp: 209: Command: --MODE READER--
        2009/11/5 17:44:31 4540: nntp: 310: 480 Authorization required for this command[0d][0a]
        2009/11/5 17:44:34 4540: nntp: 209: Command: --AUTHINFO user XXXXXX
        2009/11/5 17:44:34 4540: nntp: 608: Attempting to connect to POP server at demo:119
        

        Your log:

        2009/11/6 19:05:39 -7620: nntp: 209: Command: --MODE READER-- 
        2009/11/6 19:05:39 -7620: nntp: 310: 480 Authorization required for this command[0d][0a] 
        2009/11/6 19:05:40 -7620: nntp: 209: Command: --AUTHINFO user XXXXXX 
        2009/11/6 19:05:40 -7620: nntp: 310: 480 Authorization required for this command[0d][0a] 
        2009/11/6 19:05:40 -7620: nntp: 209: Command: --AUTHINFO user XXXXXX
        

        I think you have entered the "127.0.0.1:" username in the wrong place. The "Your Name" field in the first screenshot is not the username field; it should have something like "John Doe" (these fields are just like the ones for a normal email account).

        It was only when I tried to "Subscribe" or "Refresh" that Thunderbird displayed a prompt asking for a username for news server access. The prompt had a checkbox I could tick to make Thunderbird remember the username. After I entered a username POPFile tried to connect to a server (which is more than your current setup does at the moment).

        As I said earlier I don't use NNTP so I don't know much about it. Have you seen this Thunderbird tutorial about subscribing to newsgroups:

        http://ilias.ca/moznewsgroups-tb

        Brian

        • Message #1096

          Thanks got it to work.

          But it's not ideal, it's not able to filter on subject and full text (abstract in this case) until you click on it in thunderbird.

          NNTP module in popfile is quite useless actually.

          • Message #1097

            NNTP module in popfile is quite useless actually.

            I don't agree. The NNTP module works in a similar way to the POP3 one: it can add a bucket label to the subject line and insert some extra headers (X-Text-Classification and X-POPFile-Link).

            Newsgroups: mozilla.education
            Subject: [regular] 2009/07/13 Mozilla Education call cancelled
            ...
            X-Usenet-Provider: http://www.giganews.com
            NNTP-Posting-Host: 173.67.3.157
            ...
            X-Postfilter: 1.3.39
            Bytes: 1557
            X-Original-Bytes: 1514
            Xref: number.nntp.dca.giganews.com mozilla.education:25
            X-Text-Classification: regular
            X-POPFile-Link: http://127.0.0.1:8080/jump_to_message?view=109
            

            It is up to the client program to use this extra information when it receives the output from POPFile's NNTP module. All POPFile does is provide extra information to help the client program handle the message.

            Brian

          • Message #1100

            Hi,

            But it's not ideal, it's not able to filter on subject and full text (abstract in this case) until you click on it in thunderbird.

            If your mail client uses HEAD command to get the header of articles, you need to enable 'nntp_headtoo' option in the Advanced tab.
            For more information about the option, please see:

            http://getpopfile.org/docs/optionreference#nntp_proxy_options

            Naoki