Umenzi wethegi ye-AMPHTML

Ngethegi enye ye-HTML , unokufaka "i-AMPHTML generator evela kwi-amp-cloud.de" kwiwebhusayithi yakho kwaye ubonelele ngokuzenzekelayo ngenguqulo ye-AMP yewebhusayithi yakho !

Sebenzisa iGoogle AMP nge-AMPHTML tag


done

Umvelisi wethegi ye-AMPHTML sisiguquli sasimahla "se-HTML ukuya kwi-AMPHTML" kwaye wenza uguqulelo olusebenzayo oluzenzekelayo lwe-AMP yewebhusayithi yakho esekwe kwikhowudi ye-HTML yewebhusayithi yakho. Unokusebenzisa ngokulula i- rel = "amphtml" tag , emva kokuyifaka kwiwebhusayithi yakho, yenza kusebenze i-AMP kaGoogle ngaphandle kokufaka ikhowudi ye-AMPHTML ngokwakho!


Isibhengezo

Umzekelo we-AMPHTML


code
<link rel="amphtml" href="https://www.amp-cloud.de/amp/amp.php?s=DeineArtikelURL" />

Faka ithegi ye-AMPHTML


description

Ithegi evelisiweyo engu- <link rel = "amphtml" href = "..."> Ithegi kufuneka ifakwe kwi <head> indawo yekhasi le-HTML eliqhelekileyo kwiphepha ngalinye elingaphantsi eliza kwenziwa ngalo iphepha le-AMP.

Oku kuthetha ukuba i-meta tag ye-AMPHTML eyahlukileyo kufuneka yenzelwe iphepha ngalinye, eliqulathe i-URL yephepha le-HTML!

Ngenye indlela, unokusebenzisa enye yezi plugins ze-AMP, ezenza ngokuzenzekelayo kwaye zifake i-tag ye-meta yeGoogle AMP kwiphepha ngalinye:

Isebenza njani i-AMPHTML Tag?


help

Iinjini zokukhangela ezinje ngeGoogle zihlala zihlalutya imithombo yolwazi kwiiwebhusayithi ezizodwa. Ukuba i-injini yokukhangela ifumana ithegi <link rel = "amphtml">, injini yokukhangela ikwajonga i-URL edweliswe apho kwaye igcine ikhowudi ye-AMPHTML enikezwe apho kwindawo yayo ye-AMP!

Ngokukhawuleza xa injini yokukhangela iyigcinile le nguqulo ye-AMP, le nguqulo ithathelwa ingqalelo kwiziphumo zokukhangela kwaye, ngokuxhomekeke kwimeko yokukhangela nakwindawo esingqongileyo, eboniswe kubasebenzisi njengesiphumo sokukhangela.

Ngokuyigcina kwindawo yokugcina i-AMP kwi-injini yokukhangela, inguqulelo ye-AMP inokulayishwa ngokukhawuleza okukhulu. Le webhusayithi ke iba ngcono xa kulayishwa amaxesha kwaye ke ikwandiswa ngakumbi kwizixhobo eziphathwayo.


Isibhengezo