Google Sites now provides native RSS feeds for Announcements pages,
Comments and Recent Site Activity. To access these feeds, look for the
RSS icon!In my previous article about generating RSS feeds from your Google Sites, I focused on using Feedity.com to generate the feed. In this article, I will outline how I've used Feed43com to create a more robust, customizable feed. With Feed43,com, you have the ability to fully customize your feed. This is done by providing them with the URL for the page you wish to convert, analyzing the available data and identifying the information you wish to publish. The final part is to format the feed and make it available for publication. Have a question, but don't know where to start? Check out the Google Sites FAQ! Working with Feed43.comSpecify source page address (URL)First, let's look at the URL I provided for my feed: http://siteshelp.kccloudsolutions.com/step-by-step-guides/rss-sourceThe URL points to an Announcements page on this site. On this page, I have an Recent Posts gadget that pulls the summary information for each new item on my Step-by-Step Guides page. Pretty straightforward. Once Feed43.com looks at the URL, I am presented with a look at the code that makes up the page: <li>
<a href="http://siteshelp.kccloudsolutions.com/step-by-step-guides/sitespageattachmentsimagesfilecabbinets" dir="ltr">Working with Page Attachments, Images and File Cabinets</a> Of course, the above snipit of code is just that, a snipit. The entire text of the site is actually displayed for you, in a resizable text box. I've focused on this portion of the code for the simple fact that it is what is needed to complete the process of constructing the feed.
Note: As you move through this guide, each Pattern example is meant to be copied and used in construction of your own Feed43.com feeds. What works here, for my feed, should work equally as well for yours. Define Extraction RulesAfter having analyzed the data and identified the information you want/need for your feed, your next step is to provide the extraction rules for Feed43. To do this, we first define a Global Search Pattern. This is simply a rule that tells Feed43 where to look in the page. For our purposes, we will focus on the entire page.Global Search Pattern:
{%}
Next, we need to specify exactly what we are looking for. In our case, we want each new Announcement, its URL, title, summary and date/time posted: Item (Repeatable) Search Pattern:
* NOTE: Google Sites periodically modifies the underlying code behind the Recent Posts gadget. When this happens, your feed is likely to break. Whenever this is brought to my attention, I will modify the Search Pattern above to work with the new changes. Once the Search Patterns are defined, you will click an Extract button to generate a sample list of available data. The out put will look something like this: Sample (Extracted) Text Snipits:
Item 1 {%1} = http://siteshelp.kccloudsolutions.com/step-by-step-guides/sitespageattachmentsimagesfilecabbinets Item 2 {%1} = http://siteshelp.kccloudsolutions.com/step-by-step-guides/googlesitesrssfeed Define Output FormatThe next step (almost done!) is to format the feed for publication. There are two parts to this process:
Item Title Template: {%2}
Item Link Template: {%1} Item Content Template: {%3}<BR>
<EM>Published {%4} by <A href="http://www.kccloudsolutions.com" title="KC Cloud Solutions" alt="KC Cloud Solutions">www.kccloudsolutions.com</a></EM> * Note: The Item Content Template field allows for the use of custom HTML to format your feed.
Finally, we get to a preview of what our feed will look like:
Get Your RSS FeedThe last step is to customize your feed URL. You don't have to do this, but if you don't, you'll wind up with URL you can't remember. For my needs, I chose:Google also owns a service called FeedBurner that provides a number of tracking and analysis options for your RSS feeds. Once you've created your RSS feed, and have the URL available, you might want to run it through FeedBurner and publish the resulting FeedBurner URL instead: Related Information |


