When using the new Safari RSS last night, I was surpised to see that it detected the embedded FOAF data within the feed (My LJ Feed). I think this is the first instance of a corporation releasing a product that utitlizes FOAF (as far as I know). I haven’t seen this mentioned anywhere, as of yet, so here it is.
Update: Ok, so I’ve done some more research into it and it’s much more ‘interesting’ then I previously suspected. I thought that there was a link (of some sort) pointing to the FOAF file within the RSS/ATOM feed itself. There isn’t The only external link (besides what is present in each of the items) is the one to that of the channel livejournal.com/users/jeresig/ – it is on that page that a link to my FOAF file exists. So, it appears that Safari is:
1) Requesting the RSS feed.
2) Requesting the channel link.
3) Requesting the FOAF file from the channel link.
4) Placing the friends data parsed from the foaf file into the sidebar of the viewer.
And now that I look at it, it does take a few seconds extra for the FOAF data to load completely, and this is probably why.
And once you expand the list of usernames, there is no way to collapse them again, kind of odd.
On another note, poking through the HTML of this RSS page: Safari supports both the ‘search’ and ‘range’ input types! So you can now add in a slider to your (Safari-only) page, if you so desired. This is good to know.
Bob Aman (April 28, 2005 at 4:17 pm)
Dang spiffy! I’m psyched.
Christoph Görn (May 9, 2005 at 2:33 pm)
Hi, I just tried to see the same thing you described above but never saw a “friends section” on the Safari RSS page. Actually my Safari always picks up the Atom feed and not the RSS as you pointed out (but I think you “mean” the Atom feed, didnt you?). After that Safari never tries to download the foaf file associated with the url of the link element of the channel element of the Atom feed. Any further advice?
kasei (May 10, 2005 at 12:46 am)
Very cool. I can confirm this working on Livejournal, but can’t reproduce it with my own weblog/foaf file. I thought caching might be at fault here, as Safari doesn’t seem to request the FOAF file every time, but resetting the cache and trying again didn’t help. Any further thoughts on how this is implemented?
Christoph Görn (May 10, 2005 at 5:45 am)
Hello again, I found some (maybe) very interessting files in /System/Library/PrivateFrameworks/Syndication.framework/Versions/Current/Resources Foaf.xq and Feed.xq but I really cant get the point where the Safari Syndication Framework looks for the foaf link…
John Resig (May 10, 2005 at 8:17 am)
kasei: You’ve got me! For all I know, this could be a livejournal-specific thing. (Which would be incredibly silly) I even just went to your web site and visited your feed, but no dice. Maybe they’re looking for some very specific headers/file extensions?
Christoph: Very interesting, at least we know that they have Foaf support in there, and I’m not just going crazy. Yeah, I really don’t understand the ‘method to their madness’ either. If you have any links to RSS feeds that have associated FOAF files, let me know and I can give it a try too.
gotVathjoyday (August 26, 2007 at 7:00 am)
Hi all!
Need sex with local girls click here aarens dating directory online services
http://aarensdatingdirectoryonlineservic.blogspot.com
G’night
EmpapeCeatolo (August 26, 2007 at 2:00 pm)
Hi
Need sex with local girls click here aarens dating directory online services
http://aarensdatingdirectoryonlineservic.blogspot.com
http://aarensonlinedatingservices.blogspot.com
http://aarensonlinedatingservicesdirecto.blogspot.com
Bye