Cooliris 使用我的网站图片?
我想在我的 asp.net 网站中使用 CoolIris (www.cooliris.com),它应该从我的网站(图像文件夹)获取图像,而不是从外部来源(如 facebook、flickr、youtube 或外部 rss 提要)获取图像。
I want to use CoolIris (www.cooliris.com) in my asp.net website and it should take images from my website (images folder), not from external sources like facebook, flickr, youtube or external rss feeds.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
如果您发布媒体 RSS 源,Cooliris(浏览器插件)将与您的网站配合使用。
请参阅:http://www.cooliris.com/developer/reference/media-rss/
要嵌入 Flash wall,请按照以下说明操作:http://www. Cooliris.com/developer/documentation/?p=embed
If you publish a Media RSS feed, Cooliris (the browser plug-in) will work with your site.
See: http://www.cooliris.com/developer/reference/media-rss/
To embed the Flash wall, follow these instructions: http://www.cooliris.com/developer/documentation/?p=embed
在做了更多研究并了解了 Cooliris 的销售情况后,我发现了一篇文章,向您展示了如何自己托管它们并摆脱依赖外部资源的一切......这种方法是完全自给自足的!
来源:
这假设您有一个目录结构,例如以下...
第 1 步:创建您的 RSS 源
您希望首先创建一个类似“media.xml”的文件,并向其中添加以下内容。请务必更改图像的路径(您的网站地址等)。
第 2 步:编辑您的显示页面
打开 index.php 并确保其与以下代码类似。仔细查看以下更改...
index.php
第 3 步:根据需要重新配置跨域
以前,当应用程序托管在 Cooliris.com 上时,您必须配置以下文件并将其放入站点的根目录,以便 Flash 加载并运行来自另一个域的应用程序。好吧,我们现在将该文件托管在本地服务器上,因此我们需要删除它 (crossdomain.xml),因为不再需要它。这就是过去的样子...
crossdomain.xml
第 4 步:获取 Cooliris.swf 文件的副本
现在我们需要主要组件...我们需要 Cooliris.swf 文件的副本。您可以从 此 github 上托管的链接获取副本。 com。
After doing a little more research and seeing as how Cooliris sold out, I found an article that shows you how to host them yourself and get away from everything relying on outside sources... This method is completely self sufficient!
Sources:
This assumes you have a directory structure such as the following...
Step 1: Create Your RSS Feed
You want to start out by creating a file like "media.xml" and add the following to it. Be sure to change the paths of the images (your website address etc).
Step 2: Edit Your Display Page
Open up index.php and make sure it looks similar to the following code. Take a close look at the following changes...
index.php
Step 3: Re-configure Cross-Domain If Needed
Before, when the app was hosted at cooliris.com you had to configure the following file and have it in the root of your site inorder for flash to load and run the apps from another domain. Well we are hosting the file on our local server now so we need to DELETE IT (crossdomain.xml) as it is no longer needed. This is what is used to look like...
crossdomain.xml
Step 4: Go Grab A Copy Of The cooliris.swf File
Now we need the main component... We need a copy of the cooliris.swf file. You can grab a copy from this link hosted at github.com.