MagicMirror Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • Donate
    • Discord

    default newsfeed and iframe

    Troubleshooting
    3
    6
    952
    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.
    • A
      albertlwj last edited by

      sorry but I’m a noob when it comes to coding js.

      does anyone know how I can configure the default newsfeed module to open the article in an iframe when I click on it?

      1 Reply Last reply Reply Quote 0
      • O
        Oneil25 last edited by

        I too am having this issue. Saw something having to do with a site having the appropriate X-frame options settings, though can’t figure out how to tell which sites do or do not have the correct settings. 😞

        1 Reply Last reply Reply Quote 0
        • A
          AxLed Module Developer last edited by AxLed

          One Tip, you have to press the button twice to Open the full article (website). Details see Readme at Newsfeeds Module.
          AxLED

          O 1 Reply Last reply Reply Quote 0
          • O
            Oneil25 @AxLed last edited by

            @AxLed Yup, I have done that the first press opens the short summary as expected the second press opens a blank/black iframe. This is using the default rss feed of:

            {
            module: “newsfeed”,
            position: “bottom_bar”,
            config: {
            feeds: [
            {
            title: “New York Times”,
            url: “http://www.nytimes.com/services/xml/rss/nyt/HomePage.xml”
            }
            ],
            showSourceTitle: true,
            showPublishDate: true
            }
            },

            1 Reply Last reply Reply Quote 0
            • A
              AxLed Module Developer last edited by

              @ Oneil25
              Config looks ok, have you tried a second rss source (feed), maybe something with nytimes feed.
              AxLED

              1 Reply Last reply Reply Quote 0
              • O
                Oneil25 last edited by

                I have not yet. Reading the newsfeed readme it looks like it may have to do with x-frame options of the source. I have to confess though I have no idea where to view a site’s x-frame options header or how to find news feeds with x-frame options that are favorable for embedding into an iframe.

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Enjoying MagicMirror? Please consider a donation!
                MagicMirror created by Michael Teeuw.
                Forum managed by Paul-Vincent Roll and Rodrigo Ramírez Norambuena.
                This forum is using NodeBB as its core | Contributors
                Contact | Privacy Policy