rpi-rgb-led-matrix icon indicating copy to clipboard operation
rpi-rgb-led-matrix copied to clipboard

Question, what is the easiest way to display an RSS news feed with text-scroller or runtext.py ?

Open jabulonboaz opened this issue 4 years ago • 9 comments

Again thank you for this amazing got Hzeller and for all of the support you provide truly remarkable work.

Question, what is the easiest way to display an RSS news feed with text-scroller or runtext.py?

jabulonboaz avatar Mar 26 '20 02:03 jabulonboaz

That's a very broad question. The implementation provided is to display text, not to parse RSS — that's up to you.

You might want to consider looking into @alexeden's Node/TS bindings for this project, which will allow you access to a greater number of internet-related APIs and functions out of the box give its Node base:

https://github.com/alexeden/rpi-led-matrix

Cheers

sachasayan avatar Mar 29 '20 17:03 sachasayan

I am using runtext.py and its works properly. My code collects data from feedparse and populates a text string. The string is cycled through the scroller and at fixed intervals the feedparse updates the string. I am still tinkering with it. But its works properly. regards, Jawed

jawedsoft avatar Mar 30 '20 10:03 jawedsoft

I am using runtext.py and its works properly. My code collects data from feedparse and populates a text string. The string is cycled through the scroller and at fixed intervals the feedparse updates the string. I am still tinkering with it. But its works properly. regards, Jawed

Nice to hear sounds exciting, please share your code and some instructions here so that I can try that too. Thanks

jabulonboaz avatar Mar 31 '20 04:03 jabulonboaz

That's a very broad question. The implementation provided is to display text, not to parse RSS — that's up to you.

You might want to consider looking into @alexeden's Node/TS bindings for this project, which will allow you access to a greater number of internet-related APIs and functions out of the box give its Node base:

https://github.com/alexeden/rpi-led-matrix

This is too generic with no reference to RSS I don’t see how this would help me.

jabulonboaz avatar Mar 31 '20 04:03 jabulonboaz

jawed-scrolling-news.txt Hello Everyone, I have shared my code example. Please don't judge my coding skills. I have taken code from different places and stitched together the snippets to show me the news. I am not a coder but I am willing to learn and improve.

Some of the things which I could not do in my code are:

  1. Change the panel brightness at run-time so that the panel is bright at day and dims in the evenings
  2. Show data from multiple RSS feeds
  3. Start automatically when the Pi reboots..

Gradually, I plan on incorporating them.

Take care and be safe

regards, Jawed Ahmed, India Video Link : https://youtu.be/jO3w1CLbEFs IMG_20200331_121530

jawedsoft avatar Mar 31 '20 07:03 jawedsoft

jawed-scrolling-news.txt Hello Everyone, I have shared my code example. Please don't judge my coding skills. I have taken code from different places and stitched together the snippets to show me the news. I am not a coder but I am willing to learn and improve.

Some of the things which I could not do in my code are:

  1. Change the panel brightness at run-time so that the panel is bright at day and dims in the evenings
  2. Show data from multiple RSS feeds
  3. Start automatically when the Pi reboots..

Gradually, I plan on incorporating them.

Take care and be safe

regards, Jawed Ahmed, India Video Link : https://youtu.be/jO3w1CLbEFs IMG_20200331_121530

Thanks for this ! I will try it and then report back. I am not a developer ether so thanks again.

jabulonboaz avatar Mar 31 '20 13:03 jabulonboaz

@hzeller is there an easy way to display an RSS feed say google news headlines using the C based text-scroller — parameters rather than writing new code pls?

jabulonboaz avatar Apr 03 '20 21:04 jabulonboaz

jawed-scrolling-news.txt Hello Everyone, I have shared my code example. Please don't judge my coding skills. I have taken code from different places and stitched together the snippets to show me the news. I am not a coder but I am willing to learn and improve.

Some of the things which I could not do in my code are:

  1. Change the panel brightness at run-time so that the panel is bright at day and dims in the evenings
  2. Show data from multiple RSS feeds
  3. Start automatically when the Pi reboots..

Gradually, I plan on incorporating them.

Take care and be safe

regards, Jawed Ahmed, India Video Link : https://youtu.be/jO3w1CLbEFs IMG_20200331_121530

Hello where in samplebase.py did you input your options pls? Did you edit the default values of the code to match you panel’s characteristics or how exactly pls? I was looking at the file and not sure how to edit it so it can take my panel parameters in to consideration.

jabulonboaz avatar Apr 03 '20 21:04 jabulonboaz

Here’s one that uses hzellers code.

https://youtu.be/omMVAtGGr_0 Read the description It creates images from rss-feeds and scroll those.

Jani73 avatar Dec 26 '20 16:12 Jani73