1
0
Fork 0
mirror of https://github.com/RSS-Bridge/rss-bridge.git synced 2025-03-01 13:49:20 +03:00
Commit graph

6 commits

Author SHA1 Message Date
Jan Tojnar
e07a94d480
Normalize some method calls ()
The methods were called as static even though they were not.
2022-07-09 08:13:07 +02:00
Dag
4f75591060
Reformat codebase v4 ()
Reformat code base to PSR12

Co-authored-by: rssbridge <noreply@github.com>
2022-07-01 15:10:30 +02:00
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