在你的網站顯示可認養的毛孩
讓你收容所的毛孩出現在你自己的網站上,每天自動更新。選收容所、看即時預覽、複製一段程式碼。完全免費。
2即時預覽
3加到你的網站
任何網站
<script src="https://petnecto.com/embed.js" data-shelter="tw-shelter-49" data-limit="6" async></script>- 複製程式碼。
- 貼到頁面 HTML 中你想顯示毛孩的位置。
- 發布。毛孩每天自動更新。
Wix
<iframe src="https://petnecto.com/embed/frame?shelter=tw-shelter-49&limit=6&lang=zh-Hant" title="臺北市動物之家 · Petnecto" width="100%" height="900" style="border:0;max-width:100%" loading="lazy" allow="geolocation"></iframe>- 複製程式碼。
- 在 Wix 編輯器選「新增」→「嵌入程式碼」→「嵌入 HTML」。
- 選「程式碼」,貼上,按「更新」。
- 拖拉方框直到每隻毛孩都看得到,再發布。
Squarespace
<iframe src="https://petnecto.com/embed/frame?shelter=tw-shelter-49&limit=6&lang=zh-Hant" title="臺北市動物之家 · Petnecto" width="100%" height="900" style="border:0;max-width:100%" loading="lazy" allow="geolocation"></iframe>- 複製程式碼。
- 編輯頁面,在想放毛孩的位置加入「程式碼」區塊。
- 貼上程式碼、儲存並發布。
WordPress
<script src="https://petnecto.com/embed.js" data-shelter="tw-shelter-49" data-limit="6" async></script>- 複製程式碼。
- 在區塊編輯器加入「自訂 HTML」區塊。
- 貼上程式碼並更新頁面。
儲存後沒看到毛孩?有些方案會移除 script:請改用 Google Sites 分頁的程式碼。
Google Sites
<iframe src="https://petnecto.com/embed/frame?shelter=tw-shelter-49&limit=6&lang=zh-Hant" title="臺北市動物之家 · Petnecto" width="100%" height="900" style="border:0;max-width:100%" loading="lazy" allow="geolocation"></iframe>- 複製程式碼。
- 在編輯器選「插入」→「嵌入」→「嵌入程式碼」。
- 貼上,按「下一步」再按「插入」。
- 拖拉方框直到每隻毛孩都看得到,再發布。
不用註冊、不用付費。訪客的瀏覽器只會向 petnecto.com 取得你的毛孩和照片。 不使用 cookie。只有訪客按下按鈕時才會詢問位置,而且只送出約 1 公里精度的地點。 請保留來源標示:它列出收容所與刊登資料的來源。
還沒列在上面?
如果清單裡沒有你的收容所,我們很樂意加進來。
給網站開發者:所有選項
data-shelter- 收容所代碼:它在 Petnecto 的頁面網址結尾(/shelters/…)
data-near- 地點或郵遞區號(取代收容所)
data-species- Dog、Cat、Rabbit、Bird…
data-limit- 顯示幾隻,1 到 12(預設 6)
data-lang- 小工具的語言(預設為訪客的語言)
data-heading- 標題層級,h2 到 h4(預設 h2)
data-locate- 設為 true 會加一個按鈕,按下才會尋找訪客附近的毛孩
data-theme- light、dark 或 auto(跟著頁面本身的配色)。
data-layout- roomy(預設)或 compact。
data-radius- 搜尋多遠,以英里計,1 到 500(預設 50)。
data-fallback- nearest(預設:範圍內沒有時,顯示最近的毛孩)或 none。
框架版本用網址參數接受同樣的選項(shelter、near、species、limit、lang、theme、layout、locate、radius、fallback)。
依 WCAG 2.2 AA 製作:真正的標題與清單、說明清楚的連結、清楚的焦點、淺色與深色、由右至左排版。