Tags:
create new tag
, view all tags
Not sure if anyone's already covered this, since I'm new around here, but it seems like a perfect thing to be able to render searches as RSS summaries for inclusion in things like say a SlashCode site's SlashBoxes, or any of the other random web site things which consume RSS. Is this just a matter of:

  1. Making a topic that invokes the appropriate search and
  2. Making an RSS skin for a search and accessing the topic with the appropriate skin name?

On the other hand, though this would probably be a plugin, how about pulling RSS headlines from other sites into a TWiki topic? (Looks like SlashdotPlugin is supposed to do this. -- MikeGallaher)

-- LesOrchard - 01 Jun 2001

The latter is probably easily done with a Plugin.

Pushing RSS should be easy to put into the search functions, adding a RSS output option. A binary bin/rss-output (similar to bin/search) and a specfic template (rss.tmpl) would complete the work.

-- NicholasLee - 04 Jun 2001

I'd hacked up an RSS-generating search results template in a previous release of TWiki, but it involved tweaking the search code (but not much). I have to do it again in the newer TWiki version, so I'll look for a more elegant way to do it. Either way, I'll post the patch and say so here.
-- MikeGallaher - 21 Nov 2001

For better or worse, I've refactored Search.pm (from the Sep 2001 release) to separate content from presentation. I extracted code into two new modules SearchFormatter and TopicInfo. I did this initially so I could better understand what the code was doing. It might make it easier to plug in new search engines and template engines, so I'll attach the files here. There's still some work to do, but, when isn't there?

This might relate to these topics:

-- MikeGallaher - 07 Jan 2002

Check out the new FormattedSearch, you might be abe to do it without changing the TWiki core code.

-- PeterThoeny - 21 Nov 2001

The TWiki core using FormattedSearch can create RSS feeds, see TWikiSyndication and WikiRssExtension.

-- PeterThoeny - 08 Jan 2002

TWiki has now a RSS reader, Plugins.HeadlinesPlugin

-- PeterThoeny - 12 Jun 2002


Category: TWikiPatches
Topic attachments
I Attachment History Action Size Date Who Comment
Compressed Zip archivetgz twiki-search-refactored.tgz r1 manage 8.7 K 2002-01-07 - 18:52 MikeGallaher Search.pm from Sep 2001 refactored
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2002-06-12 - 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-2017 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.