Ankündigung

Einklappen
Keine Ankündigung bisher.

HS Web Pages/IP Devices analyse ....</td><td>....

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    HS Web Pages/IP Devices analyse ....</td><td>....

    Hello,

    I'm writing a module to analyse the HS Login list and extract non-local visitors, afterall, it's a web page like any other.

    Impossible to make this thing work.
    After much trouble, I use the DaCom "Text Splitter", and now I realize that the HS server does mess-up when it sees the sequence
    ....</td><td>....
    The Login list is a table, hence it is full of these sequences.

    To verify this scenario:
    use the DaCom module
    fill a static variable as in the DaCom example
    Das#ist#ein#Text Trenner=35 Pos=2 output="ein" Number=4
    same exercice with
    Das<ist<ein<Text Trenner=60 Pos=2 output="ein" Number=4
    same exercice with
    <td>Das</td><td>ist</td><td>ein</td><td>Text</td>
    NO GO although the Number=9 which is correct, but no output

    Is this supposed to work ? If it doesn't, it's useless in many cases.

    Thanks
    Raymond

    #2
    Zitat von Warichet Beitrag anzeigen
    I realize that the HS server does mess-up when it sees the sequence
    ....</td><td>....
    Answering my own question:
    write a module to get rid of the extraneous html code.
    I consider this as a workaround, the HS shouldn't mess-up with the html code.

    Zitat von Warichet Beitrag anzeigen
    Is this supposed to work ? If it doesn't, it's useless in many cases.
    No one has an idea ?

    Greetings
    Raymond

    Kommentar


      #3
      Raymond,

      unfortunately I do not understand what your problem is exactly.
      Please load up a LIB with your website-query, logic and the Visu-page, so that I / we can have a look on it.
      Gruss aus Radevormwald
      Michel

      Kommentar


        #4
        Zitat von Michel Beitrag anzeigen
        Please load up a LIB with your website-query, logic and the Visu-page, so that I / we can have a look on it.
        With pleasure, but, ..... humm, I don't know how to do it

        Raymond

        Kommentar


          #5
          Zitat von Michel Beitrag anzeigen
          Please load up a LIB with your website-query, logic and the Visu-page, so that I / we can have a look on it.
          Eventually, you could do a simple check.
          Select "Communication, Web Pages/IP Devices, do an analyze on your HomeServer Login List. Try to get something in a 14Byte var. Does it work ? In my case: no.
          Feed the Login List to a logic module that removes all <td></td> pair. Re-do the previous test, now I can get something in a 14Byte var.

          I would love if someone can confirm/deny my statement. It is very possible that there is something dead wrong with my installation, a setting very obvious that all of you know, except me.

          Best regards

          Kommentar


            #6
            ouups, forgot to attach the hsl file

            Kommentar


              #7
              You may have an error in your logic module!

              Have a look on the definition of output 1! It is not initialized with '' for text data.
              5004|1|0|0|1|1 # Output 1
              ---> 5004|1|""|0|1|1 # Output 1
              Gruss aus Radevormwald
              Michel

              Kommentar


                #8
                Zitat von Michel Beitrag anzeigen
                Have a look on the definition of output 1! It is not initialized with '' for text data.
                It is worse than that, I misunderstood the word "initial value", but by re-reading "HS2-Doku-Logiksprache.pdf" it's OK
                Those newbies are really a pain

                btw, the module was working despite the error

                Kommentar

                Lädt...
                X