• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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.4k 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 Apr 14, 2018, 7:28 PM

    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 Apr 25, 2018, 1:56 PM

      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 Apr 25, 2018, 4:38 PM Apr 25, 2018, 4:37 PM

        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 Apr 25, 2018, 4:41 PM Reply Quote 0
        • O Offline
          Oneil25 @AxLed
          last edited by Apr 25, 2018, 4:41 PM

          @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 Apr 25, 2018, 5:23 PM

            @ 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 Apr 25, 2018, 11:54 PM

              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 Sam, technical setup by Karsten.
              This forum is using NodeBB as its core | Contributors
              Contact | Privacy Policy