ReactJS WebApp -> MilkScript
Hi. I am writing a ReactJS-based web app that is hosted on Netlify. The app features a "Submit a Bug" button. Clicking the button opens a form where the user can describe the bug. It is then emailed to me, where I then copy/paste it into a new RTM task.
Is there a place for Milkscript here? That is, when someone clicks Submit, could I write a function to call Milkscript directly? It would be awesome if a form submission automatically turned into an RTM task.
Or am I completely misunderstanding how Milkscript works?
Thanks!
Is there a place for Milkscript here? That is, when someone clicks Submit, could I write a function to call Milkscript directly? It would be awesome if a form submission automatically turned into an RTM task.
Or am I completely misunderstanding how Milkscript works?
Thanks!
Yes, technically speaking the RTM API would allow you to trigger a MilkScript from outside(https://www.rememberthemilk.com/services/api/methods/rtm.scripts.run.rtm)
However, the same API allows you to add a task directly(https://www.rememberthemilk.com/services/api/methods/rtm.tasks.add.rtm) and has done for years, so instead triggering MilkScript which then adds a task would make no sense unless you enjoy extra complexity.
In any case RTM already has a feature which automatically converts e-mails to tasks - https://www.rememberthemilk.com/services/email/. I would have thought the simplest option would be to just tweak the e-mail template to match what RTM expects.
However, the same API allows you to add a task directly(https://www.rememberthemilk.com/services/api/methods/rtm.tasks.add.rtm) and has done for years, so instead triggering MilkScript which then adds a task would make no sense unless you enjoy extra complexity.
In any case RTM already has a feature which automatically converts e-mails to tasks - https://www.rememberthemilk.com/services/email/. I would have thought the simplest option would be to just tweak the e-mail template to match what RTM expects.
Log in
to post a reply.