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.

    MMM-DailyBibleVerse

    Scheduled Pinned Locked Moved Education
    25 Posts 7 Posters 20.8k Views 7 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
      arthurgarzajr
      last edited by yawns

      Description:

      I made a module to display the verse of the day from www.biblegateway.com. :)

      Download:

      [card:arthurgarzajr/MMM-DailyBibleVerse]


      Initial Version

      Update 1

      • Fixed some connection problems
      brobergB yawnsY 2 Replies Last reply Reply Quote 1
      • brobergB Offline
        broberg Project Sponsor @arthurgarzajr
        last edited by broberg

        @arthurgarzajr
        I googled it, and they have a RSS feed,
        So just add this adress : https://www.biblegateway.com/votd/get/?format=atom
        To the newsfeed module and you will get the verse every day.

        Edit : sorry, I thought this was a request, my bad :D

        1 Reply Last reply Reply Quote 0
        • yawnsY Offline
          yawns Moderator @arthurgarzajr
          last edited by

          @arthurgarzajr said in MMM-DailyBibleVerse:

          I made a module to display the verse of the day from www.biblegateway.com. :)

          Please add the link to your github repository and please add a screenshot. Otherwise this entry is kind of useless :)

          1 Reply Last reply Reply Quote 0
          • A Offline
            arthurgarzajr
            last edited by

            Whoops! Here’s the link to the repository: https://github.com/arthurgarzajr/MMM-DailyBibleVerse

            1 Reply Last reply Reply Quote 1
            • R Offline
              racampbellky
              last edited by

              I get the first day but then have socket errors when trying to refresh.

              1 Reply Last reply Reply Quote 0
              • A Offline
                arthurgarzajr
                last edited by

                What is the socket error you are getting?

                1 Reply Last reply Reply Quote 0
                • R Offline
                  racampbellky
                  last edited by

                  MMM-DailyBibleVerse node helper received a socket notification: START - Payload: [object Object]
                  {“error”:{“code”:“103”,“message”:“Invalid version: Please check your version parameter”}}

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    arthurgarzajr
                    last edited by

                    Great! Thank you. It seems that the version is not being passed properly after a while…I’ve been trying to figure out what was going on but with that error message I am able to see what is happening.

                    Let me try to fix it and I’ll get back with you on if my fix worked.

                    Thanks!

                    R 1 Reply Last reply Reply Quote 0
                    • R Offline
                      racampbellky @arthurgarzajr
                      last edited by

                      @arthurgarzajr Any Luck on this issue? Love the module

                      1 Reply Last reply Reply Quote 0
                      • A Offline
                        arthurgarzajr
                        last edited by

                        Hey! Thanks for checking back. Yes I think I have it fixed.

                        I’ve been waiting a few days to verify it really is fixed before I updated this thread and pushed my code to Github.

                        Let me check tonight if it’s still working and I will push my changes.

                        1 Reply Last reply Reply Quote 0
                        • A Offline
                          arthurgarzajr
                          last edited by

                          Ok the fix seems stable. You can do a git pull to get the latest and please reply back if you’re still experiencing issues.

                          Thanks!

                          1 Reply Last reply Reply Quote 0
                          • B Offline
                            bminer1
                            last edited by

                            How do i make the font smaller? With long verses, it sucks up a lot of space. If I could half the size or match the text size of the other modules, it would free up more mirror.

                            0_1487965415351_Screen Shot 2017-02-24 at 2.43.06 PM.png

                            cowboysdudeC 1 Reply Last reply Reply Quote 0
                            • cowboysdudeC Offline
                              cowboysdude Module Developer @bminer1
                              last edited by cowboysdude

                              @bminer1 said in MMM-DailyBibleVerse:

                              How do i make the font smaller? With long verses, it sucks up a lot of space. If I could half the size or match the text size of the other modules, it would free up more mirror.

                              0_1487965415351_Screen Shot 2017-02-24 at 2.43.06 PM.png

                              Custom css file:

                               MMM-DailyBibleVerse {
                              font-size: 12px;
                              }
                              

                              should work… make is any size you want…

                              B 2 Replies Last reply Reply Quote 0
                              • B Offline
                                bminer1 @cowboysdude
                                last edited by

                                @cowboysdude said in MMM-DailyBibleVerse:

                                MMM-DailyBibleVerse {
                                font-size: 12px;
                                }

                                Im thinking to myself, i know i can do this without help. It has to be simple. Then i gave up and spit it out here. Now look, its a frickin 1 liner! ugh, ill get it eventually.
                                Thanks, even though your a cowboys fans. ;-)

                                1 Reply Last reply Reply Quote 0
                                • B Offline
                                  bminer1 @cowboysdude
                                  last edited by

                                  @cowboysdude
                                  No luck on the custom.css file. Still the same size. Tried a 8px and no changes.

                                  brobergB 1 Reply Last reply Reply Quote 0
                                  • brobergB Offline
                                    broberg Project Sponsor @bminer1
                                    last edited by

                                    @bminer1 it’s missing a .

                                    .MMM-DailyBibleVerse {
                                    font-size: 12px;
                                    }
                                    B 1 Reply Last reply Reply Quote 1
                                    • B Offline
                                      bminer1 @broberg
                                      last edited by bminer1

                                      @broberg Worked! Now to get it a little closer together. Line 1 is really far from line 2.

                                      0_1487971090576_Screen Shot 2017-02-24 at 4.14.09 PM.png

                                      cowboysdudeC 1 Reply Last reply Reply Quote 0
                                      • cowboysdudeC Offline
                                        cowboysdude Module Developer @bminer1
                                        last edited by

                                        @bminer1

                                        Eh thought I put the . in there LOL

                                        Try this:

                                        .MMM-DailyBibleVerse {
                                        font-size: 12px;
                                        line-height: 34%;
                                        }
                                        

                                        Adjust your % until you get what you want ;)

                                        1 Reply Last reply Reply Quote 0
                                        • A Offline
                                          arthurgarzajr
                                          last edited by

                                          Would it be preferred to control the font size from the configuration of the actual module rather than in the custom.css file? Or what is the standard way to do this in the Magic Mirror framework?

                                          cowboysdudeC 1 Reply Last reply Reply Quote 1
                                          • cowboysdudeC Offline
                                            cowboysdude Module Developer @arthurgarzajr
                                            last edited by

                                            @arthurgarzajr You could put in a config option to do it from config.js… using the custom css file is just as easy :)

                                            A 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
                                            • 2
                                            • 2 / 2
                                            • 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