Skip to content

Conversation

@Mynacol
Copy link
Contributor

@Mynacol Mynacol commented Sep 30, 2025

This adds an Akamai Blog bridge using CSS selector feed expander under the hood. They needed to be somewhat adapted.
Therefore I want to ask @dvikan to take a look at it before we merge it.

  • We could also adapt the RSS feed download function to use the same headers for completeness sake. This was not needed for the Akamai blog, but might be elsewhere.
  • The Akamai bridge has the annoying "Tags" element at the end of each article. I didn't find an (elegant) way to remove that.

@github-actions
Copy link

github-actions bot commented Sep 30, 2025

Pull request artifacts

Bridge Context Status
Akamai 1 untitled (pr) ✔️
CssSelector 1 untitled (current) Bridge returned error 404! (20361)
Type: HttpException
Message: https://example.com/blog/ resulted in 404 Not Found
CssSelector 1 untitled (pr) Bridge returned error 0! (20361)
Type: TypeError
Message: getContents(): Argument #2 ($httpHeaders) must be of type array, int given, called in lib/contents.php on line 151
CssSelectorFeedExpander 1 untitled (current) Bridge returned error 404! (20361)
Type: HttpException
Message: https://example.com/feed.xml resulted in 404 Not Found
CssSelectorFeedExpander 1 untitled (pr) Bridge returned error 0! (20361)
Type: HttpException
Message: cURL error Operation timed out after 5002 milliseconds with 0 bytes received: 28 (https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://example.com/feed.xml

last change: Tuesday 2025-09-30 22:18:09

So other bridges can extend this class and hard-code some specific
inputs.
So bridges extending this class can re-use the provided functions while
supplying custom HTTP headers.
This bridge uses the CSS selector feed expander groundwork. However, it
absolutely requires custom headers. Akamai else just drops a connection,
leading to painful timeouts.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant