Skip to content

yc97463/rpage-announcement-api

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 

如何嵌入公告小工具?

取得公告模組編號

首先,打開校網首頁(或放置公告模組之頁面),接著點選指定公告模組的「更多」。

image

抄寫網址中的模組編號(如圖)。

image

嵌入網站

Google 協作平台

如果您採用「Google 協作平台」,請打開 Google 協作平台編輯頁面。

image

接著選擇右側選單的「內嵌」功能。

image

接著貼上下方的連結,<模組編號> 請替換成上方抄寫的資訊。

https://func.smhs.dstw.dev/school-announcement?rcg=<模組編號>
image

拉伸區塊高度即完成嵌入公告。

image

iframe 小工具

如果您的平台支援程式碼,請在您的網站中,貼上以下程式碼。<模組編號> 請替換成上方抄寫的資訊。

<iframe src="https://func.smhs.dstw.dev/school-announcement?rcg=<模組編號>" width="125px" height="150px"></iframe>

特別感謝

@liaojason2 協助修正 Cloudflare Workers 存取 CORS 網站。

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published