Where I work, there is a PHP script that accesses data in Bugzilla. Given the appropriate parameters, it will emit this data as HTML text.
I can present the results in a TWiki page, using INCLUDE or an iframe. However, I'd like to access the results as data in my TWiki page (e.g., set a TWiki variable to the contents).
Is this possible (without admin access to the server)?
To try to be more specific, what I have now is the following:
For example, given:
<iframe src="http://foo.host.domain/fieldinfo.php?projectid=%FORMFIELD{"ProjectID" }%&fieldids=1,12,7"></iframe>
I get this (screenshot)
What I would like is to be able to hand the php script the correct parameters to have it return, say, the date value "4/30/2007" without the surrounding table chrome. I want to be able to use that value in my TWiki page, e.g. set a variable to the returned data and then use that variable, push it into a form field, display it in my own table cell with my own formatting, etc. I want to be able to control the presentation of the data.
--
VickiBrown - 02 May 2007
If you answer a question - or have a question you asked answered by someone - please remember to edit the page and set the status to answered. The status is in a drop-down list below the edit box.
although neither of these plugins have been ported to twiki-4, you might like to look at
BugzillaQueryPlugin and
BugzillaLinkPlugin.
I don't think there is a
pattern() (from
FormattedSearch) like syntax for INCLUDE, Peter will probably have a way to get a value using a combination of INCLUDE and
SpreadSheetPlugin
--
SvenDowideit - 02 May 2007
Actually, there is a pattern syntax on INCLUDE, and it appears to be in the 4.0 series:
TWiki04.TWikiVariables#INCLUDE_page_include_other_topic I used it to drop the page framework from our ISP's network status page, since their external connection has hiccups now and then.
--
JustinLove - 04 May 2007
Vicki - I presume you've found a way? re-open if not - though I would like to hear how you solved this.
--
SvenDowideit - 02 Jun 2007