Google Reader Tidbits #
Google Reader recently launched sharing, a feature that I had a hand in. I've used it to power my link blog, available in the sidebar (only on the front page). Although these sharing "clips" are easiest to use when pre-styled with one of our color schemes, you can choose the "None" option and then use your own CSS to make them blend in with the rest of your site, as I've done. And since it's all JSON underneath, you really use a public label any way you want on your site.
What may not be obvious about this sharing feature is that it can be used together to splice feeds. Furthermore, you can chain shared labels. For example, the "Stuff written (or recommended) by the Reader team" section in the Google Reader blog was put together like this (arrows indicate subscriptions/labels being applied):
This way, everyone gets to control their own "me" label, without having to modify the team account when wanting to add/remove feeds.
While developing this sharing feature, it became clear that the ultimate origin of an item in a feed is very important (i.e. I may see it because I'm subscribed to your "web-dev" label, but really it's from QuirksBlog). We joked about the need for a "Molecule" format that would specify the aggregation of multiple Atom feeds. We even began coding a (namespaced) origin
element that would contain the title, id, homepage URL, etc. of the originating site for this item. Then, while re-reading RFC 4287 for another reason, we came across the source
element in Atom, which does exactly what we had set out to (re)implement. This tells you two things:
- The Atom people were pretty clever to have foreseen this use case.
- No matter how well your spec/documentation is written, people will still miss things (a.k.a. everyone is a bozo at some point).
Now that we produce feeds for others to consume, it's nice to use Atom to its fullest so that we can validate (there are some scary looking warnings that we'd like to fix, but as of now that feed is in fact valid Atom 1.0).
29 Comments
I don't know if it's something you'd want to add a UI element for, but I wish that choosing "None" for the format would turn it off.
A significant portion of the discussion on atom-discuss (the atom working group mailing list, I sat in but didn't participate) was made up of feed reader authors, so I expect atom to solve most of the issues when it comes to doing this sort of thing.
PS: Your server is 500ing me when I post without previewing first.
I hope the atom:source element and the other advanced features of Atom serve you well.
bob wyman
I recently posted about this topic in the Google Reader group:
http://groups.google.com/group/Google-Labs-Reader/browse_thread/thread/3ca4ed23d0b6352c/01ab7873fa3b2ebd
Your post seems to indicate that I could do this, but I couldn't figure out how to do that.
Can you please tell me the steps needed to share an entire feed (as opposed to individual entries) using the JavaScript "clip" code? I have a feed made using www.rssmix.com that I'm trying to get Reader to share but it's only subscribing the label to the first entry.
Thanks,
-Bob
Take the script tag src attribute and replace things like "user/14548369432350969777/label/linkblog" with "feed/http://domain.com/feed.xml".
Thanks so much Mihai! :-)
-Bob
Can you please tell me how to get Google Reader to update it's cache when a post is deleted? As it is now, posts remain listed for a long time by Google Reader even if they've been deleted from the blog.
Thanks,
-Bob
Reader doesn't delete posts from it's cache. Given how feeds work nowadays, it's hard to see if a post disappeared from a feed because it fell off the end or because it was intentionally deleted. Reader keeps historical posts so that it can act as an archive for that blog/feed.
Thanks again,
-Bob
The "Read more..." link has stopped working on http://www.jennifercluff.com
http://www.google.com/reader/shared/feed/http://www.jennifercluff.com/blog/atom.xml
Thanks,
-Bob
>use Atom to its fullest so that we can validate (there are some scary looking warnings that we'd >like to fix, but as of now that feed is in fact valid Atom 1.0).
Your link gives a nicely formed XML file. However, when I try it with either of http://www.google.com/reader/public/atom/user/00907783891347362261/label/google or http://www.google.com/reader/public/atom/user/00907783891347362261/label/rugby I get the text "permission denied" - no 404 etc. I've just had another look at your post; I'll trot off to groups and see if I can find anything
The feed shows up nicely now, thanks
I am not familiar with either of the issues you mention (the crease and different content on the page and its associated feed). Can you point me to a public page URL that shows these problems?
Thurland
Thurland
Dupes suck, but even worse, some posts need to die and go away and never be seen again.
I know you've posted that you can't really distinguish between old posts falling off the feed and being deleted, but what about allowing for deletes if no new posts are added, so if it falls off the front of the feed, it's gone.
I often need to repost a post because the formatting didn't work or a minor edit. I've also been known to publish gibberish just to see how a certain bit of code works. Well, my readers don't appreciate getting half done posts and garbage that was deleted 20 seconds after it was posted.
Until blogger has a REAL preview feature that will show you what the post will look like on your blog (instead of the quasi preview it has now)... I'd like it if my deleted posts (especially when they are deleted mere minutes after posting) never make it out on reader (or at least not stay there forever).
Reader should be just that, a reader, of current content, not an archive. If readers want an archive feature, make it an option they can turn on. Then they can't blame me when I fill their boxes with "this is a f*cking test post" that they were never supposed to see.
:c)
Thanks.
-dp
Post a Comment