Really Simple Syndication (RSS) Programming Question:

How To Write a Minimum Atom 1.0 Feed File?

Tweet Share WhatsApp

Answer:

If you want your Website to support a minimum Atom 1.0 feed, you can follow the tutorial exercise bellow.

1. First create a file called "atom.xml" with the following content:

<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Webmaster globalguideline</title>
<subtitle>A place to find information for Webmasters
</subtitle>
<link rel="self" href="http://globalguideline.com/atom.xml"/>
<id>http://globalguideline/</id>
<updated>2005-07-13T18:30:02Z</updated>
<author>
<name>globalguideline.com</name>
<email>noreply@globalguideline.com</email>
</author>
<entry>
<title>Webmaster FAQ Collection</title>
<link href="http://globalguideline.com/faq/"/>
<id>http://globalguideline.com/faq/</id>
<updated>2005-07-13T18:30:02Z</updated>
<summary>A massive collection of FAQs for Webmasters.
</summary>
</entry>
</feed>

2. Relace domain name "globalguideline.com" with your domain name.

3. Upload "atom.xml" to your Website.

4. Your Website supports Atom 1.0 syndi

Download Really Simple Syndication (RSS) PDF Read All 25 Really Simple Syndication (RSS) Questions
Previous QuestionNext Question
What Is an Atom Syndication Feed?How To Validate an Atom 1.0 Feed File?