Warning: the following describes a feature of Flock 2.0 beta, not available in 1.2 and earlier versions.
One way to integrate your website with Flock is to write a Flock extension including an XPCOM service providing media features. However, this is a complex task and requires users to install this extension in order to get the integration features.
A much easier and lightweight way to integrate your service with Flock is by implementing the Media RSS standard. The features you would get are:
Additionally, a hidden feature will allow advanced users to add search to your service.
The Media RSS format has been defined by Yahoo!, and is now one of the most popular extension to RSS 2.0 to represent feeds of media items. If your site already provides RSS feeds, all you have to do is add a some tags of the Media RSS namespace to your feed.
You can read the official specification, or just implement the tags that Flock needs.
This is it! Now when a Flock user visits a page that is advertising this feed, the media icon will glow orange and let the user see your feed in the mediabar.
To provide search functionality on your website to Flock's mediabar, you need to provide a feed for search results. Any user can then add your website to the mediabar's searchbar by:
[{"someid":{"id":"someid","title":"My Website Title","url":"http://www.mywebsite.com/feed?query=%s","icon":"http://www.mywebsite.com/favicon.ico"}}]