Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Article Bot Details »
Article Bot
Mod Version: 1.00, by Velocd (Member) Velocd is offline
Developer Last Online: Nov 2005 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.0.3 Rating: (5 votes - 5.00 average) Installs: 269
Released: 11 Jul 2004 Last Update: Never Downloads: 233
Not Supported  

Article Bot
by velocd


Article Bot is a script that allows you to assign a user account (preferably an exclusive one) to an article bot that will post RSS feeds in select forums at designated intervals. These articles are derived from RSS (Really Simple Syndication) feeds.

RSS files are assigned to article bots, as well to individual forums, which in turn directs what, when and where your article bot will post.

Features
  • Works with RSS versions: 0.9x, 2.0, 1.0, and Atom 0.3
  • AdminCP interface for adding/modifying/deleting article bots & rss feeds
  • Designate intervals (in minutes) to each RSS feed for when your article bot will post them.
  • Requires only 1 file edit (admincp/index.php), allowing ease of upgrading your vBulletin
    without having to remodify files.
  • Easy to install. Works best in conjunction with crontab (contab help is inside install.html)

News
  • 7/25/04 - Version 1.1 Released
    • Bug Fixes
      • Replaced htmlspecialchars() with htmlentities() in articlebot.php to fully convert special entities from descriptions.
      • Added trim() to thread titles, to prevent double threads from being posted that are merely off by whitespace.
      • New table articlebot_rss_cache for storing a copy of article bot threads, for quicker checking of doubles when posting new threads.
      • Threads are checked in articlebot_rss_cache, so you can permanently remove them from the thread table (you don't have to "soft delete") without worrying about the bot replicating them.
      • Other minor bugs.
    • Features
      • New installer/upgraders for doing the SQL part automatically.
      • Added "label" field to add/modify RSS interface, that allows you to tag a label, e.g. [yahoo], to the beginning of threads, unique to each RSS feed. This might help for better distinction of RSS feeds.
      • Added an option to toggle on/off of building similar threads per RSS feed. Some RSS feeds could hault the script if the building of similar thread results for that feed takes too long (maybe the article thread title is too vague, and matches a lot of results--my guess is it's only a problem on large forums).
      • Added an option to toggle on/off skipping of articles that don't contain descriptions.
      • Regular expression search and replace for article titles and descriptions. This grants you much flexability to filter out things you don't want in your titles or descriptions (given you have some regex experience, I will try to post some patterns in due time.. feel free to add yours )
  • 7/11/04 - Version 1.0 Released

Upgrading
  • To upgrade, reupload the new PHP and MagpieRSS parser files to their places on your server. Upload upgrade_vx-x (replace the x's with the version you are upgrading to) to /path/to/forums/admincp/, and then execute that script.

Files
  • 3 screenshots attached
  • articlebot_v1.zip
    • install.html, logo.gif
    • articlebot_admin.php
    • articlebot/
      • rss_cache.inc
      • rss_fetch.inc
      • rss_parse.inc
      • rss_utils.inc
      • extlib/
        • Snoopy.class.inc

RSS Feeds

There are several in the install.html, but if you're looking for more than you could ever want, check out NewsIsFree's directory:

http://www.newsisfree.com/sources/bycat/


Remember to click install if you use this hack.

Also be sure to read through the what you haven't of the thread before asking a question, for it may have been answered.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	add-bot.gif
Views:	2049
Size:	31.7 KB
ID:	19887   Click image for larger version

Name:	add-rss.gif
Views:	2913
Size:	55.2 KB
ID:	19888   Click image for larger version

Name:	manage-bots.gif
Views:	3028
Size:	28.6 KB
ID:	19889  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
vBa: Show GARS article image on article Cole2026 vBulletin 3.5 Add-ons 13 10 Apr 2006 17:13

Comments
  #2  
Old 11 Jul 2004, 21:53
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Ah yeah, enjoy the modification.
Reply With Quote
  #3  
Old 11 Jul 2004, 22:42
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Real name: Liam Hawkins
This looks great well done and thanks, Does this mean we have to like write articles or can it automatically pull them from another site or something?
__________________
Hacks Made :
Store 3.0 Color Name Add On.
Last 5 Attachments On Forum Home
Rap Battle System -=RBS=-

Tutorials Made :
The Basics Of PHP For Beginners and The Basics Of PHP [Part 2]

Running away from that Thousand Post Mark
Reply With Quote
  #4  
Old 11 Jul 2004, 23:21
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
It pulls articles from RSS feeds. RSS is a xml format primarily used for syndicating news. Many news related sites provide RSS files of their recently posted articles so their readers can use an RSS aggregator (e.g. http://www.sharpreader.net) to read the data.

With PHP's XML libraries, parsing RSS is done very easily.

Sample RSS:
http://rss.news.yahoo.com/rss/topstories

Anyhow, you first create an article bot, by assigning it a user it will control.

You add an RSS feed by specifying the path to the RSS file, the article bot it applies to, the forum the thread will be posted in, and an interval (in minutes) that a new thread will be posted.

It's preferred that you use a crontab to execute the articlebot.php file, every couple hours or so. The script will work from the bottom of the RSS file (oldest articles) to the top (latest articles). It will post the title of the article as the thread subject, and then the RSS description as the body content. It then tags the URL to the actual full article.

I've had it running on my forum for about 2 weeks, and it works quite well. Make the intervals quite large, like every 5 hours, or else you'll have a flood of bot threads on your forum. This of course depends on the RSS feed and how often the news source updates it.

Hopefully I didn't make things more convoluted.

Last edited by Velocd; 11 Jul 2004 at 23:24.
Reply With Quote
  #5  
Old 12 Jul 2004, 00:45
Dan's Avatar
Dan Dan is offline
 
Join Date: Dec 2002
Real name: Daniel
Nice I like this a lot
Reply With Quote
  #6  
Old 12 Jul 2004, 02:09
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
There is another hack just like this one that I installed a month or two ago. How is this different to that one? Just wondering.
Reply With Quote
  #7  
Old 12 Jul 2004, 02:45
Velocd's Avatar
Velocd Velocd is offline
 
Join Date: Mar 2002
Real name: Mike
Hm, I didn't know others existed.

Well, it's different in that it's coded by another person.

Feature wise, you'll just have to try it out. Article bots can have unlimited RSS feeds assigned to them, and RSS feeds can be in multiple forums. Meaning, 1 article bot can post in many forums. Not sure if the other RSS mods are restricted of this.

It's very query efficient also.
Reply With Quote
  #8  
Old 12 Jul 2004, 02:47
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Real name: Colin
cool

Is there a way to create an RSS feed from your site, for other sites with this hack? (ie: new events on my forum automaticaly get RSS'd to other sites)
__________________
-alkatraz
Northwest Nissans Classifeds
Reply With Quote
  #9  
Old 12 Jul 2004, 02:48
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
alkatraz - I could be mistaken but I believe thats a default feature of vb3. Check the online manual for it.
Reply With Quote
  #10  
Old 12 Jul 2004, 03:57
alkatraz alkatraz is offline
 
Join Date: Oct 2002
Location: Vancouver, Canada
Real name: Colin
crazy, just checked the vb3 manual..

thx
__________________
-alkatraz
Northwest Nissans Classifeds
Reply With Quote
  #11  
Old 12 Jul 2004, 10:12
nexialys
Guest
 
would be good from Erwin to post a link, so we can all compare!
Reply With Quote
  #12  
Old 12 Jul 2004, 12:27
Natch's Avatar
Natch Natch is offline
 
Join Date: Nov 2002
Erwin is talking about Slapyo's New Modifies RSS feed hack - there is a search button for just such an occasion
__________________
Natcher00
... is the Admin @ MobileForces.org - Official Community for a cult Vehicle based FPS - the only place for support!
... also he's Penfold to Dark_Wizard's Danger Mouse in development of vBWar
http://www.mobileforces.org/sig.jpg
{DaniWeb: Learn HOW-TO mod_rewrite your vB board}
Reply With Quote
  #13  
Old 12 Jul 2004, 14:05
DrkFusion's Avatar
DrkFusion DrkFusion is offline
 
Join Date: Nov 2001
This is a great hack (y)
__________________
ZunePoint.com
Reply With Quote
  #14  
Old 12 Jul 2004, 15:54
ranger2kxlt ranger2kxlt is offline
 
Join Date: Jan 2003
Real name: Justin
Ok stupid question, where do you get RSS feeds from? I mean what site will this info be pulled from? I run a F0RD website, where would i find info on stuff like that?

*sorry disregard opened the zip and you have lots of feeds for me :-D

Last edited by ranger2kxlt; 12 Jul 2004 at 16:07.
Reply With Quote
  #15  
Old 12 Jul 2004, 16:38
Blackbeard Blackbeard is offline
 
Join Date: Mar 2003
Silly question time, but would this work on 3.01 as iam not planning on updating yet
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:35.

Layout Options | Width: Wide Color: