Skip to main content
CountryReports

链接到 CountryReports

免费的嵌入、徽章和文本链接,可放入您的网站、博客或学习门户。

想让您的读者、学生或客户从您自己的网站访问 CountryReports 页面吗?无需授权——选择下方适合您正在构建页面的嵌入方式,复制代码,粘贴到您希望显示的位置。

1. 选择页面

选择一个主页面——首页、区域、国家比较工具、活动或课程。要链接到特定国家档案,请使用下方的国家下拉菜单。最后修改的那个会驱动预览和代码片段。

2. 文本链接

一个简单的锚标签。占用最小、无样式,可放入任何文本块。

实时预览

Read the full country profile on CountryReports — Thailand.
<a href="https://countryreports.org/zh/country/Thailand.htm">CountryReports — Thailand</a>

3. 横幅徽章

内置 CountryReports 徽标的自包含徽章。白色背景、无外部 CSS——可安全嵌入 LMS 页面、Notion 或静态博客。

实时预览

<a href="https://countryreports.org/zh/country/Thailand.htm" style="display:inline-flex;align-items:center;gap:18px;padding:10px 21px;background:#fff;color:#1B2A4A;font-family:sans-serif;font-size:18px;text-decoration:none;border-radius:10px;border:1px solid #D4A843;box-shadow:0 1px 3px rgba(15,32,53,0.08);">
  <img src="https://d28upluuwx8m8h.cloudfront.net/logo.webp" alt="CountryReports" style="height:31px;width:auto;display:block;">
  <span style="color:#1B2A4A;font-weight:600;">Thailand</span>
  <span style="color:#C19535;">&rarr;</span>
</a>

4. 速览嵌入

带有目标品牌和"了解更多"链接的 iframe 卡片。对于国家档案显示国旗、首都、人口和地区。对于其他目标显示简短描述。延迟加载并自动调整大小。最终端点将位于 /embed/{type}/{slug}

实时预览(示例)

Thailand

首都
Bangkok
人口
71.6 million
地区
Asia
阅读完整档案
<iframe src="https://countryreports.org/embed/country/Thailand?lang=zh" style="width:100%;max-width:480px;height:280px;border:0;border-radius:12px;" loading="lazy" title="CountryReports preview for Thailand"></iframe>

5. 国家下拉小部件

一个小型交互式小部件,让访客选择国家并直接跳转到其档案。取代了旧版 CountryReports.org 小部件。国家列表托管在我们的域名上,因此会自动保持最新——添加新国家时无需重新粘贴。

实时预览

CountryReports
了解关于 世界各国
<div style="display:block;overflow:hidden;clear:both;margin:5px 0;">
  <div id="countryReportsWidgetDropdown" style="display:inline-block;padding:10px 12px;background:#fff;border:1px solid #BBBBBB;border-radius:4px;font-family:Arial,sans-serif;font-size:12px;color:#1B2A4A;max-width:260px;">
    <div style="padding:2px 0 6px;">
      <a href="https://countryreports.org/zh" target="_blank">
        <img src="https://d28upluuwx8m8h.cloudfront.net/logo.webp" alt="CountryReports" style="height:22px;width:auto;display:block;border:0;">
      </a>
    </div>
    <div style="padding:2px 0;">
      <script src="https://countryreports.org/js/widget/dropdown.js?lang=zh"></script>
    </div>
    <div style="padding:6px 0 2px;font-size:11px;">
      Learn about <a href="https://countryreports.org/zh/countries" target="_blank" style="color:#C19535;text-decoration:none;">Countries of the World</a>
    </div>
  </div>
</div>

在实时预览中选择国家会在新标签页中打开该国家档案。嵌入版在访客网站上的行为相同。

链接指南

  • 链接到任何 CountryReports 公开页面无需授权。欢迎深度链接。
  • 不要将 CountryReports 内容置于您自己的框架内,使其看起来像是您编写的。始终将 CountryReports 标注为来源。
  • 嵌入内容必须保持 "CountryReports" 品牌可见。请勿删除徽标或"了解更多"链接。
  • 如果您发现链接失效或嵌入过时,请告诉我们——旧国家页面已被重命名,我们会在可能时进行重定向。