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.

    Grab article URL from Newsfeed

    Scheduled Pinned Locked Moved System
    2 Posts 2 Posters 403 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.
    • F Offline
      Fedeche
      last edited by

      Hello everybody!

      I am a noob, but I was able to use the Newsfeed module via iPhone (with iOS Shortcuts app and the notification system of MMM-Remote-Control).

      e.g., I can view in MagicMirror the fullscreen news, by sending via GET method:

      http://192.168.1.127:8080/api/notification/ARTICLE_TOGGLE_FULL
      

      So, I read that ARTICLE_INFO_REQUEST notification “Causes newsfeed to respond with the notification ARTICLE_INFO_RESPONSE, the payload of which provides the title, source, date, desc and url of the current news title”.

      Then I ask for help: how can I get this “response” on my iPhone, in order to grab the URL and open it in iPhone’s browser?
      N.B. The iPhone’s Shortcut app contains a function that detects and fetches a URL from a text.

      But, if I send:

      http://192.168.1.127:8080/api/notification/ARTICLE_INFO_REQUEST
      

      in browser I get this answer:

      {"success":true,"notification":"ARTICLE_INFO_REQUEST","payload":{}}
      

      So, correctly, iPhone tells me there are no URLs to detect.

      How can I “grab” in my iPhone the URL in notification ARTICLE_INFO_RESPONSE?

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

        @fedeche I don’t believe there is any way currently. the notification request and response is between modules inside mm. not to outside parties

        Sam

        How to add modules

        learning how to use browser developers window for css changes

        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