SkyD Posted June 16, 2006 Report Share Posted June 16, 2006 Wapu var veidot ar PHP? Piem. melodijas.php?id=mel_id. Un tad juuzerim telefonaa viss buus ok? Aizies liidz tai melodijai? Un kuri telefoni to atbalsta? Visi tach nee.. ?!! Link to comment Share on other sites More sharing options...
Aleksandrs Posted June 16, 2006 Report Share Posted June 16, 2006 (edited) Lai php fails(*.php) tiktu padots kā WML fails, ir nepieciešams php pielikt klāt attiecīgo header: header("Content-type: text/vnd.wap.wml"); Vispār jādomā kā grib lapu rādīt, vecākiem modeļiem t.i. WML formātā, jaunākiem modeļiem xHTML formātā. Edited June 16, 2006 by Aleksandrs Link to comment Share on other sites More sharing options...
SkyD Posted June 16, 2006 Author Report Share Posted June 16, 2006 Ok. Tnx! =]~~ Link to comment Share on other sites More sharing options...
SkyD Posted June 16, 2006 Author Report Share Posted June 16, 2006 Lieta tāda, ka nevar daudzus tagus pielietot. Piem. <br> tagu uzliekot, pazūd tālākais teksts. Waazzuup? Link to comment Share on other sites More sharing options...
Vebers Posted June 16, 2006 Report Share Posted June 16, 2006 Jāliek pareizi t.i. atbilstoši W3C standartiem! <br> būs <br />. Runājot par downloadiem ir arī jāliek attiecīgais header`is Link to comment Share on other sites More sharing options...
SkyD Posted June 16, 2006 Author Report Share Posted June 16, 2006 Tad downloadiem kāds būs tas headeris? Link to comment Share on other sites More sharing options...
Vebers Posted June 16, 2006 Report Share Posted June 16, 2006 text/vnd.sun.j2me.app-descriptor jad application/java-archive jar text/vnd.wap.wml wml audio/amr amr audio/midi mid audio/midi midi application/vnd.Nokie.ringing-tone rng application/vnd.symbian.install sis application/vnd.wap.wmlc wmlc text/vnd.wap.wmlscript wmls text/vnd.wap.wmlscript wmlsc application/vnd.wap.sic sic text/vnd.wap.si si text/vnd.wap.sl sl application/vnd.wap.slc slc text/x-vCalendar vcs text/v-vCard vcf application/vnd.nokia.gamedata nqd application/x-nokiagamedata ngd image/vnd.wap.wmbp wbmp image/x-bmp bmp image/x-epoc-mbm mbm image/vnd.nok-3dscreensaver n3a text/x-co-desc cod image/vnd.nok-oplogo-colornokia-op-logo nok application/x-pmd .pmd audio/vnd.qcelp .qcp application/x-smaf .mmf Link to comment Share on other sites More sharing options...
SkyD Posted June 16, 2006 Author Report Share Posted June 16, 2006 Ir man sākums reku: http://swap.sytes.net A caur mob. neiet iekšā. Vēl kāds cits headeris nav jalieto? Šķiet, ka header("Content-type: text/vnd.wap.wml"); nav īstais.:P Link to comment Share on other sites More sharing options...
Vebers Posted June 16, 2006 Report Share Posted June 16, 2006 Ir īstais! Paskaties caur validatoru, kas tev īsti nedarbojas. Link to comment Share on other sites More sharing options...
litt Posted June 17, 2006 Report Share Posted June 17, 2006 Offtopic: nepiekritīšu, ka priekš telefoniem labāks ir xHTML. Iekš WML ir tāda lieta kā <template> (īsceļi), ar īsceļu palīdzību var "paslēpt" nevajadzīgos linkus, lai uz ekrāna ir vairāk vieta informācijai. Īsceļiem var piekļūt no jebkuras vietas, nav jāskrollē. Ar xHTML to izdarīt nevar un pilnīgi visi linki ir jāliek kaut kur lapā. Normāli šos linkus būtu likt apakšā, lai atverot lapu lietotājs redz saturu, nevis 10 linkus. Tas, ka linki ir kaut kur ellē ratā apakšā un līdz viņiem vienmēr ir jāskrollē nav forši.. Link to comment Share on other sites More sharing options...
Stopp Posted June 18, 2006 Report Share Posted June 18, 2006 ne jau template tis īsceļus paslēpj. īsceļi, t.i. do tagi, ir paslēpti automātiski. Link to comment Share on other sites More sharing options...
Recommended Posts