Read the statement by Michael Teeuw here.
MMM-horoscope - daily horoscope
-
@pflnpi0305 are you getting any errors? Looks like you’ve posted your config in another thread, will help you there.
-
Hi @morozgrafix
Can you integrate this RSS (it’s French daily horoscope) in your module ?
https://www.horoscope.fr/rss/horoscope/jour
Thanks à lot !Stephane.
-
@istepgueu I will look into it. may need some help with translations.
Just quickly glanced at it and it seems that RSS feed doesn’t have complete text of the horoscopes only partial information. I’m not sure how useful it would be when displayed on the MM
For example here is the text from RSS feed
Amour : 31 01 2017 Vous aimeriez bien vous changer les idées auprès de votre...<br>Travail : 31 01 2017 Une bonne stratégie vous évitera de perdre du temps dans des...<br>Vitalité : 31 01 2017 Avec Mars dans votre secteur d'ombre, vous ne serez pas à l'abri d'un...<br>Humeur : 31 01 2017 Vous ferez de votre mieux pour ne pas prendre les choses qui n'en valent...<br /><a href="https://www.horoscope.fr/horoscopes/horoscope_taureau.html" title="Horoscope du taureau">Horoscope du taureau</a> ou visitez ce site : <a href="http://www.voyanceprivee.org" title="voyanceprivee.org" rel="nofollow">voyanceprivee.org</a>
It would look like this (after some formatting):
Amour : 31 01 2017 Vous aimeriez bien vous changer les idées auprès de votre... Travail : 31 01 2017 Une bonne stratégie vous évitera de perdre du temps dans des... Vitalité : 31 01 2017 Avec Mars dans votre secteur d'ombre, vous ne serez pas à l'abri d'un... Humeur : 31 01 2017 Vous ferez de votre mieux pour ne pas prendre les choses qui n'en valent...
-
Hummm yes, the sentences are truncated.
I will try to find another stream more clear and comprehensive.
Thank you very much for the quick response -
@istepgueu no problem. Let me know if you find something that can be used.
-
Hello, I am trying to have 2 horoscopes run on the mirror, one foe my wife and one for my daughter, unfortunately if I repeat the module twice in the config.jf file it will only display the text of the first loaded horoscope. That is twice the Leo sign. Is there a way to have two. My plan is to use the the scheduler ot the profile switcher on a later date. I hope it is possible. that would be the last touch to my mirror.
-
@Maxzovirax Good point. It will not work with 2 modules running simultaneously because they both will pick up same broadcast message from
node_helper.js
. I wonder if modification of the module to allow display of multiple horoscope predictions in the same module would be sufficient. It will take a bit of time to do that modification and I’m going on a small vacation tomorrow. I will think on how it can be addressed. Thanks for bringing it up. -
@morozgrafix Thank you for you quick reply… Verry nice of you to have a look at it, will look forward to a solution… have a nice holiday (going skiing?)
-
@Maxzovirax A quick fix might be to
Copy the
MMM-horoscope
folder and rename it toMMM-horoscope2
Open theMMM-horoscope.js
file and change the lineModule.register("MMM-horoscope",{
toModule.register("MMM-horoscope2",{
Save it, and then rename
MMM-horoscope.js
toMMM-horoscope2.js
Then in your config change one of the module names from
MMM-horoscope
toMMM-horoscope2
Now reboot the MM2
If it doesn’t work, delete the copied folder, change your config back and wait for morozgrafix
-
@broberg Good idea, should have thought of that myself :-) , will give it a go and tell