summaryrefslogtreecommitdiff
path: root/sources/wiki/update.sh
diff options
context:
space:
mode:
authorJochen Topf <jochen@topf.org>2015-03-24 18:00:41 +0100
committerJochen Topf <jochen@topf.org>2015-04-28 21:55:12 +0200
commit47cb7bf89567ecf603e23068fc5ac07aa801d487 (patch)
tree57cbe52fa8c49d7eb1f068f3ef394d36a49bd807 /sources/wiki/update.sh
parentc8a334b10512a708d19ed5fd42aa60424290a371 (diff)
downloadtaginfo-47cb7bf89567ecf603e23068fc5ac07aa801d487.tar
taginfo-47cb7bf89567ecf603e23068fc5ac07aa801d487.tar.gz
Get and classify all links in wiki to Key/Tag/Relation pages.
This adds two scripts, the first (get_links.rb) uses the Mediawiki API to get all pages that link to any Key/Tag/Relation pages. The second (classify_links.rb) puts those links into different categories. The update script is prepared to call those scripts, but the code is disabled at the moment.
Diffstat (limited to 'sources/wiki/update.sh')
-rwxr-xr-xsources/wiki/update.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/sources/wiki/update.sh b/sources/wiki/update.sh
index e922710..b8ad763 100755
--- a/sources/wiki/update.sh
+++ b/sources/wiki/update.sh
@@ -53,6 +53,12 @@ $EXEC_RUBY ./get_wiki_data.rb $DIR >$LOGFILE_WIKI_DATA
echo "`$DATECMD` Getting image info..."
$EXEC_RUBY ./get_image_info.rb $DIR >$LOGFILE_IMAGE_INFO
+#echo "`$DATECMD` Getting links to Key/Tag/Relation pages..."
+#$EXEC_RUBY ./get_links.rb $DIR >$DIR/links.list
+
+#echo "`$DATECMD` Classifying links..."
+#$EXEC_RUBY ./classify_links.rb $DIR
+
echo "`$DATECMD` Extracting words..."
$EXEC_RUBY ./extract_words.rb $DIR