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.

    default newsfeed and iframe

    Scheduled Pinned Locked Moved Troubleshooting
    6 Posts 3 Posters 1.9k 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.
    • A Offline
      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 Offline
        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 Offline
          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 Offline
            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 Offline
              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 Offline
                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

                Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                With your input, this post could be even better 💗

                Register Login
                • 1 / 1
                • 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