com.yahoo.search
Interface NewsSearchResult


public interface NewsSearchResult

News search result.

Author:
Ryan Kennedy

Method Summary
 String getClickUrl()
          The URL for linking to the article.
 String getLanguage()
          The language the article is written in.
 String getModificationDate()
          The date the article was last modified, in unix timestamp format.
 String getNewsSource()
          The company that distributed the news article, such as API or BBC.
 String getNewsSourceUrl()
          The URL for the news source.
 String getPublishDate()
          The date the article was first published, in unix timestamp format.
 String getSummary()
          Summary text associated with the article.
 ImageThumbnail getThumbnail()
          The URL of a thumbnail file associated with the article, if present, and its height and width in pixels.
 String getTitle()
          The title of the article.
 String getUrl()
          The URL for the article.
 

Method Detail

getTitle

String getTitle()
The title of the article.

Returns:
The title of the article.

getSummary

String getSummary()
Summary text associated with the article.

Returns:
Summary text associated with the article.

getUrl

String getUrl()
The URL for the article.

Returns:
The URL for the article.

getClickUrl

String getClickUrl()
The URL for linking to the article. See URL linking for more information.

Returns:
The URL for linking to the article.

getNewsSource

String getNewsSource()
The company that distributed the news article, such as API or BBC.

Returns:
The company that distributed the news article, such as API or BBC.

getNewsSourceUrl

String getNewsSourceUrl()
The URL for the news source.

Returns:
The URL for the news source.

getLanguage

String getLanguage()
The language the article is written in.

Returns:
The language the article is written in.

getPublishDate

String getPublishDate()
The date the article was first published, in unix timestamp format.

Returns:
The date the article was first published, in unix timestamp format.

getModificationDate

String getModificationDate()
The date the article was last modified, in unix timestamp format. This field is optional.

Returns:
The date the article was last modified, in unix timestamp format.

getThumbnail

ImageThumbnail getThumbnail()
The URL of a thumbnail file associated with the article, if present, and its height and width in pixels. This field is optional.

Returns:
The URL of a thumbnail file associated with the article, if present, and its height and width in pixels.