Hi Javier,

This is the link to Tobias Beer's sample that I have mentioned: 
https://tobibeer.github.io/tw/enable-js/#script  
<https://tobibeer.github.io/tw/enable-js/#script>

As for my problem, @saqimtiaz has solved it here at Reddit 
<https://www.reddit.com/r/TiddlyWiki5/comments/nhngcn/js_macro/?utm_source=share&utm_medium=web2x&context=3>.
 
However, there is still a glitch as it works locally and not online 
(Netlify & TiddlyHost).

Thanks,

Ayesha.

On Monday, May 24, 2021 at 5:04:28 AM UTC+8 Javier Rojas wrote:

> On Fri, May 21, 2021 at 01:09:44AM -0700, Ayesha wrote:
> > - Input in Tiddler: <<Q "2:2">> /* Macro call for Quran chapter 2 
> > verse 2 */
> > - Current Output: http://api.alquran.cloud/v1/ayah/2:2/en.asad
> > - Desired Output: "This is the Book - wherein there be no doubt about it 
> > is [meant to be] a guidance for all the God-conscious." (The actual 
> > verse 2:2 instead of just the link)
> > 
> > I am using the following code adapted from Tobias Beer's sample in my 
> Macro.
>
> Hello,
>
> I could not find the sample from Tobias Beer that you are referring to.
> Would you mind sharing it here, to have a better look at it and see how
> it can be applied to your problem? For what is worth, I've been playing
> a bit with getting tiddlywiki to issue HTTP requests elsewhere, and I'm
> curious about example code from somebody else...
>
> Cheers,
>
> -- 
> Javier
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/tiddlywiki/e1b2ebd9-85ad-4383-97f4-6702a93ffc5cn%40googlegroups.com.

Reply via email to