Schedule Module with XML/Feed source
Iam looking for help to fulfill my girlfriends request :-)
Now i need to be able to display this feed data like this module:
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 ;)
ONE Training Center
8:30 - 9:25 Spinning
8:30 - 9:25 Fun Tone
9:30 - 10:25 Power Yoga
(Data from xml file 1)
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!
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
- 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 than
MMM-WeeklySchedule. Personally, I did something similar with
MMM-json-feedcustomizing the output to show what I wanted from the json feed for my nearest bus stop.