• RSS Reader as a Door

    From Charles Pierson@2:280/464 to All on Sunday, January 31, 2021 07:44:40
    I'm the sort of person that values function over form. I like making things work, regardless of how pretty it is. After I'm happy with the
    functionality, then I'll worry about making it pretty.

    That being said, I've experimented a little bit with Linux terminal cinsole games as doors. It looks like it works ok, with at least some if the old text adventure tyoes, although I haven't tried saving and going back to it later yet.

    Now I'm wondering about doing the same with something like Newsboat, or some similar RSS reader. I'm fairly sure that functionallt, I could get it to
    work, however my question is whether it would be possible to do so with
    unique new message pointers for each user.

    Or, barring that, I need a much better understanding of the autoposting of Ttext files, where I could get a way to export each entry in the RSS feed to
    a message on the BBS. Each particular feed being it's own message area.

    My ultimate goal is finding ways to provide unique content for my BBS that I haven't seen a million times before.

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: theoasisbbs.ddns.net:1357
  • From g00r00@1:129/215 to Charles Pierson on Sunday, January 31, 2021 15:28:21
    Or, barring that, I need a much better understanding of the autoposting
    of Ttext files, where I could get a way to export each entry in the RSS feed to a message on the BBS. Each particular feed being it's own
    message area.

    There are many ways you could do something like this. First like you said you could potentially use an existing terminal-based RSS news client. Some people do not like to do that just in case there are any ways for a user to exit the program to a command shell or something.

    Alternatively you could use any sort of script that can get RSS and then post them as a text file into a message base using MUTIL or as bulletins.

    Or you could use Mystic Python and create your own RSS reader or just use it to download and post data to a message base. Its only a couple of lines of code to do this sort of stuff in Mystic Python. IE:

    import feedparser

    feed = feedparser.parse("https://finance.yahoo.coim/rss/");

    for entry in feed.entries:
    <do stuff with the articles>

    I believe there are some projects I think that do this sort of thing already for Mystic. They will offer up news articles to browse and so on, but I am not sure where to get them they're just things I've seen before.

    --- Mystic BBS v1.12 A47 2021/01/30 (Windows/64)
    * Origin: Sector 7 | Mystic WHQ (1:129/215)
  • From Charles Pierson@2:280/464 to g00r00 on Sunday, January 31, 2021 17:20:55
    On 31 Jan 2021, g00r00 said the following...
    There are many ways you could do something like this. First like you
    said you could potentially use an existing terminal-based RSS news
    client. Some people do not like to do that just in case there are any ways for a user to exit the program to a command shell or something.


    That's true. although as I'm in a Termux session on my Android phone, I'm unsure what sort of mischief could ensue.
    Alternatively you could use any sort of script that can get RSS and then post them as a text file into a message base using MUTIL or as bulletins.

    That's something I'm looking at. Looking around I saw some Mystic add-ond
    that took like the top 3 articles from CNN or Fox and posted them. So I see
    an idea is there.

    Or you could use Mystic Python and create your own RSS reader or just
    use it to

    download and post data to a message base. Its only a couple of lines of code to do this sort of stuff in Mystic Python. IE:

    import feedparser

    feed = feedparser.parse("https://finance.yahoo.coim/rss/");

    for entry in feed.entries:
    <do stuff with the articles>

    I hadn't considered that option. I have looked a little bit at the Mystic
    MPL. but I'm out of practice with writing code, so it's slow going.

    I believe there are some projects I think that do this sort of thing already for Mystic. They will offer up news articles to browse and so
    on, but I am not
    sure where to get them they're just things I've seen before.


    The one's I saw I found with a Google search. I'll probably grab them just
    to see if I can figure out how they are doing what they do.

    New OS, New BBS software, and trying to customize when years out of
    programming practice is probably pushing myself a bit much, but it's somehow therapeutical with all of its frustration.

    --- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
    * Origin: theoasisbbs.ddns.net:1357