Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-19 Thread Bryn Jeffries
I was thinking basic current side AJAX, rather than doing something server side 
in Velocity. It's not my area, but I'm sure it's possible. The idea is just too 
get your browser to call the CGI script.
- Reply message -
From: Jason Clemons jason.clem...@live.com
To: XWiki Users users@xwiki.org
Subject: Re: [xwiki-users] Run external script to generate data for wiki page
Date: Fri, Dec 19, 2014 12:02


I have control over the script..so it can be in the CGI bin...would I then be 
able to invoke it through velocity?



 On Dec 18, 2014, at 6:01 PM, Bryn Jeffries bryn.jeffr...@sydney.edu.au 
 wrote:

 How external is the external script? Couldn't you wrap the script into a 
 cgi script on the same server and invoke it from the client with an AJAX call?
 
 From: Jason Clemons [jason.clem...@live.com]
 Sent: 19 December 2014 10:00
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Run external script to generate data for wiki page

 Bump... :)

 Hello all,

 I'm wondering if anyone has done anything like this before so, I thought I'd
 ask it here.  Essentially, what I want to do is have a page / form that my
 users fill out and then submit.  Upon submit I need to invoke an external
 script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick
 data gathering then insert some data in a database.  Once the script
 generates the data the page will then retrieve it and render some results
 based on it.  Most of the mechanics I can figure out I think, but I wanted
 to get some tips on the best way to actually invoke the script from a page
 in Xwiki.
 Any ideas or suggestions are appreciated...
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users

 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users


___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-18 Thread Jason Clemons
Bump... :)

Hello all,

I'm wondering if anyone has done anything like this before so, I thought I'd
ask it here.  Essentially, what I want to do is have a page / form that my
users fill out and then submit.  Upon submit I need to invoke an external
script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick
data gathering then insert some data in a database.  Once the script
generates the data the page will then retrieve it and render some results
based on it.  Most of the mechanics I can figure out I think, but I wanted
to get some tips on the best way to actually invoke the script from a page
in Xwiki.  
Any ideas or suggestions are appreciated...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-18 Thread Bryn Jeffries
How external is the external script? Couldn't you wrap the script into a cgi 
script on the same server and invoke it from the client with an AJAX call?

From: Jason Clemons [jason.clem...@live.com]
Sent: 19 December 2014 10:00
To: 'XWiki Users'
Subject: Re: [xwiki-users] Run external script to generate data for wiki page

Bump... :)

Hello all,

I'm wondering if anyone has done anything like this before so, I thought I'd
ask it here.  Essentially, what I want to do is have a page / form that my
users fill out and then submit.  Upon submit I need to invoke an external
script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick
data gathering then insert some data in a database.  Once the script
generates the data the page will then retrieve it and render some results
based on it.  Most of the mechanics I can figure out I think, but I wanted
to get some tips on the best way to actually invoke the script from a page
in Xwiki.
Any ideas or suggestions are appreciated...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users

___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


Re: [xwiki-users] Run external script to generate data for wiki page

2014-12-18 Thread Jason Clemons
I have control over the script..so it can be in the CGI bin...would I then be 
able to invoke it through velocity?



 On Dec 18, 2014, at 6:01 PM, Bryn Jeffries bryn.jeffr...@sydney.edu.au 
 wrote:
 
 How external is the external script? Couldn't you wrap the script into a 
 cgi script on the same server and invoke it from the client with an AJAX call?
 
 From: Jason Clemons [jason.clem...@live.com]
 Sent: 19 December 2014 10:00
 To: 'XWiki Users'
 Subject: Re: [xwiki-users] Run external script to generate data for wiki page
 
 Bump... :)
 
 Hello all,
 
 I'm wondering if anyone has done anything like this before so, I thought I'd
 ask it here.  Essentially, what I want to do is have a page / form that my
 users fill out and then submit.  Upon submit I need to invoke an external
 script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick
 data gathering then insert some data in a database.  Once the script
 generates the data the page will then retrieve it and render some results
 based on it.  Most of the mechanics I can figure out I think, but I wanted
 to get some tips on the best way to actually invoke the script from a page
 in Xwiki.
 Any ideas or suggestions are appreciated...
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
 
 ___
 users mailing list
 users@xwiki.org
 http://lists.xwiki.org/mailman/listinfo/users
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users


[xwiki-users] Run external script to generate data for wiki page

2014-12-16 Thread Jason Clemons

 Hello all,
 
 I'm wondering if anyone has done anything like this before so, I thought I'd 
 ask it here.  Essentially, what I want to do is have a page / form that my 
 users fill out and then submit.  Upon submit I need to invoke an external 
 script (e.g..Perl, Python, VBScript, Batch etc...) that will do some quick 
 data gathering then insert some data in a database.  Once the script 
 generates the data the page will then retrieve it and render some results 
 based on it.  Most of the mechanics I can figure out I think, but I wanted to 
 get some tips on the best way to actually invoke the script from a page in 
 Xwiki.  
 
 Any ideas or suggestions are appreciated...
___
users mailing list
users@xwiki.org
http://lists.xwiki.org/mailman/listinfo/users