Read the statement by Michael Teeuw here.
Schedule Module with XML/Feed source
-
Hello
Iam looking for help to fulfill my girlfriends request :-)
I was able to filter out the course plan for her with feed43
http://feed43.com/5546442377204284.xml (xml example 1)
http://feed43.com/6082708764845543.xml (xml example 2)Now i need to be able to display this feed data like this module:
https://github.com/pinsdorf/MMM-WeeklySchedule
But not filled from the config file. Instead from the sources above.
I think you understand it, otherwise ask me to explain it more detailed ;)Example:
ONE Training Center
Today
8:30 - 9:25 Spinning
8:30 - 9:25 Fun Tone
9:30 - 10:25 Power Yoga
(Data from xml file 1)Tomorrow
8:30 - 9:25 Dances
9:30 - 10:25 BODYPUMP
(Data from xml file 2)So, a mix of the newsfeed and WeeklySchedule module i think ^^
I did not found a similar solution, maybe someone know one or can help me because iam not a programmer :/Thank you very much!
-
@kruemel You can make a mashup of
MMM-WeeklySchedulefor display andMMM-HTTPRequestDisplayto fetch data which handles an XML response. -
Thank you ninjabreadman but this is to high for me ^^ i cant code
-
is there an example where we change the quoted text in WeeklySchedule to XML. the Chicago CTA api is what i’m trying to resolve to a schedule based on the array they return
like here - https://www.dmcinfo.com/latest-thinking/blog/id/8568/cta-bus-tracking-with-the-raspberry-pi
- sorry if this is super basic
-
Hi @shakir, I suggest you switch to using a JSON (vs XML) response. You just need to add
&format=jsonto your query URL, according to the API documentation from CTA. Then you can look at any of the transit modules for MM, most of which handle a JSON response. It might even be easier to modify one of those thanMMM-WeeklySchedule. Personally, I did something similar withMMM-json-feedcustomizing the output to show what I wanted from the json feed for my nearest bus stop.
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