HungryFEED Plugin for WordPress
HungryFEED is one of my favorite RSS plugins for WordPress. Read more about RSS here but to sum it up: it’s a simple way for people to get updates from websites about topics that interest them. WordPress has RSS built-in, so you don’t need a plugin for that. HungryFEED works the opposite way. It pulls IN RSS feeds from other websites providing content snippets and links to your visitors that can enhance the value of your pages.
Unlike other RSS feed plugins, HungryFEED doesn’t create new content posts with copied content. Instead, it enhances your unique content with related or targeted stories.
HungryFEED was designed and developed by Jason Hinkle and you can still support his favorite charity, https://www.smiletrain.org/. Since this plugin is no longer in active development, using it may mean it will not be supported by future WordPress updates.
Unfortunately, the official HungryFEED plugin page on WordPress.org has been deleted – and the plugin download page with it. This plugin rocks so much I decided to recreate the page and let you download the plugin here.
Download HungryFeed for WordPress
Review the plugin documentation below for how to install and use it on your site.
Instead of using the same feed on every page with the same content, I wrote a few lines of PHP to make the feed unique and relevant to each page:
$search = get_the_title(); This grabs the WordPress title of the page we're on echo do_shortcode( "(add a bracket)hungryfeed url='http://news.google.com/news?pz=1&cf=all&ned=us&hl=en&q=\"$search\"&output=rss' max_items=3 link_target='_blank' item_fields='description' feed_fields='description']" ); // This code injects the shortcode that is normally static with dynamic info found in the title; my RSS feed location is Google news, which replaces the search string with the title of my article to produce a feed relevant to what the user is reading
If you’re not that familiar with editing templates you can still make this happen by using the code above in a plugin like Ad Inserter.
This is the last-known documentation on the HungryFEED plugin in its entirety.
HungryFEED allows you to embed and display an RSS feed inline on your posts, pages or sidebar by adding a Shortcode. Usage is easy, just use the following shortcode:
hungryfeed url=”http://verysimple.com/feed/” in brackets
- Uses WordPress Shortcodes to embed RSS feeds on any page, post or sidebar widget
- Has a variety of parameters to filter and format the feed
- Relies on WordPress built-in SimplePie for processing RSS data
- Fixes characters in URLs that may get mangled when editing in Visual mode
- Caches feeds and allows configuration of the cache expiration
- Outputs clean, HTML for easy styling with a CSS configuration setting
- Allows you to customize the HTML using templates
- Allows filtering of items in the RSS feed based on keywords
- Allows feed pagination
- url: (required) The URL to a valid RSS feed is the only required parameter. This URL must contain a valid RSS feed. If this parameter is omitted, the verysimple.com RSS feed will display instead.
- max_items: The maximum number of items to display (0 = unlimited)
- feed_fields: The feed field are the main title and description that may be provided for an RSS feed. You may specify a comma-separated list of fields to show for the feed. Valid values are title, description. Example: feed_fields=”title,description” if you do not wish to see any of them, you may specify an empty value (feed_fields=””)
- item_fields: A comma-separated list of fields to show for each item. Each item in the field has various fields that can be displayed. Valid values are title,description,author, and date. Example: item_fields=”title,author,date” (Note: this parameter is ignored if you specify a template)
- link_item_title: Set to 1 or 0 to enable/disable the title link. (Note: this parameter is ignored if you specify a template)
- link_target: (added in version 1.3.6) Specify the target for a link, for example to open feed links in a new window. Example: link_target=”_blank” (Note: this parameter is ignored if you specify a template)
- date_format: Date format string for the post date. Valid values are anything acceptable by PHP’s date function. Example: date_format=”Y-m-d”
- template: (added in version 1.3.0) This can be set to 1,2 or 3 and instead of the default HTML output, HungryFEED will use Custom Template 1,2 or 3 (which you can edit in HungryFEED settings) to display the feed. This allows you to fully customize the way the RSS is displayed.
- allowed_tags: (added in version 1.3.3) Use this parameter to strip HTML tags from the RSS Description field. You can specify the HTML tags that are allowed (will not be stripped) by separating them with a comma. For example: allowed_tags=”p,br,a” will strip everything except paragraph marks, line breaks and links.
- strip_ellipsis: (added in version 1.3.4) Set this parameter to any value to strip the ellipsis that is added to the end of posts in certain RSS feeds. Example: strip_ellipsis=”1″
- truncate_description: (added in version 1.4.2) Set this parameter to a numeric value to truncate the description field to the specified number of characters. Example: truncate_description=”150″
- filter: (added in version 1.3.5) Specify filter text to include only feed items that contain that text in either the subject or description. Example: filter=”free” As of version 1.4.1 you can specify multiple filter terms separated with a pipe, for example: filter=”free|phone|computer”
- filter_out: (added in version 1.4.5) Specify filter text to exclude feed items that contain that text in either the subject or description. Example: filter=”free” You can specify multiple filter terms separated with a pipe, for example: filter=”free|iphone|computer”
- page_size: (added in version 1.3.6) If the RSS feed has a lot of items you can split them up into multiple pages with a previous/next navigation links. Example: page_size=”10″ (This is beta because I don’t know how it will react with various permalink configurations. Please post a comment if you find any problems). Multiple paginated feeds on one page is not supported. It is highly recommended that you have correctly configured caching if you are using pagination.
- order: (added in version 1.4.4) Specify an alternate order for the items in the feed. Allowed values are “reverse” “random” and “none” (none added in version 1.5.6). example: order=”reverse”
Debugging parameters may be used to diagnose problems with a feed. You can use these to force HungryFEED to process your url and display the raw output as it is received.
- force_feed: If the server does not send the appropriate HTTP headers when outputting the RSS feed, it may not be properly detected as XML. However you can specify force_feed=”1″ to force HungryFEED to parse the feed anyway. If you set this to true, you may see XML errors.
- decode_url: HungryFEED attempts to decode the feed URL in order to strip out any formatting that the WordPress visual editor may have added. If your URL is getting mangled, you can set decode_url=”0″ to disable this behavior.
- xml_dump: If you have exhausted all troubleshooting options and cannot get a feed to display, you can set xml_dump=”1″ and whatever is being retrieved from the feed server will be output to the browser. WARNING: This may cause your browser to freak out! You will have to look at the page source to make sense of the output. This can be helpful to see what is being returned from the feed URL in it’s raw form.