Displays news items from selectable Send2Press RSS feeds, inline, as a widget or in a theme. Multiple feeds allowed. Local caching.
Send2Press Newswire is a press release promotion service. They provide RSS feeds of all their news, and currently there are about 90 different feeds available. This plugin allows easy access to those feeds on your WordPress blog. Either as simple headline links or complete with a 5-10 line summary. CSS can be used to tailor the look and feel.
Please note that even though can do whatever you want with this plugin, including jumping up and down on it or feeding it to your hamster, there are restrictions on how you can use Send2Press Newswire content and trademarks. So please read the terms of service carefully before using this plugin, either on the web at http://feeds.send2press.com/terms.shtml or the included text file termsofuse.txt.
This plugin works both as a widget, as inline content replacement and can be called from themes. Any number of inline replacements or theme calls allowed, but only one widget instance is supported in this release.
For widget use, simply use the widget as any other after selecting which feed it should display. For inline content replacement, insert the one or more of the following strings in your content and they will be replaced by the relevant news feed. For theme use, add the do_action function call described below.
<!--send2press-->for the default feed
Shortcodes can be used if you have WordPress 2.5 or above, in which case these replacement methods are also available.
[send2press]for the default feed
Calling the plugin from a theme is done with the WP do_action() system. This will degrade gracefully and not produce errors or output if plugin is disabled or removed.
<?php do_action('google_news'); ?>for the default feed
<?php do_action('google_news', 'feedname'); ?>
Enable plugin, go to the Send2Press page under Dashboard->Settings and read the initial information. Then go to the Send2Press page under Dashboard->Manage and configure one or more feeds. Then use a widget or insert relevant strings in your content or theme.
The available options are as follows.
Name: Optional feed name, that can be used in the widget or the inline replacement string to reference a specific feed. Any feed without a name is considered "default" and will be used if the replacement strings do not reference a specific feed. If there are more than one feed with the same name, a random of these is picked every time it is used. This also applies to the default feed(s).
Title: Optional, which when set will be used in the widget title or as a header above the news items when inline. If the title is empty, then a default title of "Send2Press : <feed type>" is used.
News type: The big dropdown list, with all available feeds from Send2Press.
Output Type: Links only, or complete with summary.
Max items to show: How many items from the feed to show, 0 for all. The default is 10 items.
Cache time: The feeds are fetched using WordPress builtin MagpieRSS system, which allows for caching of feeds a given amount of time. Cached feeds are stored in the backend database. There is a lower limit of two hours imposed by Send2Press, but you can set it to something higher. Cache time is in minutes.
If you want to change the look&feel, the inline table is wrapped in a div with the id "send2press-inline" and the widget is wrapped in an li with id "send2press". Let me know if you need more to properly skin it.
Requires: 2.3.3 or higher
Compatible up to: 2.7
Last Updated: 7 years ago
Active Installs: 20+
Got something to say? Need help?