Uyihlaziya njani i-WordPress yezehlo yezehlo kwi-iCal usebenzisa iKhalenda kaGoogle (kunye nolunye uvuyo lukaGoogle!)

Kule veki ndityikitye indawo yam yobuqu Izinhlelo zeGoogle. Ndifumana intaba yeSpam okoko idilesi yam ye-imeyile ayitshintshanga kwiminyaka kwaye umbuki zindwendwe wam (nangona ndibathanda) baya kubiza i-1.99 yeedilesi kwidilesi ye-imeyile yoKhuselo lweSpam, into ethi inbox yenza simahla. Kananjalo, ngeGmail, usebenza ngobuchule obakhiwe zizigidi zabanye abasebenzisi ke zichanekile!

Ibheji kaGoogle yokuThetha

Kukho izibonelelo ezongezelelekileyo zokuya kwiiGoogle Apps endandingaziqondi, nangona kunjalo! Esokuqala kukudibanisa usetyenziso lukaMyalezo oNgxamisekileyo kaGoogle, obizwa ngokuba yiNtetho, ngqo kwibar esecaleni nge Ibheji kaGoogle yokuThetha.

Isazisi sikaGoogle

Kananjalo, ndinayo ngoku Isazisi sikaGoogle, endilumkisa xa ndine-imeyile kwaye, ukusukela namhlanje, idityaniswa neeapp zikaGoogle kwaye indilumkise xa ndinemicimbi yekhalenda ngokunjalo. Sisicelo esincinci kakhulu.

Ungqamaniso lweKhalenda kaGoogle

Mhlawumbi ezona ndaba zinkulu kule veki yayixa umhlobo wam, uBill, ethumele malunga nenkxaso yeKhalenda kaGoogle yeCalDav kunye nokukwazi ukungqamanisa iCal kunye neKhalenda kaGoogle. Ilula kakhulu:

  1. Vula iinketho ze-iCal
  2. Yongeza iAkhawunti
  3. Faka idilesi ye-imeyile kaGoogle kunye negama lokugqitha
  4. Ngenisa idilesi yakho yeKhalenda:
    https://www.google.com/calendar/dav/youremail@
    yakhodomain.com/user

google ical

Bendingafuni ukwabelana ngekhalenda yam ephambili kwibar yam esecaleni yeWordPress, ke ndongeze enye iKhalenda kwiKhalenda yam kaGoogle emva koko ndiyongeze kwi-iCal nayo. Nazi izikhombisi zokudibanisa iikhalenda zakho zesekondari neICal. I-URL eyahlukileyo.

Ikhalenda kaGoogle yokuDityaniswa kweWordPress

Inyathelo lokugqibela ukufaka ifayile Iplagi yeKhalenda kaGoogle yeWordPress ukongeza iwijethi kwibar esecaleni yakho edlula kwaye ibonise imicimbi kwiKhalenda yakho. Kukho izinto ezithile kule plugin, nangona kunjalo, ekufuneka ihlawulwe:

  1. Bhalisela i Idatha kaGoogle API Isitshixo, uyakufuna ukungena kuseto lwePlagi.
  2. Xa ufaka idilesi yeXML yokondla iKhalenda yakho, qiniseka ukuba utshintsha indawo yokugqibela ye-url 'epheleleyo' ukuze idilesi ibonakale ngoluhlobo:
    http://www.google.com/calendar/feeds/youremail@
    indawo yakho% 40group.calendar.google.com / public / full
  3. Iwijethi ibonisa inyanga kunye nomhla zibi. Oku kungenxa yokufomatha kwiJavaScript kwaye inokuguqulwa ngokulula. Kwiimisebenzi.js kumgca 478, uya kufumana ukufomatha komhla. Ukuba ungathanda ukuba umhla uboniswe kwifomathi eyahlukileyo, unokuguqula umtya wokuphuma. Umzekelo:
    umhlaString = bonisaTime.toString ('dddd, MMMM dd, yyyy');
  4. Isihloko sewijethi asiboniswanga ngokungqinelana neWordPress API kunye nokusebenza okungagqibekanga kwewijethi. Umntu othile wayenomdla ngokwaneleyo ukuba angathumela izilungiso kule Khowudi kaGoogle kodwa ayikakhululwa. Nanku umkhombandlela wokuba yeyiphi ikhowudi buyisela ukulungisa imiba yesihloko sewijethi.

Ngale nto idityaniswe ngokupheleleyo, ngoku ndinokusebenzisa iSazisi sikaGoogle okanye iCal kwaye ndongeze umsitho oza kubonisa kwibar yam esecaleni! Ixesha elithathayo lixhomekeke kuseto lwakho lwangqamaniso phakathi kweICal kunye neGoogle.

3 Comments

  1. 1
  2. 2

    Bekukuhle kakhulu. Uzame iikhalenda zeminyhadala emininzi, akafumananga nto ifanelekileyo. Iplagi ye-wpng kaGoogle yayifanelekile ngaphandle kwamanqaku angasentla. Kwaye, andinalwazi lwe-scripting. Ngoko...
    Umbulelo wam osuka entliziyweni.
    Anand.

  3. 3

Ingaba ucinga ntoni?

Le sayithi isebenzisa i-Akismet ukunciphisa ugaxekile. Funda indlela idatha yakho yokubhaliweyo isetyenziswe ngayo.