When no result were found using the keyword search, some random deals
were displayed because the "not found" text has been modified : the
text is now up to date.
Some type in the textual name of the Bridge and texte about the website
name was fixed
- Deal Origin was changed by the website : fixed the CSS class to get it
- Shipping cost had an extra SVG image in the content : removed the
whole HTML tags from the content
* Update MarktplaatsBridge.php
* Update MarktplaatsBridge.php only main categories
As the whole list is too big only main categories are used for now.
* Renamed parameter 2 to sc
Renamed unused method to better reflect it usage
* Update MarktplaatsBridge.php Several fixed
Categories completed
Added a default empty one
Check if the input is not empty before using
Added helper methods to generate the categorylist
* Update MarktplaatsBridge.php
Set the methods to private for the CI
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
* [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.
* Add CustomBridge
For advanced users. Create RSS feed using HTML selectors.
* [CssSelectorBridge] Refactor, Allow Unexpanded
Rename bridge to CssSelectorBridge
Allow unexpanded feed, i.e. make feed from home page only (1 request)
Refactor bridge to put most of the code into protected functions
Makes the code more maintainable and allows inheritance for variants
* [CssSelectorBridge] Fix linting