Tích hợp lịch iCloud vào trang web của riêng bạn - cách thức hoạt động
Bạn có thể dễ dàng tích hợp lịch iCloud vào trang web của mình và do đó chia sẻ các sự kiện với độc giả của bạn. Trong mẹo thực tế này, chúng tôi sẽ chỉ cho bạn cách.
Nhúng lịch iCloud trong trang web: Chia sẻ trước
Để tích hợp lịch iCloud vào trang web của bạn, trước tiên bạn phải phê duyệt nó.
- Đăng nhập vào iCloud bằng ID Apple của bạn.
- Nhấp vào "Lịch" để mở lịch của bạn.
- Chọn lịch bạn muốn xuất bản và nhấp vào biểu tượng màu xám nhạt ở bên phải của lịch (xem hình). Menu ngữ cảnh hỏi bạn muốn chia sẻ lịch riêng tư hay công khai. Nếu bạn đánh dấu vào ô "Công khai", một liên kết sẽ được hiển thị bên dưới.
- Xác nhận phê duyệt và sao chép liên kết. Bạn có thể nhận ra một lịch phát hành bởi biểu tượng màu xám đen.
Cài đặt lịch iCloud trên trang web
Nếu lịch được phát hành, bạn có thể tích hợp nó vào trang web của mình bằng liên kết.
- Sau khi bạn đã sao chép mã từ iCloud để phê duyệt lịch, bạn có thể dễ dàng tích hợp nó dưới dạng iFrame tại vị trí mong muốn trên trang chủ của mình.
- Tốt hơn là kiểm tra lại xem bạn đã phê duyệt đúng lịch chưa. Rốt cuộc, bạn chắc chắn không muốn làm cho mọi thứ riêng tư trên trang web của bạn có thể truy cập được cho mọi người.
Trong một mẹo thực tế khác, chúng tôi sẽ chỉ cho bạn cách thiết lập đếm ngược trên trang web của riêng bạn.