1
0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-04-24 15:27:23 +00:00
Commit Graph

4 Commits

Author SHA1 Message Date
Eugene Molotov
37cb4091d4
bridges: remove redundant "or returnServerError" after getContents/getSimpleHTMLDom/getSimpleHTMLDomCached ()
When fetching website contents, exceptions already raise on fetching error
2022-01-02 14:36:09 +05:00
logmanoriginal
6c4098d655 Revert "all: Use ->remove() instead of ->outertext = ''"
This reverts commit 052844f5e1.

There is a bug in ->remove() that causes the parser to incorrectly
identify elements in the DOM tree that shouldn't exist anymore.

References 
2019-06-02 13:06:16 +02:00
logmanoriginal
052844f5e1 all: Use ->remove() instead of ->outertext = ''
simplehtmldom 1.9 introduced new functions to recursively remove
nodes from the DOM. This allows removing elements without the need
to re-load the document by using $html->load($html->save()), which
is very inefficient.

Find more information about remove() at
https://simplehtmldom.sourceforge.io/docs/1.9/api/simple_html_dom_node/remove/
2019-06-01 21:29:57 +02:00
somini
8f5151b222 [SIMARBridge]: Add new bridge ()
* [SIMARBridge]: Add new bridge
2019-04-16 09:58:22 +02:00