yacy_search_server/htroot/api/getpageinfo_p.xml
luccioman 0f80c978d6 Limit the number of initially previewed links in crawl start pages.
This prevent rendering a big and inconvenient scrollbar on resources
containing many links.
If really needed, preview of all links is still available with a "Show
all links" button.

Doesn't affect the number of links used once the crawl is effectively
started, as the list is then loaded again server-side.
2017-06-17 09:33:14 +02:00

31 lines
711 B
XML

<?xml version='1.0' encoding="UTF-8" standalone='yes'?>
<pageinfo>
<title>#[title]#</title>
<desc>#[desc]#</desc>
<lang>#[lang]#</lang>
<robots>#(robots-allowed)#0::1::#(/robots-allowed)#</robots>
<robotsInfo>#[robotsInfo]#</robotsInfo>
#{sitemaps}#
<sitemap>#[sitemap]#</sitemap>
#{/sitemaps}#
<icons>
#{icons}#
<icon>#[icon]#</icon>
#{/icons}#
</icons>
<sitelist>#[sitelist]#</sitelist>
<filter>#[filter]#</filter>
<tags>
#{tags}#
<tag name="#[tag]#" />
#{/tags}#
</tags>
<links>
#{links}#
<link name="#[link]#" />
#{/links}#
</links>
<hasMoreLinks>#(hasMoreLinks)#false::true#(/hasMoreLinks)#</hasMoreLinks>
<oai>#[oai]#</oai>
</pageinfo>