<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
     xmlns:content="http://purl.org/rss/1.0/modules/content/"
     xmlns:dc="http://purl.org/dc/elements/1.1/"
     xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>黄小站 · 博客</title>
    <link>https://example.com/blog</link>
    <description>黄同学的博客：分享产品、工程实践、AI 应用与日常思考，按标签筛选，按时间倒序浏览。</description>
    <language>zh-CN</language>
    <lastBuildDate>Wed, 19 Aug 2026 10:08:25 GMT</lastBuildDate>
    <atom:link href="https://example.com/feed.xml" rel="self" type="application/rss+xml"/>
    <image>
      <url>https://example.com/favicon.svg</url>
      <title>黄小站</title>
      <link>https://example.com</link>
    </image>
    <item>
      <title>黄小站博客已改为静态发布</title>
      <link>https://example.com/blog/welcome-static-blog</link>
      <guid isPermaLink="true">https://example.com/blog/welcome-static-blog</guid>
      <description>文章和图片都保存在项目代码与 Hostinger 服务器里，不再依赖 VibeX 后端，图片也不会因平台过期而丢失。</description>
      <content:encoded><![CDATA[<p>这站点的博客已从 VibeX + PocketBase 改为<strong>纯静态</strong>方案：文章写在代码里，构建后随 <code>dist/</code> 一起上传到 Hostinger。</p><h2>如何写新文章</h2><ol><li>在 <code>src/content/blog/posts/</code> 新建一个 <code>.json</code> 文件</li><li>封面图放到 <code>public/blog/covers/</code>，在 JSON 里写路径，例如 <code>/blog/covers/my-cover.webp</code></li><li>本地运行 <code>pnpm build</code>，把 <code>dist/</code> 内容上传到 Hostinger</li></ol><h2>图片为什么更持久</h2><p>封面和正文插图都走你自己的域名与主机目录，不经过 VibeX 临时存储，只要你不删文件，链接就一直有效。</p><p>祝写作愉快 ✍️</p>]]></content:encoded>
      <dc:creator>黄同学</dc:creator>
      <pubDate>Thu, 19 Mar 2026 08:00:00 GMT</pubDate>
      <category>独立开发</category>
      <category>博客</category>
      <category>Hostinger</category>
    </item>
    <item>
      <title>Hostinger 上传清单（静态站）</title>
      <link>https://example.com/blog/hostinger-deploy-tips</link>
      <guid isPermaLink="true">https://example.com/blog/hostinger-deploy-tips</guid>
      <description>构建完成后，只需上传 dist 目录里的文件到 public_html，并配置 SPA 路由回退。</description>
      <content:encoded><![CDATA[<p>黄小站前端是 Vite 构建的单页应用。上传到 Hostinger 虚拟主机时，注意以下几点。</p><h2>上传哪些文件</h2><ul><li><code>index.html</code></li><li><code>assets/</code> 文件夹</li><li><code>favicon.svg</code>、<code>icons.svg</code></li><li><code>blog/</code> 文件夹（封面图）</li></ul><h2>SPA 路由</h2><p>在 <code>public_html</code> 添加 <code>.htaccess</code>，让 <code>/blog</code>、<code>/blog/某篇文章</code> 等路径都回退到 <code>index.html</code>，否则刷新会 404。</p><h2>不需要后端</h2><p>博客数据已打包进 JS，Hostinger 共享主机即可运行，无需 VPS 或 PocketBase。</p>]]></content:encoded>
      <dc:creator>黄同学</dc:creator>
      <pubDate>Wed, 18 Mar 2026 08:00:00 GMT</pubDate>
      <category>部署</category>
      <category>Hostinger</category>
      <category>Vite</category>
    </item>
  </channel>
</rss>
