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

17 Commits

Author SHA1 Message Date
Tomasz Molski
83c36a87e2
[ReutersBridge] Adjust Fact Check feed path () 2025-03-05 19:35:12 +01:00
Dag
891c8979a3
refactor: return proper response object () 2024-07-31 17:30:06 +02:00
Dag
a6a1d553d9
tweaks () 2023-09-22 20:59:45 +02:00
Dag
701fe3cfed
fix: various small fixes () 2023-07-29 00:14:30 +02:00
Dag
d8bc015efc
fix: php notices ()
* fix(jornaln): A non well formed numeric value encountered

fixes

A non well formed numeric value encountered at bridges/JornalNBridge.php line 89

* fix(reuters): fix notice
2023-07-03 00:39:01 +02:00
csisoap
5d8ed2df51
[ReutersBridge] Only include main headline from Top News feed () 2022-12-31 07:05:25 +01:00
Dag
95c199c2eb
fix: various php notices ()
* fix: notice

* fix: Trying to get property content of non-object at bridges/PcGamerBridge.php line 36

* fix: better exception message

* fix: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior
2022-11-15 00:30:51 +01:00
Dag
52af2ae34c
fix: php errors (notices) () 2022-10-26 00:47:45 +02:00
Dag
94ae098ef5
fix: various fixes ()
* improve twitch error message

* fix worldcosplay notice

* fix: add new video image to telegram

* fix: reuters

* fix: formula1

* twitter
2022-09-09 20:18:50 +02:00
Jan Tojnar
951092eef3
Fix coding style missed by phpbcf ()
$ composer require --dev friendsofphp/php-cs-fixer

$ echo >.php-cs-fixer.dist.php "<?php

$finder = PhpCsFixer\Finder::create()
    ->in(__DIR__);

$rules = [
    '@PSR12' => true,
    // '@PSR12:risky' => true,
    '@PHP74Migration' => true,
    // '@PHP74Migration:risky' => true,
    // buggy, duplicates existing comment sometimes
    'no_break_comment' => false,
    'array_syntax' => true,
    'lowercase_static_reference' => true,
    'visibility_required' => false,
    // Too much noise
    'binary_operator_spaces' => false,
    'heredoc_indentation' => false,
    'trailing_comma_in_multiline' => false,
];

$config = new PhpCsFixer\Config();

return $config
    ->setRules($rules)
    // ->setRiskyAllowed(true)
    ->setFinder($finder);

"

$ vendor/bin/php-cs-fixer --version
PHP CS Fixer 3.8.0 BerSzcz against war! by Fabien Potencier and Dariusz Ruminski.
PHP runtime: 8.1.7

$ vendor/bin/php-cs-fixer fix
$ rm .php-cs-fixer.cache
$ vendor/bin/php-cs-fixer fix
2022-07-08 13:00:52 +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
csisoap
e86ce338a2
[ReutersBridge] Updated 'Top News' feed, some fix () 2022-03-28 20:34:41 +02:00
csisoap
3bd4b0d6ab
[ReutersBridge] Fix unexpected behaviour with article ()
Sometimes, there are some articles that redirected to another site,
cause the bridge to fail.

Also about disable UID, Reuters frequently updated their article and my
feed reader don't update, I think it's maybe its UID.
2022-03-02 09:50:02 +05:00
csisoap
b9d92150e1
[ReutersBridge] Migrate to new API ()
* [ReutersBridge] Migrate to new API

- Add new API, feeds.
- Old feed name are perserved for backward compatibility.
- Remove 'Special Report' feed.
- Some feed continue to use old Wire API due to not available in new one.
- Add some new type of content, replace iframe with blockquote for twitter.
2021-12-08 17:16:40 +01:00
csisoap
cabf7a748a
[ReutersBridge] Change timestamp, add new feed, add alt text to image () 2021-07-20 12:54:07 +05:00
csisoap
2448ed41c9
[ReutersBridge] Add new wireitem template type ()
and retain the list of parameters
2021-03-09 11:15:48 +05:00
hollowleviathan
43b7621f45
[ReutersBridge] Add bridge () 2021-01-29 22:57:40 +05:00