• 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.

Cant recieve RSS feed

Scheduled Pinned Locked Moved Troubleshooting
rssmagicmirror2feednewsfeedxml
4 Posts 2 Posters 614 Views 2 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
    Abram
    last edited by Oct 9, 2020, 8:11 AM

    I have had other feeds working correctly, however when trying to use the default newsfeed module with “https://www.news.com.au/content-feeds/latest-news-technology/”, it doesn’t load.

    Note: “https://www.news.com.au/feed/” does work.

    At this point, i’m lost.
    Someone have any answers?

    S 2 Replies Last reply Oct 9, 2020, 12:19 PM Reply Quote 0
    • S Offline
      sdetweil @Abram
      last edited by Oct 9, 2020, 12:19 PM

      @Abram can u put those in a browser and see what u get?

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      1 Reply Last reply Reply Quote 0
      • S Offline
        sdetweil @Abram
        last edited by Oct 9, 2020, 1:40 PM

        @Abram looks like that feed isn’t formatted as MM expects…

        the code expects some kind of published date on each item entry, while the feed only lists that as part of the feed header

        			const title = item.title;
        			let description = item.description || item.summary || item.content || "";
        			const pubdate = item.pubdate || item.published || item.updated || item["dc:date"];  // get pub date date
        			const url = item.url || item.link || "";
        
        			if (title && pubdate) {  //< - ---
        
        &lt; rss version="2.0">
        &lt; channel>
        &lt; title>RSS news.com.au — Australia’s leading news site | Technology&lt; /title>
        &lt; link>https://www.news.com.au&lt; /link>
        &lt; description>news.com.au — Australia’s leading news site news feed for the Technology category.&lt; /description>
        &lt; pubDate>Sat, 10 Oct 2020 00:19:58 +1100&lt; /pubDate>
        &lt; lastBuildDate>Sat, 10 Oct 2020 00:19:58 +1100&lt; /lastBuildDate>
        &lt; language>en-au&lt; /language>
        &lt; copyright>Copyright 2017 Nationwide News Pty Ltd. All rights reserved.&lt; /copyright>
        &lt; generator>WordPress VIP&lt; /generator>
        &lt; ttl>5&lt; /ttl>
        &lt; item>
        &lt; title>Google must pay for news, court rules&lt; /title>
        &lt; subtitle>Google forced to pay for news in France, after appeals court dismisses tech giant’s pleas&lt; /subtitle>
        &lt; link>https://www.news.com.au/finance/business/media/google-forced-to-pay-for-news-in-france-after-appeals-court-dismisses-tech-giants-pleas/news-story/45b8af3fba96458a87d8a373ec870956?from=rss-basic&lt; /link>
        &lt; description>
        &lt; ![CDATA[ The Australian competition watchdog has welcomed an “important decision” by French authorities that will force Google to pay publishers for the news they use. ]]>
        &lt; /description>
        &lt; vertical>Finance&lt; /vertical>
        &lt; section>Media&lt; /section>
        

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        S 1 Reply Last reply Oct 9, 2020, 2:35 PM Reply Quote 0
        • S Offline
          sdetweil @sdetweil
          last edited by Oct 9, 2020, 2:35 PM

          @Abram the current code has no ability to see the header or its contents

          Sam

          How to add modules

          learning how to use browser developers window for css changes

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          1 / 1
          • First post
            4/4
            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