* [DagensNyheterDirektBridge] New bridge
* [DagensNyheterDirektBridge] Lint: Replace all tabs with space
* [DagensNyheterDirektBridge] Lint: Lines
Add empty lines and move start brace to new line
* [DagensNyheterDirektBridge] Lint: short- array syntax
* [DagensNyheterDirektBridge] Lint: short array syntax
Fix incorrect line ending
* [DagensNyheterDirektBridge] Lint: further lint fixes
* [DagensNyheterDirektBridge] Lint: final fixes
- CSS styles showing there were no deals found has changed : CSS class
was updated
- Relative Date handling : the minimum granularity of a relative date is
the minute on the site. Seconds are therefore meaningless, and are now deleted.
MydealsBridge was missing one relateve date prefix : now every date is
parsed (I hope so !)
* [MotatosBridge] add bridge
* [MotatosBridge] fix uid as string
* [MotatosBridge] add support for all regions
* [MotatosBridge] fix: region: "required" attribute not supported for list
* [KleinanzeigenBridge] add new bridge
* [KleinanzeigenBridge] fix missing timestamp
* [KleinanzeigenBridge] linting
* [KleinanzeigenBridge] fix end of list detection
* [IdealoBridge] Created
Checks the price of a given item on idealo.de. Can create an Alarm Message if a the price is lower than set or an Priceupdate if the price has changed.
* Changed Exec and syntax
* last fixes for remaining warning
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