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

Cannot get compliments on github to work

Scheduled Pinned Locked Moved Fun & Games
5 Posts 2 Posters 560 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.
  • T Offline
    theaddies
    last edited by theaddies Mar 10, 2024, 11:05 PM Mar 10, 2024, 11:04 PM

    Re: Need more compliments? compliments.json

    I have the following link:
    https://raw.githubusercontent.com/theaddies/compliments/21e818b6d12a1b8f7e6328808946ce18b6bd3e02/text.json
    and my config.js file looks like the following:

    {module: "compliments",
                          position: "lower_third",
                                  config: {
                                  remoteFile :  "https://raw.githubusercontent.com/theaddies/compliments/21e818b6d12a1b8f7e6328808946ce18b6bd3e02/text.json"
                                  }
                  },
    

    I cannot for the life of me figure out what is wrong. Please help.

    S 1 Reply Last reply Mar 10, 2024, 11:28 PM Reply Quote 0
    • S Offline
      sdetweil @theaddies
      last edited by Mar 10, 2024, 11:28 PM

      @theaddies all of the text strings have the word processing double quotes (curved),
      not the text double quote (not curved)

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      T 1 Reply Last reply Mar 10, 2024, 11:44 PM Reply Quote 0
      • T Offline
        theaddies @sdetweil
        last edited by Mar 10, 2024, 11:44 PM

        @sdetweil Thanks for the reply. I saw that and fixed it. It still doesn’t work.
        https://raw.githubusercontent.com/theaddies/compliments/7d37fa1925952c81745dcaa353128566966bb7db/text.json

        T 1 Reply Last reply Mar 10, 2024, 11:55 PM Reply Quote 0
        • T Offline
          theaddies @theaddies
          last edited by Mar 10, 2024, 11:55 PM

          @theaddies I got it. VS code was a big help to see my errors. Also, for anyone else that stumbles upon this, you need to copy the permalink, paste that into the browser and then click raw. The link you get just clicking raw will not work.

          S 1 Reply Last reply Mar 10, 2024, 11:58 PM Reply Quote 1
          • S Offline
            sdetweil @theaddies
            last edited by Mar 10, 2024, 11:58 PM

            @theaddies and I use this to validate and examine json

            https://codebeautify.org/jsonvalidator

            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
              1/5
              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