[pmwiki-users] mobile stuff page size
bram brambring
bram.brambring at gmail.com
Sat Nov 4 12:03:15 CST 2006
Greetings,
Inspired by the earlier threads about going mobile and being in town
without a proper cheesfondue recipe I decided to go mobile with my
website as well.
Using a very basic template without navigation I kind of hope on
google to bring users.
I use the @media handheld to display a message to 'normal' users
invisible to pda/mobile users.
The good thing with pmwiki is that it allows me to send the same
content in a different markup without to much hassle. I couldn't get
the check on the HTTP_ACCEPT working for my device so I use a
different domain for the mobile stuff.
My device ( a fairly old nokia 3200) gets confused easily, the
char-type in the Content-type header was to much for it. Changing this
and using the template was about it to get it working.
An issue I didn't solve yet is the page size, I would like to
automatically split large pages in parts, does anyone have experience
with this?
<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//WAPFORUM//DTD XHTML Mobile 1.0//EN"
"http://www.wapforum.org/DTD/xhtml-mobile10.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>{$Title} $WikiTitle</title>
</head>
<body>
<style type="text/css">
@media handheld {
.no_pda {display:none}
}
</style>
<div class='no_pda'><strong > <a
href='http://www.brambring.nl/{$Group}/{$Name}'>Naar de normale versie
van {$Namespaced}</a></strong>.</div>
<!--PageText-->
<a href='{$ScriptUrl}/{$Group}/Index'>{$Group} Index</a>
</body>
</html>
More information about the pmwiki-users
mailing list