How To Create And Build XML Sitemap / RSS Feed Files For Website

Share:

How To Create And Build XML Sitemap / RSS Feed Files For Website. Sitemap or RSS Feed has a very important role for a website. Sitemap have a role as a map website to facilitate search engine spider bots and humans in a list of articles that have been published by a website. In addition, through RSS feeds / Sitemap is an article that visitors can subscribe to each article there is an update, the customer will get an email about the update automatically.
How To Create And Build XML Sitemap / RSS Feed Files For Website How To Create And Build XML Sitemap / RSS Feed Files For Website

How To Create And Build XML Sitemap / RSS Feed Files For Website

Normally, blogging platforms such as blogger, wordpress and other cms like joomla is accompanied RSS feed but does not quite have the means default RSS feeds / sitemap blog, you can even have multiple sitemap / RSS feeds in a category that fits your blog. For that, we need an xml file to create and build a sitemap / RSS Feed for the blog and cms website that you have created yourself. How do I create a sitemap / The RSS Feed ? Let’s to learn the tutorial below :
Create A XML File For Sitemap / RSS Feed
In this post, we will try to create a sitemap / RSS Feeds of the .xml file format. Version that we use in this xml file is the 2nd version. Here’s the default code untuk opening and closing in the xml file :

<rss version="2.0">
  <channel>
.............
  </channel>
</rss>

In the header section sitemap / RSS Feed is, we enter the title, description and logo of the website. To be more complete, do not forget to add the subscribe button in the header of the xml sitemap / The RSS Feed. Here are some of his code and place it under <channel> :

    <title>Website Title </title>
    <description>Your Website Description</description>
    <link>http://yourdomain.com</link>
    <copyright>Copyright © 2015 dotcomcell</copyright>
    <lastBuildDate>Sun, 31 Dec 2015 10:04:25 +0700</lastBuildDate>
    <pubDate>Sun, 35 Dec 2015 10:02:17 +0700</pubDate>
    <generator>Tutorial.World.Edu RSS Generator</generator>
    <image>
      <url>http://yourdomain.com/images/logo.png</url>
      <title>Logo Title</title>
      <link>http://yourdomain.com</link>
      <description>Your Website Logo Description ..</description>
      <width>375</width>
      <height>60</height>
    </image>

Please replace the text above in accordance with the title, description, logo and address of your website. You can also change the size of the logo by changing the width and height in the sitemap tag above.

To fill sitemap / RSS feed it with a list post, please use xml code below. If on the one sitemap / RSS feed page containing 10 post list. the number of items that should be added also 10 pieces. The following item code :

	<item>
            <title></title>
            <link></link>
            <description></description>
            <guid></guid>
       </item>

And following for example :

	<item>
            <title> How To Create And Build Sitemap RSS Feed XML Files Website  </title>
            <link> http://tutorial.world.edu/website-design/how-to-create-build-xml-sitemap-rss-feed-files-website/ </link>
            <description> Sitemap or RSS Feed has a very important role for a website. Sitemap have a role as a map website to facilitate search engine spider bots </description>
            <guid> http://tutorial.world.edu/website-design/how-to-create-build-xml-sitemap-rss-feed-files-website/ </guid>
       </item>

In order sitemap / RSS Feeds easily accessible by a spider bot, you should limit the number of posts on the list sitemap / RSS Feed. Should be a maximum of 1000 posts. If you have over 1000 posts then create another sitemap. It’s just advice from us, you should follow it or not, all depends on your decision.

The following overall framework of code to create and build a manually xml sitemap / RSS feed :

<rss version="2.0">
  <channel>
    <title>Website Title </title>
    <description>Your Website Description</description>
    <link>http://yourdomain.com</link>
    <copyright>Copyright © 2015 dotcomcell</copyright>
    <lastBuildDate>Sun, 31 Dec 2015 10:04:25 +0700</lastBuildDate>
    <pubDate>Sun, 35 Dec 2015 10:02:17 +0700</pubDate>
    <generator>Tutorial.World.Edu RSS Generator</generator>
    <image>
      <url>http://yourdomain.com/images/logo.png</url>
      <title>Logo Title</title>
      <link>http://yourdomain.com</link>
      <description>Your Website Logo Description ...</description>
      <width>375</width>
      <height>60</height>
    </image>
	<item>
            <title></title>
            <link></link>
            <description></description>
            <guid></guid>
       </item>
	<item>
            <title></title>
            <link></link>
            <description></description>
            <guid></guid>
       </item>
	<item>
            <title></title>
            <link></link>
            <description></description>
            <guid></guid>
       </item>
  </channel>
</rss>

What do you think ? What is quite easy to create a sitemap / RSS feed from xml file ?
Please try and good luck 🙂
Thanks for reading How To Create And Build XML Sitemap / RSS Feed Files For Website

[Tutorial.World.Edu]

One thought on “How To Create And Build XML Sitemap / RSS Feed Files For Website

Leave a Reply

Your email address will not be published. Required fields are marked *