[xwiki-users] Run external script to generate data for wiki page
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...
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
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.clemons@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
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.jeffries@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.clemons@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
participants (2)
-
Bryn Jeffries -
Jason Clemons