Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update BMDSystemhausBlogBridge.php #3943

Merged
merged 1 commit into from
Feb 2, 2024
Merged

Update BMDSystemhausBlogBridge.php #3943

merged 1 commit into from
Feb 2, 2024

Conversation

cn-tools
Copy link
Contributor

@cn-tools cn-tools commented Feb 2, 2024

No description provided.

Copy link

github-actions bot commented Feb 2, 2024

Pull request artifacts

Bridge Context Status
BMDSystemhausBlog 1 Blog (current) ✔️
BMDSystemhausBlog 1 Blog (pr) ✔️

last change: Friday 2024-02-02 13:39:51


$html = getSimpleHTMLDOM($this->getURI());
// get website content
$html = getSimpleHTMLDOM($this->getURI()) or returnServerError('No contents received!');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or statement has not the intended effect you think it has

// find article image
$imageTag = '';
$image = $element->find('div.mediaelement.mediaelement-image img', 0);
if ((!is_null($image)) and ($image->src != '')) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please use && instead of and. they are not the same

@dvikan dvikan merged commit 81be72e into RSS-Bridge:master Feb 2, 2024
7 checks passed
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.

2 participants