WordPress.org

Ready to get started?Download WordPress

Forums

WordPress Wap (54 posts)

  1. Lester Chan
    Member
    Posted 10 years ago #

    I have created a hack(wp-wap.php & wp-wap-comments.php) that allow users to browse your blog over a mobile phone or any devices that have a wap browser.
    No configuration is required. Just unzip the file and upload it to your WordPress folder.
    For the demo to work, use a wap browser.
    wp-wap.php ( Demo | Download)

  2. labellissima
    Member
    Posted 10 years ago #

    This is great. I already have implemented it on my journal.
    @Sushubh: I think so...I'm on Mozilla and it doesn't work for me, but yeah, looks good on Opera.

  3. Laughinglizard
    Member
    Posted 10 years ago #

    Looks Great on a phone Sushubh. Go to the link below and find a form with "wapalize" as the button. Put in your wap link and click on wapalize to see what it should look like on a cell phone. It only works in IE and I did not write this emulator, gelon.net did.
    http://dinki.mine.nu/coexist/

  4. OperaManiac
    Member
    Posted 10 years ago #

    :( Had to run IE...
    on the other hand, that is 1 old nokia model :D
    Cool anyways...

  5. nightbird
    Member
    Posted 10 years ago #

    I installed it and it works great except for one thing - I get this error message after clicking on an entry:
    "Warning: Missing argument 4 for comments_number() in /stuff/wp-includes/template-functions.php on line 1561"
    the link to the comments and the correct number of comments appears right after this message.
    I uploaded a fresh copy of template-functions, thinking maybe I had messed up the previous one, but that didn't help. any ideas?

  6. nightbird
    Member
    Posted 10 years ago #

    oh, I'm running 1.0, if that helps at all :)

  7. Ana
    Member
    Posted 10 years ago #

    I think this is great, BUT, it's not valid wml, and won't work on a mobile phone (the whole point surely?)
    I'm currently editing it, and adding the abilty to post comments, as well as automatically sizing the page returned to one appropriate for the device (if it's too big, phones won't load it)
    I'll post it on here when I'm done :o)

  8. skeen
    Member
    Posted 10 years ago #

    Woah! You read my mind! I was thinking that I wanted people to access my news via WAP just yesterday!
    Ana, I cant wait for your developments.
    Thanks GamerZ!

  9. tcervo
    Member
    Posted 10 years ago #

    Mozilla and Firebird have a WML plugin (only 13k) at http://wmlbrowser.mozdev.org/

  10. Lester Chan
    Member
    Posted 10 years ago #

    @Ana: it depends on the contents of your post I think, somtimes i get that error too for some post which has illegal characters. Wap is VERY strict. =(

  11. skeen
    Member
    Posted 10 years ago #

    Well, couldnt a script be written which will take out or replace illegal characters?

  12. Lester Chan
    Member
    Posted 10 years ago #

    hmm, anyidea what is considered an illegal charcater? I only know $ is illegal.

  13. Ana
    Member
    Posted 10 years ago #

    Skeen:
    I already have a script for that, thou I'm not sure it will work with WordPress (it'll mess up if there are html entities stored in the database)
    This is the first time I've attempted something like this - I've done a fair amount of wap development, but never actually attempted to write a hack like this. Would the aforementioned make_wml_compat() function go in my-hacks.php?

  14. Ana
    Member
    Posted 10 years ago #

    This may take me a while, but you can see the results of what I'm doing at http://www.wapsilon.com/?t=w;f=1::lonely-world.com/blog/wordpress/wp-wap.php

  15. Laughinglizard
    Member
    Posted 10 years ago #

    wp-config.php from the root of your blog

  16. Ana
    Member
    Posted 10 years ago #

    I'm using wp-blog-headers.php?

  17. skeen
    Member
    Posted 10 years ago #

    Hey, maybe you guys should speak with one of the developers? Im sure that they will make this an integral part of WordPress... I was never really a fan of WAP, but alot people these days with WAP-compatible mobile phones get free WAP time, WAP pages also load pretty fast providing they dont contain any images.

  18. Lester Chan
    Member
    Posted 10 years ago #

    Hmm, I think plug-in would be better because not many people use this feature =)

  19. OperaManiac
    Member
    Posted 10 years ago #

    it's just some extra files! no hacking is needed :D
    we just need a plugin/hack section on the site in addition from the wiki. :)

  20. Lester Chan
    Member
    Posted 10 years ago #

    yap i agree with sushubh

  21. skeen
    Member
    Posted 10 years ago #

    GamerZ, are you doing to have a development log for WP-Wap?

  22. Lester Chan
    Member
    Posted 10 years ago #

    @skeen: nope. Why?

  23. Ana
    Member
    Posted 10 years ago #

    Eeesh... plugin it will stay then. I just thought the other way would be easier, but yeah, you're right :o)

  24. Ana
    Member
    Posted 10 years ago #

    I won't be able to do much now that half-term's over... if i haven't finished by next weekend, I'll link to the code so someone else can have a go at it.

  25. Lester Chan
    Member
    Posted 10 years ago #

    @Ana: sure

  26. Ana
    Member
    Posted 10 years ago #

    Here you are:
    Download

  27. Ana
    Member
    Posted 10 years ago #

    I haven't checked the wml in the wp-wap-comments file - wapsilon was down when I tried.

  28. Lester Chan
    Member
    Posted 10 years ago #

    okie thanks

  29. kristin
    Member
    Posted 10 years ago #

    I cant get this to work, the first page shows up fine but when I click on any link on my phone it takes me to a page that says "request cannot be filled"
    I downloaded WinWap to test to see if it works on there and it works fine.
    My phone is pretty new, its a SE z600

  30. Lester Chan
    Member
    Posted 10 years ago #

    sometimes it is due to some characters in your post. I have the same problem also.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.