{"id":8311,"date":"2010-03-03T15:06:31","date_gmt":"2010-03-03T15:06:31","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/nevistas-news\/"},"modified":"2010-06-07T17:35:46","modified_gmt":"2010-06-07T17:35:46","slug":"nevistas-news","status":"publish","type":"plugin","link":"https:\/\/en-gb.wordpress.org\/plugins\/nevistas-news\/","author":5836656,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1","stable_tag":"trunk","tested":"2.9.2","requires":"2.3.3","requires_php":"","requires_plugins":"","header_name":"NevistasNews","header_author":"Hotel News Resource","header_description":"","assets_banners_color":"","last_updated":"2010-06-07 17:35:46","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"http:\/\/www.hotelnewsresource.com\/Info-wordpress.html","header_author_uri":"http:\/\/www.hotelnewsresource.com\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":2730,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":[],"screenshots":{"1":"screenshot_1.png","2":"screenshot_1.png"}},"plugin_section":[],"plugin_tags":[45523,45522,1248,162],"plugin_category":[43],"plugin_contributors":[96615],"plugin_business_model":[],"class_list":["post-8311","plugin","type-plugin","status-publish","hentry","plugin_tags-airline-news","plugin_tags-nevistas","plugin_tags-news","plugin_tags-widget","plugin_category-customization","plugin_contributors-twahl","plugin_committers-twahl"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/nevistas-news.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Nevistas has a number of RSS feeds with current news available, on a \nnumber of topics including airline industry news, \ncruise industry news, hotel industry news, gaming industry news, \notel industry news, restaurant industry news, travel industry news, \ntravel comsumer news and yoga news.<\/p>\n\n<p>This widget allows the WP admin to select which\nfeed, how many items to show from that feed and optionally set a \nwidget title. If no title is selected, the name of the feed is \nused. The feed is fetched for every view, so users are guaranteed\nup to date information. No local storage of feed is done.\nClicking on a news item will of course take you straight to the\nrelevant article on the relevant Nevistas web site.<\/p>\n\n<p>This plugin works both as a widget, as inline content\nreplacement and can be called from themes. Any number of \ninline replacements or theme calls allowed, but only one \nwidget instance is supported in this release.<\/p>\n\n<p>IMPORTANT - in order to call content you need to\nfirst setup feeds in the Settings -&gt; Nevistas News administration\narea.<\/p>\n\n<p>Leave the Key field blank, and select your default feed from the \nFeed pulldown menu and click save.<\/p>\n\n<p>WIDGET\nFor widget use, simply use the widget as any other after\nselecting which feed it should display.<\/p>\n\n<p>For INLINE CONTENT replacement, insert the one or more of \nthe following strings in your content and they will be replaced by the relevant news feed.\nFor theme use, add the do_action function call described below.<\/p>\n\n<ol>\n<li><strong><code>&lt;!--nevistas_news--&gt;<\/code><\/strong> for the default feed<\/li>\n<li><strong><code>&lt;!--nevistas_news#feedname--&gt;<\/code><\/strong><\/li>\n<\/ol>\n\n<p>Shortcodes can be used if you have WordPress 2.5 or above,\nin which case these replacement methods are also available.<\/p>\n\n<ol>\n<li><strong><code>[nevistas_news]<\/code><\/strong> for the default feed<\/li>\n<li><strong><code>[nevistas_news name=\"feedname\"]<\/code><\/strong><\/li>\n<\/ol>\n\n<p>PLUGIN\nCalling the plugin from a theme is done with the WP do_action()\nsystem. This will degrade gracefully and not produce errors\nor output if plugin is disabled or removed.<\/p>\n\n<ol>\n<li><strong><code>&lt;?php do_action('nevistas_news'); ?&gt;<\/code><\/strong> for the default feed<\/li>\n<li><strong><code>&lt;?php do_action('nevistas_news', 'feedname'); ?&gt;<\/code><\/strong><\/li>\n<\/ol>\n\n<p>Enable plugin, go to the Nevistas News page under \nDashboard-&gt;Settings and read the initial information. Then \ngo to the Nevistas News page under Dashboard-&gt;Manage and \nconfigure one or more feeds. Then use a widget or insert\nrelevant strings in your content or theme.<\/p>\n\n<p>Additional information:<\/p>\n\n<p>The available options are as follows.<\/p>\n\n<p><strong>Name:<\/strong> Optional feed name, that can be used in the \nwidget or the inline replacement string to reference\na specific feed. Any feed without a name is considered\n\"default\" and will be used if the replacement strings do\nnot reference a specific feed. If there are more than\none feed with the same name, a random of these is picked\nevery time it is used. This also applies to the default\nfeed(s).<\/p>\n\n<p><strong>Title:<\/strong> Optional, which when set will be used in the\nwidget title or as a header above the news items when \ninline. If the title is empty, then a default title\nof \"Nevistas News : &lt;region&gt; : &lt;feed type&gt;\" is used.<\/p>\n\n<p><strong>Feed:<\/strong> A dropdown list of the current feeds provided\nby Nevistas. This list is hard coded into the plugin, presumably\nNevistas does not change the list too often.<\/p>\n\n<p><strong>News item length:<\/strong> Short or long. The short version is really just \nthe news item title as a one liner but probably the one most \nWP admins will use. The long version is the title followed by\na 3-4 line teaser. For the short version, the long text is \navailable as a mouse rollover\/tooltip.<\/p>\n\n<p><strong>Max items to show:<\/strong> As the title says, if the feed has\nsufficient entries to fulfil the request.<\/p>\n\n<p><strong>Cache time:<\/strong> The feeds are now fetched using WordPress \nbuiltin MagpieRSS system, which allows for caching of feeds\na specific number of seconds. Cached feeds are stored in\nthe backend database.<\/p>\n\n<p>If you want to change the look&amp;feel, the inline table is \nwrapped in a div with the id \"nevistas_news-inline\" and the\nwidget is wrapped in an li with id \"nevistas_news\". Let me \nknow if you need more to properly skin it.<\/p>\n\n<p><strong><a href=\"http:\/\/nevistas.com\/wordpress\/download.php?f=nevistasnews.zip\">Download now!<\/a><\/strong><\/p>\n\n<p><a href=\"http:\/\/www.hotelnewsresource.com\/FBack-index.html\">Support<\/a><\/p>\n\n<!--section=installation-->\n<p>This section describes how to install the plugin and get it working.<\/p>\n\n<ol>\n<li>Unzip into the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate the plugin through the Dashboard-&gt;Plugins admin menu.<\/li>\n<li>Set parameters - See Nevistas News configuation pages under Dashboard-&gt;Settings.<\/li>\n<li>Activate the widget under Dashboard-&gt;Manage and on the widget page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Do you provide an API for your feeds<\/dt>\n<dd><p>Yes we do. Please call 416-840-6565 to receive a Developer API key<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<ol>\n<li>1.0 Initial release<\/li>\n<li>1.1 Fixed incorrect tools url<\/li>\n<\/ol>\n\n<p>Known bugs:\n  - None at this time<\/p>","raw_excerpt":"Displays news items from selectable Nevistas News RSS feeds, inline, as a widget or in a theme. Multiple feeds allowed. Caching.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/8311","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=8311"}],"author":[{"embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/twahl"}],"wp:attachment":[{"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=8311"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=8311"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=8311"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=8311"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=8311"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/en-gb.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=8311"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}