public class GoogleNewsSitemapUrl extends WebSitemapUrl
GoogleNewsSitemapUrl.Options
| Modifier and Type | Class and Description |
|---|---|
static class |
GoogleNewsSitemapUrl
Options to configure Google News URLs
|
| Constructor and Description |
|---|
GoogleNewsSitemapUrl(GoogleNewsSitemapUrl
Configures an URL with options
|
GoogleNewsSitemapUrl(String
Specifies an URL and publication date (which is mandatory for Google News)
|
GoogleNewsSitemapUrl(URL
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(URLurl, Date publicationDate)
public GoogleNewsSitemapUrl(Stringurl, Date publicationDate) throws MalformedURLException
MalformedURLException
public GoogleNewsSitemapUrl(GoogleNewsSitemapUrl.Options options)