Опубликовано pushkin в Втр, 05/01/2010 - 21:03
Просмотр конференции fido7.mystic:
Предыдущее Следующее
Дата: 31 Jan 2021, 17:20:55
От: Charles Pierson @ 1:106/127.0
Кому: g00r00
Тема: RSS Reader as a Door
--- Mystic BBS v1.12 A46 2020/08/26 (Raspberry Pi/32)
Origin: theoasisbbs.ddns.net:1357
Предыдущее Следующее
К списку сообщений
К списку конференций
Предыдущее Следующее
Дата: 31 Jan 2021, 17:20:55
От: Charles Pierson @ 1:106/127.0
Кому: g00r00
Тема: RSS Reader as a Door
On 31 Jan 2021, g00r00 said the following...
g0> There are many ways you could do something like this. First like you
g0> said you could potentially use an existing terminal-based RSS news
g0> client. Some people do not like to do that just in case there are any
g0> ways for a user to exit the program to a command shell or something.
g0>
That's true. although as I'm in a Termux session on my Android phone, I'm
unsure what sort of mischief could ensue.
g0> Alternatively you could use any sort of script that can get RSS and then
g0> 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.
g0> Or you could use Mystic Python and create your own RSS reader or just
g0> use it to
g0>
g0> download and post data to a message base. Its only a couple of lines of
g0> code to do this sort of stuff in Mystic Python. IE:
g0>
g0> import feedparser
g0>
g0> feed = feedparser.parse("https://finance.yahoo.coim/rss/");
g0>
g0> for entry in feed.entries:
g0> <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.
g0> I believe there are some projects I think that do this sort of thing
g0> already for Mystic. They will offer up news articles to browse and so
g0> on, but I am not
g0> sure where to get them they're just things I've seen before.
g0>
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
Предыдущее Следующее
К списку сообщений
К списку конференций
Последние комментарии
7 года 51 недели назад
7 года 51 недели назад
8 года 38 недели назад
9 года 3 недели назад
9 года 3 недели назад
9 года 4 недели назад
9 года 4 недели назад
9 года 4 недели назад
9 года 4 недели назад
9 года 7 недели назад