Page 1 of 24

[BETA] FIND - Forum Integrated News Delivery - Input

Posted: Sat Sep 21, 2002 4:13 pm
by netclectic
FIND - Forum Integrated News Delivery - Input - Demo

Posted: Mon Sep 23, 2002 9:43 pm
by Drummer4Life05
Looks cool. Has potential...

Posted: Mon Sep 23, 2002 9:53 pm
by netclectic
Drummer4Life05 wrote: Looks cool. Has potential...


Yes, i thought so. Cheers! :D

Here are a couple of good sites offering collection of RSS news feeds which you could have input direct into you forums. There are loads more out there, regardless of the subject of your forums (within reason) there is likely to be a newsfeed of interest.

When looking for suitable newsfeeds, it's a good idea to look for ones that include a good summary as this is what will make up the body of the post in your forums. It's also good to make sure they are updated regularly!

If you know of other news feed sights please post them here and i will include links to them in the admin page for the mod.

Posted: Mon Sep 23, 2002 10:11 pm
by morpheus2matrix
netclectic wrote: Well, seems nobody's interested in my mod :?


no, it's just i'm still searching :

what does this script exactly? :oops:

Posted: Mon Sep 23, 2002 10:36 pm
by netclectic
Ok, take for example this news feed.

This news feed is updated regularly with news about XSLT by somebody somewhere on the internet and published for all to see, which is jolly nice of them!

What this script does is, it enables you (via the admin control panel) to enter any number of news feeds into your forums. By using a cron job (a script setup to run automatically at given times of the day) it will grab this xml news feed from the url, parse the xml and insert the articles directly into your forums.

If you look at the example on my site i posted earlier you will see some messages that begin 'Recipes from the XSL:', these messages were posted by this mod into my forums from the example news feed above.

On my site i currently have 14 news feeds (most set for registered users only) automatically entered into my forums using this mod.

So as you can see, it's quite a nice easy way of getting automated content into your forums. 8)

Posted: Mon Sep 23, 2002 10:57 pm
by IDB
First time I noticed this thread. This is an AWESOME Mod.

Is it available for download yet?

Posted: Mon Sep 23, 2002 11:02 pm
by netclectic
IDB wrote: Is it available for download yet?


not quite yet. it will be within the next couple of days though.

xml parsing post script

Posted: Mon Sep 23, 2002 11:18 pm
by DoctorWho
I'm extremely interested in this script. It will take some of the work out of creating new topics for discussion. It can be a lot of work for admins to post discussion topics, and this little mod would automate it. I'll be waiting for you to release it. From looking at your website, the Demo, it appears to be working smoothly.

Posted: Tue Sep 24, 2002 12:20 am
by netclectic
Hi folks. I've upgraded this to BETA now and made a zip file available.
netclectic wrote: not quite yet. it will be within the next couple of days though

Eh, i suppose that should have been hours instead of days ;)


As usual ALWAYS BACKUP your files before installing any mod!!

beta release

Posted: Tue Sep 24, 2002 1:36 am
by DoctorWho
netclectic wrote: Hi folks. I've upgraded this to BETA now and made a zip file available.
netclectic wrote:not quite yet. it will be within the next couple of days though

Eh, i suppose that should have been hours instead of days ;)


Where can we grab it?

Posted: Tue Sep 24, 2002 3:53 am
by LaZeR
Thanks for this netclectic,

I've just started to play with this mod and found a little problem already.

Note these lines in the FIND.txt install:

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES (news_userid, -1);
INSERT INTO phpbb_config (config_name, config_value) VALUES (news_limit, 5);
Should have ' ' around the given values as follows, no?

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES ('news_userid', '-1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('news_limit', '5');
PS: To the person asking where to find the beta, Check the very 1st message of this thread. :wink:

Posted: Tue Sep 24, 2002 6:53 am
by IDB
I have it working on a test forum, but I have a couple of questions.

The posts are made by an Anonymous [Guest] user and not the user I specified in the admin panel.

Also, is it possible to use newsfeed from Moreover with this mod?

BTW I am using v2.0.1 of phpBB so could it be something to do with sessions?

Posted: Tue Sep 24, 2002 7:07 am
by CodeMonkeyX
This is a very nice idea, can't wait.

Will it work with the Slashdot.org feeds?

http://slashdot.org/code.shtml

Posted: Tue Sep 24, 2002 7:14 am
by morpheus2matrix
ok i understand now !


great mod :wink:

Posted: Tue Sep 24, 2002 7:17 am
by netclectic
LaZeR wrote: Should have ' ' around the given values as follows, no?

Code: Select all

INSERT INTO phpbb_config (config_name, config_value) VALUES ('news_userid', '-1');
INSERT INTO phpbb_config (config_name, config_value) VALUES ('news_limit', '5');
You are indeed correct. Thanks!
I've updated the zip with the changed file.


IDB wrote: The posts are made by an Anonymous [Guest] user and not the user I specified in the admin panel

It appears this is only happening when run as a cron job. I'll look into it.

IDB wrote: Also, is it possible to use newsfeed from Moreover with this mod?
I haven't tried it with feeds from moreover, if you could give it a try please let me know if it works!. If it fails, the cron daemon will send you an email telling you what happend, or it you run it manually form a browser you'll get some feedback.

N.B. The moreover newsfeeds i have seen are lacking in any summary so the posts will more or less be empty!