mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-25 14:01:30 +00:00
move readability library to af_readability/vendor out of global vendor directory
af_redditimgur: use HOOK_GET_FULL_TEXT instead of invoking readability directly
This commit is contained in:
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMAttr.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMAttr.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMAttr extends \DOMAttr
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMCdataSection.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMCdataSection.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMCdataSection extends \DOMCdataSection
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMCharacterData.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMCharacterData.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMCharacterData extends \DOMCharacterData
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMComment.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMComment.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMComment extends \DOMComment
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
30
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocument.php
vendored
Normal file
30
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocument.php
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMDocument extends \DOMDocument
|
||||
{
|
||||
use NodeTrait;
|
||||
|
||||
public function __construct($version, $encoding)
|
||||
{
|
||||
parent::__construct($version, $encoding);
|
||||
|
||||
$this->registerNodeClass('DOMAttr', DOMAttr::class);
|
||||
$this->registerNodeClass('DOMCdataSection', DOMCdataSection::class);
|
||||
$this->registerNodeClass('DOMCharacterData', DOMCharacterData::class);
|
||||
$this->registerNodeClass('DOMComment', DOMComment::class);
|
||||
$this->registerNodeClass('DOMDocument', self::class);
|
||||
$this->registerNodeClass('DOMDocumentFragment', DOMDocumentFragment::class);
|
||||
$this->registerNodeClass('DOMDocumentType', DOMDocumentType::class);
|
||||
$this->registerNodeClass('DOMElement', DOMElement::class);
|
||||
$this->registerNodeClass('DOMEntity', DOMEntity::class);
|
||||
$this->registerNodeClass('DOMEntityReference', DOMEntityReference::class);
|
||||
$this->registerNodeClass('DOMNode', DOMNode::class);
|
||||
$this->registerNodeClass('DOMNotation', DOMNotation::class);
|
||||
$this->registerNodeClass('DOMProcessingInstruction', DOMProcessingInstruction::class);
|
||||
$this->registerNodeClass('DOMText', DOMText::class);
|
||||
}
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocumentFragment.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocumentFragment.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMDocumentFragment extends \DOMDocumentFragment
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocumentType.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMDocumentType.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMDocumentType extends \DOMDocumentType
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMElement.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMElement.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMElement extends \DOMElement
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMEntity.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMEntity.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMEntity extends \DOMEntity
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMEntityReference.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMEntityReference.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMEntityReference extends \DOMEntityReference
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
14
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMNode.php
vendored
Normal file
14
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMNode.php
vendored
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
/**
|
||||
* @method getAttribute($attribute)
|
||||
* @method hasAttribute($attribute)
|
||||
*/
|
||||
class DOMNode extends \DOMNode
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMNotation.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMNotation.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMNotation extends \DOMNotation
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMProcessingInstruction.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMProcessingInstruction.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMProcessingInstruction extends \DOMProcessingInstruction
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMText.php
vendored
Normal file
10
plugins/af_readability/vendor/andreskrey/Readability/Nodes/DOM/DOMText.php
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php
|
||||
|
||||
namespace andreskrey\Readability\Nodes\DOM;
|
||||
|
||||
use andreskrey\Readability\Nodes\NodeTrait;
|
||||
|
||||
class DOMText extends \DOMText
|
||||
{
|
||||
use NodeTrait;
|
||||
}
|
||||
Reference in New Issue
Block a user