[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/feedpostbot/classes/driver.php on line 73: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
Thanks for reporting. I have fixed this in the latest download version (check Github).sysz wrote: ↑Thu Aug 31, 2017 5:28 am Got this error on a freshly installed phpbb 3.2.1
[phpBB Debug] PHP Warning: in file [ROOT]/ext/ger/feedpostbot/classes/driver.php on line 73: Invalid argument supplied for foreach()
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
[phpBB Debug] PHP Warning: in file [ROOT]/includes/functions_acp.php on line 137: Cannot modify header information - headers already sent by (output started at [ROOT]/includes/functions.php:3262)
The Feed post bot just fetches everything that's offered in the feeds you added to the list and is newer than the latest entry previously fetched. Most feeds don't offer their entire history though, but just the latest n items.
Could you please help add this feature?
I think I don't really understand. When it comes to fetch more items, it's simply impossible if the feed doesn't offer more; e.g. what doesn't exist cannot be fetched. When it comes to fetching less items, it seems pretty illogical; usually when you track a feed, you'd want to fetch all items. Just fetching a couple of them seems a bit random to me.
Am not talking about fetching more. Am talking about fetching less.Ger wrote: ↑Thu Aug 31, 2017 11:27 am I think I don't really understand. When it comes to fetch more items, it's simply impossible if the feed doesn't offer more; e.g. what doesn't exist cannot be fetched. When it comes to fetching less items, it seems pretty illogical; usually when you track a feed, you'd want to fetch all items. Just fetching a couple of them seems a bit random to me.
If this isn't what you mean, than by all means elaborate.
Interval for processing feeds (seconds)
(default 1800 seconds).Why not look at it from another perspective. In a scenario where you are fetching feeds from about 10 source. How do you cope if those 10 sources release about 2 post each time?Ger wrote: ↑Thu Aug 31, 2017 2:15 pm Hmmm... My first reaction would be that such a limit is against the whole idea of feeds, which is to keep track of every item. Most feeds offer only a couple of new items each hour, many just a couple of items each week.
If you are tracking a feed that puts it's entire history in, than it would be very slow on first fetch (possibly leading to a time-out) but that's not really what feeds are intended to do. But even then; after the first fetch the extension only posts new items. And the slowness will stay since the extension needs to check every item in given feed for identifiers or the timestamp to decide whether or not to post it to your board.
If you have too much items per batch, you can decide to lower the cron interval so the extension will process the feeds more frequently. Each time it runs, you'll have less new items probaly. It's the optionInterval for processing feeds (seconds)
(default 1800 seconds).
It's a forum not a blog. Other users post should also be relevant.
Despite the feed having over 10 feeds, the bot pulls just 5 like i said earlier.scriptman wrote: ↑Thu Aug 31, 2017 7:22 pmIt's a forum not a blog. Other users post should also be relevant.
That's where the problem comes in.
Although i have a solution i use by limiting the rss feed posts before using the output link on Feed Post Bot. But it would be nice to do it directly on ACP.
You can set it to post manually when you go into ACP and manually tell it to go grab the feed and post or by adjusting the auto-posting interval in the "Interval for processing feeds (seconds):" box. 1800 seconds (default is every 30 minutes, you can change this so that it checks and post more or less often).Thunder_one wrote: ↑Sat Sep 02, 2017 7:13 pm Hi
Sorry for my english. I do not understand so well.
Question
Can this be adjusted at what intervals he should download the feeds and post into the forum?
Many Thanks