本文介绍了Picassa网络相册喂柯里里斯(Cooliris)墙吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

限时删除!!

我正尝试通过使用Picassa网络相册来公开picassa网络相册.

I am trying to expose picassa web album by using Picassa web albums.

以下示例创建仅包含2张图片的墙,这些图片代表2张相册主照片:

Following example creates wall with only 2 pictures which represents 2 album main photos:

<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" />
<embed type="application/x-shockwave-flash"
  src="http://apps.cooliris.com/embed/cooliris.swf"
  flashvars="feed=api://picasaweb.google.com/?user=davidinjp"
  width="600"
  height="450"
  allowFullScreen="true"
  allowScriptAccess="always">
</embed>
</object>

如何显示所有相册中的所有图片?似乎Cooliris不支持此功能,因此会出现使用Media RSS跨域的问题:

How it's possible to show all pictures from all albums? Seems like Cooliris does not support this, using Media RSS cross domain issue arises:

<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" />
<embed type="application/x-shockwave-flash"
  src="http://apps.cooliris.com/embed/cooliris.swf"
  flashvars="feed=http://picasaweb.google.com/data/feed/base/user/davidinjp?alt=rss&kind=photo&hl=en_GB&access=public"
  width="600"
  height="450"
  allowFullScreen="true"
  allowScriptAccess="always">
</embed>
</object>

库里斯参考: http://www.cooliris.com/developer/reference/media-site -apis/

@jeffamaphone 谢谢,这就是我所做的.我已经创建了简单的PHP,可以在主机上镜像提要:

@jeffamaphone Thanks, this is what I've done. I have created simple PHP that mirrors feed on my host:

<?php
$content= file_get_contents('http://picasaweb.google.com/data/feed/base/user/USERNAME?alt=rss&kind=photo&hl=en_GB&access=public');

echo $content;
?>

添加了crossdomain.xml.将提要指向本地PHP镜像脚本.

Added crossdomain.xml.Pointed feed to local PHP mirroring script.

推荐答案

不幸的是,您要执行的操作在Cooliris嵌入墙中没有很好的支持. (对于Picasa)支持的是:

Unfortunately what you want to do doesn't have very good support in the Cooliris embed wall. What is supported (for Picasa) is:

  • 获取用户照片(显示相册的网格)
  • 从特定相册获取用户照片
  • 获取与搜索字词匹配的照片

好消息是,我们已经在即将发布的版本中暂定了对Picasa支持的这些改进(尽管您知道在软件开发中情况可能会发生变化).

The good news is we have tentatively scheduled these improvements to Picasa support in an upcoming release (though you know how things can change in Software development).

同时,如果您有个人托管服务,那么肮脏的解决方法是复制供稿,设置crossdomain.xml以与* .cooliris.com配合使用,然后从那里获取.并非最佳选择,但在我们添加您需要的支持之前,它会起作用.

In the mean time, if you have personal hosting available, the dirty work-around is to make a duplicate of the feed, setup crossdomain.xml to work with *.cooliris.com and pull it from there. Not really optimal, but it will work until we add the support you need.

这篇关于Picassa网络相册喂柯里里斯(Cooliris)墙吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

1403页,肝出来的..

09-07 17:09