Thread: Mango Mobile
Created on: 12/16/09 01:11 PM
| New topic Reply | Page: 1 |
| Replies: 11 | |
| demonangel
|
12/16/09 1:11 PM Would anyone be interested in the development of a mobile-compatible version of Mango Blog? I'm considering developing a Mobile Plugin for my mango blog and am curious if anyone else would want such functionality before I dive into a tedious project? "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
| visual28
Wizard |
12/16/09 1:38 PM If you structure your html semantically, then the mobile version is a snap. There are of course scripts that you can use and create a plugin for that enhance the mobile experience. Those would be a snap to create and probably only take a few hours. Is there anything in particular that your looking to create? Something not able to be done with just plain html, css, and javascript? - Mark - www.visual28.com | www.mangowear.com
|
| Link | Top | Bottom | |
| demonangel
|
12/16/09 1:46 PM Hey Mark, Well on my site I've written a couple of Coldfusion Articles regarding Mobile Websites, and was thinking of porting on of my articles (Specifically :: http://alteredpixels.net/post.cfm/detecting-mobile-browser) to be used as a mango plugin. My Current article show a redirect, and I was considering changing it from a redirect to possibly a stylesheet changer if it's a mobile browser, just to keep it simple and not have to really dive into the mango core. "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
| Laura
Wizard |
12/16/09 1:54 PM I've always wanted to port this theme + plugin. If you browse this blog with an iphone, you'll see it. http://www.bravenewcode.com/wptouch/ |
| Link | Top | Bottom | |
| visual28
Wizard |
12/16/09 2:02 PM A stylesheet changer is what I used to use on my own site I can probably dig up the code I used tomorrow evening if your interested. Although no amount of scripting is going to be perfect, it can get you pretty close. By the looks of your code samples, your redirecting to a mobile specific version of your site. Not sure how you intend to make that work without creating a whole other set of templates but I can see a use for something like that. What are your thoughts? I can help out with it between the holidays. - Mark - www.visual28.com | www.mangowear.com
|
| Link | Top | Bottom | |
| demonangel
|
12/16/09 2:05 PM Well I was just going to modify the code In my example and instead of doing a 301 cflocation redirect just add a style sheet include for mobile, and then an <cfelse> for regular browsers. I'd like to see what you've got going on the style switcher code idea though mark, and maybe together we can make something happen. My Availability will be similiar. "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
| visual28
Wizard |
12/16/09 2:13 PM @laura, that's a slick plugin! Something like that would be awesome! If I knew more php, I would love to do something like that. :) @demonangel my code just served them a different stylesheet depending on the type of mobile device they were on. It's pretty simple. Nothing like that plugin that Laura linked too. - Mark - www.visual28.com | www.mangowear.com
|
| Link | Top | Bottom | |
| demonangel
|
12/16/09 2:16 PM @Laura : That is pretty hot. I know PHP I wonder if I could port that over (as my brain is the conversion engine for php <--> coldfusion). Wonder if I could download my brain and write a script that could do that...*L* "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
| Laura
Wizard |
12/16/09 2:19 PM The bulk of the work for that plugin is in creating the theme, which doesn't require you knowing PHP, just grabbing the generated HTML and making it a proper Mango theme. |
| Link | Top | Bottom | |
| Laura
Wizard |
12/16/09 2:21 PM The only issue is that blog.getSkin() is not currently dispatching events, so you won't be able to modify it on the fly (depending on the user agent). That is something I need to fix. |
| Link | Top | Bottom | |
| demonangel
|
12/16/09 2:30 PM @ Laura :: Would my Above Article be able to help in that case? All you'd have to do I imagine is include the Coldfusion Code and then change the stylesheet dependant upon the useragent I would imagine... "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
| demonangel
|
12/16/09 2:30 PM The only catch i see there is that it would have to be included into every file within a mango theme and have a new style sheet created... "...may you bow your head, as others look up to you..."
|
| Link | Top | Bottom | |
New Post