Link to ModRSS Feeder
This allows you to add RSS Feed 'Bots' to your forum to display information from RSS Feeds.
Features of this mod:- Unlimited Feeds
- Post to any board on your site
- Specify which user to post as
- Single click enable/disable of any feed from the admin panel
- Lock feed topics once posted
- Require approval of feeds before publicly viewable (only if Post Moderation is enabled)
- Prefix feed with any title (Ie: [FEED], [RSS], [NEWS], etc)
- Retrieve full article (Regular Expression REQUIRED)
- Find articles by keyword in the Title or Description
- Specify number of items to import from each feed
- Caching of feeds for faster performance in case the feed hasn't changed
- Logging of posted feeds to avoid duplicates
- Uses Scheduled Tasks to determine when to fetch feeds (you can set the frequency)
- Log pruning - removes log entries that are 30 days old (this can be changed too)
- Option to post all feed items into a single topic, instead of seperate topics
- See how many items each feed as posted
- Selectable image icons for feeds
- Add a custom footer to each post for feeds
Change Log:Version 1.1.0
-------------
* Added a 'Source' bit at the bottom of each post (ManageSettings.php, RSSFeeds.template.php, ScheduledTasks.php)
* Add a footer to the bottom of the post after the feed content (ManageSettings.php, RSSFeeds.template.php, ScheduledTasks.php)
* Selectable message icons for each feed (ManageSettings.php, RSSFeeds.template.php)
+ Allow images in the posts by converting <img> tags to bbcode [img] tags (Subs-Rss.php)
* Feeds keep track of items posted from them, viewable in the feed setup page (ManageSettings.php, ScheduledTasks.php)
? Mark as read option causing errors on scheduled task run, removed feature (ManageSettings.php, RSSFeeds.template.php, ScheduledTasks.php)
! Forgot to check if description was empty (ScheduledTasks.php)
* Option to post all feed items into a single topic, instead of seperate topics (ManageSettings.php, RSSFeeds.template.php)
! Error might be thrown if regular expression didn't find anything (ScheduledTasks.php)
+ Switched from MagPie to SimplePie for the RSS api (Subs-Rss.php)
+ Added logging for feeds that become disabled when the scheduled task runs (ScheduledTasks.php)
Version 1.0.0
-------------
* Release
Legend:
* = New feature
+ = Improved feature
! = Fixed bug
? = Other stuff
Regex HelpAttached to this post is a file named regex.php... you can upload this script to your web server to test out your regular expressions with a given input. It's pretty self explanatory... the goal is end up with what you want in the [1] => part of the array returned. For debugging purposes, the entire matches array is displayed. See
this post of the topic as well.
*Known Issues*This was meant to work with Auto Suggest for choosing who to post as, but I didn't realize that there was a change in the auto suggest script from Beta 4 to RC1, so auto suggest will only work on RC1+. This does not hinder the mod in any way, except that you must properly enter the username / displayname otherwise you will get thrown back to an error.
Doesn't play nice with utf-8 characters, cuts off strings or converts to ?s in the Prefix or Footer fields, possible database collation issue.
Suggestions- Create an additional section in a user's profile to allow them to create and maintain their own feeds that post to boards of their choice or admin selected boards.