public class GoogleNewsSitemapUrl extends WebSitemapUrl
GoogleNewsSitemapUrl.OptionsGoogleNewsSitemapUrl.Options,
Creating a News Sitemap| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleNewsSitemapUrl.Options
Options to configure Google News URLs
|
| Constructor and Description |
|---|
GoogleNewsSitemapUrl(GoogleNewsSitemapUrl.Options options)
Configures an URL with options
|
GoogleNewsSitemapUrl(String url,
Date publicationDate)
Specifies an URL and publication date (which is mandatory for Google News)
|
GoogleNewsSitemapUrl(URL url,
Date publicationDate)
Specifies an URL and publication date (which is mandatory for Google News)
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKeywords()
Retrieves the list of comma-delimited keywords
|
Date |
getPublicationDate()
Retrieves the publication date
|
getChangeFreq, getLastMod, getPriority, getUrlpublic GoogleNewsSitemapUrl(URL url, Date publicationDate)
public GoogleNewsSitemapUrl(String url, Date publicationDate) throws MalformedURLException
MalformedURLExceptionpublic GoogleNewsSitemapUrl(GoogleNewsSitemapUrl.Options options)
Copyright © 2015. All rights reserved.