Sunday, March 04, 2007

help me.... stalk you.


I recently updated my "homepage" to pull in recent items from the hodgepodge of websites I use. There was some interest from others as to how I did it, so here's the skinny.

Google Reader lets you share RSS feeds using "clips" (javascript you paste into your page's html source). If you specify "Color scheme: None" then the output of the clip is formatted like everything else on your page. I just created clips for each website I use that exports an RSS feed and let Google Page Creator do the rest.

Mihai then gave some additional tips: you can specify a feed clip without actually subscribing to it and you can hide the little "Read more" link at the bottom of each feed. To hide the "Read more" link, include the following style definition somewhere above the clip:

<style>
.reader-publisher-module .f {display: none}
</style>
This instructs webbrowsers to ignore the section of the page that has the link. To specify a feed without subscribing to it, change the clip to look like:
<script type="text/javascript" src="http://www.google.com/reader/ui/publisher.js"></script>
<script type="text/javascript" src="http://www.google.com/reader/public/javascript/feed/http://akpatil.blogspot.com/atom.xml?n=2&callback=GRC_p%28%7Bc%3A%27-%27%2Ct%3A%27%27%2Cs%3A%27false%27%7D%29%3Bnew%20GRC"></script>
And you're set.