Chapter 7. Using Syndication

As you may know, syndication is a simple XML-based mechanism for publishing content. Syndication feeds come in two predominant flavors: RSS and Atom. From the viewpoint of publicizing your web site, you don’t need to worry about the differences between them. (If you’d like to learn more about how to use syndication feeds, check out O’Reilly’s What Are Syndication Feeds PDF, available at http://www.oreilly.com/catalog/syndicationfeeds/cover.html.)

You syndicate content by encoding it within an RSS or Atom feed. This feed can—and usually does—include links to the site originating the content.

Subscribers can view syndication feeds in all different kinds of software, including web browsers, email clients, standalone programs, and on HTML web pages. There’s no mechanism built into syndication to pay for subscriptions, but once you are subscribed, your feed display is automatically updated when a new item is added to the feed. It’s up to the syndication viewing software to decide how to render feeds, but software that can display web pages often shows the underlying pages that the feed links to.

There’s some controversy about how publishers can best use syndication feeds, since it’s not obvious how to make money from them. (Google has introduced a program allowing publishers to insert contextual ads within syndication feeds, but this is a controversial step.)

However, syndication feeds work well as a device for driving traffic to a site because:

  • Feed content is under the control of the publisher

  • Most feeds contain items that are thematically linked (and can be related to a site)

  • Feed items provide content along with links back to more content on a publisher’s site

  • It’s easy to distribute a syndication feed

In other words, many savvy web publishers use syndication feeds as a kind of teaser for their real web content. In addition, syndication aggregation engines drive traffic to a site, and increase a site’s PageRank (by sending the site inbound links from the aggregator).

Creating Feeds

If you maintain a blog, it’s likely that you are already publishing a syndication feed (even though you may not be aware of it). Check your blog templates to see if there is a template for an index.xml, index.rdf, or atom.xml file. If so, have a look at the root directory for your blog. Voila! You’ll probably find a syndication feed. You may want to tweak the template tags to make sure that you are syndicating the content you want, and only the content you want.

If you don’t have a blog feed, or want to publish content other than the entries of your blog, it’s easy to construct an XML syndication feed by hand using a text editor. There are also a great many tools available to help you construct your own feeds. Some tools use a Wizard interface, so you don’t need to know anything about coding in XML to create a syndication feed.

You’ll find links to these tools and to syndication resources in general on the RSS Compendium, online at http://allrss.com/, and on O’Reilly’s Xml.com site, http://www.xml.com/pub/rg/RSS_Software. General information about syndication is available in Shelly Power’s Digital Digest What Are Syndication Feeds?

Telling the World about Your Feed

Once you have your syndication feed, the key to getting some bang out of it is to get it distributed. As with a web site, in the long run, this requires constant addition of fresh content. You probably should not try to distribute a syndication feed until you have a minimum of a dozen entry items, and can reasonably expect to add at least an item a week.

You can (and should) mark your web site with a graphic that is linked to your syndication feed. To create the graphic, you can create a button using FeedForAll’s free RSS Graphics Tool, http://www.feedforall.com/public/rss-graphic-tool.htm, or you can grab a pre-made button from RSS Specifications, http://www.rssspecifications.com/rss-graphics.htm.

You also need to add code into the head section of your HTML pages to let syndication viewers and aggregators automatically know about your feed. For example, if you include this code in a page, someone visiting your site using a web browser that is capable of displaying syndication (such as Firefox) is automatically offered a subscription to the feed.

The general form of the code to be added is:

<link rel="alternate" type="application/rss+xml" title="RSS"
 href="http://www.yourdomain.com/rss.xml>

Obviously, you need to specify the actual location of your own feed when you add this code to the head section of your HTML page. For example, I maintain a syndication feed for the Googleplex Blog at http://www.braintique.com/research/mt/index.xml. The link code on my page looks like this:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
...
<title>The Googleplex Blog</title>
...
<link rel="alternate" type="application/rss+xml" title="RSS"
href="http://www.braintique.com/research/mt/index.xml" />
...
</head>
...

Submitting Feeds

The next step is to submit your syndication feed to syndication aggregators and search engines. The RSS Compendium provides a great list of sites for submitting syndication feeds for inclusion at http://allrss.com/rsssubmission.html. The RSS Specifications site also has an extensive list of sites that maintain syndication feed databases at http://www.rss-specifications.com/rss-submission.htm.

It’s a good idea to continue to submit your feeds as you add content items. If you are publishing multiple feeds, however, this can become an unpleasant chore, so you may want to use a tool that automates the process. RSS Submit is one such program—it’s available for download at http://www.dummysoftware.com/rsssubmit.html in an evaluation version or (with free updates) for $35.

The updates to RSS Submit add new syndication indexes as they come online, and make sure the submission pages for older feeds stay accurate.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.21.248.119