• Import a RSS feed in to a message base

    From Jeff Earle@1:229/700 to All on Thu Apr 1 10:07:36 2021
    Has any one been successful in importing an RSS feed in to a message base in Mystic?
    Any information would be appreciated.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/64)
    * Origin: Mystic Realms (1:229/700)
  • From Alexander Grotewohl@1:103/705 to Jeff Earle on Thu Apr 1 13:27:41 2021
    Re: Import a RSS feed in to a message base
    By: Jeff Earle to All on Thu Apr 01 2021 10:07 am

    Has any one been successful in importing an RSS feed in to a message base in Mystic?
    Any information would be appreciated.

    if you look at the sample mutil.ini, the section about importing text files to message bases..

    i bet you could find an rss client that exports to a text file daily.. only new stuff. or if it's not intended to do that, something like:

    <name of console rss client> > to_bbs.txt

    might be possible?

    otherwise, you could try to put that python support to use with an example from:

    https://www.tutorialspoint.com/python_text_processing/python_reading_rss_feed.h tm

    i'm not sure if it can post directly to the message base, but you could again use the above text import
    --- SBBSecho 3.14-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Jeff Earle@1:229/700 to Alexander Grotewohl on Thu Apr 1 18:36:18 2021
    if you look at the sample mutil.ini, the section about importing text files to message bases..

    i bet you could find an rss client that exports to a text file daily.. only new stuff. or if it's not intended to do that, something like:


    I would like to have it more than daily. I'll give this a look.

    otherwise, you could try to put that python support to use with an
    example from:

    https://www.tutorialspoint.com/python_text_processing/python_reading_rss_f tm

    i'm not sure if it can post directly to the message base, but you could again use the above text import

    Thanks, might be promising. I'll give it a look.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/64)
    * Origin: Mystic Realms (1:229/700)
  • From g00r00@1:129/215 to Jeff Earle on Fri Apr 2 23:57:41 2021
    Has any one been successful in importing an RSS feed in to a message
    base in Mystic?

    I've seen a few that import news using RSS. The easiest way would probably be to do it with Mystic Python since there are modules that can probably grab RSS articles with just a few lines of code.

    --- Mystic BBS v1.12 A47 2021/04/01 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)
  • From Jeff Earle@1:229/700 to g00r00 on Sat Apr 3 05:11:30 2021
    I've seen a few that import news using RSS. The easiest way would probably be to do it with Mystic Python since there are modules that can probably grab RSS articles with just a few lines of code.


    I agree. I have searched for any 3rd party apps that would do it but I could not find anything. I have no experience with Python. That will take a little more searching. I might have to find someone to create the code as it would take me a while to teach myself.

    Thanks for the info.

    --- Mystic BBS v1.12 A46 2020/08/26 (Windows/64)
    * Origin: Mystic Realms (1:229/700)
  • From g00r00@1:129/215 to Jeff Earle on Sat Apr 3 12:20:33 2021
    I agree. I have searched for any 3rd party apps that would do it but I could not find anything. I have no experience with Python. That will
    take a little more searching. I might have to find someone to create the code as it would take me a while to teach myself.

    I don't know of any specifically but I do know I've seen a few that scrape news from various sources. Unfortunately I haven't been keeping up with the modding scene all that much these days so I can't point you in the right direction.

    In terms of Mystic Python it can be done with a few lines of code, but obviously you'd need to understand Python.

    import feedparser

    NewsFeed = feedparser.parse("https://timesofindia.indiatimes.com/rssfeedstopstories.cms")

    writeln("Number of RSS posts: " + str(len(NewsFeed.entries)))

    entry = NewsFeed.entries[1]

    writeln("Post Title: " + entry.title);

    --- Mystic BBS v1.12 A47 2021/04/01 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)