How To Publish Reviews As RSS Feeds
|
|
« Review Foundry User Manual
|
Tutorial Table Of Contents
|
Obtain Review Foundry »
CREATING RSS FEEDSTwo Kinds of RSS FeedsBefore we jump in and start creating RSS feeds, we need to consider what kind of feed will suit our purposes. Review Foundry allows us to choose between two basic feed content types. One content type is the review. The other is the review item (or product catalog if dealing with merchandise). A review-based feed carries reviews for review items pulled (by the Review Foundry webmaster) according to some selection criteria. For instance, the items might be selected based on a search query performed with a specified keyword. Or the items might belong to a particular category. More on the selection criteria later. The other feed type, the item-based feed carries no reviews, only an item title and a description, and possibly an average customer rating for the item. Without understanding the psychology of a particular RSS feed audience it is impossible to say which of the two feed types will receive more subscriptions. Unless you already have very good insight into how your readers think, you will likely have to publish both feed content types and monitor subscriptions to each to find out which "works best". Feed monitoring is a separate topic in itself, and will be discussed later, when we consider syndication in detail. It is also true that the selection criteria used to define your feeds will have a strong bearing on the degree to which they are subscribed. There are 2 ways to create an rss feed using Review Foundry. The first method requires that you establish a record in the RSS table for a custom feed. This kind of feed might be based on a keyword search, for example, and the end result is a single RSS feed. Once you have created this feed you publish it and it appears on a syndication page, along with all the other custom feeds you have created. This kind of feed is discussed in the section entitled Creating A Custom RSS Feed. The second kind of feed is a straight forward selection of latest reviews for a particular thing, and might result in the generation of a thousand separate RSS feeds. You can edit the stylesheet and RSS template associated with this kind of feed, but you don't get to specify the selection process. The publication of latest reviews for, say, every Item in your database falls into this category. This feed type is discussed in Creating RSS Feeds In Bulk. Creating A Custom RSS FeedTo create a one-off custom feed (such as latest reviews for cars in the Mercedes category) first go to the Configure control panel and look for the RSS Management link on the left side of the page. This leads to the control panel for RSS feed creation, activation, and deletion.
Fill out the form as appropriate for the kind of RSS feed you intend to create. In this case we:
It should be noted that this contro panel is used to create feeds, not edit them. If you decide after creating a feed that there is something you need to change about it, go to the Database control panel, pull up the RSS table and go to work. When we proceed to the next step we see a larger form that completely specifies the nature of the RSS feed we intend to create. Most of the time you will have pre-populated this page by basing the new feed on an existing one, and then you will only need to customize a few parts of it. Here is what our form might look like filled out from scratch for our prospective Latest Reviews of DVD Animation Titles feed:
There are quite a few variable to provide when fully specifying the feed, so let's go through them:
When you have completely specified the RSS feed, click on the Create Feed button to add it to the RSS table. Creating RSS Feeds In BulkIn the previous section we looked at how to create a solitary feed for a particular selection criteria. Now we are going to look at how to create RSS feeds for every reviewable thing in your database. What this means, of course, is that if you have an Item table with 8,000 records in it, you are going to be creating 8,000 RSS feeds. So this kind of process requires a somewhat different approach. It is going to take time to build or update this set of feeds, and you are going to need to use disk space to store them. But, first, why would you want to create RSS feeds in bulk this way? Consider this scenario: You use Review Foundry to publish customer reviews for all the bowling allies on the East Coast. When you publish an RSS feed of the latest reviews for every one of those businesses, each can come to your site, get the URL for the feed, and publish those reviews on their own pages! Suddenly your content, and backlinks to your site can be on dozens or hundreds of websites whose theme matches your own. That's a recipe for great organic ranking in the search engines. That's why you'd want to publish RSS feeds of this kind. Here's another scenario: You have a small but vocal group of reviewers who publish regularly on your site. By creating a RSS feeds of their latest reviews, they can include their reviews in their blog or on other pages of their personal web site. Again, more traffic for you. So here is how you create RSS feeds of latest reviews for any Item, Member, or Supplier. Note, these are reviews about the Item, Member, or Supplier. An RSS feed of reviews written by a member is another story altogether and we'll get to that later. Go to the Database control panel and use the left side menu to pull up the RSSThingReview table. Select the Add option in the menu to get the record addition page to appear. It should look something like the following:
In this form the first element, the ID, can be one of 3 values: Item, Member, or Supplier. This corresponds to the relevant review branch for which RSS feeds are to be created. So there is a maximum of 3 records in this table. Most people don't run a Member branch populated with Teams, so likely you will only be interested in the possibility of creating RSS feeds for all of your Items, or Suppliers. As you can see by inspecting the form, some of the fields have tags that look like this: [* thing.known_as *] What this means is that, for these fields, if you leave in the tag it will be replaced by the corresponding value for the thing record. In this case, where we are filling in the form for an RSS feed of latest reviews for every Item, [* thing.known_as *] evaluates to the Item.known_as value. You will note that we are not using the Template Toolkit syntax for tags [% like_this %] because this is not a Template Toolkit substitution. Just a simple string replacement. You can use any of the columns in the thing table you like. You might put [* thing.addr_zipcode *] in the Feed Description field if you want the zipcode to appear for that field. It is up to you. Likely you'll want to leave the Feed Title field as is, and develop the Feed Description field some. Also, you can change the Webmaster field to your own email address if you like (an empty field will result in the substitution of your generic support email address). Most of the other fields are the same as the ones for the custom RSS feed case. Note that you must activate the feed before you can actually attempt to build RSS feeds based on this record (building will be discussed later).
Feed Category
Feed Image URL
Exported Columns
Templates
The RSS Template file contains all the logic that decides what should appear in your RSS 2.0 formatted feed. There are basic RSS 2.0 fields in there, and there are custom fields, that allow us to create nicely formatted feeds when finally viewed in a browser. The accompanying XSL Stylesheet will take care of that for us. If you don't specify an XSL Stylesheet the user is going to see either a non-formatted RSS feed, or one that is formatted with whatever software they are using to view the feed. I recommend going with the XSL style sheet, as it offers some nice features that I'll explain shortly. Next Section: PUBLISHING RSS FEEDS Copyright © 2004 Random Mouse Software. All Rights Reserved. | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||