homepage Welcome to WebmasterWorld Guest from 54.83.133.189
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Hardware and OS Related Technologies / Smartphone, Wireless, and Mobile Technologies
Forum Library, Charter, Moderators: bakedjake

Smartphone, Wireless, and Mobile Technologies Forum

    
Having a mobile version of a php scripted website
Mobile web pages, php
walstib




msg:3452180
 11:46 am on Sep 16, 2007 (gmt 0)

Hello all,

I am writing for information about making my web presence available to mobile browsers. I currently have a website that is written in PHP. Are there any tools out there that could convert PHP to xhtml or wml or does this require hard coding?

Can someone suggest a tutorial?

Thanks,

~Walstib

 

Samizdata




msg:3452273
 3:15 pm on Sep 16, 2007 (gmt 0)

Almost all phones are WAP enabled and it is possible to create WML on the fly using XSLT, but my personal preference is to serve alternate content that suits the limited capabilities of WAP browsers.

Most new phones can handle HTML 4.01 to some extent, but JavaScript support varies, rich media is always problematic, and some devices use proxy services to mangle your pages. I prefer to serve alternate content to any small-screen device, including the iPhone.

For a "one web" solution simple XHTML Transitional seems to be supported by the largest number of browsers (as far as I can tell) but if you don't need the Japanese market then HTML 4.01 with alternative stylesheets should be fine. XHTML Mobile Profile is a waste of time in my experience.

Much depends on your content, and mobile web browsing is changing fast. Good luck.

[edited by: Samizdata at 3:19 pm (utc) on Sep. 16, 2007]

jtara




msg:3452317
 4:31 pm on Sep 16, 2007 (gmt 0)

tools out there that could convert PHP to xhtml or wml

Does not compute....

PHP is a server-side computer language. You write programs in PHP. PHP programs typically create HTML as output, but might also create plain text, XHTML, WML, whatever.

XHTML and WML are presentation languages. They are used to format text for presentation.

There's no possible way to "convert PHP to xhtml or wml". They don't do the same thing, and don't have equivalent functionality.

The right question is "how do I adapt my website - written in PHP - to accommodate mobile browsers using xhtml and/or wml?

Unfortunately, we can't answer that question with the information you've given. We don't know anything about your PHP software. Was it custom-written for you? Are you using a CMS or blog software written in PHP? Some other software package written in PHP?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Hardware and OS Related Technologies / Smartphone, Wireless, and Mobile Technologies
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved