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

Quotation of the day

Scheduled Pinned Locked Moved Requests
27 Posts 4 Posters 14.9k Views 4 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.
  • P Offline
    pauabaer
    last edited by Apr 23, 2017, 8:52 AM

    that looks good cowboysdude :)
    where do you get the quotes from? i cant the this in the code.

    Y 1 Reply Last reply Apr 23, 2017, 9:11 AM Reply Quote 0
    • Y Offline
      yawns Moderator @pauabaer
      last edited by Apr 23, 2017, 9:11 AM

      @pauabaer
      http://quotesondesign.com/wp-json/posts?filter[orderby]=rand&filter[posts_per_page]=1

      😊

      1 Reply Last reply Reply Quote 1
      • P Offline
        pauabaer
        last edited by Apr 23, 2017, 12:40 PM

        Ah. Thanks.
        So this module is only for this homepage right?

        There is a german url: http://www.zitate-online.de/zitatdestages.xml

        which i would prefer for showing german quotes. i added this instead of the original url, but nothing happens.

        Is it possible to create this module for this homepage?

        C 1 Reply Last reply Apr 23, 2017, 12:59 PM Reply Quote 0
        • C Offline
          cowboysdude Module Developer @pauabaer
          last edited by cowboysdude Apr 23, 2017, 1:03 PM Apr 23, 2017, 12:59 PM

          @pauabaer Well that would have been handier if I knew that upfront LOL.

          If I have time today I’ll rework it.

          1 Reply Last reply Reply Quote 2
          • P Offline
            pauabaer
            last edited by Apr 23, 2017, 1:42 PM

            of course you are right. sorry for that. thought you need some more infos before starting moduling and was waiting for a conversation. but you were faster. :)

            C 1 Reply Last reply Apr 23, 2017, 1:48 PM Reply Quote 1
            • C Offline
              cowboysdude Module Developer @pauabaer
              last edited by Apr 23, 2017, 1:48 PM

              @pauabaer said in Quotation of the day:

              of course you are right. sorry for that. thought you need some more infos before starting moduling and was waiting for a conversation. but you were faster. :)

              It’s okay :) I don’t get upset I think it’s actually kinda funny LOL

              1 Reply Last reply Reply Quote 1
              • P Offline
                pauabaer
                last edited by Apr 23, 2017, 2:49 PM

                thats good. thanks for all!
                at this page the quotes were updated each day at 02:00 am. is it possible that just the new one is shown for 24h and the mirror gets refreshed these times? can you display the quote with the author like in your first version?

                C 1 Reply Last reply Apr 23, 2017, 2:50 PM Reply Quote 0
                • C Offline
                  cowboysdude Module Developer @pauabaer
                  last edited by Apr 23, 2017, 2:50 PM

                  @pauabaer should update everyday …

                  S 1 Reply Last reply Apr 23, 2017, 4:57 PM Reply Quote 0
                  • S Offline
                    strawberry 3.141 Project Sponsor Module Developer @cowboysdude
                    last edited by Apr 23, 2017, 4:57 PM

                    @cowboysdude would be cool if the module would support multiple apis,

                    for english http://quotesondesign.com
                    for german http://www.zitate-online.de

                    and then the api gets selected by the global language defined in the config file with english as fallback for a non supported language

                    Please create a github issue if you need help, so I can keep track

                    C 1 Reply Last reply Apr 23, 2017, 5:00 PM Reply Quote 1
                    • C Offline
                      cowboysdude Module Developer @strawberry 3.141
                      last edited by cowboysdude Apr 23, 2017, 5:02 PM Apr 23, 2017, 5:00 PM

                      @strawberry-3.141 Wellllllllllllllll lol I have them both working in two different modules right now…

                      Just having a tad bit of an issue with characters showing up in the German version as ? for some reason…

                      I can get them in one module using the language selection of either EN or DE …

                      S 1 Reply Last reply Apr 23, 2017, 5:05 PM Reply Quote 0
                      • 1
                      • 2
                      • 3
                      • 1 / 3
                      1 / 3
                      • First post
                        10/27
                        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