import{a as g}from"./vuex.esm-bundler.8589b2dd.js";import{C as b}from"./index.fd0fcee8.js";import{C}from"./Card.24f1a534.js";import{C as S}from"./HtmlTagsEditor.f7794300.js";import{C as $}from"./SettingsRow.09a16661.js";import{S as y}from"./External.e98f124d.js";import{_ as v,c as A,d as s,w as o,r as n,o as p,f as r,t as a,e as u,h as R,a as k}from"./_plugin-vue_export-helper.2d9794a3.js";import"./default-i18n.ab92175e.js";import"./_commonjsHelpers.f84db168.js";import"./Caret.42a820e0.js";import"./Tooltip.ae0bcccb.js";import"./Slide.cd756e61.js";import"./Editor.7fd59f57.js";import"./UnfilteredHtml.47ebc566.js";import"./Row.5e452de4.js";const w={components:{CoreAlert:b,CoreCard:C,CoreHtmlTagsEditor:S,CoreSettingsRow:$,SvgExternal:y},data(){return{strings:{tooltip:this.$t.__("Automatically add content to your site's RSS feed.",this.$td),description:this.$t.__("This feature is used to automatically add content to your site's RSS feed. More specifically, it allows you to add links back to your blog and your blog posts so scrapers will automatically add these links too. This helps search engines identify you as the original source of the content.",this.$td),learnMore:this.$t.__("Learn more",this.$td),rssFeedDisabled:this.$t.sprintf(this.$t.__("Your RSS feed has been disabled. Disabling the global RSS feed is NOT recommended. This will prevent users from subscribing to your content and can hurt your SEO rankings. You can re-enable the global RSS feed in the %1$scrawl content settings%2$s.",this.$td),'<a href="'+this.$aioseo.urls.aio.searchAppearance+'&aioseo-scroll=crawl-content-global-feed&aioseo-highlight=crawl-content-global-feed#/advanced">',"</a>"),rssContent:this.$t.__("RSS Content Settings",this.$td),openYourRssFeed:this.$t.__("Open Your RSS Feed",this.$td),rssBeforeContent:this.$t.__("RSS Before Content",this.$td),rssAfterContent:this.$t.__("RSS After Content",this.$td),beforeRssDescription:this.$t.__("Add content before each post in your site feed.",this.$td),afterRssDescription:this.$t.__("Add content after each post in your site feed.",this.$td),unfilteredHtmlError:this.$t.sprintf(this.$t.__("Your user account role does not have access to edit this field. %1$s",this.$td),this.$links.getDocLink(this.$constants.GLOBAL_STRINGS.learnMore,"unfilteredHtml",!0))}}},computed:{...g(["options"])}},L={class:"aioseo-rss-content"},T={class:"aioseo-settings-row aioseo-section-description"},B=["innerHTML"],D={class:"aioseo-description"},V={class:"aioseo-description"};function H(e,i,M,N,t,G){const m=n("core-alert"),_=n("svg-external"),h=n("base-button"),l=n("core-settings-row"),d=n("core-html-tags-editor"),f=n("core-card");return p(),A("div",L,[s(f,{slug:"rssContent","header-text":t.strings.rssContent},{tooltip:o(()=>[r("div",null,a(t.strings.tooltip),1)]),default:o(()=>[r("div",T,[u(a(t.strings.description)+" ",1),r("span",{innerHTML:e.$links.getDocLink(e.$constants.GLOBAL_STRINGS.learnMore,"rssContent",!0)},null,8,B),e.options.searchAppearance.advanced.crawlCleanup.enable&&!e.options.searchAppearance.advanced.crawlCleanup.feeds.global?(p(),R(m,{key:0,type:"red",innerHTML:t.strings.rssFeedDisabled},null,8,["innerHTML"])):k("",!0)]),s(l,{name:e.$constants.GLOBAL_STRINGS.preview},{content:o(()=>[s(h,{size:"medium",type:"blue",tag:"a",href:e.$aioseo.urls.feeds.global,target:"_blank",disabled:e.options.searchAppearance.advanced.crawlCleanup.enable&&!e.options.searchAppearance.advanced.crawlCleanup.feeds.global},{default:o(()=>[s(_),u(" "+a(t.strings.openYourRssFeed),1)]),_:1},8,["href","disabled"])]),_:1},8,["name"]),s(l,{name:t.strings.rssBeforeContent},{content:o(()=>[s(d,{checkUnfilteredHtml:"",modelValue:e.options.rssContent.before,"onUpdate:modelValue":i[0]||(i[0]=c=>e.options.rssContent.before=c),"minimum-line-numbers":5,"tags-context":"rss","default-tags":["post_link","site_link","author_link"],disabled:e.options.searchAppearance.advanced.crawlCleanup.enable&&!e.options.searchAppearance.advanced.crawlCleanup.feeds.global},null,8,["modelValue","disabled"]),r("div",D,a(t.strings.beforeRssDescription),1)]),_:1},8,["name"]),s(l,{name:t.strings.rssAfterContent},{content:o(()=>[s(d,{checkUnfilteredHtml:"",modelValue:e.options.rssContent.after,"onUpdate:modelValue":i[1]||(i[1]=c=>e.options.rssContent.after=c),"minimum-line-numbers":5,"tags-context":"rss","default-tags":["post_link","site_link","author_link"],disabled:e.options.searchAppearance.advanced.crawlCleanup.enable&&!e.options.searchAppearance.advanced.crawlCleanup.feeds.global},null,8,["modelValue","disabled"]),r("div",V,a(t.strings.afterRssDescription),1)]),_:1},8,["name"])]),_:1},8,["header-text"])])}const X=v(w,[["render",H]]);export{X as default};
