">
xgqfrms™, xgqfrms® : xgqfrms's offical website of cnblogs! xgqfrms™, xgqfrms® : xgqfrms's offical website of GitHub!

How to Use RSS on Your Website

 

RSS feed

 

 

 

1

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!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:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<?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

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
<?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>

 

 

 

 
posted @   xgqfrms  阅读(98)  评论(3编辑  收藏  举报
编辑推荐:
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
· 探究高空视频全景AR技术的实现原理
· 理解Rust引用及其生命周期标识(上)
· 浏览器原生「磁吸」效果!Anchor Positioning 锚点定位神器解析
阅读排行:
· DeepSeek 开源周回顾「GitHub 热点速览」
· 记一次.NET内存居高不下排查解决与启示
· 物流快递公司核心技术能力-地址解析分单基础技术分享
· .NET 10首个预览版发布:重大改进与新特性概览!
· .NET10 - 预览版1新功能体验(一)
历史上的今天:
2015-09-28 vi & vim 使用教程从入门到精通 All In One
点击右上角即可分享
微信分享提示