[Refers to http://www.w3schools.com/rss/rss_publishing.asp]
Now it's time to get your RSS file up on the web. Here are the steps:
1. Name your RSS file. Notice that the file must have an .xml extension.
2. Validate your RSS file (a good validator can be found at http://www.feedvalidator.org).
3. Upload the RSS file to your web directory on your web server.
4. Copy the little orange
or
button to your web directory.
5. Put the little orange "RSS" or "XML" button on the page where you will offer RSS to the world (e.g. on your home page). Then add a link to the button that links to the RSS file. The code will look something like this:
<a href="www.w3schools.com/rss/myfirstrss.xml">
< img src="www.w3schools.com/rss/rss.gif" width="36" height="14">
</a>.
6. Submit your RSS feed to the RSS Feed Directories (you can Google or Yahoo for "RSS Feed Directories"). Note! The URL to your feed is not your home page, it is the URL to your feed, like "http://www.w3schools.com/rss/myfirstrss.xml". Here are some free RSS aggregation services:
- Syndic8: Over 300,000 feeds listed. Register your feed here.
- Daypop: Over 50,000 feeds. Register your feed here.
- Newsisfree: Over 18,000 feeds. Register your feed here.
7. Register your feed with the major search engines:
- Yahoo - http://publisher.yahoo.com/promote.php
- Google - http://www.google.com/intl/zh-cn/webmasters/addfeed.html
- MSN - http://rss.msn.com/publisher.armx
8. Update your feed - Now you have gotten RSS feed buttons from Google, Yahoo, and MSN. Now you must make sure that you update your content frequently and that your RSS feed is constantly available.
浙公网安备 33010602011771号