AMPHTML Kaihanga Tūtohu

Ma te tohu HTML noa , ka taea te whakauru i te "kaihanga AMPHTML mai i te amp-cloud.de" ki to paetukutuku me te whakarato i tetahi waahanga AMP o to paetukutuku !

Whakahohehia a Google AMP ma te tohu AMPHTML


done

Ko te kaiwhakanao tohu AMPHTML he kaitahuri "HTML ki te AMPHTML" koreutu me te hanga i tetahi waahanga AMP tino pai-aunoa mo to paetukutuku i runga i te waehere HTML o to paetukutuku. Ka taea e koe te whakamahi i te tohu rel = "amphtml" , i muri i te whakauru i runga i to paetukutuku, whakahohe i te Google AMP me te kore e whai waehere i te waehere AMPHTML!


Panui

Tauira tohu AMPHTML


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

Whakauruhia te tohu AMPHTML


description

Ko te tohu <hono rel = "amphtml" href = "..."> me whakauru ki te <head> rohe o te whaarangi HTML tawhito i runga i nga whaarangi waahanga ka hangahia he whaarangi AMP.

Ko te tikanga tenei me waihangahia he tohu meta AMPHTML motuhake mo ia waahanga whaarangi, kei roto te URL o te whaarangi HTML!

Ano hoki, ka taea e koe te whakamahi i tetahi o nga taapiri AMP e whai ake nei, ka hanga ka whakauru i te tohu meta Google AMP tika mo ia whaarangi:

Pehea te mahi a te Tohu AMPHTML?


help

Ko nga miihini rapu penei i a Google e wetewete tonu ana i nga tuhinga o nga paetukutuku takitahi. Mena ka kitea e te miihini rapu he tohu <hono rel = "amphtml">, ka tirotirohia e te miihini rapu te URL kua whakararangihia ki reira ka penapena i te waehere AMPHTML e hora ana ki tana ake keteroki AMP!

I te wa i tiakina ai e te miihini rapu tenei waahanga AMP, ka whakaarohia tenei putanga mo nga hua rapunga, ana, i runga i te ahuatanga rapu me te taiao, kua whakaatuhia ki nga kaiwhakamahi hei hua rapu.

Na roto i te penapena i te keteroki AMP ki ta te miihini rapu ake, ka tere ake te utaina o te waahanga AMP. Ko te paetukutuku ka pai ake nga waa utaina na reira ka aroturukihia mo nga taputapu waea.


Panui