home
docs
tools
issues
validator
google group
3.4 :: Page title and head element
Developer Key Sign Up
Titling your page
Mobile internet pages are titled in the same way as traditional web pages - by using the
<head>
element.
<?
xml
version
=
"
1.0
"
encoding
=
"
UTF-8
"
?>
<
wapl
xmlns:xsi
=
"
http://www.w3.org/2001/XMLSchema-instance
"
xsi:noNamespaceSchemaLocation
=
"
http://wapl.wapple.net/wapl.xsd
"
>
<
head
>
<
title
>
My First WAPL
</
title
>
</
head
>
<
layout
>
<
easyExternalImage
filetype
=
"
png
"
scale
=
"
50
"
>
<
url
>
http://wapl.info/img/logo.png
</
url
>
</
easyExternalImage
>
<
easyChars
>
<
value
>
Hello World
</
value
>
</
easyChars
>
<
easyLink
>
<
label
>
Click me
</
label
>
<
url
>
http://manual.wapple.net/files/examples/wapl_is_easy.xml
</
url
>
</
easyLink
>
</
layout
>
</
wapl
>
Download
listing 3.4.a
Head element
The
<head>
element is placed as a child of the
<wapl>
element. You can see it here between the opening wapl tag and the opening layout tag.
..snip..
<
wapl
xmlns:xsi
=
"
http://www.w3.org/2001/XMLSchema-instance
"
xsi:noNamespaceSchemaLocation
=
"
http://wapl.wapple.net/wapl.xsd
"
>
<
head
>
<
title
>
My First WAPL
</
title
>
</
head
>
<
layout
>
..snip..
Title element
<title>
is one child element of the
<head>
element. The page generated by this WAPL will have this title.
..snip..
<
head
>
<
title
>
My First WAPL
</
title
>
</
head
>
..snip..
« External image
Link WAPL pages together »
Contents
1. Introducing WAPL
1.1. What is WAPL
1.2. Why would I use WAPL
1.2.1. Advantages of WAPL
1.2.2. Uses of WAPL
1.3. Where to get help
2. How it works
2.1. Using WAPL with SOAP
2.1.1. isMobileDevice
2.1.2. getMobileDevice
2.1.3. getMarkupFromWapl
2.1.4. getMarkupFromUrl
2.2. Using WAPL with REST
2.2.1. isMobileDevice via CURL
2.2.2. getMobileDevice via CURL
2.2.3. getMarkupFromWapl via CURL
2.2.4. getMarkupFromUrl via CURL
2.3. Using Wapple Canvas
3. Getting Started
3.1. Requirements
3.2. Basic text
3.3. External image
3.4. Page title and head element
3.5. Link WAPL pages together
3.6. Display WAPL on a mobile device
4. Developing with WAPL
4.1. Page Titles
4.2. Meta
4.3. External Style Sheets
4.4. Layout
4.5. Rows
4.6. Cells
4.7. Text
4.7.1. Text Formatting
4.8. Images
4.9. Links
4.9.1. Linking between WAPL files
4.9.2. Linking to external sites
4.10. Forms
4.10.1. Form Items
4.11. Rules
4.12. Chunks
4.12.1. Features
4.12.1.1. Anchor
4.12.1.2. Phonecall
4.12.1.3. Phonebook
4.12.1.4. RSS
4.12.1.5. Rubberduck
4.12.1.6. Jump
4.12.1.7. WAPL
4.12.1.8. Link
4.12.2. Design and Content
4.12.2.1. Words
4.12.2.2. Spacemaker
4.12.2.3. Horizontal Rule
4.12.2.4. Table
4.12.3. Advertising
4.12.3.1. Admob
4.12.3.2. Admoda
4.12.3.3. Decktrade
4.12.3.4. Google Adsense
4.12.3.5. Mbrand
4.12.3.6. Mkhoj
4.12.3.7. Mobile Commerce MMS
4.12.3.8. Mpression
4.12.3.9. Nokia Ads
4.12.3.10. Stamp
4.12.3.11. ZestAdz
4.13. File Downloads
4.14. Settings
5. More Code Examples
5.1. Using WAPL with ASP
6. Common Tasks
6.1. Session Handling
6.2. Testing Your Mobile Site
6.3. WAPL and Canvas