|
|
The SearchEngineSitemap class generates sitemap files that are used by search engines to spider the website.
Syntax
| Smartsite SXML |
|
|---|---|
<se:searchenginesitemap>
<se:parameters>
<se:parameter name="urls">
</se:parameter>
</se:parameters>
</se:searchenginesitemap>
|
|
Parameters
| Name | Data Type | Properties | Description |
|---|---|---|---|
| DefaultPriority | Float | - | Sets the defaultpriority used when no other priority has been specified. |
| GenerateRobotsTxt | Enum | - |
Sets if the robots.txt file should be generated or not.
Enum values:
|
| HostHeader | String | - | Sets the host header that is used for all the urls in the output. |
| Ping | Boolean | - | Sets if search engines should be pinged that a new sitemap is available. |
| SitemapFileName | String | - | Sets the file name of the sitemap files and sitemap index file that are generated. |
| Urls | String |
RawData
IsRequired |
Sets the definition of the url list that will be generated by this macro. |
| UseCompression | Boolean | - | Sets if the generated files should be compressed or not. |
| UserName | String | - | Sets the user account that is used to access files and render pages. |
Shared Parameters
Local Viper Methods
| Viper | Extension | Description |
|---|---|---|
| This.ClearForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |
|
| This.GetForcedResult | Gets the forced result of the macro, set by overriding the normal rendering using SetForcedResult(). | |
| This.RenderTime | ✓ | Returns the render time of the macro in milliseconds. |
| This.SetForcedResult |
Sets the result of the macro. used to override the normal handling of the result creation. |