You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
720 B
Bash

#!/bin/sh
api_querypage="https://pzwiki.wdka.nl/mw-mediadesign/api.php?format=json&action=query&list=categorymembers&cmtitle=Category:LFP_Publication"
echo $api_querypage
for page in `curl -s $api_querypage | jq .query[][].title | sed 's/\ /\_/g' | sed 's/\"//g'`
do echo $page
./wiki2html_icml.sh $page
done
# curl -s "https://pzwiki.wdka.nl/mw-mediadesign/api.php?format=json&action=query&list=categorymembers&cmtitle=Category:LFP_Publication" | jq .query[][].title
# api_querypage="https://pzwiki.wdka.nl/mw-mediadesign/api.php?format=json&action=query&titles="$pagetitle"&prop=revisions&rvprop=content"
# echo $api_querypage $file_wiki
# curl -s $api_querypage | jq '.query.pages[].revisions[]."*"' > $file_wiki