简体   繁体   English

我需要创建Windows 7小工具的帮助

[英]I need help creating a Windows 7 Gadget

I need to create a Windows 7 Gadget (or Widget) as a mini project. 我需要将Windows 7小工具(或小部件)创建为迷你项目。 I know how to create a basic HelloWorld gadget (including the xml manifest and the html page), but I do not know how to make a complex one. 我知道如何创建基本的HelloWorld小工具(包括xml清单和html页面),但是我不知道如何制作复杂的小工具。

My company uses a bug tracking software (say, XYZ). 我公司使用错误跟踪软件(例如XYZ)。 My widget needs to be able to access and display data from XYZ regarding bugs, given a bug ID, or other search criteria. 我的窗口小部件需要能够访问和显示来自XYZ的有关错误,给定错误ID或其他搜索条件的数据。

I currently have the APPGUID and server name for XYZ. 我目前有XYZ的APPGUID和服务器名称。

Please help. 请帮忙。 I do not know where to start. 我不知道从哪里开始。

If your bug tracking software (XYZ) is a web application then you need to use its web service or you need to scrape the site to access the data regarding the bugs. 如果您的错误跟踪软件(XYZ)是Web应用程序,则您需要使用其Web服务,或者需要爬取该站点以访问有关错误的数据。 You can simply scrape the site using the Simple HTML DOM. 您可以简单地使用简单HTML DOM抓取网站。

Example can be seen in PHP Simple HTML DOM Scrape External URL 可以在PHP简单HTML DOM Scrape外部URL中看到示例

To download the library the link is http://sourceforge.net/projects/simplehtmldom/files/ 要下载该库,链接为http://sourceforge.net/projects/simplehtmldom/files/

Then you can scrape and display the data as the normal HTML code. 然后,您可以将数据抓取并显示为普通的HTML代码。

OR you have to use the web service provided by the XYZ application. 或者,您必须使用XYZ应用程序提供的Web服务。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM