On 02/14/10 05:22 PM, Jim Grisanzio wrote:
Antoon Huiskens wrote:
Hi all,

having recently joined the nlosug core team, I thought I'd have a go at revamping the nlosug bits slightly. I'd like to add some (nice) things like a flickr feed to show "nlosug" tagged pictures, and an rssaggregator with the feeds of the local members/attendants. for both of these features, the xwiki site mentions it has velocity macros e.g. #flickrtag() and #rssaggregator. They don't seem to work however. What can be done to get them to work?

hey ... are you getting error messages?

I created these pages as a quick test and the macros work at the moment:

http://hub.opensolaris.org/bin/view/User+Group+tsug/test-blog
http://hub.opensolaris.org/bin/view/User+Group+tsug/test-flickr

All I did is go into the WYSIWYG editor and click on the Macro icon and insert the data at the prompts.

Jim
Nice.

I did get the flickr stuff working in a similar fashion, but I feel the
#flickrtag(nlosug) macro would be the elegant way. it does generate some output at the moment, but that doesn't result in the desired output.

When I create something like
{{velocity}}
#flickrtag("nlosug")
{{/velocity}}

it generates output on the page like this:

{rss:feed=http://www.flickr.com/services/feeds/photos_public.gne?tags=nlosug&format=rss_200 <http://www.flickr.com/services/feeds/photos_public.gne?tags=nlosug&format=rss_200>|full=1}

To me this suggests that he macro is valid, but that either I misread the syntax or that there's a bug in the macro which inserts the ":" between "rss" and "feed". Had it been a whitespace, I reckon it would work...

Ideally, I'd like to get some control over it, so that say I could get them in a tabular format with say 2 or 3 columns, but I assume I'll need to look into some of the css stuff, but honestly, any pointers are welcome.

I was also eying the "rssaggregator macro" which (according to xwiki documentation) at http://code.xwiki.org/xwiki/bin/view/Macros/RssAggregatorMacro which does something like this:

{{rssaggregator}}
http://b.s.c./jimgris
http://b.s.c./planet
http://anotherblogexample.com/rss
{{/rssaggregator}}

really simple syntax, and allows to aggregate many feeds. This 'd be great, as the frequency of blog posts is not that high for the nlosug, but this way we'd be able to provide something more frequently and in a fairly compact way. which isn't the case right now... (see at the end of http://hub.opensolaris.org/bin/view/User+Group+nlosug/ for what I mean...)

The #flickrtag seems to be in the default install.according to the xwiki documentation, but the rssagrregator isn't...

Antoon

_______________________________________________
website-discuss mailing list
[email protected]

Reply via email to