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-OnThisDayWikiApi] - Get Wikipedia's OnThisDay using the Wikimedia API

    Scheduled Pinned Locked Moved Showcase
    17 Posts 7 Posters 6.9k 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.
    • S Offline
      slugmuffin
      last edited by

      MMM-OnThisDayWikiApi!

      This module displays historical events from Wikipedia based on the current date using the free Wikimedia API. The event items will scroll through with the time-based (updateInterval).

      Screenshots

      Default Configuration:
      Screenshot
      Configured to show as list:
      Screenshot

      Download

      https://github.com/slugmuffin/MMM-OnThisDayWikiApi

      Version 0.1.0

      • Initial Version

      License

      MIT

      Thanks

      • MagicMirror² (specifically newsfeed)
      • MMM-OnThisDay
      • MMM-DailyBibleVerse
      • on-this-day
      BerkSmash1984B 1 Reply Last reply Reply Quote 3
      • BerkSmash1984B Offline
        BerkSmash1984 @slugmuffin
        last edited by

        @slugmuffin
        Just installed the module on my MM and it is working great. Thanks for this! The only thing that could be tweaked is, if using the bottom bar position, it will not be centered, but shifted to the left. Thus, I had to use the bottom center position.

        S 1 Reply Last reply Reply Quote 0
        • S Offline
          slugmuffin @BerkSmash1984
          last edited by

          @BerkSmash1984
          Is that happening as a list or as the single item view?

          BerkSmash1984B 1 Reply Last reply Reply Quote 0
          • BerkSmash1984B Offline
            BerkSmash1984 @slugmuffin
            last edited by BerkSmash1984

            @slugmuffin
            Default config, using single item view.

            S 1 Reply Last reply Reply Quote 0
            • S Offline
              slugmuffin @BerkSmash1984
              last edited by

              @BerkSmash1984 - Interesting, that’s the same configuration and position I’m using. Do you have any custom css or other modules that may be affecting it?

              BerkSmash1984B 1 Reply Last reply Reply Quote 0
              • BerkSmash1984B Offline
                BerkSmash1984 @slugmuffin
                last edited by

                @slugmuffin
                I am using MMM-pages. Nothing in custom css created for this module specifically

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

                  c764f2ca-8432-4408-8dc6-242b81257f13-image.png

                  I’m getting an error message. Is this something that will fix itself?

                  KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                  • KristjanESPERANTOK Online
                    KristjanESPERANTO Module Developer @angeliKITTYx
                    last edited by

                    @angeliKITTYx The module works fine for me. Error code 500 indicates an error on the API. You can’t do anything about that. Do you use the latest version of the module? There was an update two weeks ago.

                    A 1 Reply Last reply Reply Quote 0
                    • A Offline
                      angeliKITTYx @KristjanESPERANTO
                      last edited by

                      @KristjanESPERANTO i just reinstalled it and I’m getting the same error

                      KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                      • KristjanESPERANTOK Online
                        KristjanESPERANTO Module Developer @angeliKITTYx
                        last edited by

                        @angeliKITTYx Please show us your config of the module.

                        A 1 Reply Last reply Reply Quote 0
                        • A Offline
                          angeliKITTYx @KristjanESPERANTO
                          last edited by

                          @KristjanESPERANTO

                          		{
                          			module: "MMM-OnThisDayWikiApi",
                          			position: "bottom_bar",
                          			config: {
                          				type: "all",
                          			}
                          
                          KristjanESPERANTOK 1 Reply Last reply Reply Quote 0
                          • KristjanESPERANTOK Online
                            KristjanESPERANTO Module Developer @angeliKITTYx
                            last edited by

                            @angeliKITTYx Okay, with type: "all"' it doesn’t work for me either. Try it with type: "selcted". That works for me.

                            	{
                            		module: "MMM-OnThisDayWikiApi",
                            		position: "bottom_bar",
                            		config: {
                            			type: "selected"
                            		}
                            	},
                            
                            1 Reply Last reply Reply Quote 0
                            • A Offline
                              angeliKITTYx
                              last edited by

                              Is there any way to make the font bigger? It looks so tiny compared to the rest of my display

                              S 1 Reply Last reply Reply Quote 0
                              • S Do not disturb
                                sdetweil @angeliKITTYx
                                last edited by sdetweil

                                @angeliKITTYx as always, if it’s not in the module instructions , then you have to use css to adjust the styles.

                                sometimes the module author provides an initial css file you can copy from to custom.css to make those adjustments.

                                Sam

                                How to add modules

                                learning how to use browser developers window for css changes

                                1 Reply Last reply Reply Quote 1
                                • I Offline
                                  imdickie
                                  last edited by

                                  The title seems to ignore the forced maxWidth. Is there any way to force the title to align to the body?MMM-OnThisDay.png

                                  G 1 Reply Last reply Reply Quote 0
                                  • G Offline
                                    greedyvegan @imdickie
                                    last edited by greedyvegan

                                    @imdickie said

                                    The title seems to ignore the forced maxWidth. Is there any way to force the title to align to the body?!

                                    I’ve had this issue before
                                    try the developer view in a browser to see your options
                                    the default settings doesn’t prohibit you

                                    .MMM-OnThisDayWikiApi 
                                    {max-width:100vh;height:auto;max-height:auto;line-height:1em;}
                                    .MMM-OnThisDayWikiApi .title 
                                    {text-align:justify;margin-bottom:0.5em;text-transform:uppercase;}
                                    .MMM-OnThisDayWikiApi-single .title 
                                    {text-align: center; text-transform: capitalize;}
                                    .MMM-OnThisDayWikiApi ul 
                                    {padding: 0; margin-top: 0.5em;}
                                    .MMM-OnThisDayWikiApi-list
                                    {list-style: none; padding: 0;}
                                    .MMM-OnThisDayWikiApi-list li
                                    { text-align: justify; margin-bottom: 0.5em;}
                                    

                                    post your custom.css to assist you further

                                    I 1 Reply Last reply Reply Quote 0
                                    • bugsounetB bugsounet referenced this topic on
                                    • I Offline
                                      imdickie @greedyvegan
                                      last edited by

                                      @greedyvegan said in [MMM-OnThisDayWikiApi] - Get Wikipedia's OnThisDay using the Wikimedia API:

                                      @imdickie said

                                      The title seems to ignore the forced maxWidth. Is there any way to force the title to align to the body?!

                                      I’ve had this issue before
                                      try the developer view in a browser to see your options
                                      the default settings doesn’t prohibit you

                                      It didn’t accomplish what I wanted, but I can see you did send me down the right path. I’ll do some investigating some Custom CSS statements.

                                      Thanks.

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