Ankündigung

Einklappen
Keine Ankündigung bisher.

HS Web Pages/IP Devices analyse .

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

    HS Web Pages/IP Devices analyse .

    Hello,

    Sorry to be a pain

    I'm unable to extract data from an RSS feed, if the data is inside the
    <![CDATA[ tags.
    I undestand that the XML parser doesn't interpret the data inside those
    tags, but I find it abnormal that the HomeServer is unable to catch the
    data.
    NB: all other extract work fine. (I've just finished a web extract for Météo with over 310 data blocks, no prob).
    Maybe my procedure is wrong, but I've tested this several times, same result.
    NB: many weather forecast RSS feed use those <![CDATA[

    Thank you for your help

    Raymond

    #2
    Hi Raymond,

    for the RSS-feed of www.formel1.de, I am using the settings you'll find in the attached screenshot. Beside the German Umlaute, which I've ignored until now, it works ok.

    Hope that helps.

    Bye,
    Harald
    Angehängte Dateien

    Kommentar


      #3
      Zitat von HaraldP Beitrag anzeigen
      I am using the settings you'll find in the attached screenshot.
      Thank you, I'll try
      Zitat von HaraldP Beitrag anzeigen
      Beside the German Umlaute, which I've ignored until now, it works ok.
      But you could use the Matthias's logic module to solve it.
      I've written a similar module to cope with the Unicode UTF-8 (Google sites, like the french EIB forum) and the french character set.

      Thanks
      Raymond

      Kommentar


        #4
        Zitat von HaraldP Beitrag anzeigen
        I am using the settings you'll find in the attached screenshot.
        No, I'm not getting anything out of CDATA.
        All other variables (title, subtitle etc) are OK, so I guess the syntax of the parsing is OK (otherwise, nothing is displayed).

        Maybe something else ? not seen in your example ?

        NB: In my case, the whole forecast is put into a single CDATA, maybe it is too big ? I seem to remember that a 14Byte var could hold up to a practical limit of 64K, is that correct ?

        Greetings from a warm Midi-Pyrénées
        Raymond

        Kommentar


          #5
          No, not 64k, but only 10000 bytes.
          Gruß Matthias
          EIB übersetzt meine Frau mit "Ehepaar Ist Beschäftigt"
          - PN nur für PERSÖNLICHES!

          Kommentar


            #6
            Zitat von MatthiasS Beitrag anzeigen
            No, not 64k, but only 10000 bytes.
            Thank you.
            I think it will fit. 10K is a huge amount of text.
            Maybe version dependent ? my version of the Experte is 2.1.2.061109

            Best regards
            Raymond

            Kommentar


              #7
              Zitat von Warichet Beitrag anzeigen
              No, I'm not getting anything out of CDATA.
              Well, yet another bobo with ther web site analyze.
              After double checking the syntax, I didn't find/see any error.

              So I send the data captured from CDATA to a logic module which removes all of the html code and .... all of a sudden, it works.
              Very bizarre, there was already that thing with </td><td>, now it goes about </p><p>, </b><b>, <br /> etc don't know which one is the cause, I removed everything.

              NB: the size of the 14Byte var is 6K, so far below the 10K limit, just in case you think that removing some text reduces the size to just below 10K .

              Greetings
              Raymond

              Kommentar

              Lädt...
              X