X10 Community Forum

📱🖥️PiX10Hub => 💬General Discussion => 📝User created HG Scripts (programs/macros/widgets) => Topic started by: Tuicemen on March 08, 2020, 06:51:47 PM

Title: RSS Feed Reader
Post by: Tuicemen on March 08, 2020, 06:51:47 PM
Soxfan1966 had originally looked into this for displaying stocks and sports scores.
It is from his workings with iframes in widgets which led me to creating the MagWeb widget & Web View program (http://forums.tuicemen.net/index.php?topic=1356.0).
from that I started to dig a little deeper and found a web tool that took a RSS feed and spit out code to turn it into a iframe code. It resulted in this which is still a work in progress.
Title: Re: RSS Feed Reader
Post by: Tuicemen on March 10, 2020, 01:15:09 PM
I've changed up a few colors ( to may it a bit more readable) and added code to allow the RSS feed to auto pull the latest feed I'm still looking for a method to hide the scroll bar but still allow scrolling. Also though having the feed auto scroll through the entries would be cool but have not found a method that works. The codes for this are on my forum for anyone wishing to play with it.
Title: Re: RSS Feed Reader
Post by: Tuicemen on March 11, 2020, 06:43:53 AM
Last night I played a bit more with RSS and the RSS feed from this forum and other SMF forums.
 Initially this wouldn't work but I remember it working in my pre build tests B:( Seems HG doesn't handle some characters well in a rss url. A conversion  of those characters makes it work so I need to do that in the code. Also I got thinking I'll want more then one feed most likely and in the current form that's  not possible so Ill have to rework this to allow more then 1 instance creating virtual modules. ::) :'
Title: Re: RSS Feed Reader
Post by: Tuicemen on March 11, 2020, 04:10:54 PM
At my off grid place for at least a week so I won't have much time to spend on this I suspect. However checking my local feed I found the program was refreshing before I was able to read all lines. This means an option for setting the refresh time needs to be added.  If anyone else would like to test this out and post suggestions for improvements I'd appreciate the feed back. Latest build is on my forum >!