Flickr Macro

Last modified by Thomas Mortagne on 2025/06/04 08:07

cogDisplays a list of images taken from a Flickr RSS Feed
TypeDoc (Velocity Macro)
Category
Developed by

XWiki Development Team

Rating
0 Votes
LicenseGNU Lesser General Public License 2.1

Description

Warning

This macro is now deprecated. At the moment it's still available but you'll need to edit your xwiki.cfg configuration file and add xwiki.render.velocity.macrolist=/templates/macros.vm,/templates/deprecatedMacros.vm. The macro can be removed at any time and you're highly recommended to stop using it.

For more information on available feeds, see the Flickr web site.

Warning

This Macro uses the RSS Macro (Radeox) under the hood and thus works only in XWiki Syntax 1.0

Usage

#flickr($rssfeed)

Parameters definition

NameOptionalAllowed valuesDefault valueDescription
rssfeednoa stringnoneThe URL of an RSS feed

Example

Display latest public photos

#flickr("http://api.flickr.com/services/feeds/photos_public.gne?format=rss2")
Warning

The format=rss2 parameter is necessary because the underlying rss macro does not correctly display default Atom content

Information

If you're behind a proxy you'll need to set up correct JVM proxy parameters. For example 

-Dhttp.proxyHost=your_proxy -Dhttp.proxyPort=your_port

Result

flickr.png

Get Connected