Shumaza umsindo kumakhasi akho wewebhu ngehlobo olufanele lwe-Mime
Amafayela womsindo kufanele abonwe yisiphequluli seWebhu ukuze isiphequluli sikwazi ukusingatha. Umgomo wokuhlonza izinhlobo zefayela-Multi-Purpose Internet Mail Extensions-ubeka uhlobo lwamafayela angewona umbhalo adluliselwa nge-imeyili. I-MIME , noma kunjalo, isetshenziselwa iziphequluli zeWebhu. Ukushumeka umsindo ngaphakathi kwekhasi leWebhu, uzodinga ukuqinisekisa ukuthi isiphequluli siqonda uhlobo lwe-MIME lwefayela.
Ukushumeka Umsindo
Sebenzisa izinhlobo ze-MIME ukufaka amafayela womsindo kumakhasi akho wewebhu usebenzisa izinga le-HTML4.
Faka inani lohlobo lwe-MIME kuhlobo lwesimo se-element eshumekile . Ngokwesibonelo:
I-HTML4 ayisekeli ukudlala komdabu womsindo, ukufaka nje ifayela. Uzodinga ukusebenzisa i-plugin ngempela ukudlala ifayela ekhasini.
Ku-HTML5, isici somsindo sisekela amafomethi we-MP3, WAV, ne-OGG; uma isiphequluli singasisekeli isici noma uhlobo lwefayili, lizokhahlela umlayezo wephutha. Ukusebenzisa umsindo kuvumela isiphequluli ngokwayo ukuthi sidlale emuva amafayela womsindo asekelwe ngaphandle kwesidingo se-plugin.
Ukuqonda izinhlobo zeMime
Ama-MIME izinhlobo ezihambisana nezandiso zefayela ezivamile. Isikhombi sohlobo lokuqukethwe sikhombisa isandiso ngokuningiliziwe. Amathegi wezinhlobo zokuqukethwe avela njengamabhangqa amancane, nekota yokuqala ebonisa isigaba esibanzi salokho okuyikho-isibonelo, umsindo noma ividiyo-negama lesibili elibonisa i-subtype. Uhlobo lwomsindo lungase lisekele ama-subtypes amaningi, kufaka phakathi ukucaciswa kwe-MPEG, WAV ne-RealAudio.
Uma uhlobo lwe-MIME lusekelwe ngezinga elisemthethweni le-intanethi, izinga lizoboniswa ngokufaka isicelo esibalwe amazwana ukuthi, uma isikhathi sokuphawula sivala, kuchaza uhlobo noma i-subtype ngokusemthethweni. Isibonelo, i-RFC 3003 ichaza uhlobo lwama-MIME womsindo / mpeg. Akuwona wonke ama-RFC avunyelwe ngokomthetho; Ezinye, njenge-RFC 3003, zikhona esimweni sesimo esinqunyiwe "esiphakanyisiwe".
Izinhlobo ze-MIME ezivamile zomsindo
Ithebula elilandelayo likhomba ezinye zezinhlobo ezijwayelekile zomsindo we-MIME:
Ifayela Lomsindo I-MIME Izinhlobo
Ukufakela Ifayela | Uhlobo lwe-MIME | RFC |
---|---|---|
i-au | umsindo / eziyisisekelo | RFC 2046 |
snd | umsindo / eziyisisekelo | |
I-PCM ehlukanisiwe | i-auido / i-L24 | RFC 3190 |
phakathi | umsindo / phakathi | |
rmi | umsindo / phakathi | |
mp3 | umsindo / mpeg | RFC 3003 |
umsindo we-mp4 | umsindo / mp4 | |
aif | umsindo / x-aiff | |
aifc | umsindo / x-aiff | |
i-aiff | umsindo / x-aiff | |
m3u | umsindo / x-mpegurl | |
ra | i-audio / vnd.rn-realaudio | |
inqama | i-audio / vnd.rn-realaudio | |
Ogg Vorbis | umsindo / ogi | RFC 5334 |
Vorbis | i-audio / vorbis | RFC 5215 |
wav | umsindo / vnd.wav | RFC 2361 |