From 3bc6bbb33003a1544536701dfcc2736a058c056d Mon Sep 17 00:00:00 2001 From: Fabien Benetou Date: Mon, 25 Jul 2011 14:19:09 +0200 Subject: [PATCH] finding available PIMs --- shell_scripts/pmwiki_social_search | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shell_scripts/pmwiki_social_search b/shell_scripts/pmwiki_social_search index fa5c934..bc6807b 100755 --- a/shell_scripts/pmwiki_social_search +++ b/shell_scripts/pmwiki_social_search @@ -14,6 +14,9 @@ QUERY="?action=search&q=fmt%3D%23simple+" KEYWORD=$1 URList=("http://nicolas.bigand.free.fr/pmwiki/index.php5" "http://notes.franck-brignoli.fr/") # all Pmwiki instances +# can be found via curl "http://self/wiki/?action=search&q=pimtype+fmt=%23simple" | awk /wikisearch/,/searchinfostart/ | grep wikilink | sed "s/.*href='\(.*\)'.*/\1/" | sort | uniq +# still requires to get the value of the pim PTV + for URL in "${URList[@]}" # this should be limited to people with expertize in the topic do