Google 가젯 위젯을 어떻게 만듭니까?

Google Gadget 위젯을 만들어 애플리케이션을 확장하고 특정 작업을 단순화할 수 있습니다.

이 작업 정보

구성 마법사를 시작하여 새로운 Google Gadget 위젯을 만들 수 있습니다. Google 에서 웹페이지에 대한 Google Gadgets라는 문구를 검색하여 사용할 수 있는 가젯 디렉토리를 열어 Google Gadgets를 구성하세요. Google 데스크톱 가젯 으로 분류된 Google 가젯은 위젯 생성 마법사에서 웹 페이지 가젯으로 처리됩니다.

  • 위젯 시작하기 도구 모음 버튼을 사용하여 마법사를 시작합니다.

    이 방법을 사용하면 가젯 디렉토리를 탐색하여 가젯을 찾을 수 있습니다.

  • 현재 컨텍스트 도구 모음 버튼을 사용하여 위젯 구성 마법사를 시작합니다.

    대상 Google Gadget XML이 있는 정확한 URL을 이미 알고 있는 경우 이 방법을 사용하세요. Google Gadget ™을 찾아보고 싶거나 가젯의 URL을 모르는 경우, 위젯 시작하기 도구 모음 버튼을 사용하여 가젯 디렉토리를 열고 찾아보고 필요한 가젯을 찾으세요.

이 예에서는 위젯 시작하기 도구 모음 버튼을 사용하여 가젯 디렉토리를 탐색하여 구성 프로세스를 시작합니다.

참고: HCL Notes ® 를 사용하는 경우 파일 > 환경 설정 > 웹 브라우저 > 이 클라이언트에 포함된 브라우저 사용 메뉴 순서를 사용하여 내장된 웹 브라우저를 활성화하십시오.

절차

  1. 마법사를 시작하려면 위젯 시작하기 도구 모음 버튼을 클릭하세요.
  2. Google 가젯을 클릭한 후 다음을 클릭합니다.
  3. Google 가젯 디렉토리 찾아보기를 클릭하고 설명 텍스트를 읽은 후 마침을 클릭하여 열어서 찾아보십시오.http://www.google.com/ig/directory?synd=open 대지.
  4. Type weather in the Google search bar and click Search Google Gadgets to open http://www.google.com/ig/directory?synd=open&hl=en&gl=&q=weather.
  5. Scroll to the theWeather gadget and click to open http://www.google.com/ig/directory?synd=open&hl=en&gl=en&url=http://www.notkewl.com/myWeather/myWeather.xml.
  6. Click the Configure a Widget from Current Context client toolbar button, click Google Gadget: Add a Google Gadget, and click Next.
  7. Read the terms of service and click Next.
  8. Specify a widget name or accept the default.
  9. Specify what you want to do with the widget and click Next. For this example, choose Wire as an action and click Next.

    Options are as follows:

    • Wire as an action

      This opens the Wire an action to configure a widget dialog, enabling you to wire a new or existing content type to a widget property.

      Note: Clicking this option opens a list of available widget properties that you can configure to be wireable. To configure one property as wireable, select it in the list. To configure more than one property to be wireable, open the Advanced tab.
    • Display as a Panel

      This adds the widget in its current form as its own sidebar panel and as a widget in the My Widgets sidebar panel.

    • Just configure a widget for now

      This adds the widget in its current form to the My Widgets sidebar panel, where you can then publish it to the catalog.

  10. Depending on the source context, you can specify additional options on the Advanced tab as follows and then click Next to open the Wiring an action to configure a widget dialog. For this example, just click Next.
    • Configure – Enable to make the property wireable. All Google Gadget properties must be wireable, so they are all selected by default.
    • Require – Enable to require that the field must be used in the action.
    • Display name – Use the default or specify a new name.
      Note: Each Display name value appears in the Widget property field on the Wire an action to configure a widget wizard page.
    • Default value – Specify a default value or specify if a default value can be used.
  11. The Wire an action to configure a widget dialog prompts you to specify whether to use recognized content or other content, specify the content (type) and then wire a Content property to a Widget property. Entries in the Content property field are derived from the selected content (type), which is the field next to the New Recognizer button. Entries in the Widget property field are derived from the fields you selected on the previous Configure a widget dialog.

    On the Wire as an action panel, do the following for this local weather widget example and then click Next. See How do I wire a widget action for related information.

    1. Accept the default name of theWeather.
    2. Enable Recognized content as the content to use.
    3. Select Address under the Recognized content field.
    4. Select address.zip in the Content type property field.
    5. Select Zip: Location Code in the Widget property field.
    6. Click Sidebar Panel as the results display method.
  12. Click Next to view the Test and Publish panel instructions and then Finish to create the widget and close the wizard.