Hey Eric,

Thank you very much for your solution. It works!!

Great

On Apr 3, 7:11 pm, Eric Shulman <elsdes...@gmail.com> wrote:
> > What we need is the services of someone like Eric Shulman to make it
> > anything like useful - by that I mean, the call really needs to be
> > sited directly in the tiddler and the returned results need to
> > presented (i.e. mashed up) in some kind of sensible TW kinda way.
>
> Here's an inline script that will do the job...
>
> <script>
>
> // server location
> var url='http://www.swanandmokashi.com/HomePage/WebServices/
> QuoteOfTheDay.asmx/GetQuote';
>
> // handle response from server
> var callback=function(status,place,txt,url,x){
>         var match=/<QuoteOfTheDay>(.*)<\/QuoteOfTheDay>/g.exec(txt);
>         if (match) var quote=match[1]; // extract quote from XML
>         var match=/<Author>(.*)<\/Author>/g.exec(txt);
>         if (match) var author=match[1]; // extract author from XML
>         var fmt='%0\n%1';
>         wikify(fmt.format([quote,author]),place);
>
> };
>
> // do it!
> loadRemoteFile(url,callback,place);
>
> </script>
>
> enjoy,
> -e
> Eric Shulman
> TiddlyTools / ELS Design Studios
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"TiddlyWiki" group.
To post to this group, send email to TiddlyWiki@googlegroups.com
To unsubscribe from this group, send email to 
tiddlywiki+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to