* [ModifyBridge] New bridge to modify feeds
Create a general bridge that can modify the common fields of feeds
with regular expressions.
* [ModifyBridge] Also modify <enclosure> element
Additionally to the list of <enclosures>.
* [TarnkappeBridge] changed "unwanted stuff"
em was removed because the annoying affiliate info, but it also deleted the text from blockquotes.
The p-element with the affiliate info has no attributes like class, but it is the only p-element with a style-attribute, so I used this to identify it.
* Update TarnkappeBridge.php
removed whitespace
* Update TarnkappeBridge.php
don't know why I did it twice before
* [CentreFranceBridge] Add bridge
* [CentreFranceBridge] Fix bridge
* [CentreFranceBridge] Fix bridge
* [CentreFranceBridge] Improved icon choice
* [CentreFranceBridge] Fetch additional data from articles
* [CentreFranceBridge] New parameter to allow client to control how many articles to fetch
* [CentreFranceBridge] Improve bridge name based on existing parameters
* [CentreFranceBridge] Fixed some edge cases
* refactor: reorder
* fix
---------
Co-authored-by: Dag <me@dvikan.no>
* add NurembergerNachrichten bridge
apply suggested changes and fix regions
put collectData on top
replace self:: with -> for methodcalls
* refactor: remove unused var
* refactor: order methods
* fix
---------
Co-authored-by: Dag <me@dvikan.no>
The bridge stopped working after the API server stopped accepting a trailing slash after the ID in the URL. This is being fixed. Also, the show title in the JSON was ignored. This is being fixed as well
* [Mailman2Bridge.php] enable PCRE_MULTILINE pattern modifier
Enable PCRE_MULTILINE pattern modifier on mbox content parsing. Without it parsing monthly archives results in only a single message each.
* [Mailman2Bridge.php] extend mbox "From_ lines" pattern
Extend PCRE pattern matching individual "From_ lines" used to split single messages in mbox content.
In addition to the matching line having to start with 'From ' it now also has to end with time and date (hh:mm:ss yyyy).
This makes the pattern slightly more robust against accidental matches when a line within the actual message body starts with 'From ' which Mailman 2 (Pipermail) may not be configured to disambiguate.
* [Mailman2Bridge.php] remove trailing slash from URI constant
---------
Co-authored-by: enwu <108224417+8279279374@users.noreply.github.com>
* [IdealoBridge] Fix price comparison and some PHP Notice
- The prices were compared as String and the comparison was wrong in
some case : now the price are converted to float before the
comparison, so the logic works really.
- Don't show a new or used product price if it does not exist : this
prevents a PHP Notice to be thrown
* [IdealoBridge] Fix price conversion in case the price is null
The conversion as float of the text price won't work if the price is
null : we retunr null in this case now.