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 nordbayern #2169

Merged
merged 3 commits into from
Jul 1, 2021
Merged

Update nordbayern #2169

merged 3 commits into from
Jul 1, 2021

Conversation

theScrabi
Copy link
Contributor

Nordbayern changed the whole layout and design. This is the new adaptation.

Comment on lines 59 to 65
private function fixLinksInElement($element) {
foreach($element->find('a') as $a) {
if(self::startsWith($a->href, '/')) {
$a->href = 'https://nordbayern.de' . $a->href;
}
}
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Use defaultLinkTo instead

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

'Rothenburg o.d.T.' => 'rothenburg-o-d-t',
'Schwabach' => 'schwabach',
'Rothenburg o.d.T.' => 'rothenburg-ob-der-tauber',
Copy link
Contributor

Choose a reason for hiding this comment

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

Old feed urls with these params will become invalid if following change is accepted. Can we escape it?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

done

@em92
Copy link
Contributor

em92 commented Jun 20, 2021

Also please fix phpcs errors

find articles

get raw articles

include images again

fix serveral bugs

catch all articles

fix links

try to exlucde polizeimeldungen

try to fix weird html

fix ident

make code php7 compatible

apply requested changes

fix phpcs error
@theScrabi theScrabi force-pushed the update_nordbayern branch from 3f8d732 to 6d08d54 Compare June 21, 2021 08:32
@theScrabi theScrabi requested a review from em92 June 21, 2021 08:33
@theScrabi
Copy link
Contributor Author

bump 😅

@em92 em92 merged commit 398e175 into RSS-Bridge:master Jul 1, 2021
@em92
Copy link
Contributor

em92 commented Jul 1, 2021

gj @theScrabi

@theScrabi theScrabi deleted the update_nordbayern branch July 17, 2021 14:32
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