* [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
* [YoutubeBridge] handle new youtube description system
* [YoutubeBridge] fix unrelated warnings
* [YoutubeBridge] discard everything when one link can not be matched & add more boundary chars
* [YoutubeBridge] rebase on master & minor fixes
* Filter out any advertise tweet
* Make some filter work, fix bug that may happen with tweet id list.
* clear phpcs warning, ignore line length warning
* [AutoJMBridge] Fix content extraction
- Website changed, bridge was updated accordingly
- Added the function detectParameters
- Added the test array for the detectParameters function
* [AutoJMBridge] Fix test
Fix content of the TEST_DETECT_PARAMETERS array
* [AutoJMBridge] Update exaù^me value parameter
Example value was not valid anymore, so it was updated
* Reverts to preview submission if full is hidden
* Reverts to preview submission if full is hidden
* revert
* added fallback to higher res preview if SWF
* amend
These values are used for testing and PR artifacts, but
https://gitlab.com/fdroid/fdroidclient currently has no MR !2099,
leading to a HTTP 404 error. This just uses issue #1 and MR !1.
To support epics, the specified repository is ignored.
* bridges: add context to detectParameters
Some bridges did not return the context parameter but they used it in
the parameters
* bridges: add context to detectParameters
Fix test for InstagramBridge
* [SitemapBridge] Add SitemapBridge
This bridge is a variant of CssSelectorBridge.
Instead of retrieving article list from home page,
retrieves article list from SEO sitemap.xml.
Requires CssSelectorBridge to be installed.
* [SitemapBridge] Code linting
* [core] support xhtml content type in FeedExpander
* [FilterBridge] change defaultValue to exampleValue
* [core] support content with child elements in FeedExpander
* added the option for a sessioncookie
with a valid cookie you can get full heise+ (paywall) articles
* formating
* lint
---------
Co-authored-by: Dag <me@dvikan.no>
When using parent element as URL selector:
* If no <a> inside some elements, ignore them
* If no <a> inside ALL elements, report an error
Fixes#3573 #issuecomment-1656943318
* [CssSelectorBridge] Improvements (#3537)
* Improve parameter documentation / add tooltips
* Allow extracting content from home page instead of article page
* Keep titles from home page when every page <title> is the same
* [CssSelectorBridge] Code linting
* [CssSelectorBridge] Code linting (2)
* [CssSelectorBridge] Code linting (3)
— fix cookie pattern
– use data analytics attributes wherever possible to avoid relying on obfuscated class names
— add support for promoted offers
— include sponsored and promoted offers by default
— some additional refactoring
* [TikTokBridge] Use another way to get videos infos to include video link
* [TikTokBridge] Use cover if dynamicCover is empty
* [TikTokBridge] Add support for the rest of item params
* refactor(cache): extract and encapsulate cache expiration logic
* fix: logic bug in getSimpleHTMLDOMCached
* fix: silly me, index should of course be on the key column
* silly me again, PRIMARY keys get index by default lol
* comment out the delete portion in loadData
* remove a few log statements
* tweak twitter cache timeout
* [ImgsedBridge] Add new Instagram Bridge Alternative
Imgsed is a Website adverstised on instagram website, that's is not
behind Cloudflare Anti Bot feature.
You can select to display Posts, Tags, and Stories of a specific
username
* [ImgsedBridge] Fix empty defaultValue
Because "contentText" is always present, PHP warnings were previously
generated for posts without text.
Existence of sub-property "runs" gets checked now to avoid this.