Go Down

Topic: Arduino find data from webpage and react? (Read 402 times) previous topic - next topic

Sluice

Apr 02, 2013, 09:34 pm Last Edit: Apr 02, 2013, 09:36 pm by Sluice Reason: 1
Alright so here's what I'm wanting to do. I want to plug Arduino into my computer and have it do several things. I want it do go to my blog and see how many views the page has (which is shown on a sidebar) and print it to serial monitor. I understand that I probably will have to use Processing. I just want to make it go online, check something, send the data to Arduino, then have Arduino do something. I prolly don't need much help with the Arduino code, but what about processing??? Thanks!

DEiE

#1
Apr 03, 2013, 09:50 am Last Edit: Apr 03, 2013, 12:40 pm by DEiE Reason: 1

I want it do go to my blog and see how many views the page has (which is shown on a sidebar)

Not an answer to your question, but I would definitely make some kind of webservice for this. Something like http://api.yourblog.com/views, which returns the number of views only (check things like REST API for examples). Web scraping is probably the last thing you want to do on your Arduino because it is very resource-intensive.

Also, if you only need to retrieve a number from the web and show that on your display, instead of finding it on a page, you'll probably don't even need processing.

PaulS

Quote
I prolly don't need much help with the Arduino code, but what about processing???

Are we supposed to know if you have questions about Processing, and, if so, what those questions are?

Have you downloaded and installed Processing? Have you looked at any of the examples?

Sluice

Well I was more talking about the code needed for processing, that is if I even needed it. I have no idea where to start- how to get the information off the web.

Go Up