{"version":"https://jsonfeed.org/version/1.1","title":"DBD-raws","home_page_url":"https://cms.dbdraws.dpdns.org","feed_url":"https://cms-dbdraws.pages.dev/json/","description":"<style>\n        #api-text-container {\n            font-size: 22px;\n            \n            max-width: 90%;\n            text-align: center;\n            line-height: 1.6;\n            padding: 20px;\n            border-left: 4px solid #4CAF50;\n            box-shadow: 0 2px 10px rgba(0,0,0,0.1);\n        }\n@media (max-width: 768px) {\n            #api-text-container {\n                font-size: 18px; /* 移动端减小到18px */\n                max-width: 95%; /* 移动端宽度占比更大（减少留白） */\n                padding: 15px; /* 移动端内边距减小 */\n            }\n    </style>\n<p id=\"api-text-container\"></p>\n<script>\n  // 调用文字API（以「一言」为例，返回随机句子）\n  fetch(\"https://v1.hitokoto.cn/?c=d\") // API地址（返回JSON）\n    .then(response => response.json())\n    .then(data => {\n      // 将API返回的文字填入容器（不添加任何样式，使用网站默认文本样式）\n      document.getElementById(\"api-text-container\").textContent = data.hitokoto;\n    })\n    .catch(error => {\n      // 加载失败时显示提示（同样使用默认样式）\n      document.getElementById(\"api-text-container\").textContent = \"加载失败，请稍后刷新\";\n    });\n</script>\n\n<p>这是一款轻量级的内容管理系统（CMS），可自行托管于Cloudflare平台。通过microfeed，您能够便捷地发布多种形式的内容——包括音频、视频、照片、文档、博客文章及外部链接，并以网页、RSS订阅和JSON格式输出信息流。</p>","icon":"https://cms-dbdraws.pages.dev/assets/default/channel-image.png","favicon":"https://cms-dbdraws.pages.dev/assets/default/favicon.png","authors":[{"name":"DBD制作组"}],"language":"zh-cn","items":[{"id":"UOv_7ad6Pw0","title":"随机图片（可手动切换）","url":"https://cms.dbdraws.dpdns.org/i/apitup-UOv_7ad6Pw0/","content_html":"<!-- 随机图片切换器（博客嵌入）最终版 -->\n<style>\n.random-img-box {\n  max-width: 100%;\n  margin: 15px 0;\n  text-align: center;\n  position: relative;\n  /* 核心：容器强制16:9比例，宽度不变，高度自动跟随16/9 */\n  aspect-ratio: 16 / 9;\n  /* 最小保护，小屏幕不会缩得太矮 */\n  min-height: 320px;\n  /* 最大上限，防止大屏过高 */\n  max-height: 550px;\n}\n\n.random-img {\n  width: 100%;\n  height: 100%;\n  object-fit: contain; /* 完整展示原图，不拉伸不裁剪 */\n  border-radius: 6px;\n  box-shadow: 0 1px 4px rgba(0,0,0,0.1);\n  background: #fff !important; /* 留白区域纯白色 */\n  /* 删除重复冲突的两套max‑height，交给父容器aspect‑ratio管控 */\n}\n.random-btn { padding: 10px 20px; margin-top: 12px; background: #4299e1; color: #fff; border: none; border-radius: 25px; cursor: pointer; font-size: 14px; }\n.random-btn:hover { background: #3182ce; }\n.random-loading { \n  color: #666; \n  padding: 20px 0; \n  position: absolute; /* 绝对定位 不占位 */\n  top: 20px;\n  left: 50%;\n  transform: translateX(-50%);\n}\n</style>\n\n<div class=\"random-img-box\">\n  <div class=\"random-loading\" id=\"imgLoading\">加载中...</div>\n  <img class=\"random-img\" id=\"blogRandomImg\" alt=\"随机图片\" style=\"display: none;\">\n  <button class=\"random-btn\" id=\"refreshImgBtn\">换一张图片</button>\n</div>\n\n<script>\nconst RANDOM_API = \"https://www.dmoe.cc/random.php\";\nconst imgDom = document.getElementById(\"blogRandomImg\");\nconst loadingDom = document.getElementById(\"imgLoading\");\nconst btnDom = document.getElementById(\"refreshImgBtn\");\n\nfunction loadNewImg() {\n  // 删掉隐藏旧图+显示加载中  实现无缝换图不跳动\n  let random = Date.now() + Math.floor(Math.random()*10000);\n  imgDom.src = `${RANDOM_API}?t=${random}`;\n}\n\nimgDom.onload = () => { loadingDom.style.display = \"none\"; imgDom.style.display = \"block\"; };\nimgDom.onerror = () => { loadNewImg(); };\n\nsetTimeout(()=>{\n  loadNewImg();\n  btnDom.addEventListener(\"click\", loadNewImg);\n},100);\n</script>\n<br>\n","content_text":"加载中...\n随机图片 换一张图片\n","date_published":"2025-08-20T18:03:03.337Z","_microfeed":{"web_url":"https://cms-dbdraws.pages.dev/i/随机图片-可手动切换-UOv_7ad6Pw0/","json_url":"https://cms-dbdraws.pages.dev/i/UOv_7ad6Pw0/json/","rss_url":"https://cms-dbdraws.pages.dev/i/UOv_7ad6Pw0/rss/","guid":"UOv_7ad6Pw0","status":"published","itunes:episodeType":"full","date_published_short":"Wed Aug 20 2025","date_published_ms":1755712983337}}],"_microfeed":{"microfeed_version":"0.1.5","base_url":"https://cms-dbdraws.pages.dev","categories":[],"subscribe_methods":[{"name":"JSON","type":"json","url":"https://cms-dbdraws.pages.dev/json/","image":"https://cms-dbdraws.pages.dev/assets/brands/subscribe/json.png","enabled":true,"editable":false,"id":"p0wHIR3D42R"},{"name":"友情链接","type":"google podcasts","url":"https://blog.4km.cc.cd/friends","image":"https://cms-dbdraws.pages.dev/assets/brands/subscribe/google.png","enabled":true,"editable":true,"id":"BRWdIXxcFlR"}],"description_text":"这是一款轻量级的内容管理系统（CMS），可自行托管于Cloudflare平台。通过microfeed，您能够便捷地发布多种形式的内容——包括音频、视频、照片、文档、博客文章及外部链接，并以网页、RSS订阅和JSON格式输出信息流。","copyright":"Copyright © DBD制作组.2026","itunes:type":"episodic","items_sort_order":"newest_first"}}