Standard code for arduino and htm, aka accessing html formatted site data

Discussion in 'Scripting' started by Rovi, Jul 7, 2015.

  1. Rovi

    Rovi MDL Novice

    Jul 7, 2015
    2
    0
    0
    I'm wondering how some people may go about reading select pieces of information from html,java script, and other stuff
     
  2. QuantumBug

    QuantumBug MDL Developer

    Mar 7, 2012
    1,485
    1,323
    60
    You mean you want to parse information. E.g. Reading a string between two tags or nodes?

    It pays to be more specific. What language do you write with, etc.
     
  3. Michaela Joy

    Michaela Joy MDL Crazy Lady

    Jul 26, 2012
    3,649
    3,950
    120
    #3 Michaela Joy, Jul 7, 2015
    Last edited: Jul 8, 2015
    @Dev: If it's Arduino, it's probably C. Maybe C++. Unless you're doing something in Asm. Which You'd probably do using embedded Asm statements in the C compiler.

    @Rovi: HTML is a plain-text language. Basically, you'd have to build a HTML parser in C. Or find one already working and port it to the Arduino.

    EDIT: That question has already been answered at the Arduino forum.

    http://forum.arduino.cc/index.php?topic=44646.0

    @Rovi: Google is your friend. Learn to use it. Most people frown on people who just ask questions without at least making an attempt to find the answer themselves.

    :MJ
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...