homepage Welcome to WebmasterWorld Guest from 23.20.149.27
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Subscribe to WebmasterWorld

Home / Forums Index / Hardware and OS Related Technologies / Smartphone, Wireless, and Mobile Technologies
Forum Library, Charter, Moderators: bakedjake

Smartphone, Wireless, and Mobile Technologies Forum

    
adding mobile content to existing site
cmendla




msg:3457781
 3:54 am on Sep 22, 2007 (gmt 0)

I've gone back as far as July in this forum and I still have a bunch of questions..

If I have a site... www.mydomain.com, how can I add a limited amount of mobile content?

Right now, if I go into google on my mobile phone and search, the site shows up decently in the search and google will show it. The pages render fairly well on an lg9900 envy even though they were done in frontpage.

The one drawback is that google adsense doesn't show because it is javascript, which a lot of phones don't support. Google just added mobile ads for adsense which use php instead of javascript which should work.

What I'd like to do is create some alternate content for mobile devices. My thought is to add a 'click here for mobile content' link in the headers of the regular site. That would take the user to pages optimized for mobile devices.

I realize those mobile pages would have to follow mobile standards such as WAP or xhtml.

Some questions that come up are

1. Would that work at all? (ie adding mobile content to an existing domain instead of a seperate .mobi.

2. If it would work would it be better to do a subdomain such as mob.mydomain.com or a folder such as www.mydomain.com/mobile?

3. I'm assuming that I would filter out my regular sitemap to eliminate the mobile content and then create a mobile sitemap for google. Hopefully, if that is done right, I won't shoot myself in the foot with duplicate content (Actually, I'm going to use a site that hasn't really gotten a lot of traffic as a test instead of one of my better producers)

Thanks, I'd appreciate any thoughts that would get me started here.

cg

 

jtara




msg:3458047
 4:09 pm on Sep 22, 2007 (gmt 0)

My thought is to add a 'click here for mobile content' link

Most sites that serve mobile content on their main website detect mobile users from their user-agent header. I doubt that mobile users are going to be very happy with a "click here for mobile content" link.

Prior to .mobi, a convention had developed for putting mobile content on a host (please don't call it a subdomain, unless it has stuff under it!) called "mobile". e.g. mobile.example.com

Google just added mobile ads for adsense which use php instead of javascript which should work.

This came up in a previous post, and it seemed to make little sense. Javascript runs in the browser. PHP runs on the server. Does not compute.

OK, I found the answer. Apparently, Adsense for Mobile requires some server-side scripting on your site. They offer example code written in PHP, Perl, JSP, and ASP. Presumably, you can write your own for any other server-side scripting language. Not sure just why they require a script on your site, though. This cuts-out simple non-scripted sites.

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