[CDB] Feed post bot

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
PaulusB
Registered User
Posts: 214
Joined: Sun May 28, 2006 2:08 pm
Location: Holland
Contact:

Re: [ALPHA] Simple RSS post bot

Post by PaulusB » Tue Feb 28, 2017 1:54 pm

Code: Select all

1488286714
first

Code: Select all

a:2:{i:0;a:6:{s:3:"url";s:35:"http://nieuws.volksw...
second

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Tue Feb 28, 2017 1:56 pm

PaulusB wrote:
Tue Feb 28, 2017 1:54 pm

Code: Select all

1488286714
first
That's OK and means it will run again soon.

Code: Select all

a:2:{i:0;a:6:{s:3:"url";s:35:"http://nieuws.volksw...
second
That can't be the complete value, it's trimmed by your DM admin client. I need the complete value.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
PaulusB
Registered User
Posts: 214
Joined: Sun May 28, 2006 2:08 pm
Location: Holland
Contact:

Re: [ALPHA] Simple RSS post bot

Post by PaulusB » Tue Feb 28, 2017 2:05 pm

Code: Select all

a:2:{i:0;a:6:{s:3:"url";s:35:"http://nieuws.volkswagen.nl/feed/nl";s:4:"name";s:35:"http://nieuws.volkswagen.nl/feed/nl";s:8:"forum_id";i:47;s:7:"user_id";s:1:"2";s:7:"timeout";i:5;s:6:"latest";a:3:{s:4:"link";s:125:"http://nieuws.volkswagen.nl/het-aftellen-is-begonnen-wereldpremiere-volkswagen-arteon-op-internationale-autosalon-van-geneve/";s:7:"pubDate";s:31:"Thu, 23 Feb 2017 11:39:12 +0100";s:4:"guid";s:125:"http://nieuws.volkswagen.nl/het-aftellen-is-begonnen-wereldpremiere-volkswagen-arteon-op-internationale-autosalon-van-geneve/";}}i:1;a:6:{s:3:"url";s:51:"http://www.autoblog.com/category/volkswagen/rss.xml";s:4:"name";s:51:"http://www.autoblog.com/category/volkswagen/rss.xml";s:8:"forum_id";i:47;s:7:"user_id";s:1:"2";s:7:"timeout";i:5;s:6:"latest";a:3:{s:4:"link";s:79:"http://www.autoblog.com/2017/02/24/autoblog-podcast-505-lazy-badge-engineering/";s:7:"pubDate";s:29:"Fri, 24 Feb 2017 15:31:00 EST";s:4:"guid";s:79:"http://www.autoblog.com/2017/02/24/autoblog-podcast-505-lazy-badge-engineering/";}}}

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Tue Feb 28, 2017 2:13 pm

Seems like you didn't delete the extension data earlier, or something didn't work properly there. You sure that you have installed the latest version?

If so, please run:

Code: Select all

UPDATE `phpbb_config_text` SET `config_value`='a:2:{i:0;a:6:{s:3:\"url\";s:35:\"http://nieuws.volkswagen.nl/feed/nl\";s:4:\"name\";s:35:\"http://nieuws.volkswagen.nl/feed/nl\";s:8:\"forum_id\";i:47;s:7:\"user_id\";s:1:\"2\";s:7:\"timeout\";i:5;s:6:\"latest\";a:3:{s:4:\"link\";s:0:\"\";s:7:\"pubDate\";s:0:\"\";s:4:\"guid\";s:0:\"\";}}i:1;a:6:{s:3:\"url\";s:51:\"http://www.autoblog.com/category/volkswagen/rss.xml\";s:4:\"name\";s:51:\"http://www.autoblog.com/category/volkswagen/rss.xml\";s:8:\"forum_id\";i:47;s:7:\"user_id\";s:1:\"2\";s:7:\"timeout\";i:5;s:6:\"latest\";a:3:{s:4:\"link\";s:0:\"\";s:7:\"pubDate\";s:0:\"\";s:4:\"guid\";s:0:\"\";}}}' WHERE `config_name`='ger_simple_rss_current_state';
and

Code: Select all

UPDATE `phpbb_config` SET `config_value` = 1488286800 WHERE config_name = 'simplerss_cron_last_run';
Purge your cache afterwards. Cron should run now.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
PaulusB
Registered User
Posts: 214
Joined: Sun May 28, 2006 2:08 pm
Location: Holland
Contact:

Re: [ALPHA] Simple RSS post bot

Post by PaulusB » Tue Feb 28, 2017 2:55 pm

I deleted also the data on the extension page. I did your MySQL lines and the auto blog is working but the Volkswagen.nl RSS feed not.

For so far we are making progress :mrgreen:

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Tue Feb 28, 2017 3:18 pm

I do get 25 messages properly posted on my local dev forum from volkswagen.nl...
But, the guid check seems to fail partly though. I patched it on Github, you might want to install the newest version. Also please delete and re-add the feed entry for volkswagen.nl (autoblog feed can remain intact).
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

Re: [ALPHA] Simple RSS post bot

Post by lifeguard81 » Tue Feb 28, 2017 3:44 pm

Ger you doing a great job!

I like this mod, and use it realy much on a phpBB 2. X forums :)
Good to see you make it now for 3.2

Keep up this job!
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

User avatar
PaulusB
Registered User
Posts: 214
Joined: Sun May 28, 2006 2:08 pm
Location: Holland
Contact:

Re: [ALPHA] Simple RSS post bot

Post by PaulusB » Tue Feb 28, 2017 5:17 pm

It looks like its working now. Great mod to get some diversity on my forum so search engines get some extra things to crawl.

Thanks for the help looking out for the update's

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Wed Mar 01, 2017 8:00 am

Great. :)
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

Re: [ALPHA] Simple RSS post bot

Post by lifeguard81 » Wed Mar 01, 2017 2:03 pm

Ger, does it work good with php7?
Did you test it?
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Wed Mar 01, 2017 2:04 pm

PaulusB has, apparently. ;)
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

User avatar
PaulusB
Registered User
Posts: 214
Joined: Sun May 28, 2006 2:08 pm
Location: Holland
Contact:

Re: [ALPHA] Simple RSS post bot

Post by PaulusB » Wed Mar 01, 2017 2:59 pm

Yes it works on PHP 7.1

lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

Re: [ALPHA] Simple RSS post bot

Post by lifeguard81 » Wed Mar 01, 2017 5:36 pm

PaulusB wrote:
Wed Mar 01, 2017 2:59 pm
Yes it works on PHP 7.1
Nice! thanks for your answer.
is it possible to change the amount of posts? now its 50? i like to have the 10 latest or something
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!

User avatar
Ger
Recognised Extension Developer
Posts: 1845
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [ALPHA] Simple RSS post bot

Post by Ger » Wed Mar 01, 2017 6:26 pm

I haven't thought of that, but how would you want this to work? 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.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:
-Available for custom work-

El_Lagarto
Registered User
Posts: 43
Joined: Tue Apr 08, 2014 1:21 pm

Re: [ALPHA] Simple RSS post bot

Post by El_Lagarto » Thu Mar 02, 2017 2:12 pm

If I try to fetch feeds manually, I get the following error:

Code: Select all

Fatal error: Call to a member function add() on a non-object in /forum/ext/ger/simplerss/classes/driver.php on line 311

Locked

Return to “Extensions in Development”