Wml to xhtml

Started on the old forum in April 2009 · view the original in the archive · old links redirect here

14 replies · 699 views · started 17 years ago · 1 min read

5 participants
Guest #4

well i tried .. i changed this

header("Content-type: text/vnd.wap.wml\n");
echo("<?xml version=\"1.0\" encoding=\""._ENCODING_TAG."\"?>\n");

into

header("Content-type: application/xhtml+xml\n");
echo("<?xml version='1.0' encoding='iso-8859-1'?>\n");

but then with opera i get rparse error specifing the iso thing above .. i need some good tutorials .. for example .. exact tutorials to learn how to convert from wml to xhtml ..

ori Lead · 512 posts #5

try

echo("<?xml version=\'1.0\' encoding=\'iso-8859-1\'?>\n");

subzero Super moderator Fellow · 3,954 posts #6

any thing is echo

always remember to \ "

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Guest #7

what do you mean by that sub zero?

after i made what ori said i get this

  1: <?xml version=\'1.0\'encoding=\'iso-8859-1\'?>

and highlighted with red is the first "" symbol (before'1.0)

Guest #8

managed to convert the index file but those bloody wml files are giving me hard times .. help!

subzero Super moderator Fellow · 3,954 posts #9

Use this delete that line

under <title>Your Site </title>

echo "<meta http-equiv=\"content-type\" content=\"text/html; charset=utf-8\" />";

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

ozziemale31 Lead · 861 posts #10

re

<?php echo("<?xml version=\"1.0\" encoding=\"UTF-8\"?>");

echo "<!DOCTYPE HTML PUBLIC \"-//W3C//DTD XHTML Mobile 1.0//EN\"". " \"http://www.wapforum.org/DTD/xhtml-mobile10.dtd\">"; ?>

<? <html xmlns="http://www.w3.org/1999/xhtml"> <head> <title>Your Site</title> <meta forua="true" http-equiv="Cache-Control" content="no-cache"/> <meta forua="true" http-equiv="Cache-Control" content="must-revalidate"/> </head> <body> </body> ?> </html>

External image (may be gone) External image (may be gone)

External image (may be gone)

*****

**Dont Ask Me Dumb Questions.Or you'l get a Dumb Answer.. Want A Profesional Logo or Theme For Your wap site Pm Me.If I Have The Time Ill Make It For Free ***

Guest #11

you dont understand guys .. this is not a simpel script .. the index file just makes connections to other php files .. like guestbook .. what sub said with title doesnt exist in teh index because the scritp has admin panel .. and is changed by there and when changing there the changes are made in the sql not in the index file..

when accesing guestbook for example the link looks like his

..://.../index.php?option=component&id=3

now i made the index file

and you can see the script with the converted index file here but now when accesing any section the articles are plain text .. the same with the bottom button ... and the same with poll and guestbook

TEST SITE HERE!

i supose there are no need t make changes in the sql file right?

subzero Super moderator Fellow · 3,954 posts #12

send me the real file before you edited it

support@oz-au.net

Wait for a day or two my team and me will see what we can do for you.

Visit: Chat4u.mobi - The New Lay Of being a site of your dreams! Visit: WapMasterz Coming Back Soon!


SCRIPTS FOR SALE BY SUBZERO Chat4u Script : coding-talk.com/f28/chat4u-mobi-script-only-150-a-17677/ - > Best Script for your site no other can be hacked by sql or uploaders. FileShare Script : coding-talk.com/f28/file-wap-share-6596/ -> Uploader you will never regret buying yeah it mite be old now but it still seems to own others... _______…

Guest #13

ok .. sent it bro btw there is anorther glitch in this script .. i add 15 articles in a section but when i ad dmore than 15 parse to html error appears that error with div align center.. dumb script 🙁 .. if i could have a similar cms script .. not wap to go because that is very good but can put images and links in the article ..

Guest #15

well do it mate if you can but i discovered another falwless int eh script ... if i add more than 15 artcles i get reparse to html error .. so are you up for the job mate?

Sign in to reply.

Similar topics

Keyboard shortcuts

g f
Go to forums
g h
Go to your feed
g m
Go to messages
r
Reply (in a topic)
/
Search
j
Next post
k
Previous post
?
This list
Ctrl/⌘ + Enter
Send what you are writing
Ctrl/⌘ + B / I
Bold / italic while writing
Esc
Close