Documentation

Display your own content

You can display your own choice of content in the wall by declaring your own source feed. The Cooliris Wall can display API feeds from Flickr, Picasa and other media sharing sites. In addition, it can also display any generic Media RSS feed

Example

In our new example here, we've changed the feed to show pictures from a Flickr search on the word "glaciers".

How to do it

Media displayed in the wall is specified in the feed section of the flashvar parameter on the object and embed tags.

In our earlier example, we had used the default Flickr photo stream:

"flashvars="feed=api://www.flickr.com/"

Now, here's the edited code used to change to our new photo stream (highlighted):

    <object id="o" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000"
      width="600" height="450">
    <param name="movie" value="http://apps.cooliris.com/embed/cooliris.swf" />
    <param name="allowFullScreen" value="true" />
    <param name="allowScriptAccess" value="always" />
    <param name="flashvars" value="feed=api://www.flickr.com/?search=glaciers" />
    <embed type="application/x-shockwave-flash"
      src="http://apps.cooliris.com/embed/cooliris.swf"
      flashvars="feed=api://www.flickr.com/?search=glaciers"
      width="600" 
      height="450"
      allowFullScreen="true"
      allowScriptAccess="always">
    </embed>
    </object>
    

Note that the feed must be changed in both places. You can get around this by using JavaScript to embed your wall.

Notes

Encode your feed URLs

If your feed URL contains an ampersand (&), it absolutely must be encoded. Otherwise, Adobe Flash will break up the feed address into multiple parts, and the Cooliris Wall not be able to find your photos. For a fast way to encode your feed, check out developer tools.

For example, if you generate a Media RSS feed on the fly based on user input, your feed may take in query parameters and look like this.

http://www.mysite.com/mrss.php?page=3&term=ocean

Since this feed URL contains an ampersand, it needs to be encoded as:

http%3A%2F%2Fwww.mysite.com%2Fmrss.php%3Fpage%3D3%26term%3Docean

Advanced Topics

Create your own Media RSS feed and display it in the wall

Next > Customize your wall