MagicMirror² v2.5.0 is available! For more information about this release, check out this topic.

DailyDilbert



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



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



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



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



  • This post is deleted!


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



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