| Server IP : 185.208.173.17 / Your IP : 87.236.161.98 Web Server : Microsoft-IIS/10.0 System : Windows NT SRV8576125506 10.0 build 26100 (Windows Server 2016) AMD64 User : IUSR ( 0) PHP Version : 7.4.13 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /inetpub/wwwroot/parsmega.nuxt/node_modules/sitemap/dist/lib/ |
Upload File : |
import { XMLElement } from 'xmlbuilder';
import { IVideoItem, SitemapItemOptions, ErrorLevel } from './types';
/**
* Item in sitemap
*/
export declare class SitemapItem {
conf: SitemapItemOptions;
root: XMLElement;
loc: SitemapItemOptions["url"];
lastmod: SitemapItemOptions["lastmod"];
changefreq: SitemapItemOptions["changefreq"];
priority: SitemapItemOptions["priority"];
news?: SitemapItemOptions["news"];
img?: SitemapItemOptions["img"];
links?: SitemapItemOptions["links"];
expires?: SitemapItemOptions["expires"];
androidLink?: SitemapItemOptions["androidLink"];
mobile?: SitemapItemOptions["mobile"];
video?: SitemapItemOptions["video"];
ampLink?: SitemapItemOptions["ampLink"];
url: XMLElement;
constructor(conf: SitemapItemOptions, root?: XMLElement, level?: ErrorLevel);
/**
* For creating standalone sitemap entries
* @param {SitemapItemOptions} conf sitemap entry options
* @param {ErrorLevel} [level=ErrorLevel.WARN] How to handle errors in data passed in
* @return {string} the entry
*/
static justItem(conf: SitemapItemOptions, level?: ErrorLevel): string;
/**
* Create sitemap xml
* @return {String}
*/
toXML(): string;
/**
* Builds just video element
* @param {IVideoItem} video sitemap video configuration
*/
buildVideoElement(video: IVideoItem): void;
/**
* given the passed in sitemap item options builds an internal xml structure
* @returns the XMLElement built
*/
buildXML(): XMLElement;
/**
* Builds and stringifies the xml as configured by constructor
* @return {String} the item converted to a string of xml
*/
toString(): string;
}