Résumé du contenu de la page N° 1
Web Application Developer’s Guide
®
for the SoundPoint
®
IP/SoundStation IP Family
SIP 3.0.2
April, 2008 Edition
1725-17693-300 Rev. A
SIP 3.0.2
Résumé du contenu de la page N° 2
Trademark Information Polycom®, the Polycom logo design, SoundPoint® IP, SoundStation®, SoundStation VTX 1000®, ViaVideo®, ViewStation®, and Vortex® are registered trademarks of Polycom, Inc. Conference Composer™, Global Management System™, ImageShare™, Instructor RP™, iPower™, MGC™, PathNavigator™, People+Content™, PowerCam™, 2 Pro-Motion™, QSX™, ReadiManager™, Siren™, StereoSurround™, V IU™, Visual Concert™, VS4000™, VSX™, and the industrial design of SoundStation are trademarks of Polycom
Résumé du contenu de la page N° 3
About This Guide The Developer’s Guide for the SoundPoint IP / SoundStation IP family is for developers of applications which use the Microbrowser on SoundPoint IP / SoundStation IP phones. The following related documents for SoundPoint IP / SoundStation IP family are available: • Quick Start Guides, which describe how to assemble the phones • Quick User Guides, which describe the most basic features available on the phones • User Guides, which describe the basic and advanced features avail
Résumé du contenu de la page N° 4
Developer’s Guide SoundPoint IP / SoundStation IP iv
Résumé du contenu de la page N° 5
Contents About This Guide . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . iii 1 Overview . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 What is the Microbrowser . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–1 What is XHTML . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1–2 How to Create Applications . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
Résumé du contenu de la page N° 6
Developer’s Guide SoundPoint IP / SoundStation IP vi
Résumé du contenu de la page N° 7
1 Overview This chapter provides an overview of the Microbrowser available on SoundPoint IP 330/320, 430, 501, 550, 560, 600, 601, 650, and 670 desktop phones and SoundStation IP 4000, 6000, and 7000 conference phones. It also provides an introduction to XHTML and guidelines for the application development. This chapter contains information on: • What is the Microbrowser • What is XHTML • How to Create Applications To develop an application that can run on the Microbrowser, refer to Applica
Résumé du contenu de la page N° 8
Developer’s Guide SoundPoint IP / SoundStation IP The XHTML pages displayed on the Microbrowser can contain static or dynamic information. Static XHTML. These pages are created using XHTML editors and hosted by the Web server. These pages are accessed from the Microbrowser (using HTTP protocol) by entering the URL to access the page. These XHTML pages are called static, because the information that is displayed is already coded into the XHTML pages. These pages do not include information
Résumé du contenu de la page N° 9
Overview where XHTML was divided up into ‘modules’, where any features above and beyond a skeleton set were grouped into individual modules. User agent (UA) developers could then decide which extensions to support. A simple user agent can be considered a fully compliant user agent by supporting only the Basic module, whereas a more powerful browser can support all the official modules, as well as those developed by third parties. Modularization is also intended to help content creators. As
Résumé du contenu de la page N° 10
Developer’s Guide SoundPoint IP / SoundStation IP • Company directory • Stock ticker Depending on the type and complexity of the application, you might use one of the following tools for creation: • Text editor • XML editor • Microsoft Word When designing applications, you might want to consider the following guidelines: These guidelines are for your information only. You are solely responsible for Note determining the suitability and applicability of this information to your needs. 1. Spend
Résumé du contenu de la page N° 11
2 Application Development This chapter provides information on supported XHTML elements. It describes HTTP support and the Microbrowser user interface. It also describes the configuration parameters that can be found in sip.cfg . This chapter presents step-by-step instructions on how to develop an XHTML application that can be run on the Microbrowser of certain SoundPoint IP and SoundStation IP phones. This chapter contains information on: • Supported XHTML Elements • HTTP Support • Microbr
Résumé du contenu de la page N° 12
Developer’s Guide SoundPoint IP / SoundStation IP • Table Tags • Meta Information Tags Unsupported elements and attributes are described in Unsupported XHTML Elements on page A-1. Basic Tags The following basic tags are supported: • —Defines the document type • —Defines a comment The declaration is the very first thing in your document, before the tag. This tag tells the browser which XHTML specification the document uses. XHTML 1.0 specifies
Résumé du contenu de la page N° 13
Application Development The comment tag is used to insert a comment in the source code. A comment will be ignored by the browser. You can use comments to explain your code, which can help you when you edit the source code at a later date. This tag does not have any attributes. Link Tags The following link tag is supported: • —Defines an anchor Note The Microbrowser supports both http:// and tel:// URL schemes. When a tel:// URL is selected, the phone switches to the telephony a
Résumé du contenu de la page N° 14
Developer’s Guide SoundPoint IP / SoundStation IP The Microbrowser supports both the GET and POST methods for submitting forms. Note Nesting forms within tables is supported. However, nesting of one form tag within another is not supported and may lead to unexpected results.