RAPP Platform Wiki
v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
|
Rapp News Explorer allows users to search for news articles employing various news search engine APIs. The user can specify the desired news search engine, topics (i.e. sports, economy, headlines, etc.), desired keywords, language/region (can be specified employing RAPP Geolocator), etc. The node returns a list of related articles. The availability of news_explorer services that rely on third party APIs such as Google News are restricted according to the APIs' rules and limitations. Thus, service call failures may exist.
Currently supported News Engines:
EventRegistry does not require login, however it is subjected to daily access restrictions. If you have an EventRegistry account, you should provide the credentials in the file ${HOME}/.config/rapp_platform/api_keys/event_registry
in the format:
``` username password ```
Service URL: /rapp/rapp_news_explorer/fetch_news
Service Type:
NewsExplorerSrv.srv ```
string newsEngine
string[] keywords
string[] excludeTitles
string regionEdition
string topic
int8 storyNum
string error # Error description
rapp_platform_ros_communications/NewsStoryMsg[] stories ``` Available newsEngine values:
NewsStoryMsg.msg ```
string title
string content
string publisher
string publishedDate
string url ```
Launches the rapp_news_explorer node and can be invoked by executing:
roslaunch rapp_news_explorer news_explorer.launch
Service URL: localhost:9001/hop/news_explore
``` Input = { news_engine: '', keywords: [], exclude_titles: [], region: '', topic: '', num_news: 25 } ``` Available news_engine values:
``` Output = { news_stories: [], error: '' } ```