-->
Page 1 of 2

Getting news from a website using ESP8266

PostPosted: Sat Feb 06, 2021 10:46 pm
by chamathkv
Hey everyone. Where can I get a hold of an example code that shows how to obtain news from an online source and then display it in the serial monitor? If I'm not mistaken, there should be a simple method to get an RSS feed, but I can't seem to find any sample code.

Re: Getting news from a website using ESP8266

PostPosted: Sun Feb 07, 2021 3:39 am
by schufti
really? did extensive background research? lazy bum ...
how about lmgtfy

Re: Getting news from a website using ESP8266

PostPosted: Mon Feb 08, 2021 3:51 am
by chamathkv
schufti wrote:really? did extensive background research? lazy bum ...
how about lmgtfy


Ah, yes. The loving assistance usually rendered in forums <3. Truly grateful.

It just so happens that I have visited that very educational link you shared. Most articles seem to boil down to one code written by https://www.nutsvolts.com/magazine/article/January2017_ESP8266-RSS-News-Reader, the way I see it. This project involves multiple .h files and a screen, and I was hoping for a very simple code which will just display the news on the serial monitor. If I can get a hold of that then I can work my way from there with my own screen. But I suppose a simple line of code is too much to ask for.

Re: Getting news from a website using ESP8266

PostPosted: Mon Feb 08, 2021 5:09 am
by QuickFix
schufti wrote:lazy bum ...

Really? :roll:

While certainly true, I always thought we were more forgiving about obvious and straight forward questions in the "Newbie Corner".

Just my two cents.

chamathkv wrote:But I suppose a simple line of code is too much to ask for.

You'll have to do the most yourself: you could take the link(s) found as a starting point, see what it does, strip off everything screen/display related and send the output to serial; it shouldn't be too difficult.

And if, after some effort from your side, you still can't get it to work as you want, ask your specific question here, show what you've done so far and maybe someone is able to get you going.

If you're expecting someone else to write code for you (I'm not saying you are, but we've seen them here in the past), you're out of luck (but you might be able to hire a willing developer). :idea: