Home AMX User Forum AMXForums Archive Threads AMX Applications and Solutions

How can I read an HTML value?

Is there a way to read a value that residents on a site?For example lets say that there is a weather site shows the current weather conditions.Is there a way I can read these values and show them on a touch panel?

Thanks

Comments

  • DHawthorneDHawthorne Posts: 4,584
    Yes, but you are going to have to learn some basic HTTP. You will have to establish your connection with IP_OPEN_CLIENT, do whatever authentification the site requires (if any), then parse the returned strings. Google "HTTP protocol" and you will find any number of references as to how you need to format your commands and parse the returns. HTTP is a text-based protocol, so it's not terribly difficult once you have a grasp of the ground rules.

    This, of course, assumes your site is not using Javascript or some other means of rendering the data in a browser besides text via HTTP.
  • i!-Weather?
  • DHawthorneDHawthorne Posts: 4,584
    i!-Weather?

    My impression has been that no one really uses i!-Weather because it's subscription based. After all, there are plenty of free Internet weather services out there ...
Sign In or Register to comment.