With the massive growth in usage of the mobile Internet (fuelled by the extremely low cost of WAP over GPRS), any chance that we can extend our Postnuke site to cater for a mobile audience?
Lee Eason in pnFlashgames has made a WAP version of his site www.pnflashgames.com. It lets site members login to the WAP site using their website login credentials (it's the same member DB of course).
What I would like to see is a module that lets me choose what I would like mobile phone users to have access to, maybe the multiplayer trivia game being developed by pnflashgames; or a simple WAP chat room...or some of my articles so that people commuting to work can have a good read while on the bus/train/tram. This would definitely put Postnuke in a completely different league to any other CMS and the results will be tremendous I think.
Anybody out there interested in getting this started? Even if the module just lets you login, see which members are online and allow you to send a Private Message to them...it would still be something I think my audience would love.
- craigh responded to »TagIt 3.0 for Zikula« 03:58 PM
- jmvaughn responded to »error when i try to upgrade to the last version of dizkus module (3.1)« 12:05 PM
- localrags responded to »Remove contents of nuke_sc_anticracker from Database« 11:30 AM
- jmvaughn responded to »Shoutit for zikula 1.3?« 09:31 AM
- mdee responded to »Different page content under one template (tpl file) based on URL« 07:17 AM
- espaan responded to »Categories disappear when editing ...« 08. Feb
- eledril responded to »How decrease zikula cpu usage« 08. Feb
Zikula Blog
- Anatomy of Open Source Projects on Mar 07
- Continuous Review on Mar 01
- Not Invented Here on Feb 24
- How to Contribute Your Code at Github on Jan 13
- 10 Steps to Coding-Nirvana: Tips for Successful Module Writing on Nov 12
- Submitting Bug Report Tickets That Get Results on Aug 17
- Cozi Tricks #1: Syntax Highlighting on Aug 07
Login
Postnuke WAP module
-
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 26, 2004
- Posts: 15
Guess nobody is interested in extending Postnuke to become the mobile-online community creating software of choice.
I still think that adding some WAP functionality to this already kick-ass software would be GREAT!! -
- Rank: Team Member
- Registered: Mar 18, 2002
- Last visit: Oct 21, 2009
- Posts: 6606
Your interested - that should be enough.... The vast majority of open source code and solutions come from a need. Someone sees a requirement for thier own purposes and fill that gap. documentation on how to write modules is available.
My personal approach to this would to not write a module but to develop a WML Xanthia theme. Then once .8x becomes available each module can then be re-skinned into WML by overriding each module template in the WML theme.
Add to this browser detection so that a different theme can be selected dependant on the input device and you have a flexible, scaleable solution to not only delivering WML but any future technology to any future device.
What can be done now? The basic WML theme needs writing. A browser detection module exists (I posted this link in the thread on the pnflashgames site). The code to extend theme selection based on user agent needs writing.
I'd start with the WML theme. A useful reference for creating themes that are non HTML would be the atom and rss themes that are in CVS at the moment. To develop this properly you'd need to check out cvs and begin working with the .8x codebase.
-Mark
--
Visit My homepage and Zikula themes. -
- Rank: Freshman
- Registered: May 11, 2004
- Last visit: Oct 21, 2009
- Posts: 96
I think this would be great! I would love for my site to be visible on the wireless internet. this would also allow me access at times when i can't get to a computer or regular internet.
I'm all for it :D -
- Rank: Expert
- Registered: Dec 02, 2002
- Last visit: Apr 30, 2010
- Posts: 1474
I have always been interested in making this kind of theme, but I don't have access to the technology to test it. Dow anyone know of any emulation software that could be used?
--
-Lobos
Professional PHP Framework Services: Concept, Development and Deployment -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 135
search for WAP emulator: http://www.google.com/search?sourceid=mozclient&ie=UTF-8&oe=UTF-8&q=WAP+emulator
The first result, http://www.gelon.net/, works fine for me. -
**unknown user**
- Rank: Senior
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 2204
nice maxus..
I wonder if there would be a way to use 2 templates.. some kind of UA detection that would append the theme to the URL.. hmmm.. probably more trouble that it's worth, but I'd be interested in seeing more about the topic. -
**unknown user**
- Rank: Softmore
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 135
I imagine the UA detector in CVS can do what you need and can probably already switch the theme based on the UA. Probably just needs a bit of backporting and then you are done. -
- Rank: Freshman
- Registered: Oct 24, 2002
- Last visit: Oct 21, 2009
- Posts: 95
First steps:
1) Set up a wap server (better into the same server where the PN site resides, for further wap-postnuke interlacing).Code
<VirtualHost wap.yoursite.com>
ServerName wap.yoursite.com
DocumentRoot /home/httpd/vhtdocs/yoursite/wap
<Directory />
AddType text/vnd.wap.wml wml
AddType image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
</Directory>
</VirtualHost>
2) Allow the wap server run PHP scripts into .wml pages:Code
AddType application/x-httpd-php .php .phtml .wml
3) Prepare some plain .wml pages to test the wap server:Code
<?xml version="1.0"?>
<!DOCTYPE wml public "-//WAPFORUM//DTD WML 1.1//EN"
"http://www.wapforum.org/DTD/wml_1.1.xml">
<wml>
<card id="imagicweb" title="imagicWAP">
<p>Demo select
<br />
<select multiple="true" name="devices" title="devices">
<option value="celular">Celular</option>
<option value="pda">PDA</option>
<option value="emulador">Emulador</option>
<option value="other">Other</option>
</select>
</p>
</card>
</wml>
4) Connect to the wap server from your mobile phone, and test the wap page. (Opera browser for Mac OS X offers a very good wap emulator).
5) Write a PHP script (into the .wml pages) that read -or write!- some PostNuke database content (News ?) and parses it to the wap (I'm trying this, I'll post if I success ;) )
This will read and print to WAP the last 10 story titles published (or not):It works for me...Code
<?
include ('wml_header.php');
include ('connect_to_pn_database.php');
echo "<card id=\"imagicweb\" title=\"Reading Data\">\n";
// reading last 10 (newest) story titles
$result = mysql_query("SELECT * FROM _stories ORDER BY pn_sid DESC LIMIT 10",$db);
while ($row = mysql_fetch_array($result))
{
$pn_sid = $row["pn_sid"];
$pn_title = $row["pn_title"];
$pn_hometext = $row["pn_hometext"];
$pn_bodytext = $row["pn_bodytext"];
$pn_topic = $row["pn_topic"];
$pn_informant = $row["pn_informant"];
$pn_ihome = $row["pn_ihome"];
$pn_format_type = $row["pn_format_type"];
echo "<p>\n";
echo $pn_title;
echo "\n</p>\n\n";
}
echo "</card>";
include ('wml_footer.php');
?>
Reading is the first and innocuous step, writing maybe difficult and risky... but how about actualizing your postnuke from the mobile phone? or reading new stories published when you're at the sea side?
To be continued... (any contributions, welcome ! ) -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Dec 08, 2004
- Posts: 7
jeanloui
First steps:
1) Set up a wap server (better into the same server where the PN site resides, for further wap-postnuke interlacing).Code
<VirtualHost wap.yoursite.com>
ServerName wap.yoursite.com
DocumentRoot /home/httpd/vhtdocs/yoursite/wap
<Directory />
AddType text/vnd.wap.wml wml
AddType image/vnd.wap.wbmp wbmp
AddType text/vnd.wap.wmlscript wmls
AddType application/vnd.wap.wmlc wmlc
AddType application/vnd.wap.wmlscriptc wmlsc
</Directory>
</VirtualHost>
1) Are these command lines or should this be saved as a file?
2 If so, what file type?
3) And what location should this file be in?
Thanks, egar to try this... -
- Rank: Freshman
- Registered: Oct 24, 2002
- Last visit: Oct 21, 2009
- Posts: 95
urksaddy
Are these command lines or should this be saved as a file?
Oh, this is an Apache VirtualServer directive writen in the httpd.conf (the main setting of the server).
You must have a total control of the server to do this...
Ask your hosting provider... -
**unknown user**
- Rank: Registered User
- Registered: Mar 16, 2002
- Last visit: Oct 21, 2009
- Posts: 15
I managed to enable news articles to be browsed over a wap phone in about 10 mins. Here is how;
1) I downloaded DotWAP 2.0 from http://www.inetis.com/freeware.asp
2) Launched DotWap and added a home page called "Lonehill Village"
3) Added a link "Latest News" "http://www.lonehill.za.com/modules.php?op=modload&name=AvantGo&file=index"
4) Created WML files and called it "wap.wml"
5) Uploaded the "wap.wml" file into my site root directory
6) Created a bookmark on my mobile phone "http://www.lonehill.za.com/wap.wml"
7) Connected via phone to bookmark.
Done- I can now browse recent news articles via my wap enabled phone.
André -
- Rank: Freshman
- Registered: Oct 24, 2002
- Last visit: Oct 21, 2009
- Posts: 95
It sounds really interesting but DotWAP seems to be only for Windows, and I'm under the Unix - Darwin Mac OS X (and my server is with the Perfekt Linux ;) )
Hope someone could write a similar OpenSource tool...
PostNuke will go to mobile phones more fast than Microsoft to make something work,
-
- Rank: Softmore
- Registered: Feb 07, 2003
- Last visit: Jun 11, 2008
- Posts: 225
This isn't WAP but if you have a WEB enabled phone or PDA the RemoteBlock module allows view individual blocks from your PN site.
- Moderated by:
- Support
