The arguments continue to rage over the ambiguities in the RSS specifications. But the fact is: RSS is here to stay, and the currently defined RSS 2.0 specification is likely to be as good as it will have. Been have made attempts to create "best practices" documents and specification clarifications. We thought it would be useful to provide the General guidelines for those constructing an RSS 2.0 feed. In General, the following guidelines for building an RSS feed. It is good to get into the habit of validating the RSS feed, either with the software, or with an online validator. Here are some general guidelines for creating RSS Feeds: 1. Enclosures includes only one enclosure per item for maximum compatibility. RSS 2.0 specification does not clearly state whether multiple enclosures are allowed or not, but most RSS readers support only a single chassis. It is therefore best to satisfy your readers, and only includes a single enclosure in each RSS feed item. 2. date formats, date formats, can be very difficult; Make sure that all dates are formatted correctly. 3. Codingcoding required for specific characters. If you use software to create the feed, it should handle character encoding for you. 4. HTML while the specification is not explicit, it is generally a good idea not to use HTML coding in the channel or item titles. For maximum feed compatibility, is the only place you need to use HTML in the description of the RSS Feed. 5. GUID the GUID (Global Unique IDentifiers) are not required. However, publishers are encouraged to use a unique string in the GUID. Many RSS readers search GUID changes to determine if new items are available in an RSS feed. 6. Images if you include an image with a feed, the suggested image size 88 x 31 (the maximum allowed size is 144 x 400). If you include an image in the RSS feed item description or enclosure fields, not size, but remember that excessively large graphics, negative effect on the amount of time it takes to load the feed. 7. Favicons some RSS readers and search engines will display the favicon of video hosting services domain beside the listing for an RSS feed. To your feed to stand out, be sure to include a favicon in the root folder of your site's domain. 8. Urlsuse "absolute" URLs for images, home pages and links, instead of "relative" URLs. The intent of RSS is to publish content, so the RSS feed may not always be local to the person viewing the feed. As such, it should be full web path for all images, Web sites and links used. In other words, don't use ".../ImageUrl.gif ", but instead use the full URL" http://www.mydomain.com/imageurl.gif ", when linking to content. 9. Titlesuse a meaningful title for channel feed and RSS feed elements. Most RSS directories and search engines use the words in the channel title and item title to classify RSS feeds.10. MIME typesif you include a file in the enclosure in an RSS feed, you must remember to properly define "file size" and "MIME-type" of the file enclosure. A list of correct MIME type formats can be found here-http://www.feedforall.com/mime-types.htm. 11. Auto-Discovery includes RSS feed "auto-discovery" code into your HTML page header. This will allow certain browsers and RSS feed readers to automatically know that an RSS feed is available for specific content. Tool to create AutoDiscovery12 code-http://www.feedforall.com/autodiscovery.htm. Volume the number of elements contained in a feed is important. Establish a story and expand feed regularly. Prune the RSS feed if it becomes too long; This will help make the RSS feed load faster. About the author:
Sharon Housley manages marketing for FeedForAll http://www.feedforall.com software for creating, editing and publishing RSS feeds and podcasts. In addition, manages Sharon marketing for RecordForAll http://www.recordforall.com audio recording and editing software.
没有评论:
发表评论