4.12.1.3 :: Phonebook

Description


The <phonebookChunk> element allows you to place a link on your site that, when clicked, will add a contact to the user's phonebook.

Quick Example


  1.  <?xml version="1.0" encoding="UTF-8" ?>
  2.  <wapl xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://wapl.wapple.net/wapl.xsd">
  3.   <layout>
  4.   <phonebookChunk>
  5.   <phone_number>441234567890</phone_number>
  6.   <contact_name>Steve</contact_name>
  7.   <show_label>Be my friend!</show_label>
  8.   </phonebookChunk>
  9.   </layout>
  10.  </wapl>

Child Elements


phone_number


The phone number that you will be added to the phonebook.

contact_name


The name of the contact that will be added to the phonebook.

show_label


A label to use for the link. If this is not set, the phone number will be used.

Contents