This is the easiest method of indexing. There are far more complicated ways to do it. Filename, first of 2 files, robots.txt (normative name, must be exactly this).
Sitemap: http://www.example.com/sitemap.xml User-agent: * Disallow: User-agent: Googlebot Allow: /Note: even if the typical sitemap is called sitemap.xml you can call it whatever.xml as well. Mine is called index.xml.
Filename, second of 2 files, sitemap.xml (non-normative name, can be anything: *.xml).
<?xml version='1.0' encoding='UTF-8'?>
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>http://www.example.com/index.html</loc>
</url>
<url>
<loc>http://www.example.com/file1.html</loc>
</url>
<url>
<loc>http://www.example.com/file2.html</loc>
</url>
</urlset>
Note: You can continue to add virtually as many urls you want in the same pattern.
Within the urlset open and closing tags you can add the following tags:
<urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"
xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>
</loc>
<lastmod>
</lastmod>
<changefreq>
</changefreq>
<priority>
</priority>
</url>
</urlset>
Note: This is the typical set-up and all(?) possibilities for a single url within the loc-tags having lastmod, changefreq and priority options with it, the url in this sitemap.
Taking this further, you can now begin to submit your sitemap and robots files to the various search-engines by their webmaster interfaces, ready for you!
Some useful internet links to resources:
Sitemaps
Wikipedia on sitemaps search-engines
Free sitemap generator on www.xml-sitemaps.com
General help on html, xml and other code by W3Schools.com
This is the easiest method of producing RSS Feeds. There are far more complicated ways to do it. It consists of 2 steps. The first is to include a link in your initiation file to the browser in the top/initial folder of your domain. This file is typically named index.html, welcome.html or index.cgi or something thereof. You place this link within the body-tags of your file along with the other content. It's unknown to me what link rel="alternate" does, but I'm in the belief it's required, possibly for telling the browser to look for a file other than the initiation/index.html file. The rss.xml file is an arbitrarily chosen name so you can call your RSS Feed file whatever you want like whatever.xml. Just make sure it's an xml file and that the reference in this link below has the same name as your xml file of RSS Feed.
<body> <link rel="alternate" type="application/rss+xml" href="http://www.example.com/rss.xml" title="Your Title"> <body>Your RSS Feed can be placed on every level in your domain, just make sure you have the link-reference right!
The second and last step consists in creating the xml file. My setup for RSS Feed, version 2.0, looks like this:
<?xml version='1.0' encoding='UTF-8'?>
<rss version="2.0">
<channel>
<title>The Title of Your RSS Channel</title>
<atom:link rel="self" href="http://www.example.com/rss.xml" /> <!-- RSS "reference"! -->
<atom:link rel="alternate" href="http://www.example.com/index.html" /> <!-- Index-page "reference"! -->
<atom:link rel="shortcut icon" href="http://www.example.com/favicon.ico" /> <!-- Use of Favicon. Can be very nice
to have on your website! -->
<link>http://www.example.com/index.html</link>
<description>This is your RSS Feed. Present it as you like!</description>
<language>en-gb</language>
<copyright>Your Name, 2009-2010</copyright>
<webMaster>yourname@mail.com (Your Name)</webMaster>
<lastBuildDate>Mon, 08 Mar 2010 13:00:00 GMT</lastBuildDate>
<docs>http://cyber.law.harvard.edu/rss/rss.html</docs>
<image>
<title>Your special image! (It's recommended that this title is the title of the channel, above.)</title>
<url>http://www.example.com/spec_image_120pixx60pix.gif</url>
<link>http://www.example.com</link>
<width>120</width>
<height>120</height>
</image>
<item>
<title>News on your RSS Feed. Item #1.</title>
<link>http://www.example.com/FileNews1.html</link>
<description>This is the description of what is presented on the page you refer to.</description>
<author>yourname@mail.com (Your Name)</author>
<guid>http://www.example.com/FileNews1.html</guid>
<pubDate>Mon, 08 Mar 2010 13:00:00 GMT</pubDate>
</item>
<!-- Create as many further <item>s as you like, but keep the reader/receiver in mind when you add the number of items you like! -->
<meta name="Keywords" content="Beauty,Nature,Art,Your Name,Title of the page,whatever else"> <meta name="Description" content="This is a sparetime presentation of mine. I'm just beginning to learn about webpages and other tips and tricks!"> <meta name="Author" content="Your Name"> <meta http-equiv="CONTENT-TYPE" content="text/html; charset=UTF-8"> <meta name="GENERATOR" content="OpenOffice.org 3.0 (Win32)"> <!-- You should probably consult with a generator list! --> <meta name="CREATED" content="20041010"> <!-- The date format is just this: yearmmdd - year, month, date. --> <meta name="CHANGEDBY" content="Your Name"> <meta name="CHANGED" content="20100704"> <meta name="ProgId" content="Gedit"> <!-- You should probably consult with a ProgId list! --> <meta http-equiv="Content-Language" content="en-GB"> <link rel="stylesheet" type="text/css" href="name_of_css_file.css" /> <!-- The meta-tags are always placed within the head-tags! I've included the link-tag for the stylesheet so that you have a good idea of the whole thing. Please, don't forget the title-tag when you set out making the webpage. This is, of course, a suggested standard set for meta-tags, one that I advice you include on every webpage you make on your website. There is also no need to include this comment with your meta-tags! -->