Tags:
create new tag
view all tags

Question

Does anyone know of a way to merge/combine the lists of recent changes from multiple webs into one big list of recent changes that disregards webs and simply sorts them by the last modified date?

I know that you can do such a list that will include, say, the top 10 recent changes from each web. However, if you specify 5 webs the comprehensive list will be 50 topics long.

Now, what I'd like to do is provide a comprehensive top 10 recent updates list regardless of web. I want to still specify 5 webs from which the search is run against, but at any given time one or more webs may not even have any topics listed.

Currently, the only way I can configure my top 10 recent updates list is to specify the 5 webs and then set the limit of topics to 2. The problem with this is that I may have newer recent changes to 4 topics in my Training web than I do to any topics in my Manuals web. But, because of the limits of the search, I'll see the older recent changes to two topics in the Manuals web and miss out on two of the four topics in the Training web.

The topics I've seen here on TWiki.org described this issue as being unresolved, but date back to 2003 and mention that this functionality might be addressed in a rewrite of Search.pm. I haven't been able to determine whether this happened (in Search.pm or any other portion of TWiki).

Environment

TWiki version: TWikiRelease04Sep2004
TWiki plugins: DefaultPlugin, EmptyPlugin, InterwikiPlugin
Server OS: Windows XP Professional, Service Pack 2
Web server: Apache 1.3.34 (Win32)
Perl version: 5.8.7-5 (Cygwin)
Client OS: Windows XP Professional, Service Pack 2
Web Browser: Internet Explorer 6.0
Categories: Search

-- JasonVensel - 19 Apr 2006

Answer

ALERT! If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.

There's no way to do it in TWikiRelease04Sep2004 that I know of.

With DakarRelease / TWikiRelease04x00x02 there's a date parameter for search that can take a time interval.

-- SamHasler - 01 May 2006

The closest you can get with Cairo is WebChangesForAllWebs, which sorts changes by date across all webs. But it has the issue described that it operates on a number of topics per web instead of date.

-- PeterThoeny - 07 May 2006

Idea: In Cairo, you could try to feed the result into a SpreadSheetPlugin variable as a list element. Each list element would contain just "$isodate $web/$topic", which is sortable by date. After the search, you can sort the list, trim it, format it and then print it out.

-- PeterThoeny - 07 May 2006

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-05-07 - PeterThoeny
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl Hosted by OICcam.com Ideas, requests, problems regarding TWiki? Send feedback. Ask community in the support forum.
Copyright © 1999-2026 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.