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

DailyDilbert

Scheduled Pinned Locked Moved Requests
20 Posts 8 Posters 9.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.
  • L Offline
    lavolp3 Module Developer
    last edited by Feb 8, 2018, 9:40 AM

    I know there is a dailyxkcd module which of course works great in the mirror since it is b/w by nature.

    Would there also be a possibility to build a Daily Dilbert.
    Here in Germany I’d also be interested in a Daily Nichtlustig.

    Was thinking about catching the daily picture somehow and including it into an iframe. But I’m not good at this and someone surely knows a more elegant way :-)

    Looking forward to your ideas!

    How to troubleshoot modules
    MMM-soccer v2, MMM-AVStock

    1 Reply Last reply Reply Quote 0
    • K Offline
      kjb085
      last edited by Apr 9, 2018, 1:42 AM

      I’m currently working on a DailyDilbert module. I threw together a web scraper for it already, it’s just a matter of putting together the actual module component of it. I was trying to think if there was a simple way to build a web scraping module to make it agnostic of the web site, but the only solutions I could come up with are more time intensive than I wish to spend on this. That being said, but you could probably modify the code to accommodate the other comic site you’re looking for once I publish MMM-DailyDilbert.

      1 Reply Last reply Reply Quote 1
      • L Offline
        lavolp3 Module Developer
        last edited by Apr 10, 2018, 1:35 PM

        Great news!

        Thanks, I’m looking forward to it!
        A website agnostic module may not be worth the work. I was only looking for DailyDilbert, dailyxkcd already exists.

        How to troubleshoot modules
        MMM-soccer v2, MMM-AVStock

        1 Reply Last reply Reply Quote 0
        • L Offline
          Loengard
          last edited by Sep 6, 2018, 12:21 PM

          I know this topic is quite old, but I was trying to change the Dilbert module to work with the Garfield daily comic (see https://garfield.com/comic or RSS at https://www.comicsrss.com/preview/garfield). But I can’t for the life of me figure out how to do this (complete newbie).

          Any ideas or suggestions?

          1 Reply Last reply Reply Quote 1
          • M Offline
            Maximillium
            last edited by Sep 24, 2018, 8:03 PM

            This post is deleted!
            1 Reply Last reply Reply Quote 0
            • M Offline
              Maximillium
              last edited by Sep 26, 2018, 5:28 PM

              Hi! Is there anyone that could tell me how to shrink the size of the DailyDilbert comic?

              L 1 Reply Last reply Oct 29, 2018, 8:40 AM Reply Quote 0
              • L Offline
                lavolp3 Module Developer @Maximillium
                last edited by Oct 29, 2018, 8:40 AM

                @maximillium I did it like this but had to search for a while as well.

                You can put this in your custom.css and use whatever value you prefer

                .MMM-DailyDilbert #dilbert-content {
                  width: 900px;
                }
                

                A tip if you’re interested:
                If you open the mirror in your browser (I’m using chrome mirror_ip:8080) and open the developer’s console with F12 you can see all the css involved (in the “styles” tab). Then you can right-click on the image and press “investigate” or whatever it’s called in english and you can see all the css affecting this picture. You can even toggle properties on/off live. Just discovered all the possibilites with this function working on this problem.

                How to troubleshoot modules
                MMM-soccer v2, MMM-AVStock

                S 1 Reply Last reply May 29, 2019, 9:17 PM Reply Quote 1
                • L Offline
                  Loengard
                  last edited by Feb 27, 2019, 5:59 PM

                  Hi there - in the hope someone could point me in the right direction, any ideas on how to create a module for the daily Garfield comic?

                  L 2 Replies Last reply Feb 28, 2019, 8:16 AM Reply Quote 0
                  • L Offline
                    lavolp3 Module Developer @Loengard
                    last edited by Feb 28, 2019, 8:16 AM

                    @loengard What you would need basically is a scraping function.
                    One of my (too many) projects currently is to create a module like MMM-WebScraper.
                    However, I think it should be possible to take MMM-DailyXKCD or MMM-DailyDilbert as a start. There is a scraper included somehow, haven’t looked at the code yet.

                    Then you could change the basic url to the Garfield comic.

                    I’ll check it out as well.

                    How to troubleshoot modules
                    MMM-soccer v2, MMM-AVStock

                    1 Reply Last reply Reply Quote 0
                    • L Offline
                      lavolp3 Module Developer @Loengard
                      last edited by Feb 28, 2019, 1:49 PM

                      @loengard Well it’s done. The changes were quite easy :-)
                      Try it out, it is very rough and there are several things still called “Dilbert” :-).

                      https://github.com/lavolp3/MMM-DailyDilbert

                      I think it would make sense to eventually create a “ComicStrip” module and let the user choose between Dilbert, Garfield, xkcd and what else can be created. @kjb085 was already mentioning a website agnostic module.

                      But I’d like to leave the decision to @andrecarlucci (or is it @kjb085?) and/or @Blastitt who have put much more work into it.

                      How to troubleshoot modules
                      MMM-soccer v2, MMM-AVStock

                      S 1 Reply Last reply May 30, 2019, 10:41 AM Reply Quote 2
                      • 1
                      • 2
                      • 1 / 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