rss-bridge/lib
ORelio d592e2cb15
[Core] Add html/convertLazyLoading (+ document stripRecursiveHTMLSection) (#3157)
* [core] Add html/convertLazyLoading($dom)

Looks for lazy-loading attributes such as 'data-src' and converts
them back to regular ones such as 'src', easier for RSS readers.
It also converts <picture> elements to plain <img> elements.

* [core] Document html/stripRecursiveHTMLSection()

Add documentation for that function (no code changes).

* [WordPressBridge] Use convertLazyLoading()

* [WordPressBridge] Unwrap image figures

<img> inside <figure> may not display on RSS readers.
This converts them back to <img>, without losing caption if present.

* [ZDNet] Convert lazy loading images

* [code] html/stripRecursiveHTMLSection: Fix typo
2022-11-20 12:41:59 +01:00
..
ActionInterface.php refactor: extract frontpage to template (#3130) 2022-11-07 18:22:54 +01:00
ApiAuthenticationMiddleware.php [core] Implement bearer token authentication (#3043) 2022-10-19 18:39:35 +02:00
AuthenticationMiddleware.php Improve logging and error handling (#3059) 2022-10-16 17:55:43 +02:00
BridgeAbstract.php feat: use bridge description and short name in search (#2952) 2022-08-06 23:12:30 +02:00
BridgeCard.php fix: case-insensitive config from env, fix #2935 (#2973) 2022-08-23 21:19:53 +02:00
BridgeFactory.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
BridgeInterface.php feat: use bridge description and short name in search (#2952) 2022-08-06 23:12:30 +02:00
CacheFactory.php refactor: move cache logic into the factory (#2884) 2022-07-05 13:20:01 +02:00
CacheInterface.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
Configuration.php fix: dont error out for invalid env names (#3030) 2022-09-12 23:14:11 +02:00
Debug.php Improve logging and error handling (#3059) 2022-10-16 17:55:43 +02:00
FeedExpander.php fix: various php notices (#3145) 2022-11-15 00:30:51 +01:00
FeedItem.php fix: improve FeedExpander (#3103) 2022-10-29 10:27:02 +02:00
FormatAbstract.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
FormatFactory.php Improve logging and error handling (#3059) 2022-10-16 17:55:43 +02:00
FormatInterface.php refactor: html format (#3062) 2022-10-16 12:03:57 +02:00
Logger.php refactor/fix: css organization and error rendering (#3117) 2022-10-29 10:46:37 +02:00
ParameterValidator.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
RssBridge.php [core] Merge GET and POST args into request array (#3155) 2022-11-20 12:41:20 +01:00
XPathAbstract.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
bootstrap.php refactor: rename rssbridge.php to bootstrap.php (#2987) 2022-08-27 23:01:06 +02:00
contents.php feat: add max file size to http responses (#3140) 2022-11-16 17:56:26 +01:00
error.php refactor: general code base refactor (#2950) 2022-08-06 22:46:28 +02:00
html.php [Core] Add html/convertLazyLoading (+ document stripRecursiveHTMLSection) (#3157) 2022-11-20 12:41:59 +01:00
php8backports.php Reformat codebase v4 (#2872) 2022-07-01 15:10:30 +02:00
utils.php fix: produce smaller log records for http exceptions (#3153) 2022-11-18 21:36:06 +01:00