RSS Feed Poster
Addon Information:
For Elkarte 1.1.x and 1.0.x
Allows you to add RSS Feed Posting Bots to your forum.
Has a built in scheduled task that you can run or can either use a real cron job
Using the following file http://www.yourforums.com/cronrss.php
Or you can run fake cron jobs via php
Allows multiple posting bots
Set Poster Name Or Member Id for the bot
Topic Prefix option
Option to lock topics
Option to enable/disable html in the feed post
Set the update time in minutes
Set how many items to get from the feed
Choose the forum for the feeds.
No duplicate posts. Posts are hashed and stored as a hash.
Big thanks to emanuele for the HTML BBCode tag used in this mod.
I like this! :)
Hey
@vbgamer45 it seems after install on a vanilla forum it looks to godo feedsadmin and then just seems to leave you on the admin panel homepage?
Doesn't seem to have added the interfact on my install. It didn't complain about any tests failing either.
On Elk 1.0.x?
It should add a menu in the admin area under Configuration called RSS Feed Poster Configuration
Yeah 1.0.x
Had a little more time to debug. Package info.xml is missing an instruction to copy over feedposter.integrate.php to sources. It's in the package but not in the xml.
Fixed thanks Trekkie101
If anyone downloaded it before this post download the new version now.
Updated for Elkarte 1.1.x
Update
5.0
+Https images now supported with the embed images option
+Added support for https feeds when using the fsockopen method
+Curl support improved for https feeds
@vbgamer45 1st of all: many thanks for this addon, I use it several years on two SMF forums and now in ElkArte.
Alas the same error is also in this version: the rss-items are not counted for the posting member. After digging through the module source I found out: the "board"-info count field is 0 when postings are counted and 1 if this option is deactivated.
Changing that was a snap but should be done from the beginning ;)
And a suggestion: Please make the downloadcount limits configurable (best on a per feed basis) for the user instead of the hardcoded limit ( > 50 = 25)
TIA
If you do a recount from the maintenance section, it fixes this I believe in the meantime?
Not really. The feedposter file interprets the value for count postings as 1 for count posting whereas in the database is a zero for count posting. A small modification in feedposter.php corrects this "bad behaviour". If you have some RSS feeds the continuous use of recount is really annoing.
BTW: I did the source modification in my forum but with any update of RSS-Poster I have to do it again :(
Can you post your change file want to see what was changed.
Here we go:
if ($feed['count_posts'] == 1) // mgr
$updatePostCount = 0;
:D
if ($feed['count_posts'] == 1) // mgr
$updatePostCount = 0;
:D
@Spuds,
@emanuele, should default rss file be updated to this as well?
I'm not sure what I would change, but then I'm not sure I understand why the problem is occurring.
Setting the $posterOptions array key 'update_post_count' to a non empty value should increase that posters post count when they make the post (unless its on a board that does not count posts). So I don't know why changing it to 0 seems to work?
(PS I tweaked the format of your post so it rendered properly, footnotes inside of a code block do not render)
Well - that is the reason. board-counting in the database is 0, subs.RSS interprets 1 as count. There are only the marked lines where a previous set user-counting value is set to off when boards do not count (== 0 originally, changed by mgr to == 1)
Many thanks. I didn't dream that a tag code=Text was possible and already in ElkArte. I didn't yet come to exploring the source how BBC is formatted. M limited knowledge is based on SMF files.
Reading my answer now me thinks I have thought too quickly before posting - sorry.
The user count-switch is set correctly to 0 or 1, all following conditions set this switch to 0 for not counting. Up to here all OK.
Now comes the feed-counting switch (from the board counting switch) testing this value against 0[sic] sets user-count switch to 0 (off). A look into the database reveals though that a board setting of count = off sets this value to 1. My working and supposed changes will correct this wrong assumption and count all RSS-Postings correctly in the board and for the selected user.
Update
6.0
!Fix broken link urls in atom based fields
!Set scheduled task to check every two minutes new installs only
I believe EA supports embedded Youtube Videos (perhaps by add-on?), but whether or not they are viewable within EA is probably up to YouTube.. I have seen more and more YouTube video presentations in various sites with the overlay saying something like: "This Video can only be viewed in Youtube.. Click here"
Maybe it's more about the way they are embedded ...
Since I have never encountered anything like this when watching YT with MPV media player, for example.
The fact that you don't need to search for the RSS feed hyperlink for the feed aggregator with that FreshRSS extension. In that you can just c+p the channels URL and that's it.
Sure all YT channels have RSS feeds included in their channel page but you cannot just c+p it. You have to dig it from the webpage source.
Update
!Fixes for PHP 8.0+
Why if FTP required? It will be problem with the server I'm going to run EA ...