MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    SampleCode for Module to read a specific Information from a webpage

    Scheduled Pinned Locked Moved Development
    19 Posts 4 Posters 1.3k Views 3 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      newbi
      last edited by

      @chrisfr1976 thanks for giving me the two modules :)
      The first one seems to be promising. But I struggle to get the page been shown.
      Is it possible to show a page?
      And is it possible just to show the content of

      with a class name thats locatet somehere on the page?
      If not, i will stopp my effords and enjoy what i got so far, but it would be nice to get this information on the screen.

      @rkorell, well newbi to programming or confuguring a mirror. Not now to programming at all, but i do it in a completele different environment (more old school).
      I do nothing with webpages, nopthing with javascript, no libraries.
      My Configuration does work well, i do it wie ssh. not the best way, but the result is good.

      S 1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @newbi
        last edited by

        @newbi if you use the iframe approach it is complete page only

        thst didnt sound like what you wanted. as mentioned if you install one of the windows tools, you will get ssh window to pi, AND a windows file manager that adds drag/drop and double click to edit

        i use notepad++ on windows as my editor, or sometimes visual studio

        you can slso use a browser on windows to view the page, and debug the browser side of the module

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by

          @newbi actually I now remember a new module

          see https://forum.magicmirror.builders/topic/19057/mmm-scrapey-i-made-something-that-could-be-useful?page=1

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • N Offline
            newbi
            last edited by

            no, an iframe is not exactly waht i wanted, but better than nothing. I struggle a bit to get the iframe to the correct position. Well if i can manage to scroll to the desired position, it would be helpfull, but i did not made it.
            @sdetweil , i will chekc the module thanks. It is so much to find out, to test, a big cosmos on its own :)

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              sdetweil @newbi
              last edited by

              @newbi yes, LOTS of info

              i think scrapey will do what you want

              Sam

              How to add modules

              learning how to use browser developers window for css changes

              1 Reply Last reply Reply Quote 0
              • N Offline
                newbi
                last edited by

                Thanks a lot.
                I will try the suggested Modules. We will see where i will get.
                So this topic is solved for me.

                S 1 Reply Last reply Reply Quote 0
                • S Offline
                  sdetweil @newbi
                  last edited by

                  @newbi did you get it working like you wanted?

                  Sam

                  How to add modules

                  learning how to use browser developers window for css changes

                  1 Reply Last reply Reply Quote 0
                  • N Offline
                    newbi
                    last edited by

                    Thanks for your question. No, i quit the issue for now. Maybe i will come back to it in a few months. And maybe i will ask some questions again :)

                    S 1 Reply Last reply Reply Quote 0
                    • S Offline
                      sdetweil @newbi
                      last edited by

                      @newbi ok.

                      Sam

                      How to add modules

                      learning how to use browser developers window for css changes

                      1 Reply Last reply Reply Quote 0
                      • 1
                      • 2
                      • 2 / 2
                      • First post
                        Last post
                      Enjoying MagicMirror? Please consider a donation!
                      MagicMirror created by Michael Teeuw.
                      Forum managed by Sam, technical setup by Karsten.
                      This forum is using NodeBB as its core | Contributors
                      Contact | Privacy Policy