Last active
June 4, 2023 01:26
-
-
Save amane-katagiri/45d8ee528c100a3521e27d530713b02d to your computer and use it in GitHub Desktop.
Atomフィードのサンプル
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<feed xmlns="http://www.w3.org/2005/Atom"> | |
<title>【サイトタイトル】</title> | |
<!-- サイトのURL --> | |
<link rel="alternate" href="https://your-site.example.com/"></link> | |
<!-- フィードのURL --> | |
<link rel="self" href="https://your-site2.example.com/path/to/feed.atom.xml"></link> | |
<!-- フィードのID「tag:【サイトドメイン】,【公開年(月日)】:【URL】」 --> | |
<id>tag:your-site.example.com,2023:/</id> | |
<!-- フィードの最終更新日時 --> | |
<updated>2023-06-01T00:00:00.000Z</updated> | |
<entry> | |
<title>【記事1のタイトル】</title> | |
<!-- 記事1のURL --> | |
<link rel="alternate" href="https://your-site.example.com/path/to/article1.html"></link> | |
<author> | |
<name>【記事1の作者】</name> | |
</author> | |
<summary>【記事1の概要】</summary> | |
<!-- 記事1のID「tag:【サイトドメイン】,【公開年月日】:【URL】」 --> | |
<id>tag:ama.ne.jp,2023-06-02:/sample</id> | |
<!-- 記事1の最終更新日時 --> | |
<updated>2023-06-01T00:00:00.000Z</updated> | |
<!-- 記事1の初版公開日時 --> | |
<published>2023-01-01T00:00:00.000Z</published> | |
</entry> | |
<!-- 以下、entryタグを続ける | |
<entry> | |
... | |
</entry> | |
--> | |
</feed> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment