[ABD] lastRSS autoposting bot MOD (0.1.4)

Any abandoned MODs will be moved to this forum.

WARNING: MODs in this forum are not currently being supported or maintained by the original MOD author. Proceed at your own risk.
Forum rules
IMPORTANT: MOD Development Forum rules

WARNING: MODs in this forum are not currently being supported nor updated by the original MOD author. Proceed at your own risk.
Locked
User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by jmaraujo » Mon Oct 06, 2008 11:53 pm

Wow! Excellent news!!! Congratulations, Smix! :D

zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by zyx6789 » Tue Oct 07, 2008 1:59 am

Does this mod allows manual posting? Like "post latest message" or "post 3 latest messages" etc.

Say if I want to monitor the rss and post only interesting messages from time to time. I used to do it with FIND mod for phpbb2, is it possible with lastRSS?

jmaraujo: looks like we are after the same mods ;)

stevefree
Registered User
Posts: 49
Joined: Tue Apr 27, 2004 8:21 pm
Location: http://www.petpost.org
Contact:

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by stevefree » Tue Oct 07, 2008 3:46 am

Smix wrote:I´m proudly announcing, that I´ve really fixed the CDATA tag bug ... (Please don´t ask me, where was the bug :oops: :lol: )
Also the other inserting bugs was probably fixed and soonly you can await a new version of both my mods ...
Great news. I've been waiting on this to move over to phpbb3 from phpbb2 so that sounds like VERY good news to me :)

simvader
Registered User
Posts: 144
Joined: Thu Sep 06, 2007 5:54 pm
Location: Netherlands
Contact:

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by simvader » Tue Oct 07, 2008 7:11 am

I can't wait! when does this MOD go to BETA? :)

User avatar
PrattP
Registered User
Posts: 147
Joined: Sun Oct 21, 2007 6:26 am
Contact:

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by PrattP » Tue Oct 07, 2008 7:57 am

Smix wrote:I´m proudly announcing, that I´ve really fixed the CDATA tag bug ... (Please don´t ask me, where was the bug :oops: :lol: )
Also the other inserting bugs was probably fixed and soonly you can await a new version of both my mods ...

Awesome! Great work Smix!

Can't wait for its release!

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by Smix » Tue Oct 07, 2008 9:13 am

simvader wrote:I can't wait! when does this MOD go to BETA? :)
Hello,
This mod become beta when I´ll say :lol: (joke) ... This mod become beta when it will fully working and possibly all functions will be introduced and will work correctly ... Next release is 0.1.2 (possibly fixes all bugs) ...

Roadmap :
  • 0.1.2
    • bugfixes
    • MODX
  • 0.2.0
    • changes in db structure
    • auto approve / manual approve (based on user´s permissions)
    • set poster for feed
    • posting templates
  • 0.3.0 (after all bugs from previous will be fixed) (possible BETA)
    • ACP
edit :
zyx6789 wrote:Does this mod allows manual posting? Like "post latest message" or "post 3 latest messages" etc.

Say if I want to monitor the rss and post only interesting messages from time to time. I used to do it with FIND mod for phpbb2, is it possible with lastRSS?
Hello,
This mod is automatic (that´s why I call it a bot) and he´s checking the feed once per time you´ll set for the feed. It´s posting 5 latest - you can change this behavior through SQL - table phpbb_config (don´t forget to purge cache) ...

Code: Select all

'lastrss_ap_items_limit', '5', 0
You can also make rights for your bot mod (and do a very small change in the bot itself - it´s actually autoapproving topics - but in future versions, it will be managed through ACP), to post all topics and approve only the topics, you´ll like ... But the bot will always try to post latest "5" items from the feed ...
Last edited by Smix on Tue Oct 07, 2008 5:04 pm, edited 1 time in total.

madtay
Registered User
Posts: 328
Joined: Tue Jun 27, 2006 10:27 pm
Contact:

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by madtay » Tue Oct 07, 2008 10:10 am

Great news Smix :D looking forward to the new release

Auden
Registered User
Posts: 34
Joined: Tue Mar 04, 2008 8:13 pm

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by Auden » Tue Oct 07, 2008 11:05 am

Great news !!!

Thanks for this wonderful mod :-)

zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by zyx6789 » Tue Oct 07, 2008 2:39 pm

You can also make rights for your bot mod .... to post all topics and approve only the topics, you´ll like
How can I do that? Change mod's code or it is somewhere under forum administration?

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by Smix » Tue Oct 07, 2008 2:47 pm

Set appropriate permissions for your posting bot user account and in file includes/functions_lastrss_autopost.php
FIND

Code: Select all

// submit and approve the post!
    	submit_post('post', $subject, '', POST_NORMAL, $poll, $data);
    	autopost_approve($subject);
REPLACE WITH

Code: Select all

// submit and approve the post!
    	submit_post('post', $subject, '', POST_NORMAL, $poll, $data);
    	//autopost_approve($subject);

zyx6789
Registered User
Posts: 27
Joined: Sat Oct 30, 2004 5:25 pm

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by zyx6789 » Tue Oct 07, 2008 3:01 pm

got it, thanks!

User avatar
reddevilmeuk
Registered User
Posts: 89
Joined: Mon Aug 20, 2007 1:03 pm

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by reddevilmeuk » Tue Oct 07, 2008 3:46 pm

I have a few questions for you...

1. Can this take feeds from several different locations and post the details in different topics?
2. How often does it poll the external sources?
3. How much load does this put on your servers CPU?

Thanks in advance

User avatar
jmaraujo
Registered User
Posts: 240
Joined: Fri Jun 01, 2007 9:48 pm
Location: Rivera - Uruguay
Name: Juan

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by jmaraujo » Tue Oct 07, 2008 4:01 pm

zyx6789 wrote:jmaraujo: looks like we are after the same mods ;)
Yes, it seems so. ;) Have a nice day my friend! :D

PS: Sorry, guys, for the off-topic.

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] lastRSS autoposting bot MOD (0.1.1)

Post by Smix » Tue Oct 07, 2008 4:37 pm

reddevilmeuk wrote:I have a few questions for you...

1. Can this take feeds from several different locations and post the details in different topics?
2. How often does it poll the external sources?
3. How much load does this put on your servers CPU?

Thanks in advance
Hello,
  1. Yes (but it reads only RSS) ... It always starts a new topic for any item in the feed.
  2. It downloads data once per time you´ll set up ... (fresh-install example is downloading my home feed once per hour)
  3. Well, this is good question ;) ... I´ve made a simple test for you ...
    APBot is initiated on index.php so those data are DEBUG info on index.php page on my localhost (fresh install of phpBB3 3.0.2, lastRSS was managed to use cURL functions) ...
    • Debug info when APBot is downloading RSS feed and posting 5 topics

      Code: Select all

      Time : 5.327s | 150 Queries | GZIP : Off | Memory Usage: 5.93 MiB 
    • Debug info when APBot is not downloading RSS feed and is not posting any topic

      Code: Select all

      Time : 0.151s | 10 Queries | GZIP : Off | Memory Usage: 3.29 MiB
    Well, you can change the number of items, which the bot is trying to post and make it less memory and sql consumpting ...

User avatar
Smix
Registered User
Posts: 482
Joined: Mon Sep 11, 2006 1:07 am

Re: [DEV] lastRSS autoposting bot MOD (0.1.2)

Post by Smix » Tue Oct 07, 2008 5:02 pm

ANNOUNCEMENT:

lastRSS autoposting bot version 0.1.2 has been finally released!

Changes :
  • RSS items are no more posted with original time/date when they were posted, because it wasn´t working correctly
  • Some minor code changes related to inserting topics into db.
  • Main lastRSS class was updated
  • CDATA tags are actually grabbed and posted correctly
Image

Download :arrow: Image ... Bugtracker :arrow: http://phpbb3.smika.net

Locked

Return to “[3.0.x] Abandoned MODs”