관리-도구
편집 파일: RssSitemap.0c747569.js
import{G as v}from"./constants.2019bcb3.js";import{b as I,u as R,l as C}from"./index.5a710757.js";import{S as G,a as w,u as B}from"./SearchConsoleInline.3b4244a7.js";import{B as V}from"./Checkbox.e983780b.js";import{C as M}from"./Card.2a757b17.js";import{C as N}from"./PostTypeOptions.82478ea9.js";import{C as D}from"./SettingsRow.1934f141.js";import{S as O}from"./External.c84e4310.js";import"./translations.12335a6a.js";import{_ as E}from"./_plugin-vue_export-helper.249dac1d.js";import{_ as o}from"./default-i18n.54b5d8cd.js";import{c as H,k as d,b as _,C as i,l as a,v as n,o as m,a as r,x as c,t as p}from"./runtime-dom.esm-bundler.6789c400.js";import"./helpers.f95d5840.js";import"./GoogleSearchConsole.c9d25148.js";import"./params.764403f6.js";import"./Actionable.602042a5.js";import"./Caret.662da1f3.js";import"./CheckSolid.9e151b0e.js";import"./ExclamationSolid.8e60a4a3.js";import"./WpTable.40f759ac.js";import"./ScrollTo.97c9805f.js";import"./index.01e1b194.js";import"./Index.c4d148bc.js";import"./Table.9be344df.js";import"./numbers.b55b32c5.js";import"./Tooltip.b6b45c85.js";import"./Slide.d0517fb0.js";import"./Download.6a0d8455.js";import"./Checkmark.32f79576.js";import"./PostTypes.dc684c4f.js";import"./HighlightToggle.6ee9eb70.js";import"./Radio.e92f8160.js";import"./Row.f01f32cd.js";const t="all-in-one-seo-pack",U={setup(){const{validateLinksPerIndex:y}=B();return{optionsStore:I(),rootStore:R(),validateLinksPerIndex:y,GLOBAL_STRINGS:v,links:C}},components:{BaseCheckbox:V,CoreCard:M,CorePostTypeOptions:N,CoreSettingsRow:D,SearchConsole:G,SearchConsoleInline:w,SvgExternal:O},data(){return{pagePostOptions:[],strings:{rss:o("RSS Sitemap",t),description:o("This option will generate a separate RSS Sitemap which can be submitted to Google, Bing and any other search engines that support this type of sitemap. The RSS Sitemap contains an RSS feed of the latest updates to your site content. It is not a full sitemap of all your content.",t),enableSitemap:o("Enable Sitemap",t),sitemapSettings:o("Sitemap Settings",t),enableSitemapIndexes:o("Enable Sitemap Indexes",t),sitemapIndexes:o("Organize sitemap entries into distinct files in your sitemap. We recommend you enable this setting if your sitemap contains more than 1,000 URLs.",t),linksPerSitemap:o("Number of Posts",t),noIndexDisplayed:o("Noindexed content will not be displayed in your sitemap.",t),doYou404:o("Do you get a blank sitemap or 404 error?",t),openSitemap:o("Open RSS Sitemap",t),maxLinks:o("Allows you to specify the maximum number of posts for the RSS Sitemap. We recommend an amount of 50 posts.",t),automaticallyPingSearchEngines:o("Automatically Ping Search Engines",t),postTypes:o("Post Types",t),taxonomies:o("Taxonomies",t),dateArchiveSitemap:o("Date Archive Sitemap",t),includeDateArchives:o("Include Date Archives in your sitemap.",t),authorSitemap:o("Author Sitemap",t),includeAuthorArchives:o("Include Author Archives in your sitemap.",t),includeAllPostTypes:o("Include All Post Types",t),selectPostTypes:o("Select which Post Types appear in your sitemap.",t),includeAllTaxonomies:o("Include All Taxonomies",t),selectTaxonomies:o("Select which Taxonomies appear in your sitemap.",t)}}},computed:{getExcludedPostTypes(){return["attachment"]}}},z={class:"aioseo-rss-sitemap"},K={class:"aioseo-settings-row aioseo-section-description"},W=["innerHTML"],Y={class:"aioseo-sitemap-preview"},j={class:"aioseo-description"},q=["innerHTML"],F={class:"aioseo-description"},J=["innerHTML"],Q={class:"aioseo-description"},X=["innerHTML"];function Z(y,l,$,e,s,h){const x=n("search-console"),f=n("base-toggle"),T=n("search-console-inline"),S=n("core-settings-row"),b=n("svg-external"),k=n("base-button"),g=n("core-card"),L=n("base-input"),A=n("base-checkbox"),P=n("core-post-type-options");return m(),H("div",z,[e.optionsStore.options.sitemap.rss.enable?(m(),d(x,{key:0})):_("",!0),i(g,{slug:"rssSitemap","header-text":s.strings.rss},{default:a(()=>[r("div",K,[c(p(s.strings.description)+" ",1),r("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"rssSitemaps",!0)},null,8,W)]),i(S,{name:s.strings.enableSitemap},{content:a(()=>[i(f,{modelValue:e.optionsStore.options.sitemap.rss.enable,"onUpdate:modelValue":l[0]||(l[0]=u=>e.optionsStore.options.sitemap.rss.enable=u)},null,8,["modelValue"]),e.optionsStore.options.sitemap.rss.enable?(m(),d(T,{key:0})):_("",!0)]),_:1},8,["name"]),e.optionsStore.options.sitemap.rss.enable?(m(),d(S,{key:0,name:e.GLOBAL_STRINGS.preview},{content:a(()=>[r("div",Y,[i(k,{size:"medium",type:"blue",tag:"a",href:e.rootStore.aioseo.urls.rssSitemapUrl,target:"_blank"},{default:a(()=>[i(b),c(" "+p(s.strings.openSitemap),1)]),_:1},8,["href"])]),r("div",j,[c(p(s.strings.noIndexDisplayed)+" "+p(s.strings.doYou404)+" ",1),r("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"blankSitemap",!0)},null,8,q)])]),_:1},8,["name"])):_("",!0)]),_:1},8,["header-text"]),e.optionsStore.options.sitemap.rss.enable?(m(),d(g,{key:1,slug:"rssSitemapSettings","header-text":s.strings.sitemapSettings},{default:a(()=>[i(S,{name:s.strings.linksPerSitemap},{content:a(()=>[i(L,{modelValue:e.optionsStore.options.sitemap.rss.linksPerIndex,"onUpdate:modelValue":l[1]||(l[1]=u=>e.optionsStore.options.sitemap.rss.linksPerIndex=u),class:"aioseo-links-per-site",type:"number",size:"medium",min:1,max:5e4,onKeyup:e.validateLinksPerIndex},null,8,["modelValue","onKeyup"]),r("div",F,[c(p(s.strings.maxLinks)+" ",1),r("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"maxLinksRss",!0)},null,8,J)])]),_:1},8,["name"]),i(S,{name:s.strings.postTypes},{content:a(()=>[i(A,{size:"medium",modelValue:e.optionsStore.options.sitemap.rss.postTypes.all,"onUpdate:modelValue":l[2]||(l[2]=u=>e.optionsStore.options.sitemap.rss.postTypes.all=u)},{default:a(()=>[c(p(s.strings.includeAllPostTypes),1)]),_:1},8,["modelValue"]),e.optionsStore.options.sitemap.rss.postTypes.all?_("",!0):(m(),d(P,{key:0,options:e.optionsStore.options.sitemap.rss,type:"postTypes",excluded:h.getExcludedPostTypes},null,8,["options","excluded"])),r("div",Q,[c(p(s.strings.selectPostTypes)+" ",1),r("span",{innerHTML:e.links.getDocLink(e.GLOBAL_STRINGS.learnMore,"selectPostTypesRss",!0)},null,8,X)])]),_:1},8,["name"])]),_:1},8,["header-text"])):_("",!0)])}const Be=E(U,[["render",Z]]);export{Be as default};