Skip to search.
wikidPad

Group Information

  • Members: 1453
  • Category: Open Source
  • Founded: Feb 20, 2004
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

  Messages Help
Advanced
WikidPad dynamic search results extension   Message List  
Reply Message #4499 of 7840 |
Hi!

I've just programmed a small WikidPad extension that displays search
results in a dynamic section of a page. It's an extension on the "Copy
search results to clipboard" concept.

What it does:

* It does a wiki wide search for a given keyword.
* It then it grabs what I call "sections". This can simply be the line
where the keyword occurs, or it can be the lines from there until a
blank line is met, or all the child bullet points in a list (currently
only the last two are implemented).
* It outputs the resulting section list in an updateable area of the
current page.

Code/more info here:
http://www.fsavard.com/flow/wikidpad-dynamic-search-results/

I've been meaning to write this extension for some time (I have a ~450
pages/2MB personal wiki... info architecture becomes an issue :-) ).
It'd be great if it turns out to be useful for others. I'll add it on
the ListOfUserScripts page when it's a bit more tested (I'm on Linux,
using WP 1.9beta17, btw).

Please send comments, questions, bugs, etc. This is my first
extension, so there's certainly room for improvement.

Thanks!
François Savard
http://www.fsavard.com/flow




Tue Oct 14, 2008 8:38 pm

f.savard
Offline Offline
Send Email Send Email

Message #4499 of 7840 |
Expand Messages Author Sort by Date

Hi! I've just programmed a small WikidPad extension that displays search results in a dynamic section of a page. It's an extension on the "Copy search results...
f.savard Offline Send Email Oct 14, 2008
8:38 pm

... "Copy ... line ... (currently ... ~450 ... on ... Linux, ... You are definitely on to something. There are few things wrong with your approach: 1. You make...
josip_ine Offline Send Email Oct 15, 2008
8:35 am

... I've taken a look at how other insertion plugins work. It does definitely make sense to do it that way. I tend to stay in edit mode, though, which is why I...
f.savard Offline Send Email Oct 16, 2008
3:06 am

OK I've changed the behavior to use a [:dynsearch: keywords...] syntax, by using the insertion plugin mechanism, as suggested by Josip. Basic manual testing...
f.savard Offline Send Email Oct 18, 2008
8:55 pm

... 1.9beta17 ... email. ... Works great now. I'm going to use this for a while to see if further modifications are needed, and if I make any changes, I'll let...
josip_ine Offline Send Email Oct 21, 2008
1:07 pm

Hi François ... I installed your extension and I like it! Two wishes: 1) [:dynsearch:word] finds occurences of "word", "xyword", "wordxy" and "xywordxy" -...
melchior prisi
swyft2001 Offline Send Email
Oct 21, 2008
9:06 pm

Hi Melchior. Both of your wishes end up being satisfied, I think, by allowing for regular expressions, so I modified the extension so you can use those if...
f.savard Offline Send Email Oct 22, 2008
5:43 pm

Hi François ... Thanks a lot for this - and for the examples! It works fine. ... Promised. I won't blame you (or Michael) when I mess with regexp ;-) ...
melchior prisi
swyft2001 Offline Send Email
Oct 22, 2008
9:29 pm

Francois, Can you tell me how this is different from the "saved search" insertion. Thát also does a dynamic search and inserts it's results as a list of page...
janstegehuis Offline Send Email Oct 29, 2008
8:49 pm

Err, you had me scared for a few seconds! :P Curiously I searched quite a bit for this feature yet the only thing I found in WikidPad was the "Copy results to...
f.savard Offline Send Email Oct 29, 2008
9:16 pm

OK I get you, This is in fact a combination of a [:savedsearch: <searchname>] and a [:page: <page name>] insertion but based on page sections instead of whole...
janstegehuis Offline Send Email Oct 30, 2008
8:55 am

... This is very good - and as I've already indicated I use it all the time as an alternative to the inbuilt SEARCH function. I have 1 request... Can it be...
Graham
gf_gollum Offline Send Email
Dec 19, 2008
1:34 pm
Advanced

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help