Indigestion+ generates a periodic digest from different customisable feed sources.
At the moment, Indigestion+ allows only one feed per service via the administration panel, and there is no simple way to duplicate accounts. Expert users may attempt to work around this issue by adding new instances to the plugin source files. In order to do so, follow these steps:
$this->class_loader();near the start of the file and add new instances for the services you want to duplicate immediately below:
$this->feeds = new IPlusDelicious( 'Delicious 2', 'delicious-2' ); // Example duplicate Delicious account
$this->feeds = new IPlusCustom( 'Custom Feed 2', 'custom-2' ); // Example duplicate custom source
The first parameter is a user friendly name for the feed, which can be anything you like, while the second should be a unique identifier used by the plugin to store your feed options.
Users looking to make their own feed handlers should create a new class that inherits from
IPlusSuper (found in
indigestion-plus-super.php), which offers several useful methods that you can use, and a few others that should be redefined to suit your specific needs:
get_feed_url(): Returns the feed URL to fetch based on user options (required)
print_options(): Prints the administration panel for your feed (optional)
get_item_html(): Customize how feed items are displayed in the digest (optional)