How to Use RSS on Your Website
RSS feed
1
12345678910111213141516171819202122232425262728293031323334<!
DOCTYPE
html>
<
html
lang="en">
<
head
>
<
meta
charset="UTF-8">
<
title
>How to Use RSS on Your Website</
title
>
<!-- http://webdesign.about.com/od/rss/a/rss_whats_new.htm -->
</
head
>
<
body
>
<
div
>
<
h1
>How to Use RSS on Your Website</
h1
>
<
p
></
p
>
<
h1
>How to Create XML for an RSS Feed</
h1
>
<
p
></
p
>
<
h1
>How to Format RSS – Adding Style to a Feed</
h1
>
<
p
></
p
>
<
h1
>Anatomy of an RSS File</
h1
>
<
p
></
p
>
<
h1
>Legal Side of RSS Feeds – RSS Copyright</
h1
>
<
p
></
p
>
</
div
>
<
hr
>
<
div
>
<!-- http://webdesign.about.com/od/rss/a/link_rss_feed.htm -->
<
h1
>How to Add an RSS Feed to a Web Page</
h1
>
<
p
></
p
>
<
h1
>Anatomy of an RSS File</
h1
>
<
p
></
p
>
<
h1
>How to Use RSS on Your Website</
h1
>
<
p
>8 Cheap and Easy Ways to Learn HTML</
p
>
<
h1
>What is RSS?</
h1
>
<
p
></
p
>
</
div
>
</
body
>
</
html
>
1
demo:
1234567891011121314151617181920<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<rss version=
"2.0"
>
<channel>
<item>
<title>RSS Title</title>
<description>This is an example of an RSS feed</description>
<link>http:
//www.example.com/main.html</link>
<lastBuildDate>Mon, 06 Sep 2010 00:01:00 +0000 </lastBuildDate>
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate>
<ttl>1800</ttl>
</item>
<item>
<title>Example entry</title>
<description>Here is some text containing an interesting description.</description>
<link>http:
//www.example.com/blog/post/1</link>
<guid isPermaLink=
"true"
>7bd204c6-1655-4c27-aeee-53f933c5395f</guid>
<pubDate>Sun, 06 Sep 2009 16:20:00 +0000</pubDate>
</item>
</channel>
</rss>
1
1234567891011121314151617181920212223242526<?xml version=
"1.0"
encoding=
"UTF-8"
?>
<rss version=
"2.0"
xmlns:atom=
"http://www.w3.org/2005/Atom"
>
<channel>
<item>
<title>xgqfrm.xyz</title>
<link>http:
//xgqfrms.xyz/index.html</link>
<description>xgqfrms
's offical website of GitHub!</description>
<atom:link href="https://xgqfrms.xyz/feeds/posts.rss" rel="self" type="application/rss+xml"/>
<atom:link href="https://xgqfrms.xyz/feeds/atom.xml" rel="self" type="application/atom+xml"/>
</item>
<item>
<title>xgqfrm.xyz</title>
<link>http://xgqfrms.xyz/index.html</link>
<description>xgqfrms'
s offical website of GitHub!</description>
<atom:link href=
"https://xgqfrms.xyz/feeds/posts.rss"
rel=
"self"
type=
"application/rss+xml"
/>
<atom:link href=
"https://xgqfrms.xyz/feeds/atom.xml"
rel=
"self"
type=
"application/atom+xml"
/>
</item>
<item>
<title>xgqfrm.xyz</title>
<link>http:
//xgqfrms.xyz/index.html</link>
<description>xgqfrms's offical website of GitHub!</description>
<atom:link href=
"https://xgqfrms.xyz/feeds/posts.rss"
rel=
"self"
type=
"application/rss+xml"
/>
<atom:link href=
"https://xgqfrms.xyz/feeds/atom.xml"
rel=
"self"
type=
"application/atom+xml"
/>
</item>
</channel>
</rss>
本文首发于博客园,作者:xgqfrms,原文链接:https://www.cnblogs.com/xgqfrms/p/5918024.html
未经授权禁止转载,违者必究!
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
2015-09-28 vi & vim 使用教程从入门到精通 All In One