support texts

master
Fabien Benetou 14 years ago
parent 4f0b5f5dab
commit e72f77db3d
  1. 3
      shell_scripts/pmwiki_social_search

@ -7,6 +7,8 @@
# support some sort of caching # support some sort of caching
# support auth # support auth
# note that by default PmWiki does so, thus one should be able to authentificate # note that by default PmWiki does so, thus one should be able to authentificate
# support CVS and text-file based PIM
# via wget -c or cvs clone then grep and find
QUERY="?action=search&q=fmt%3D%23simple+" QUERY="?action=search&q=fmt%3D%23simple+"
@ -15,6 +17,7 @@ KEYWORD=$1
URList=("http://nicolas.bigand.free.fr/pmwiki/index.php5" "http://notes.franck-brignoli.fr/") URList=("http://nicolas.bigand.free.fr/pmwiki/index.php5" "http://notes.franck-brignoli.fr/")
# all Pmwiki instances # all Pmwiki instances
# curl "http://self/wiki/?action=search&q=pimtype+fmt=%23simple" | awk /wikisearch/,/searchinfostart/ | grep wikilink | sed "s/.*href='\(.*\)'.*/\1/" | sort | uniq | xargs curl | grep "pim:" | sed "s/.*href='\(.*\)' title=.*/\1/" # curl "http://self/wiki/?action=search&q=pimtype+fmt=%23simple" | awk /wikisearch/,/searchinfostart/ | grep wikilink | sed "s/.*href='\(.*\)'.*/\1/" | sort | uniq | xargs curl | grep "pim:" | sed "s/.*href='\(.*\)' title=.*/\1/"
# errors and redirection should be handled gracefuly
for URL in "${URList[@]}" for URL in "${URList[@]}"
# this should be limited to people with expertize in the topic # this should be limited to people with expertize in the topic
do do

Loading…
Cancel
Save