@extends('web.layouts.web-master') @php // Roadmap 3.1: Übersicht der Feeds dieses Portals. Adressen aus der // Portal-Basis (wie Canonical und Autodiscovery), nicht aus url()/route(), // die auf dem Hub den falschen Host trügen. Kontext und Kategorien liefert // RssPageController. $edition = app()->getLocale(); $themeKey = $portalContext->domainKey; $portalBase = rtrim((string) ($portalContext->domainConfig['url'] ?? config('app.url')), '/'); $brand = (array) ($portalContext->domainConfig['brand'] ?? []); $brandLabel = ($brand['name'] ?? $themeKey).($brand['accent'] ?? ''); $otherKey = $themeKey === 'presseecho' ? 'businessportal24' : 'presseecho'; $otherBrand = (array) config('domains.domains.'.$otherKey.'.brand', []); $otherLabel = ($otherBrand['name'] ?? $otherKey).($otherBrand['accent'] ?? ''); $otherBase = rtrim((string) config('domains.domains.'.$otherKey.'.url'), '/'); $portalFeed = $portalBase.'/'.$edition.'/feed'; $categories = $feedCategories; $maxItems = \App\Http\Controllers\Web\FeedController::MAX_ITEMS; @endphp @section('title', __('static.rss.meta_title', ['brand' => $brandLabel])) @section('meta_description', __('static.rss.meta_description')) @section('feed_links') @endsection @section('content')

{{ __('static.rss.what_heading') }}

{{ __('static.rss.what_p1') }}

{{ __('static.rss.what_p2', ['brand' => $brandLabel]) }}

{{ __('static.rss.how_heading') }}

  1. {{ __('static.rss.how_step1') }} — {{ __('static.rss.how_step1_text') }}
  2. {{ __('static.rss.how_step2') }} — {{ __('static.rss.how_step2_text') }}
  3. {{ __('static.rss.how_step3') }} — {{ __('static.rss.how_step3_text') }}

{{ __('static.rss.how_p1', ['count' => $maxItems]) }}

{{ __('static.rss.how_p2') }}

{{-- Portal-Feed --}}

{{ __('static.rss.feeds_heading', ['brand' => $brandLabel]) }}

{{ __('static.rss.main_eyebrow') }}

{{ __('static.rss.main_title', ['brand' => $brandLabel]) }}

{{ __('static.rss.main_text') }}

{{ $portalFeed }}
{{-- Branchen-Feeds --}}

{{ __('static.rss.categories_heading') }}

{{ __('static.rss.categories_text') }}

@if ($categories->isNotEmpty()) @else

{{ __('static.rss.categories_empty') }}

@endif {{-- Newsroom-Feeds --}}

{{ __('static.rss.newsrooms_heading') }}

{{ __('static.rss.newsrooms_p1') }}

{{ __('static.rss.newsrooms_p2') }} {{ $portalBase }}/{{ $edition }}/newsroom/{{ __('static.rss.newsrooms_slug_placeholder') }}/feed

{{ __('static.rss.newsrooms_link') }}

{{ __('static.rss.notes_heading') }}

@endsection