- GET /_sitemap/api/v1/html?locale= answers the overview: the listed
addresses of the XML sitemaps by group, in the order pages, offers,
services, categories (as a tree), posts (newest first), tags, authors,
other content types, each with its title in the locale, total, the
first html_page_size links and more
- GET /_sitemap/api/v1/html/{group}?locale=&page= answers one page of a
group; past the last page, an unknown group or the HTML sitemap off
answer 404; every answer is noindex; per-IP bucket sitemap-html
- the HTML sitemap tab: html_enabled, the address per locale (html_paths)
and html_page_size 50 to 500, with errors.html_path and errors.page_size
- contract.Listing.Settings answers HTMLEnabled, HTMLPaths, HTMLPageSize
and KeyFile
148 lines
4.9 KiB
YAML
148 lines
4.9 KiB
YAML
# ===================================
|
|
# Form Field Definitions
|
|
# ===================================
|
|
#
|
|
# Sitemap settings (UI-SPEC C26): Files, Content types (one block per
|
|
# signpost content type, added by the plugin's form extension after Files)
|
|
# and Additional addresses. A repeater row takes no date picker, so an
|
|
# additional address's lastmod is a text field read as YYYY-MM-DD.
|
|
|
|
fields:
|
|
site_url:
|
|
label: golem15.sitemap::lang.settings.site_url
|
|
comment: golem15.sitemap::lang.settings.site_url_comment
|
|
type: text
|
|
span: left
|
|
tab: golem15.sitemap::lang.settings.tab_files
|
|
|
|
file_size:
|
|
label: golem15.sitemap::lang.settings.file_size
|
|
comment: golem15.sitemap::lang.settings.file_size_comment
|
|
type: number
|
|
default: 1000
|
|
span: right
|
|
tab: golem15.sitemap::lang.settings.tab_files
|
|
|
|
_files:
|
|
type: partial
|
|
path: sitemap_files
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_files
|
|
|
|
extra_urls:
|
|
label: golem15.sitemap::lang.settings.extra_urls
|
|
comment: golem15.sitemap::lang.settings.extra_urls_comment
|
|
type: repeater
|
|
prompt: golem15.sitemap::lang.settings.extra_urls_add
|
|
titleFrom: url
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_extra
|
|
form:
|
|
fields:
|
|
url:
|
|
label: golem15.sitemap::lang.settings.extra_url
|
|
type: text
|
|
span: left
|
|
lastmod:
|
|
label: golem15.sitemap::lang.settings.extra_url_lastmod
|
|
comment: golem15.sitemap::lang.settings.extra_url_lastmod_comment
|
|
type: text
|
|
span: right
|
|
|
|
images_enabled:
|
|
label: golem15.sitemap::lang.settings.images_enabled
|
|
comment: golem15.sitemap::lang.settings.images_enabled_comment
|
|
type: switch
|
|
default: true
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_media
|
|
|
|
news_enabled:
|
|
label: golem15.sitemap::lang.settings.news_enabled
|
|
comment: golem15.sitemap::lang.settings.news_enabled_comment
|
|
type: switch
|
|
default: false
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_media
|
|
|
|
news_publication:
|
|
label: golem15.sitemap::lang.settings.news_publication
|
|
comment: golem15.sitemap::lang.settings.news_publication_comment
|
|
type: text
|
|
span: left
|
|
tab: golem15.sitemap::lang.settings.tab_media
|
|
trigger:
|
|
action: hide
|
|
field: news_enabled
|
|
condition: unchecked
|
|
|
|
# Taglist options are a fixed list, so the article types and their
|
|
# categories are listed by the news_sources partial below instead.
|
|
news_sources:
|
|
label: golem15.sitemap::lang.settings.news_sources
|
|
comment: golem15.sitemap::lang.settings.news_sources_comment
|
|
type: taglist
|
|
mode: array
|
|
span: right
|
|
tab: golem15.sitemap::lang.settings.tab_media
|
|
trigger:
|
|
action: hide
|
|
field: news_enabled
|
|
condition: unchecked
|
|
|
|
_news_sources:
|
|
type: partial
|
|
path: news_sources
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_media
|
|
trigger:
|
|
action: hide
|
|
field: news_enabled
|
|
condition: unchecked
|
|
|
|
indexnow_enabled:
|
|
label: golem15.sitemap::lang.settings.indexnow_enabled
|
|
comment: golem15.sitemap::lang.settings.indexnow_enabled_comment
|
|
type: switch
|
|
default: false
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_indexnow
|
|
|
|
_indexnow_status:
|
|
type: partial
|
|
path: indexnow_status
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_indexnow
|
|
|
|
# No column: the controller lists it in FormVirtualFields and generates
|
|
# a new key on save when it is checked.
|
|
indexnow_new_key:
|
|
label: golem15.sitemap::lang.settings.indexnow_new_key
|
|
comment: golem15.sitemap::lang.settings.indexnow_new_key_comment
|
|
type: checkbox
|
|
default: false
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_indexnow
|
|
trigger:
|
|
action: hide
|
|
field: indexnow_enabled
|
|
condition: unchecked
|
|
|
|
# The address per locale (html_path, an mltext field) is added after
|
|
# this switch by the plugin's form extension, stored in html_paths.
|
|
html_enabled:
|
|
label: golem15.sitemap::lang.settings.html_enabled
|
|
comment: golem15.sitemap::lang.settings.html_enabled_comment
|
|
type: switch
|
|
default: true
|
|
span: full
|
|
tab: golem15.sitemap::lang.settings.tab_html
|
|
|
|
html_page_size:
|
|
label: golem15.sitemap::lang.settings.html_page_size
|
|
comment: golem15.sitemap::lang.settings.html_page_size_comment
|
|
type: number
|
|
default: 150
|
|
span: right
|
|
tab: golem15.sitemap::lang.settings.tab_html
|