0

我正在尝试找到一种将 bugzilla 的表格报告嵌入到另一个 HTML 文档中的方法。有谁知道这样做的方法?所有嵌入都必须发生在客户端。我无权访问后端 Web 服务器来实现内容的解析/内联。我想,我可以使用 iframe,但我还没有找到一种方法来告诉 bugzilla 不要发出其标准页眉和页脚。

有没有人有在客户端将 bugzilla 报告嵌入到 HTML 文档中的经验?

这是一个示例报告... https://bugs.eclipse.org/bugs/report.cgi?x_axis_field=bug_status&y_axis_field=bug_severity&z_axis_field=&query_format=report-table&short_desc_type=allwordssubstr&short_desc=&classification=Technology&product=Sapphire&target_milestone=0.3&longdesc_type=allwordssubstr&longdesc=&bug_file_loc =allwordssubstr&bug_file_loc=&status_whiteboard_type=allwordssubstr&status_whiteboard=&keywords_type=allwords&keywords=&emailtype1=substring&email1=&emailtype2=substring&email2=&bug_id_type=anyexact&bug_id=&votes=&chfieldfrom=&chfieldto=现在&chfieldvalue=&format=table&action=0-0-0-oop0-0-0-0&action=0-0-&nooptype= -0=

4

2 回答 2

1

您需要&format=simple错误列表请求中的参数,例如:

https://bugzilla.mozilla.org/buglist.cgi?bug_id=1000,1001,1002&format=simple

src在<iframe>的属性中放置一个这样的 URL(自然是到您的 Bugzilla) 。

热夫

于 2011-02-05T16:10:15.770 回答
0

一个小 javascript 来请求 html 和足够的解析来找到正确的片段可能是你唯一的选择。 http://ejohn.org/blog/pure-javascript-html-parser/可能是一个很好的解析选项。

于 2011-01-09T00:15:32.267 回答