You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I have an RSS feed using this package for my Post model. My site's APP_URL has https in there yet the <link> within the <item> of all my posts are http instead of https, what am I missing?
Here's my feed config
<?phpreturn [
'feeds' => [
'main' => [
/* * Here you can specify which class and method will return * the items that should appear in the feed. For example: * [App\Model::class, 'getAllFeedItems'] * * You can also pass an argument to that method. Note that their key must be the name of the parameter: * [App\Model::class, 'getAllFeedItems', 'parameterName' => 'argument'] */'items' => [App\Models\Post::class, 'getFeedItems'],
/* * The feed will be available on this url. */'url' => '/feed',
'title' => 'News articles on digestcorner.com',
'description' => 'Our news articles.',
'language' => 'en-US',
/* * The image to display for the feed. For Atom feeds, this is displayed as * a banner/logo; for RSS and JSON feeds, it's displayed as an icon. * An empty value omits the image attribute from the feed. */'image' => '',
/* * The format of the feed. Acceptable values are 'rss', 'atom', or 'json'. */'format' => 'rss',
/* * The view that will render the feed. */'view' => 'feed::rss',
/* * The mime type to be used in the <link> tag. Set to an empty string to automatically * determine the correct value. */'type' => '',
/* * The content type for the feed response. Set to an empty string to automatically * determine the correct value. */'contentType' => '',
],
],
];
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi, I have an RSS feed using this package for my
Post
model. My site'sAPP_URL
has https in there yet the<link>
within the<item>
of all my posts are http instead of https, what am I missing?Here's my feed config
And my link method:
Beta Was this translation helpful? Give feedback.
All reactions