• RSS tests in Mystic

    From karl@21:1/161 to All on Monday, September 19, 2016 10:39:00
    Some people here have mentioned that they use a custom mpl to present rss feed data in their bbs. Although, I played with Turbo Pascal in highschool, that was a very long time ago and it would take some time for me to proficient enough
    to create something with that language.

    So I have been trying out alternative methods in the meantime. This is what I have tried most recently:

    All of the following was done on Raspbian Linux on a Raspberry Pi 2b.
    1. I installed rawdog for pulling rss feed data and converting to a static
    html page
    2. At first I pointed the elinks text browser at this static html page but
    that does not allow the use of the "-anonymous" parameter which prevents the user from dropping to shell and potentially creating havoc with your machine. 3. I downloaded the mako http server from http://makoserver.net (very small) and copied the binary to /usr/bin
    4. By default rawdoc copies the html output to the file, .rawdog/output.html
    so I started the mako server with "mako -l::.rawdog"
    5. then I pointed elinks at the url instead of the file like this:
    elinks -anonymous -no-home -localhost http://localhost:9357/output.html
    which works fine - notice the addition of -localhost which restricts access to only the localhost/prevents accessing content on any other website.

    Now the links in the feed can't be reached in the browser because they are to outside addresses however I was thinking about maybe running wget to pull in the content from the links on just RSS page.

    If anyone is interested in my experimentation so far you can see this at:

    The Search BBS
    bbs.thehomesteadinghippy.com 23 (telnet)
    Main -> % News Feed

    --
    Karl
    The Search BBS

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: The Search BBS (21:1/161)
  • From Indrid Cold@21:1/165 to karl on Monday, September 19, 2016 23:46:00
    Some people here have mentioned that they use a custom mpl to present
    rss feed data in their bbs. Although, I played with Turbo Pascal in

    Hello karl, personally, and after a LOT of tryng/experimenting, I'm almost happy with my solution, regarding dump of scheduled and downloaded RSS feeds with RSSTAIL and CRONTAB, coloring output with CLIDE and displaying with common CAT * | LESS string, in BBS.

    ¯¯ÅndçŒd Cíld®®

    "What do you look like?"
    "It depends on who is looking."

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Miskatonic BBS | telnet://rasppi.servebbs.org (21:1/165)
  • From karl@21:1/161 to Indrid Cold on Monday, September 19, 2016 17:55:00
    Hello karl, personally, and after a LOT of tryng/experimenting, I'm
    almost happy with my solution, regarding dump of scheduled and
    downloaded RSS feeds with RSSTAIL and CRONTAB, coloring output with
    CLIDE and displaying with common CAT * | LESS string, in BBS.

    Sounds interesting... would you be willing to share some of your hard work?

    --
    Karl
    The Search BBS

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: The Search BBS (21:1/161)
  • From bl00d@21:1/162 to Indrid Cold on Tuesday, September 20, 2016 08:36:00
    Indrid Cold wrote to karl <=-

    downloaded RSS feeds with RSSTAIL and CRONTAB, coloring output with
    CLIDE and displaying with common CAT * | LESS string, in BBS.

    Sounds interesting, please do share if you don't mind.

    Kev

    ___ MultiMail/Win32 v0.49

    --- Mystic BBS/QWK v1.12 A31 (Raspberry Pi)
    * Origin: Razor's Domain 3.141592... (21:1/162)
  • From Indrid Cold@21:1/165 to bl00d on Tuesday, September 20, 2016 18:00:00
    Hey bl00d,

    downloaded RSS feeds with RSSTAIL and CRONTAB, coloring output with CLIDE and displaying with common CAT * | LESS string, in BBS.

    Sounds interesting, please do share if you don't mind.

    As I said: try RSSTAIL package, it is nice doing the job - I've configured it with the flags I needed, mine could be different from the result you want - actually, I'm displaying 'verbose' RSS Feeds, with 500chars of description,
    and so not-only the header. I dump every 6hrs (before was 1h) the content of the URLs/feed I want in a file log, then I display in Mystic with the string 'external command >> cat FILE.LOG | LESS -r'. Flag -r allow ANSI code
    reading, I've put in the same script file a little of colorizing for the
    output (URLs underlined/blue and headers).

    Voila, this is my personal way to do the RSS job (after a lot of work!).

    Feel free to check in my board the RSS section, if you like :)

    ¯¯ÅndçŒd Cíld®®

    "What do you look like?"
    "It depends on who is looking."

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Miskatonic BBS | telnet://rasppi.servebbs.org (21:1/165)
  • From Gryphon@21:1/120 to Indrid Cold on Tuesday, September 20, 2016 11:17:00
    On 09/20/16, Indrid Cold said the following...

    Hey bl00d,

    downloaded RSS feeds with RSSTAIL and CRONTAB, coloring output w CLIDE and displaying with common CAT * | LESS string, in BBS.

    Sounds interesting, please do share if you don't mind.

    As I said: try RSSTAIL package, it is nice doing the job - I've
    configured it with the flags I needed, mine could be different from the result you want - actually, I'm displaying 'verbose' RSS Feeds, with 500chars of description, and so not-only the header. I dump every 6hrs (before was 1h) the content of the URLs/feed I want in a file log, then
    I display in Mystic with the string 'external command >> cat FILE.LOG | LESS -r'. Flag -r allow ANSI code reading, I've put in the same script file a little of colorizing for the output (URLs underlined/blue and headers).

    Voila, this is my personal way to do the RSS job (after a lot of work!).

    Feel free to check in my board the RSS section, if you like :)

    Thats a great way to do it, but all it gives you is whatever is in the description. It doesn't actually give you the entire article. For that, I
    use lynx -dump -nolist <url> to download the entire article.

    "No matter where you go, there you are!" - Buckaroo Bonzai

    --- Mystic BBS v1.12 A31 (Raspberry Pi)
    * Origin: Cyberia BBS | Cyberia.Darktech.Org | Kingwood, TX (21:1/120)
  • From bl00d@21:1/162 to Indrid Cold on Tuesday, September 20, 2016 20:39:00
    Indrid Cold wrote to bl00d <=-

    Voila, this is my personal way to do the RSS job (after a lot of
    work!).

    Feel free to check in my board the RSS section, if you like :)

    Thanks! I will do that.

    Kev

    ___ MultiMail/Win32 v0.49

    --- Mystic BBS/QWK v1.12 A31 (Raspberry Pi)
    * Origin: Razor's Domain 3.141592... (21:1/162)