nuxt-x-affiliate
RSS Feed Link
Head-only component injecting the RSS auto-discovery <link rel="alternate"> tag — pairs with useXafRssFeed for feed generation.
RSS Feed Link
The XAFRssFeedLink component injects an RSS auto-discovery <link rel="alternate" type="application/rss+xml"> tag into the page head so browsers and feed readers can find your feed. It renders nothing visible in the page — drop it in app.vue, a layout, or any page that should advertise the feed.
Pair it with useXafRssFeed() (server route) to generate the feed XML itself.
Components
<XAFRssFeedLink />
<XAFRssFeedLink url="/feed.xml" title="BestKitchenGear.com Reviews" />
Props
| Prop | Type | Default | Description |
|---|---|---|---|
url | string | required | Absolute or relative URL of the RSS feed (e.g. '/feed.xml'). |
title | string | 'RSS Feed' | Title shown in the browser's RSS auto-discovery UI. |
AI Context
component: XAFRssFeedLink
package: "@xenterprises/nuxt-x-affiliate"
use-when: Advertising an RSS feed via the head-only auto-discovery link tag. Renders nothing visible; pair with useXafRssFeed() for feed XML generation.
