-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
41 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
<?php | ||
namespace ADWLM\IncipitSearch; | ||
|
||
require 'vendor/autoload.php'; | ||
|
||
|
||
/** | ||
* This is to be called from command line to index the Gluck Gesamtausgabe catalog. | ||
* ATTENTION: this must be called from the same directory as index.php | ||
* or paths will be wrong | ||
* | ||
* | ||
* Copyright notice | ||
* | ||
* (c) 2016 | ||
* Anna Neovesky [email protected] | ||
* Gabriel Reimers [email protected] | ||
* | ||
* Digital Academy www.digitale-akademie.de | ||
* Academy of Sciences and Literatur | Mainz www.adwmainz.de | ||
* | ||
* Licensed under The MIT License (MIT) | ||
* | ||
* @package ADWLM\IncipitSearch | ||
*/ | ||
|
||
|
||
/* | ||
* | ||
* ATTENTION: | ||
* This only crawls a small sample of RISM and is only for demo purposes | ||
* | ||
*/ | ||
|
||
echo "====================\nATTENTION\n=======================\nThe RISM crawler is only for demo purposes and only crawls a small subset of RISM.\nThis is not fit for production\n\n"; | ||
|
||
$crawler = new RISMIncipitCrawler(); | ||
|
||
$crawler->createIndex(); | ||
$crawler->crawlCatalog(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters