Tiny Tiny RSS: Community

[Plugin Update] - FeedIron v1.30

Hello everyone. I’ve done another major update for the plugin FeedIron. This update is mostly structural changes as I’m trying to Modularize things and reduce the amount of spaghetti code.

However I have moved the community submitted recipes to a separate repository. As the plugin uses the Github API this will affect current and old versions of the plugin once I fully remove the recipes from the main repo. I plan to do this early next year.

You will either need to update or edit the following line in RecipeManager.php

private $recipes_location = array(array("url"=>"https://api.github.com/repos/m42e/ttrss_plugin-feediron/contents/recipes", "branch"=>"master"), array("url"=>"https://api.github.com/repos/mbirth/ttrss_plugin-af_feedmod/contents/mods", "branch"=>"master"));


private $recipes_location = array(array("url"=>"https://api.github.com/repos/feediron/feediron-recipes/contents/general", "branch"=>"master"), array("url"=>"https://api.github.com/repos/mbirth/ttrss_plugin-af_feedmod/contents/mods", "branch"=>"master"));

Here is hoping I haven’t made too much of a mess!

I updated yesterday to 1.30 and I am getting some warnings since than:
E_WARNING (2) plugins.local/feediron/init.php:87
E_WARNING (2) plugins.local/feediron/init.php:364
Use of undefined constant VERSION - assumed ‘VERSION’ (this will throw an Error in a future version of PHP)

  1. plugins.local/feediron/init.php(364): ttrss_error_handler(2, Use of undefined constant VERSION - assumed ‘VERSION’ (this will throw an Error in a future version of PHP), plugins.local/feediron/init.php, 364, Array)


E_DEPRECATED (8192) plugins.local/feediron/init.php:88
strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior

  1. plugins.local/feediron/init.php(88): strpos(, )

I guess there could be an relation to the latest TT-RSS commits regarding version handling.

Debian PHP 7.3.11-1

Thanks for that, I had somehow missed that one. I’ve pushed a fix for the version issue to the git repo

That fixed it, Thank You

There is no RecipeManager.php, in the v1.30 or master branch?

It’s located in the bin folder and since been renamed to fi_recipe_manager.php

If you have the latest master you shouldn’t need to modify anything