Date Interval with the article "an" or "a" are now handled in a generic
way : every "article" is replaced by the number "1" instead of a
handling of multiple special case
* [CssSelectorFeedExpander] Fix ArgumentCountError (#3739)
Fix ArgumentCountError (#3739) using new FeedParser class (#3740)
Implement default value for feed name / url if missing
* [CssSelectorFeedExpander] Skip empty fields in source feed
Fix empty feed properties being passed down from source feed
rssbridge.DEBUG lib/FeedItem.php(177): Author must be a string!
rssbridge.DEBUG lib/FeedItem.php(267): Unique id must be a string!
If "don't expand metadata" is checked, then source feed is passed
down verbatim (only content is expanded) so the debug messages
will persist, but the issue is in source feed, not in the bridge.
* [ImgsedBridge] Fix and improvements
- Display an error if the user doesn't select at least an content type
to display
- Unsplit the regular expression to make the URL of imgsed.com work too
- Remove the "hour part" of the publication date : the website shows
only the number of days if the content is older than one day
* [ImgsedBridge] Fix and improvements
Fix syntax
* [ImgsedBridge] Fix and improvements
- Fix TEST_DETECT_PARAMETERS
- change detectParameters regular expression to match more instagram.com
URLs
* [ImgsedBridge] Fix and improvements
- Fix date parsing for interval 'a day'
* lint
---------
Co-authored-by: Dag <me@dvikan.no>
* [CssSelectorBridge] Metadata from social embed (#3602, #3687)
Implement the following metadata sources:
- Facebook Open Graph
- Twitter <meta> tags
- Standard <meta> tags
- JSON linked data (ld+json)
The following metadata is supported:
- Canonical URL (may help removing garbage from URLs)
- Article title
- Truncated summary
- Published/Updated timestamp
- Enclosure/Thumbnail image
- Author Name or Twitter handle
SitemapBridge will also automatically benefit from this commit.
* [php8backports] Add array_is_list()
Needed this function for ld+json implementation in CssSelectorBridge.
* [SitemapBridge] Add option to discard thumbnail
* [CssSelectorBridge] Fix linting issues