Hi Danielo, when I try to load from my tw <<getdata "http://www.nytimes.com/">>
the response must be: url: http://www.nytimes.com/ description: The New York Times: Find breaking news, multimedia, reviews & opinion on Washington, business, sports, movies, travel, books, jobs, education, real estate, cars & more at nytimes.com The response return after a few second (I show it in console) and in that time the return ret_val just finished running and turned null value because is event-driven and not procedural execution. For that I read on web for the Promise way and I try to implement but without result. The service test-2.php is on a php web server on web and I'm calling it from my local tiddly wiki. The response of service take time and it doesn't return a value because is Asynchronous so it does not return and load as a Widget text result (showend as result of <<getdata "http://www.nytimes.com/" >>). The idea is to have services on web servers that I can call with TW-Widget online to have information. Is like to call API from TW. It gives TW dynamic abilities that open different possibilities to call public API. Sorry for my bad english! Paulin. Il giorno lunedì 1 agosto 2016 15:46:15 UTC+2, Danielo Rodríguez ha scritto: > > Of course it's possible. > > In fact several plugins do this, filesystem plugin, tiddlyweb, NoteSelf, > etc. In fact your code seems to be correct for the task. What are you > missing? > -- You received this message because you are subscribed to the Google Groups "TiddlyWiki" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/tiddlywiki. To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/00d15510-c153-4621-85c0-264b476033be%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

