mirror of
https://github.com/wallabag/wallabag.git
synced 2025-08-01 17:38:38 +00:00
use directly MOBIClass
This commit is contained in:
parent
c70bfefc68
commit
fb9df0c269
47 changed files with 309 additions and 1551 deletions
16
inc/3rdparty/libraries/MOBIClass/RecognizeURL.php
vendored
Normal file
16
inc/3rdparty/libraries/MOBIClass/RecognizeURL.php
vendored
Normal file
|
@ -0,0 +1,16 @@
|
|||
<?php
|
||||
|
||||
/**
|
||||
* Description of RecognizeURL
|
||||
*
|
||||
* @author Sander
|
||||
*/
|
||||
class RecognizeURL {
|
||||
public static function GetContentHandler($url){
|
||||
if(FanFictionNet::Matches($url)){
|
||||
return new FanFictionNet($url);
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
?>
|
Loading…
Add table
Add a link
Reference in a new issue