Read the statement by Michael Teeuw here.
Bus timetable from json file
-
Hello guys, I need your help. For a few days I’ve been trying to create a way to display my bus timetables. The data I’m trying to get from a json file. I tried with mmm-jsonTable and with mmm-json-feed without success. Below is what I get.
In the link you can see the json files that I would like to display, only one or two at the same time in separate instances, but I would like to choose which ones to display. I do not really know programming but I’m trying to learn, so please give me some ideas how can i do it.
If you have any questions please ask me.
Thanks. -
@electros you could look at mmm-bustimes. It is a similar module and also parses a json file (a different one) into a table
Git link. https://github.com/73cirdan/MMM-bustimes -
@cirdan Sorry for late reply but in last day’s i worked away without access to my computer. I will look in that module today to see the code but please if you have some time can you show me where i need to change the code to start read one of my file M21.json for example ?
-
Well, in the last 2 days I tried to work on this module but I did not succeed. I tried to look at how other modules are built with the same destination and I search the internet for various tutorials about js but I think I’m too old to understand:disappointed_face: :face_with_cold_sweat: .
That being said I am willing to pay a modest amount for someone who takes the time to make this module for me. Please help me. Thank you -
Its not that hard electros. Mykle isn’t the youngest either:grinning_face_with_smiling_eyes:
Make 1 small target at a time. Eg
1 run an existing module eg bustimes
2 change the nodehelper to read your datasource
3 decide on the dataformat to feed into the getdom
4 format the dataformat -
@cirdan it’s easy to say for you, you created that module.:grinning_face_with_smiling_eyes: But I’m still trying for a few days and nothing, no progress. The problem is I know what the module should do to display the correct data but I do not know how to put this in js.:disappointed_face:
-
@electros i will help… ok, i see your data…
-
@cirdan said in Bus timetable from json file:
Mykle isn’t the youngest either
Ha! Nor am I the oldest!
You are in very good hands, @electros. I see @sdetweil is going to help you. He has helped me in the past, too. Really, he’s a genius. :thumbsup:
-
@sdetweil Thank you for your time. I look forward to hearing you. If you need more information please ask me. Thanks again.
-
@electros I sent u a private message asking for more info