Wiki source code of Customized Whats New Macro

Last modified by Vincent Massol on 2024/02/26 17:53

Show last authors
1 {{error}}
2 This has been done with the [[Activity Macro>>extensions:Extension.Activity Macro]].
3 {{/error}}
4
5 I often feel like I need to get recent changes from specific places on the XWiki I am using. It would be cool to get a macro that would let someone set up easily a customized What's New page. Here are some features it could have:
6
7 Ability to select which spaces and blogs are to be searched for new items, to monitor a specified tag from within the wiki (without an external RSS reader), to sort the results in various ways... Plus a RSS feed on the results, the possibility to write a quick summary of what that specific query does,
8
9 **Which would make the macro look like (for instance):**
10
11 {{code}}
12 {whatsnew:Title=MyWhatsNew|Summary=A Whats New just for me|Spaces=XWiki, Finance|People=Louis, Robert, Michael|Blogs=Finance|Tags=Derivatives, Fixed Assets|Length=10}
13 {{/code}}
14
15 **And the resulting page:**
16
17 |=Space|=Page|=User|=Date & Time|=Tags
18 |Name of the space where the changed page is|The page itself|The last user who changed the page|Time & Date|Tags attached to this page
19
20 where you could click on "User", "Space", "Tags" and "People" and get the table sorted for the selected item (alphabetically for tags, most recent for date and so on...).
21
22 **And it would be great if** there was a little window popping out to enter all those values and/or select them from a list (a btit like the link window for the WYSIWYG editor...).

Get Connected