Link to the mod (https://custom.simplemachines.org/index.php?mod=624)
RSS Feed Poster
By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)
CompatibilityWorks with SMF 2.1.x, SMF 2.0.x and SMF 1.1.x
ContributorsVersion 3.0 paid for by MoreBloodWine (http://www.simplemachines.org/community/index.php?action=profile;u=42226)
DescriptionAllows you to add RSS Feed Posting Bots to your forum.
SMF 2.0.+ built in scheduled task
For SMF 1.1.x
You 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.
Requires fsockopen,fopen, or curl php function to be enabledSupport LinksSMF Package Parser (https://www.smfhacks.com/smf-package-parser.html)
Manual Installation Of Mods (http://docs.simplemachines.org/index.php?topic=402)
How Do I Modify Files? (http://www.simplemachines.org/community/index.php?topic=24110.0)
how do you do enable:
fsockopen php function
Quote from: DaBoROE09 on January 11, 2007, 07:57:16 PM
how do you do enable:
fsockopen php function
You would have to contact your host if it is disabled.
I get this error on my site when i try to delete a feed
Quote
Unknown column 'ID' in 'where clause'
File: /home/daboroe/public_html/community/smf/Sources/FeedPoster.php
Line: 369
Quote from: DaBoROE09 on January 11, 2007, 08:30:46 PM
I get this error on my site when i try to delete a feed
Quote
Unknown column 'ID' in 'where clause'
File: /home/daboroe/public_html/community/smf/Sources/FeedPoster.php
Line: 369
Fixed redownload the mod.
let me uninstall it and reinstall it.
Quote
Database Error
Unknown column 'ID' in 'where clause'
File: /home/daboroe/public_html/community/smf/Sources/FeedPoster.php
Line: 369
same problem
You need to redownload the mod again then install it.
i had this installed and then i think i accidentally uninstalled it. i did the same thing but did it on purpose and i had the same problem.
edited
i did redownload it.
it worked. apparently it was the old one still there and what i had to do was just go in and delete the old and manually install it.
I get this.
Fatal error: Cannot redeclare startelement() (previously declared in /home/midwesta/public_html/Sources/TPortal.php:1284) in /home/midwesta/public_html/Sources/Subs-RSS.php on line 304
any ideas?
Bah tinyportal is using the same function name.
Quote from: vbgamer45 on January 11, 2007, 08:56:06 PM
Bah tinyportal is using the same function name.
meaning what?
Ok fixed it to use another function name should work with tiny portal now.
Quote from: vbgamer45 on January 11, 2007, 08:58:39 PM
Ok fixed it to use another function name should work with tiny portal now.
redownload?
ok so i should be able to use it now iwthout that function on?
Quote from: DaBoROE09 on January 11, 2007, 08:59:26 PM
ok so i should be able to use it now iwthout that function on?
Nope fsockopen is required for getting the feeds
if i went to my cron.php file or what ever it is called u could see it but it was not posting. i am using tinyportal and all so should i redownload it or do i need to turn that function on?
Like I said you need the fsockopen function without that the mod will do nothing.
Sorry gamer. I shows the same thing. I cntrl-f5 and removed the previous one before the fix but still,the same thing.
Fatal error: Cannot redeclare characterdata() (previously declared in /home/midwesta/public_html/Sources/TPortal.php:1298) in /home/midwesta/public_html/Sources/Subs-RSS.php on line 344
i am going to reinstall it and all. i have one question i have to uninstall it to reinstall and when i uninstall it, it comes up with this
Quote
Type Action Description
1. Execute Modification .Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./index.php Test failed
3. Execute Modification .Sources/Subs.php Test successful
4. Delete File .Sources/FeedPoster.php
5. Delete File .Sources/Subs-RSS.php
6. Delete File ./cronrss.php
7. Delete File .Themes/default/FeedPoster.template.php
8. Delete File .Themes/default/languages/FeedPoster.english.php
9. Delete File .Themes/default/languages/FeedPoster.english-utf8.php
is that a problem.
ok so when i go to my cron.php file you can see the stuff there but it is not posting so this means i do not have that fsockopen function enabled correct?
you might need to upload the "new" Subs-RSS.php manually.
Quote from: BlueDevil on January 11, 2007, 09:13:21 PM
Sorry gamer. I shows the same thing. I cntrl-f5 and removed the previous one before the fix but still,the same thing.
Fatal error: Cannot redeclare characterdata() (previously declared in /home/midwesta/public_html/Sources/TPortal.php:1298) in /home/midwesta/public_html/Sources/Subs-RSS.php on line 344
Fixed hopefully the last fix to make it work with TinyPortal redownload.
DaBoROE09 just test if the feeds work min time 30 minutes to test for feeds you can use fake cron jobs if you do not have access to a cron setting in your control panel.
when i do that...it puts the rss feeds above everything else
Quote from: DaBoROE09 on January 11, 2007, 09:21:34 PM
when i do that...it puts the rss feeds above everything else
I don't understand? When you do what?
Quote
Fatal error: Cannot redeclare startelement() (previously declared in /home/daboroe/public_html/community/smf/Sources/TPortal.php:1284) in /home/daboroe/public_html/community/smf/Sources/Subs-RSS.php on line 293
there are multiple areas in here.
what do the fake cron jobs do?
Quote from: DaBoROE09 on January 11, 2007, 09:24:57 PM
Quote
Fatal error: Cannot redeclare startelement() (previously declared in /home/daboroe/public_html/community/smf/Sources/TPortal.php:1284) in /home/daboroe/public_html/community/smf/Sources/Subs-RSS.php on line 293
there are multiple areas in here.
Redownload the mod.
Fake cron jobs check the feed bots to see if they need to make a new post.
i did redownload it that is after the last update.
i also get this in my forum error log
Quote
Check all
Apply Filter: Only show the error messages of this member PCTTBoroPride Today at 09:30:16 pm
Apply Filter: Only show the error messages of this IP address 206.251.7.160 Apply Filter: Only show the error messages of this session 99ecbd779e43aa70e24ef238d83e5bb4
Apply Filter: Only show the error messages of this URL http://mike-home.cjb.net/community/smf/index.php?action=viewErrorLog;desc;start=0
Apply Filter: Only show the errors with the same message
2: xml_parse() [<a href='function.xml-parse'>function.xml-parse</a>]: Unable to call handler startElement1()
File: /home/daboroe/public_html/community/smf/Sources/Subs-RSS.php
Line: 155
Ok. It uploaded just fine this time. Now im trying to figure out how to make it work. Ill get back to ya later.
if you go to my site http://mike-home.cjb.net/community/smf/index.php
the rss feed there is above everything like i was saying.
edited
attached is my Subs-RSS.php file
the rss feed is above everything when i have the fake cron thing checked. i also like get 5 pages of errros. when i put the it back to normal it is fine. any ideas gamer?
Quote from: DaBoROE09 on January 11, 2007, 09:48:27 PM
the rss feed is above everything when i have the fake cron thing checked. i also like get 5 pages of errros. when i put the it back to normal it is fine. any ideas gamer?
From what it sounds like the mod will not work on your host.
edited
i beleive it is working now sure
Set the setting to post more items from the feed or add more rss feed bots.
it works
Hmmm.... i cant make it to work somehow. I know im doing something wrong.
I typed the http URL of the feed and selected a topic but nothing happens.
Did you setup a cron job and point it to http://www.yourforum.com/cronrss.php
Or use the fake cron job option on the settings page of the Feed Poster
Quote from: vbgamer45 on January 11, 2007, 10:01:17 PM
Did you setup a cron job and point it to http://www.yourforum.com/cronrss.php
Or use the fake cron job option on the settings page of the Feed Poster
I did. I think is working now. Thanx!
Quote from: BlueDevil on January 11, 2007, 10:06:58 PM
Quote from: vbgamer45 on January 11, 2007, 10:01:17 PM
Did you setup a cron job and point it to http://www.yourforum.com/cronrss.php
Or use the fake cron job option on the settings page of the Feed Poster
I did. I think is working now. Thanx!
I noticed you had one blank post. I think I uploaded a fix to prevent that from happening so use that version now.
I'm sooo glad someone finally turned this into a mod. It works well.
2 errors in my log though when I try to add a feed.
http://xarchology.com/smf/index.php?action=feedsadmin;sa=addfeed2
8: Undefined index: query
File: /home/.abigaildryer/xarcell/xarchology.com/smf/Sources/Subs-RSS.php
Line: 32
and
http://xarchology.com/smf/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 1
File: /home/.abigaildryer/xarcell/xarchology.com/smf/Sources/Subs-RSS.php
Line: 48
I also want to make a suggestion. Any chance you can add the option to allow the selection of the post icon per feed?
I also have a question. Does using the fake cron create a blank/empty post? Because I got one, but i really don't know what caused it.
Anyways, thanks vbgamer45. You make some of the best mod's.
EDIT: I see you fixed the blank post thingy already. thanks!
One question tho'.... every time it updates and posts,does that count as a forum post?
Yes it does.
It seems that it does. Any chance you can turn it off, or give us the option to disable post count for feeds.
Quote from: Xarcell on January 11, 2007, 10:19:26 PM
It seems that it does. Any chance you can turn it off, or give us the option to disable post count for feeds.
I can arrange that.
Quote from: vbgamer45 on January 11, 2007, 10:18:47 PM
Yes it does.
Wow. Im going to have 100,000 posts in a week. Hehehehhe....
i reloaded the mod. Im waiting for it to refresh and see if it'll post another dead link.
Min time to refresh is 30 minutes.
I think already does not upgrade the post count if the user does not exist and is a guest.
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
what changes did you make can we just upload and override the current files with the new files or no? i do not want to mess up my feeds going on
edit:
so i just say post as RSSBot and not create a host? or how do i set it up so it does not increase the post count
Quote from: DaBoROE09 on January 11, 2007, 10:29:11 PM
what changes did you make can we just upload and override the current files with the new files or no? i do not want to mess up my feeds going on
Unistall does not mess up feeds that are already installed. So you can reinstall safetly.
again how do you set it up so the post count overall does not increase or do we just re download it.
Any tips on how to enable fsockopen() in PHP? 'm my own host, and I can't seem to find anything in google.
Quote from: Marlon on January 11, 2007, 11:19:19 PM
Any tips on how to enable fsockopen() in PHP? 'm my own host, and I can't seem to find anything in google.
Is it disabled? Usally hosts disable it via php.ini and set a list of functions to disable.
Ok I realize that this is a stupid question but I am going to ask anyway. Could you please explain the purpose of this mod and also give me adriect link to a forum where it is installed and working. Thank you very much. :)
Quote from: vbgamer45 on January 11, 2007, 11:20:32 PM
Is it disabled? Usally hosts disable it via php.ini and set a list of functions to disable.
So it's enabled by default?
no u have to go in and enable the feed when you edit it.
Quote from: Compton on January 12, 2007, 12:28:23 AM
Ok I realize that this is a stupid question but I am going to ask anyway. Could you please explain the purpose of this mod and also give me adriect link to a forum where it is installed and working. Thank you very much. :)
Basically, it turns rss/xml news feeds into new topics on your forum. A new topic for each news item.
It makes it looks like someone posted a new topic. It also makes your site look alot more active. The way vbgamer45 set it up, it can even make it looks like your posting all the news about other things.
Quote from: Marlon on January 12, 2007, 12:36:02 AM
Quote from: vbgamer45 on January 11, 2007, 11:20:32 PM
Is it disabled? Usally hosts disable it via php.ini and set a list of functions to disable.
So it's enabled by default?
Some hosts disable it by default. You can enable it in your php.ini file within your php installation. In most cases, only your host has access to your php installation. So you will have to ask them.
Quote from: Xarcell on January 12, 2007, 09:21:58 AM
It makes it looks like someone posted a new topic. It also makes your site look alot more active. The way vbgamer45 set it up, it can even make it looks like your posting all the news about other things.
what do you mean news about other things? Do you mean other things other than what your forum is driven at?
EditedHow do i shut the posting counts for the mod off
Thank you
vbgamer
sir, the mod i have set up is that RSSBot is a guest which means he is a guest. My fourm post count increases. Is there a way that we can stop this?
I have tried everything but cannot get this mod to work
fsockopen is enabled
I set up the feeds and enabled them in the feed list
I have my cron setup pointing to cronrss.php, also tried the fake cron option.
I tried accessing the cronrss.php directly and nothing (blank Screen)
I am not getting any errors nor are any feeds being pulled in. I tried several different RSS feeds
I did get one error when I first installed the mod that the cronrss.php (file is writable by others) so I corrected that (chmod 755)
I am just sure where to look since I am not getting any errors.
Thanks in advance
Nothing in the error log? The min time for an rss feed to post is 30 minutes.
But it should give a response if you access cronrss.php directly.
how do i turn off the post counts for the mod again please sir?
Quote from: DaBoROE09 on January 12, 2007, 01:25:28 PM
how do i turn off the post counts for the mod again please sir?
Open Sources/Subs-RSS.php
Find
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
Replace with
'update_post_count' => false;
anyone willing to do a version of this script that uses cURL instead of fsockopen? My web host said they cant allow fsockopen for security reasons. i'd be happy to pay for someone's help in this matter. :)
Quote from: actoguitar on January 12, 2007, 01:31:43 PM
anyone willing to do a version of this script that uses cURL instead of fsockopen? My web host said they cant allow fsockopen for security reasons. i'd be happy to pay for someone's help in this matter. :)
If you have some information on CURL I can possibly add support for it.
This is not working for RC2 ?
I tried to upgrade to 1.1 Full, but some of my mods are not working on that so I revert back.Also the admin panel in 1.1 Full is giving some strange errors.
For SMF 1.1.1 only.
Quote from: vbgamer45 on January 12, 2007, 01:11:58 PM
Nothing in the error log? The min time for an rss feed to post is 30 minutes.
But it should give a response if you access cronrss.php directly.
Nope nothing in the error log. Nothing when accessing the cronrss.php directly, except a blank page. Will it matter if the file permissions are 755, the installer puts it at 777?
Permissions shouldn't matter as it is not writing to any files.
Quote from: vbgamer45 on January 12, 2007, 01:54:48 PM
Permissions shouldn't matter as it is not writing to any files.
OK anything I can check?
Quote from: DaBoROE09 on January 12, 2007, 08:18:46 AM
no u have to go in and enable the feed when you edit it.
We're talking about php.ini now, not the mod itself...
vbgamer45
i get this error when i do what you tell me to do
Quote
Parse error: syntax error, unexpected ';', expecting ')' in /home/daboroe/public_html/community/smf/Sources/Subs-RSS.php on line 212
and even if i do that it still increases the post count
Quote from: vbgamer45 on January 12, 2007, 01:27:21 PM
Quote from: DaBoROE09 on January 12, 2007, 01:25:28 PM
how do i turn off the post counts for the mod again please sir?
Open Sources/Subs-RSS.php
Find
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
Replace with
'update_post_count' => false;
i believe it is supposed to be a , not a ;
thanks
EDITEDIt still does not work. Below is my Subs-RSS.php
my host gives this example code for CURL (i cant use fsockopen either)
<?
$URL="https://www.paypal.com";
if (isset($_GET["site"])) { $URL = $_GET["site"]; }
$ch = curl_init();
echo "URL = $URL <br>\n";
curl_setopt($ch, CURLOPT_VERBOSE, 1);
//curl_setopt ($ch, CURLOPT_HTTPPROXYTUNNEL, TRUE);
curl_setopt ($ch, CURLOPT_PROXYTYPE, CURLPROXY_HTTP);
curl_setopt ($ch, CURLOPT_PROXY,"http://proxy.shr.secureserver.net:3128");
curl_setopt ($ch, CURLOPT_SSL_VERIFYPEER, FALSE);
curl_setopt ($ch, CURLOPT_URL, $URL);
curl_setopt ($ch, CURLOPT_TIMEOUT, 120);
$result = curl_exec ($ch);
echo "<hr><br>\n";
echo 'Errors: ' . curl_errno($ch) . ' ' . curl_error($ch) . '<br><br>';
echo "<hr><br>\n";
curl_close ($ch);
print "result - $result";
echo "<hr><br>\n";
?>
vbgamer it does not work. that code did not work sir for stoping post counts even overall. how do i make it that the overall post acount like the number of topic ans posts total for the board not increase
Quote from: DaBoROE09 on January 12, 2007, 09:42:21 PM
vbgamer it does not work. that code did not work sir for stoping post counts even overall. how do i make it that the overall post acount like the number of topic ans posts total for the board not increase
I have no idea then just make the board not count posts.
@ vbgamer45
Information on cURL
http://wiki.dreamhost.com/index.php/CURL
@ Bobby
Can you post a link to your cronfile/site?
Can some1 help me a bit.
If I need to post a topic with subject "abc" and message "xyz" then what will be the format of RSS feed.Plz tell the whole code from top to bottom.
Quote from: vbgamer45 on January 12, 2007, 09:50:12 PM
Quote from: DaBoROE09 on January 12, 2007, 09:42:21 PM
vbgamer it does not work. that code did not work sir for stoping post counts even overall. how do i make it that the overall post acount like the number of topic ans posts total for the board not increase
I have no idea then just make the board not count posts.
that is in the board settings and it still does it. i will have it set u that the poster is a member
Allthough I'm still not using this Mod I think it's the most amazing mod for a news site like mine.
But, I have a few questions:
- Is there (or will be) a way to edit rss posts before publishing them? That would be very useful to authorizate or not meaningless posts...
- Can this mod publish 'posts' in news section of SMF? I think this will be a great way to see new news...
Thank you in advance and congratulations for this great Mod
Currently no way to approve the posts before publishing them.
The news section for the forum is actually a entry into the settings database and is not supported.
Thanks for your quick answer.
QuoteCurrently no way to approve the posts before publishing them
I see. Maybe a filter in the RSS Feed can do this... Or maybe a PHP Master ;) can write this preposting option page...
QuoteThe news section for the forum is actually a entry into the settings database and is not supported.
Ok. Maybe an option in TinyPortal can do similar function.
this fsockopen is the prob....is the any way around this? This could be one of the best mods on here but for most people we have shared servers and fsockopen is a no go! If you can crack this it's a number one!
Quote from: britmovie on January 13, 2007, 01:43:00 PM
this fsockopen is the prob....is the any way around this? This could be one of the best mods on here but for most people we have shared servers and fsockopen is a no go! If you can crack this it's a number one!
I will check Curl sometime next week.
In fact if you crack this we should all donate as this is just what ppl need and a few quid here and a few there and you could buy that super new computer!
this mod doesnt seem to be working on my site. I have fsockopen enabled and a cron job working but nothing....I am going to try a fake cron job but not sure that will work.
anyone got examples of a cron job for this? Maybe the one I have is not correct.
Whats the feed url you are using?
jump try to use fake cron jobs
I have fsockopen and I still get cronjob errors via e-mail:
PHP Warning: fopen(http://www.lanwars.org/index.php?option=com_rss&feed=RSS1.0&no_html=1): failed to open stream: HTTP request failed! in /home/*****/public_html/forums/Sources/Subs-RSS.php on line 251
<br />
<b>Warning</b>: fopen(http://www.lanwars.org/index.php?option=com_rss&feed=RSS1.0&no_html=1): failed to open stream: HTTP request failed! in <b>/home/*****/public_html/forums/Sources/Subs-RSS.php</b> on line <b>251</b><br />
Feed Poster Configuration
So basicly, when there's an & in a url, your mod changes it to &
OK.Some1 help me in this.
when I run from browser http://www.myforums.com/cronrss.php
it says Feed Poster Configuration
Also set up a cron job, but I don't think its working.Tell me what to set up in cron job.
Also tried up the fake crons.But its not working Either.
I contacted my Hosting Provider also, and they say fsockopen is available and Enabled.
Can u plz help me.I think I am doing smthing wrong.Maybe the permissions or smthing else.
also tell me the exact cron job command that is to be run.
i do not know if that function is enabled on my web hosting. i am running this mod and i have it set up to use fake cron jobs. if you know they are enabled and you use fake cron jobs, it should work. i was told that it was not enabled but i beg to differ with my hosting company. i do not think they want to discuss it for security reasons.
I am not using TinyPortal.Could that be problem ?
I am busy for a while so I will look into the issues some time after thrusday of next week.
OK.Its working now.But subject and Body is Blank.
Quote from: ankitcs on January 13, 2007, 11:22:42 PM
OK.Its working now.But subject and Body is Blank.
That happened once for me and after nothing at all!
Quote from: GC on January 14, 2007, 12:55:40 AM
Quote from: ankitcs on January 13, 2007, 11:22:42 PM
OK.Its working now.But subject and Body is Blank.
That happened once for me and after nothing at all!
Same here.Now nothing is happening.
love this! :) Any shot you could make it an option to only post to one topic/thread instead of creating a new one for every feed entry?
the first time it posts it will post something blank.
I noticed that DaBoROE09, is that expected?
i thought he fixed that problem.
I haven't gotten anything else either.
Thanks for creating this awesome and most useful mod!
Quote from: DaBoROE09 on January 13, 2007, 03:53:12 PM
jump try to use fake cron jobs
tried fake cron jobs and that doesnt work either.
Jump1979man, then you do not have that function enabled. i believe from my talks with vbgamer that that function does have to be enabled to work at all.
Edited
The shortest amount of time for the RSS to update is 30 minutes.
thanks
Using the fake cron jobs made my forum load too slowly. So, I put the http://www.myforums.com/cronrss.php file in and set the permissions to 755. Now it works perfectly with the forum loading as fast as usual.
Quote from: sipko on January 14, 2007, 02:50:15 PM
Using the fake cron jobs made my forum load too slowly. So, I put the http://www.myforums.com/cronrss.php file in and set the permissions to 755. Now it works perfectly with the forum loading as fast as usual.
Correction. Now it's not working. At first it did, but now it's not. I double checked the feeds to make sure the problem wasn't the feed and it wasn't.
Got it to work again by putting the feed in the mod and reloading the http://www.myforums.com/cronrss.php and got this message:
Feed Poster Configuration
I'm not sure if that one load makes it work thereafter, but if you load the url in your browser than it works with the cronrss.php file. And, as I experienced, the fake cron job slowed down my forum to a snail's pace.
Released an Update.
Fixed only downloading 1 feed item now downloads current number feeds.
Added support for FOpen for feeds as well as cURL - cURL is untested though.
Hmm.....
Well this seems like a great mod. I just installed it onto my forum and everything works fine. One thing I don't like though, is that the news items show up as just one huge chunk of information. It's all just one paragraph which really looks ugly when viewing the post...
Any way to fix this? Or atleast limit the amount of words posted?
Nice mod :)
Might be able to limit the words, formatting maybe impove it.
Limiting the words should be pretty alright. To our own preference that is :P Basically because it still has a link-back to where it's from anyways.
I can't get this to work at all. I'm trying with both a flickr.com feed and a blogspot feed. Immediately after installing it I get an empty post, then nothing after that. I have each set to pull 3 entries, update every 30 minutes, Feed enabled, HTML enabled, Topic unlocked.
The Feed URLS are as follows:
http://howtotieatievideo.blogspot.com/rss.xml
http://api.flickr.com/services/feeds/photos_public.gne?id=10372098@N00&format=rss_200
I've tried it with and without fake cron job turned on. Both times ran cronrss.php manually from the address bar after over 30 minutes. Still, after that initial blank post... nothing.
Honestly, I don't know if my server has fsockopen enabled - but I believe so.
Any ideas? I'm using bounceweb as a host, SMF 1.1.1
Quote from: nolageek on January 15, 2007, 02:34:57 AM
I can't get this to work at all. I'm trying with both a flickr.com feed and a blogspot feed. Immediately after installing it I get an empty post, then nothing after that. I have each set to pull 3 entries, update every 30 minutes, Feed enabled, HTML enabled, Topic unlocked.
The Feed URLS are as follows:
http://howtotieatievideo.blogspot.com/rss.xml
http://api.flickr.com/services/feeds/photos_public.gne?id=10372098@N00&format=rss_200
I've tried it with and without fake cron job turned on. Both times ran cronrss.php manually from the address bar after over 30 minutes. Still, after that initial blank post... nothing.
Honestly, I don't know if my server has fsockopen enabled - but I believe so.
Any ideas? I'm using bounceweb as a host, SMF 1.1.1
same prob here.I am trying Blogspot feeds and its givin same prob.
i have problem installing this mod via admin panel = package area
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
i am running SMF 1.1.1
please give a help - thanks
Quote from: ankitcs on January 15, 2007, 05:15:02 AM
Quote from: nolageek on January 15, 2007, 02:34:57 AM
I can't get this to work at all. I'm trying with both a flickr.com feed and a blogspot feed. Immediately after installing it I get an empty post, then nothing after that. I have each set to pull 3 entries, update every 30 minutes, Feed enabled, HTML enabled, Topic unlocked.
The Feed URLS are as follows:
http://howtotieatievideo.blogspot.com/rss.xml
http://api.flickr.com/services/feeds/photos_public.gne?id=10372098@N00&format=rss_200
I've tried it with and without fake cron job turned on. Both times ran cronrss.php manually from the address bar after over 30 minutes. Still, after that initial blank post... nothing.
Honestly, I don't know if my server has fsockopen enabled - but I believe so.
Any ideas? I'm using bounceweb as a host, SMF 1.1.1
same prob here.I am trying Blogspot feeds and its givin same prob.
ADD ME :(
Which version are you using? Are you using the latest one posted 1.0.2?
Feeds with & in the url may cause problems.
Feeds that I use and work for me:
http://digg.com/rss/index.xml
http://news.com.com/2547-1_3-0-20.xml
Does not work for blogspot feeds. http://howtotieatievideo.blogspot.com/rss.xml
Since they are ATOM based.
Installed fine, but I keep getting .. "Unable to download the feed. "
Does that mean the php sockets isn't enabled on my host?
Quote from: buhaychat.com on January 15, 2007, 02:27:13 PM
Installed fine, but I keep getting .. "Unable to download the feed. "
Does that mean the php sockets isn't enabled on my host?
Yes. Are you running the newest version? Has support for two other methods to download feeds if your host supports it.
Quote from: vbgamer45 on January 15, 2007, 12:17:36 PM
Which version are you using? Are you using the latest one posted 1.0.2?
Feeds with & in the url may cause problems.
Feeds that I use and work for me:
http://digg.com/rss/index.xml
http://news.com.com/2547-1_3-0-20.xml
sir vB... i am using the latest version. what was showing with me after using www.yourforum.com/cronrss.php (set to 755 also) only Feed Poster Configuration . None has been posted as well in the topics.
grrrrr damn you, ATOM based feeds and a pox upon thy house!
Could you please make this mod Atom accessable?
Quote from: RvG on January 15, 2007, 03:17:50 PM
Quote from: vbgamer45 on January 15, 2007, 12:17:36 PM
Which version are you using? Are you using the latest one posted 1.0.2?
Feeds with & in the url may cause problems.
Feeds that I use and work for me:
http://digg.com/rss/index.xml
http://news.com.com/2547-1_3-0-20.xml
sir vB... i am using the latest version. what was showing with me after using www.yourforum.com/cronrss.php (set to 755 also) only Feed Poster Configuration . None has been posted as well in the topics.
What feed urls are you using?
Quote from: vbgamer45 on January 15, 2007, 04:45:42 PM
Quote from: RvG on January 15, 2007, 03:17:50 PM
Quote from: vbgamer45 on January 15, 2007, 12:17:36 PM
Which version are you using? Are you using the latest one posted 1.0.2?
Feeds with & in the url may cause problems.
Feeds that I use and work for me:
http://digg.com/rss/index.xml
http://news.com.com/2547-1_3-0-20.xml
sir vB... i am using the latest version. what was showing with me after using www.yourforum.com/cronrss.php (set to 755 also) only Feed Poster Configuration . None has been posted as well in the topics.
What feed urls are you using?
from google rss...
Url?
Google's RSS don't work with this for some reason. I tried it when I first got it. They need to have an XML Extension I believe.....and the google URL's don't.
Which of these ports will I need to get this mod to work because my server has a security risk with fsockopen
root@quest [/home/shamari/public_html]# php -m
[PHP Modules]
bcmath
calendar
ctype
curl <--- Installed
dom
ftp
gd
gettext
iconv
imap
libxml
mbstring
mcrypt
mhash
mysql
mysqli
pcre
posix
session
SimpleXML
sockets
SPL
SQLite
standard
tokenizer
xml
Zend Optimizer
zlib
[Zend Modules]
Zend Extension Manager
Zend Optimizer
They are prepared to open certain ports for this mod to work this time... Thanks
cUrl might I added basic support untested since i don't have it installed.
mod has been updated and it now works however it continuously posts the same feed over and over.
Thanks, but which of these ports does your mod use in order for fsockopen to work? My host will open those I need right now. Then I don't have to worry about cURL...
Ports? It just connects to a website on port 80 of the website.
Here is my host's reply:
QuoteIf I could, I would open whatever ports you need. I cannot open any ports on our shared servers for security reasons. What ports do you need to open using fsockopen ?
vb, I gave your mod link to my host and it seems to me it is enabled:
Here is his response:
"Well, the fsockopen php function is enabled, but you won't be able to access any non-standard ports using it. If you can find out which ports can be opened, I can run it by my superiors to see if there is anything I can do for you."
Hope that's all I need...
I'm trying to get to work now but I have a simple question. If I add a feed... what will the topic prefix be? Last time I installed the mod I typed in 'tmr' and that was all that showed up in the topics and my database froze on me...
vb, I left that prefix blank and I proceed!!... and it worked!! You're da man!!... one of the BEST mods right here!! Well done... let me just open a PayPal account! :)
well, i was able to get the blogger/blogspot feed to work after runnning it through my feedburner account and converting it to rss. However, feedburner chokes on the flickr feed.
Flickr works now too... sort of. the image url has "title" stuck in it, so I'm going to try without html tags. just need to add another picture to my stream.
This is a fantastic Mod I have to say.. I just need to figure out how to work out a few kinks. My biggest concert now is a) inline image tags and stray HTML. I have problems with header (< h4>) tags on one feed... they come through but don't get processed... so the tags are stuck in the middle of the posts. Will see if I can tweak anything to fix that. Turning off HTML gets rid of all that, but then it's all clumped into one ugly paragraph. We're so picky!
I'm also getting this error sometimes:
Fatal error: Cannot redeclare class akismet in /home2/sexin/public_html/forum/Sources/Akismet.class.php on line 55
A last question from me. Is it possible to have the mod posts the topic only once and not twice as it is at the moment?
Mine is only posting it once... that's an odd error.
Quote from: vbgamer45 on January 15, 2007, 03:04:32 PM
Quote from: buhaychat.com on January 15, 2007, 02:27:13 PM
Installed fine, but I keep getting .. "Unable to download the feed. "
Does that mean the php sockets isn't enabled on my host?
Yes. Are you running the newest version? Has support for two other methods to download feeds if your host supports it.
Yup downloaded the latest version... what are the other 2 methods?
Ok, turning off HTML just has the link displays, I thought that would happen:
men in shirt and tie posted a photo:
http://www.flickr.com/photos/meninshirtandtie/356763969/
I've noticed that other feeds break when there are images in the post. Anyone have any experience in fixing this?
Quote from: sanax on January 16, 2007, 02:32:50 AM
A last question from me. Is it possible to have the mod posts the topic only once and not twice as it is at the moment?
I have posted about this once already and it hasnt been answered.
Quote from: Jump1979man on January 16, 2007, 11:17:32 AM
Quote from: sanax on January 16, 2007, 02:32:50 AM
A last question from me. Is it possible to have the mod posts the topic only once and not twice as it is at the moment?
I have posted about this once already and it hasnt been answered.
It should not post a duplicate post as long as the title and the description of the post are different. I can't recreate that yet.
vbgamer45: is there anyway that you can get it to strip attributes of tags, or certain tags out? Like, divs, attributes of img, etc... like, replace <img src="http://blah.com/img.gif" width="100" alt="blah.com" />
with just <img src="http://blah.com/img.gif" />
also, p tags seem to not get processed.
for example:
http://meninshirtandtie.com/forum/index.php/topic,42.0.html
If I go in and take out all the img style width etc.. the image shows up.
http://meninshirtandtie.com/forum/index.php/topic,43.0.html
Not even sure this is something that can be done. I have a rss parser plugin for wordpress that doesn't have them problem, so not sure if it's on the mods end or the feed's end.
Quote from: vbgamer45 on January 16, 2007, 11:21:16 AM
Quote from: Jump1979man on January 16, 2007, 11:17:32 AM
Quote from: sanax on January 16, 2007, 02:32:50 AM
A last question from me. Is it possible to have the mod posts the topic only once and not twice as it is at the moment?
I have posted about this once already and it hasnt been answered.
It should not post a duplicate post as long as the title and the description of the post are different. I can't recreate that yet.
I understand that it shouldnt but it in fact is posting duplicate.....
anyway to get rid of the "
from the feeds and convert them to " or just put them in quote sections i.e. [ quote ][ /quote ]
It's not the entire post which is duplicated but just the title or subject line.
I attached two images to explain what I mean by duplicated titles. The first image shows the frontpage blocks and the second the actual posts in the forum itself. I'm using snork's MessagePreview in Line mod in the forum and it just look a bit weird to see the title being duplicated...
Quote from: sanax on January 16, 2007, 02:50:56 PM
I attached two images to explain what I mean by duplicated titles. The first image shows the frontpage blocks and the second the actual posts in the forum itself. I'm using snork's MessagePreview in Line mod in the forum and it just look a bit weird to see the title being duplicated...
I dont see any duplication here, however it could be that your RSS feed could be duplicated :P
Also, I read that you cannot have a feed without the rss.xml? Thats not true. I have an rss feed coming through http://us.playstation.com/news/rss/games. Not sure if thats the exact url, but it doesnt use the last / or any .xml. I did a server scan on it, and no .xml files exsisted eather.
You can use any feed url but having odd characters like ; or & may cause problems.
Quote from: vbgamer45 on January 16, 2007, 05:35:46 PM
You can use any feed url but having odd characters like ; or & may cause problems.
Nope, the ; and & dont cause errors for me.
i was one of the first downloaders and testers for this one i like the 1.x version the only thing that bothered me that i wasnt able to delete anything but i manage to disable it :)
also the html tags needs to be updated if people wants to see in html
like the version 1,x2 :)
Quote from: GC on January 16, 2007, 05:19:53 PM
Quote from: sanax on January 16, 2007, 02:50:56 PM
I attached two images to explain what I mean by duplicated titles. The first image shows the frontpage blocks and the second the actual posts in the forum itself. I'm using snork's MessagePreview in Line mod in the forum and it just look a bit weird to see the title being duplicated...
I dont see any duplication here, however it could be that your RSS feed could be duplicated :P
Also, I read that you cannot have a feed without the rss.xml? Thats not true. I have an rss feed coming through http://us.playstation.com/news/rss/games. Not sure if thats the exact url, but it doesnt use the last / or any .xml. I did a server scan on it, and no .xml files exsisted eather.
You don't see any duplication?? lol
The TITLE of each post is duplicated!
I see what you mean, it does it on mine too, but it doesn't bother me. The title of the feed is going on the inside of the feed (as it should) and the script puts the title of the feel as the title of the post... it's got to title the post something. :) So, it's not duplicated per se.
Uhg. I have yet to get a feed come through that doesn't have all sorts of formatting screwing it up. Can the mod be made to clean up the posts before it posts them? Big offenders for me, maybe not others, are paragraph tags showing up and image formatting (width/height.) AM I doing something wrong? Is anyone else having this problem?
http://meninshirtandtie.com/forum/index.php/topic,54.0.html
http://meninshirtandtie.com/forum/index.php/topic,52.0.html
Flickr feed: http://meninshirtandtie.com/forum/index.php/topic,45.0.html
See? If I turn html off, then it doesn't show up - but then everything is all one ugly paragraph and images don't show. (which, some of these feeds are nothing but images!)
Afraid I'm going to have to disable the feeds until I figure out what Im doing wrong... too many coming through that I have to edit. :(
For some reason my cron job isn't updating the feeds. I tried the fake cron job but it slows the forum down. According to my host the
command line must be like this:
Quote/usr/bin/php http://www.mydomain.net/cronrss.php
and according a tutorial I found on Google it must be like this:
Quotehttp://www.mydomain.net/cronrss.php
None of the above works though. Do I miss something?
nolageek
what form feed are you using
rss 2.0 both are being run through feedburner.
i meant like what links... that end in .rss, .xml, or .rss.xml ?
oh, neither....
(I'm finding that more and more feeds do not end in rss or xml anymore...
http://feeds.feedburner.com/blogspot/hOcj
http://feeds.feedburner.com/MenInShirtAndTiesPhotos
http://feeds.feedburner.com/Gnews1
Before the feedburner they were all crazy-long with all sorts of $ and ? characters.. but didn't end in an extension either.
yes they do; what kind do u want like top stories, us news, et
I read the first 3 pages but couldn't find an answer, I don't have time to check through the rest right now so...
Installed the mod fine, nothing in error log. I placed this link into the box:
http://news.google.co.uk/nwshp?oe=UTF-8&tab=wn&ned=uk&topic=t&output=rss
and chose 60 mins for update time..
Set 5 for import amount, and saved it. Hour later, nothing showed up, so I ran the cron file even after making sure fake cron was ticked, but still nothing has happened.
^^I'm surprized you could even save a Google RSS Feed. Mine just gives me an error because it doesn't end with .xml or something...
Google feeds don't seem to work.
Feeds currently can not contain & in them. .xml is not required. They need to be RSS feeds.
alright thanks, will http://rss.news.yahoo.com/rss/tech work?
Quote from: L.G.S on January 17, 2007, 05:52:24 PM
alright thanks, will http://rss.news.yahoo.com/rss/tech work?
That looks good to go.
The RSS feed would be ideal if I can get it to work properly. One of the FEEDS I am using is
http://rss.news.yahoo.com/rss/business . The problem is I get a lot of tags and div's and many links. Is there a way to get a clean post?
Is there something I need to add to "Topic Prefix" box?
TIA
Quote from: BoroPride on January 17, 2007, 04:41:30 PM
yes they do; what kind do u want like top stories, us news, et
Yes what do? It's a google feed for 3 search terms: "men suit tie fashion"
google feed was originally:
http://news.google.com/news?hl=en&ned=us&q=men+suit+tie+fashion&ie=UTF-8&output=rss
OK, I turned HTML off in the google feed and it's still a little wonky...
Armani's velvets bring soft touch to MilanReuters India, India - 12 hours ago"There's not much black today, it's true," said the designer, who stated "Black is cool" after his Emporio Armani show on Monday aimed at younger men. ...
UPDATE: For google feeds, I turned off HTML and used "censor words" to translate & # 3 9 ; (no spaces) to an appostrophy. and & q u o t ; to a " and it works perfect.
Oh my goodness. I upgraded to 1.0.2 and now everything is being posted every 120 minutes, over and over and over and over and over and over again.
I just got finished deleting about 80 posts...
[News] Old Hat? Not on a Young Head - New York Times Today at 06:02 AM
[News] Dresses don't pack power that suits do Today at 05:29 AM
[News] Golden Globes set season's trends Today at 04:39 AM
[News]Old Hat? Not on a Young Head - New York Times Today at 03:55 AM
Yeah problem here too, the feed seems to be posting the same news twice for me...
Just want to say THANKS for this mod. The latest version works perfectly. It is posting into about 12 boards from all types of feeds. No blanks, either. I also appreciated that when I uninstalled the previous version and reinstalled the latest, all my settings were kept - that saved a lot time.
Thanks again!
Sorry for more questions..
How can i remove any of the mods posts from recent unread topics / new replies ?
Quote from: L.G.S on January 18, 2007, 04:46:11 PM
Sorry for more questions..
How can i remove any of the mods posts from recent unread topics / new replies ?
That would be really hard to do without rewriting a lot of SMF code.
Quote from: nolageek on January 17, 2007, 09:32:32 PM
Quote from: BoroPride on January 17, 2007, 04:41:30 PM
yes they do; what kind do u want like top stories, us news, et
Yes what do? It's a google feed for 3 search terms: "men suit tie fashion"
google feed was originally:
http://news.google.com/news?hl=en&ned=us&q=men+suit+tie+fashion&ie=UTF-8&output=rss
OK, I turned HTML off in the google feed and it's still a little wonky...
Armani's velvets bring soft touch to MilanReuters India, India - 12 hours ago"There's not much black today, it's true," said the designer, who stated "Black is cool" after his Emporio Armani show on Monday aimed at younger men. ...
UPDATE: For google feeds, I turned off HTML and used "censor words" to translate & # 3 9 ; (no spaces) to an appostrophy. and & q u o t ; to a " and it works perfect.
That is just smart... you are a geek :P
Quote from: vbgamer45 on January 18, 2007, 04:49:59 PM
Quote from: L.G.S on January 18, 2007, 04:46:11 PM
Sorry for more questions..
How can i remove any of the mods posts from recent unread topics / new replies ?
That would be really hard to do without rewriting a lot of SMF code.
Any chance I could know ??
I am not that savy with code and all but I can get around thanks to many of you who explain things very well.
I am on Cpanel host and the only way to get the feed to work is to check the "Use fake Cron jobs" box but this slows my board down.
I have tried executing a cron job from Cpanel by pointing to direction of cronrss.php file in forum directory but I get errors from Cpanel
ie:
/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/public_html/forum/cronrss.php: line 2: /FAKEFS: is a directory
/public_html/forum/cronrss.php: line 3: RSS: command not found
/public_html/forum/cronrss.php: line 4: Version: command not found
/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/public_html/forum/cronrss.php: line 7: etc/: is a directory
/public_html/forum/cronrss.php: line 9: //: is a directory
/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/public_html/forum/cronrss.php: line 10: `require('SSI.php');'
I am not an expert, but when I run in browser it works and updates feeds one time, so I was figuring I could set a cron job on Cpanle to do this?
im getting
An Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
when going in to the packages bit and trying to auto install
im running SMF 1.1.1
Quote from: maxprofit on January 20, 2007, 03:43:59 PM
I am not that savy with code and all but I can get around thanks to many of you who explain things very well.
I am on Cpanel host and the only way to get the feed to work is to check the "Use fake Cron jobs" box but this slows my board down.
I have tried executing a cron job from Cpanel by pointing to direction of cronrss.php file in forum directory but I get errors from Cpanel
ie:
/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/public_html/forum/cronrss.php: line 2: /FAKEFS: is a directory
/public_html/forum/cronrss.php: line 3: RSS: command not found
/public_html/forum/cronrss.php: line 4: Version: command not found
/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/public_html/forum/cronrss.php: line 7: etc/: is a directory
/public_html/forum/cronrss.php: line 9: //: is a directory
/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/public_html/forum/cronrss.php: line 10: `require('SSI.php');'
I am not an expert, but when I run in browser it works and updates feeds one time, so I was figuring I could set a cron job on Cpanle to do this?
Have you clicked on the 'Cron Jobs' button in the cPanel? It's pretty straight forward...
I did click the cron in cpanel and directed the location to where the file is. The above was the result output when that file was executed.
Make sure it is the url location not the path to the file.
I'm using the 'path' and not the 'URL'
I found the latter is not working though.
this mod is great... however I ran into some problems...
* with fake cron job on
a LOT of errors, around 30 pages per minute, all of them with "undefined offset: 9" in them
* without fake cron, cron turned on in cPanel
...erm, no posts at all..
when I try to access cronrss.php it gives me this:
QuoteFatal error: Cannot redeclare ssi_viewblogs() (previously declared in /home/metalham/public_html/forum/SSI.php:1627) in /home/metalham/public_html/forum/SSI.php on line 1699
any hint?
Sounds like you have a problem with your SSI.php you probably have two function ssi_viewblogs()
Delete one of them and the ssi file will work again.
Quote from: vbgamer45 on January 20, 2007, 11:34:40 PM
Make sure it is the url location not the path to the file.
Putting the url on Cpanel Cron job in command line, the output I get is
/bin/sh: No such file or directory
what can i do about it not installing to my board? version 1.1.1?
ack need help, Im getting this almost every second:
http://www.ruthlessintent.com/board/index.php?amp;action=login2
Apply Filter: Only show the errors with the same message
8: Undefined offset: 8
File: /home/tscar/public_html/board/Sources/Subs-RSS.php
Line: 176
working great with "use fake cron jobs" ;)
thanks
Quote from: vbgamer45 on January 21, 2007, 09:54:51 AM
Sounds like you have a problem with your SSI.php you probably have two function ssi_viewblogs()
Delete one of them and the ssi file will work again.
You were right! After I've removed the duplicate and executed cronrss.php it worked! I just have to wait and see wheter it will work without manually executing cron.
EDIT: No, no updates :( unless I manually execute the cronrss.php file... if I turn on fake cron i get 44 pages of errors instantly, since i have 20 members viewing the forum and refreshing every second...
8: Undefined offset: 19
File: /home/metalham/public_html/forum/Sources/Subs-RSS.php
Line: 235
any ideas now?
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
when i try to install it on my board does any one know why im running version 1.1.1
thanks for great mod.it's working correctly.but i have one wishes from you.in rss feed ,when topic is opened there is only link and sentences but i want to add pictures also ! how can robot do that. there is a way to robot will open picture cod button and add picture link from the rss feed ?
Nice mod, as usual.
How can I set up a cron job on Cpanel using "http://www.yourforums.com/cronrss.php" on comnand line will not work ... Setting direct location where this file is will also not work. IS there a script that can be written that will execute the cron job in Cpanel
Only way it updates is if I do it manualy via the web browser.
Using the Fake Cron slows down FORUM.
Help greatly appreciated
Quote from: maxprofit on January 21, 2007, 07:33:56 PM
How can I set up a cron job on Cpanel using "http://www.yourforums.com/cronrss.php" on comnand line will not work ... Setting direct location where this file is will also not work. IS there a script that can be written that will execute the cron job in Cpanel
Only way it updates is if I do it manualy via the web browser.
Using the Fake Cron slows down FORUM.
Help greatly appreciated
Same thing over here... Thanks in advance!
Quote from: maxprofit on January 21, 2007, 07:33:56 PM
How can I set up a cron job on Cpanel using "http://www.yourforums.com/cronrss.php" on comnand line will not work ... Setting direct location where this file is will also not work. IS there a script that can be written that will execute the cron job in Cpanel
Only way it updates is if I do it manualy via the web browser.
Using the Fake Cron slows down FORUM.
Help greatly appreciated
Assuming you're running php-cgi, you can't load a php via URL directly from the cron tab. That's why it doesn't work.
My host has wget and lynx disabled so I'll have to use a PERL script since my host has a rather robust PERL library. Try this simple PERL script. I'm debating whether to install this mod but if I do, I'll call this perl script from the cron tab. Please note I haven't tested this script so CAVEAT EMPTOR. You may have to change the path to your PERL directory in the first line of the code and you will have to change the location of where you save the PERL script (and change the permissions to 755).
#!/bin/usr/perl
use LWP::Simple;
$p = get "http://www.yourforums.com/cronrss.php";
print $p;
We'll call the script "cronrss.pl" for this example.
The cron command will be:
/home/username/public_html/folder/cronrss.pl >/dev/null 2>&1
If your host has lynx enabled, you don't need the perl script. The cron tab would be:
lynx -dump 'http://www.yourforums.com/cronrss.php' >/dev/null 2>&1
Again, your mileage will vary depending on how your host is configured.
Nice Mod, thank you :)
Some News are dublicated, they were posted twice (same feed, same news), I deleted them ???
I'm searching for a solution that the rss feed posts are not in Recent Posts, or counted extra ???
Thank you, and greetings!
EDIT: Try to let it post as an user instead of guest now, maybe it helps...
Quote from: lexhair on January 21, 2007, 09:59:10 PM
Quote from: maxprofit on January 21, 2007, 07:33:56 PM
If your host has lynx enabled, you don't need the perl script. The cron tab would be:
lynx -dump 'http://www.yourforums.com/cronrss.php' >/dev/null 2>&1
Again, your mileage will vary depending on how your host is configured.
Thanks, the above seems to be working meaning my host must have lynx enabled.
This code writing stuff and commands is new to me. I am a quick learner though thanks to people like you and many others here.
Very much appreciated :)
As a follow up to my post above, if you don't want to write a perl script, this php script should work:
<?php
include ('http://www.yourforums.com/cronrss.php');
?>
, save it as something like 'crontabrss.php', change the permissions to 755 and run it from the cron tab as:
php -q /home/username/public_html/folder/crontabrss.php >/dev/null 2>&1
Thanks to all your help, all is working well now and updating via a real Cron Job.
Some may want an answer to this as well, so I will ask.
When a member enters the FORUM he has a choice to click "Show unread posts since last visit".
most members do not want to see all the feeds as their unread posts. So how would one eliminate the RSS feeds from members unread posts.
What İs The Sql Query Code ? :S
Quote from: lexhair on January 22, 2007, 09:02:43 AM
As a follow up to my post above, if you don't want to write a perl script, this php script should work:
<?php
include ('http://www.yourforums.com/cronrss.php');
?>
, save it as something like 'crontabrss.php', change the permissions to 755 and run it from the cron tab as:
php -q /home/username/public_html/folder/crontabrss.php >/dev/null 2>&1
Works fine now, thanks!
I get this error on install:
Column count doesn't match value count at row 1
File: /var/www/html/foros/Packages/temp/FeedPostersql.php
Line: 34
Any ideas?
Quote from: Ninoslav on January 21, 2007, 06:06:03 AM
this mod is great... however I ran into some problems...
* with fake cron job on
a LOT of errors, around 30 pages per minute, all of them with "undefined offset: 9" in them
* without fake cron, cron turned on in cPanel
...erm, no posts at all..
when I try to access cronrss.php it gives me this:
QuoteFatal error: Cannot redeclare ssi_viewblogs() (previously declared in /home/metalham/public_html/forum/SSI.php:1627) in /home/metalham/public_html/forum/SSI.php on line 1699
any hint?
It sounds like your mod installed the code twice, ON EVERYTHING(only the files the mod effects, check your mod install instructions). Check all of your files for the duplicate code.
any chance of knowing how to stop them from appearing in unread topics.. much be a way
Ya, I think that's a feature needed. It's flooding the unread topics area.
Quote from: Asgard on January 22, 2007, 04:21:17 PM
I get this error on install:
Column count doesn't match value count at row 1
File: /var/www/html/foros/Packages/temp/FeedPostersql.php
Line: 34
Any ideas?
I solved the problem, seems like at some point i have added an extra field to settings that was causing the problem. I have also changed REPLACE with INSERT, since the SQL command used was REPLACE INTO settings, i changed to INSERT INTO Settings
Working fine now. Thanks
Can you tell me what this means after I pressed "install"
Fatal error: packageinstall() [function.require]: Failed opening required '/home/ag8090/domains/blahblahforums.com/public_html/forums/Packages/temp/./FeedPostersql.php' (include_path='.:/usr/local/lib/php') in /home/ag8090/domains/blahblahforums.com/public_html/forums/Sources/Packages.php on line 549
Create a folder called temp in the packages folder and make sure it is writable
Quote from: L.G.S on January 22, 2007, 04:34:42 PM
any chance of knowing how to stop them from appearing in unread topics.. much be a way
any idea for this :(
Ok thanks! that worked, it said it would redirect me to settings but just redirected me to the board index. So then I went back to the admin panel and what am I supposed to do now? I don't see anything about rss feeds :-\
Actually it takes me to this url
blahblahforums.com/forums/index.php?action=feedsadmin
which is just my board index :-\
Quote from: ketchup on January 23, 2007, 11:39:44 AM
Actually it takes me to this url
http://www.blahblahforums.com/forums/index.php?action=feedsadmin
which is just my board index
That means the mod did not install.
so what should I do? it says it's installed and I can list the files and stuff
L.G.S many of us waiting on that one lol.
Re: the unread posts flooding and FORUM members getting upset. I reduced the number of feeds and delete the feed boards daily until a way to block them from being included in unread posts
Yeah same with me, my members are also getting upset. This settings should be a basic option imo
Hi 3 questions:
1) I got this to work on another host just fine...so what can I do about the host that it's not working on? I have a full server and can make changes to confiuration but I need to tell the host what is wrong
2) This is how one of the yahoo feeds looks....great...except I dind't enable html because it was all just code showing up AND the url to the actual news story isn't cliable...but the yahoo news is see
--------------------------------------------------------------------------
3 killed as protesters paralyze Lebanon
(AP)
AP - Hezbollah-led protesters paralyzed Lebanon Tuesday, clashing with government supporters and burning tires and cars on roads in and around the capital to enforce a general strike aimed at toppling U.S.-backed Prime Minister Fuad Saniora. Three people were killed and dozens injured.
http://us.rd.yahoo.com/dailynews/rss/topstories/*http://news.yahoo.com/s/ap/20070123/ap_on_re_mi_ea/lebanon_protests
--------------------------------------------------------------------------
So what did you guys do?
3) Are having all these rss feeds important? I mean is this more imortant for search engines thena having memebrs be able to use recent posts? ...Just asking your opininon
That are my problems too. The mod is still posting some doubleposts and I would like to exclude its postings from recent posts, unread posts, and if possible from the forums rss feed (the most news feed providers dont want you to deliver their news as rss feed too !)
Maybe someone has a hint where I find some infos about to change this?
Yes, yahoo generates that * .. scroll back some posts, someone here explained how to filter words or symbols in this case that * .
I just used reuters feeds instead of yahoo .. Do a search for feeds, then test them out
IMO just do this:
Filtered Words > /*
Change "/*" so that it filters into /*
(there is a space after the asterisk, don't forget that) then it should be alright.
-------------------
daaaaaaam waitin for help..
This is MURDERING my forum, I really need help now and its not stopping and slowing it waaaaayy down.
I have 16,500 and counting pages of this, and it's gotta go..
http://www.ruthlessintent.com/board/index.php?amp;action=login2
8: Undefined offset: 8
File: /home/tscar/public_html/board/Sources/Subs-RSS.php
Line: 176
Are you using the most recent version? At line 176 I get an empty line of that file.
Updated, still get the problems.
I think you should all know that this used up ALOT of bandwidth. I had it installed and working for about a week, and it used over 98 GB is bandwidth (ALOT!), this includes my forum activity too... I also have 25 feeds being added every 6 hours :P
@ LGS any suggestions on how to get rid of the following out of the imported posts...by maybe using the word filter ??
don't
for example... "I don't see the point"
im guessing its replacing the ' with the '
thanks guys
How does it use 98 gig! Isn't it just text? Or is it the cron job that takes up the bandwidth?
I am having a issue where the feed loads like this
Read full story for latest details.
<p><a href="http://rss.cnn.com/~a/rss/cnn_offbeat?a=xWgJCe"><img src="http://rss.cnn.com/~a/rss/cnn_offbeat?i=xWgJCe" border="0"></img></a></p><img src="http://rss.cnn.com/~r/rss/cnn_offbeat/~4/80338619"/>
http://rss.cnn.com/~r/rss/cnn_offbeat/~3/80338619/index.html
What is causing this to happen?
Thanks in advance
DiamondGamer.com
Hi. I'm a little confused on how this works? I have installed it successfully..but I don't understand how you display & view the actual feed. I have the feed set for my "News" forum, but when I visit that forum, I don't see anything different. Can someone help me understand how this exactly works?
QuoteCan someone help me understand how this exactly works?
Perhaps you could describe, what you dont understand?
You type in your feed url for example http://www.tagesschau.de/newsticker.rdf
and choose a forum for example your news forum to post the feed items.
And you have to set up a time interval and you have to select "Feed Enabled".
My question is still why the mod is posting doubleposts, some postings ago was written that this not happens, but the mod is producing doublepostings sometimes:
[News] Südkorea testet Grenzroboter
...
[News] Südkorea testet Grenzroboter
...
[News] Südkorea testet Grenzroboter
...
[News] Haas erreicht Halbfinale in Melbourne
...
[News] Haas erreicht Halbfinale in Melbourne
http://www.startforum.de/index.php?board=30.0
I tried the Merge Double Postings Mod :-[ ...
And I set Update every x minutes to 1440, but its posting anytime the Tagesschau's feed is updated I think ???
mfg
Quote from: crazyclover on January 24, 2007, 12:12:06 AM
I am having a issue where the feed loads like this
Read full story for latest details.
<p><a href="http://rss.cnn.com/~a/rss/cnn_offbeat?a=xWgJCe"><img src="http://rss.cnn.com/~a/rss/cnn_offbeat?i=xWgJCe" border="0"></img></a></p><img src="http://rss.cnn.com/~r/rss/cnn_offbeat/~4/80338619"/>
http://rss.cnn.com/~r/rss/cnn_offbeat/~3/80338619/index.html
What is causing this to happen?
Thanks in advance
DiamondGamer.com
you need to turn off html in the feed configuration
Quote from: ketchup on January 23, 2007, 11:21:51 PM
How does it use 98 gig! Isn't it just text? Or is it the cron job that takes up the bandwidth?
It is, but I have many different feeds going out. Every time a cron job is used, it collects 5 and brings them all in. And there's really about 10 new feeds an hour! So you can guess that my board used up alot of bandwidth that one week when this was working.
Quote from: GC on January 24, 2007, 11:08:21 AM
Quote from: ketchup on January 23, 2007, 11:21:51 PM
How does it use 98 gig! Isn't it just text? Or is it the cron job that takes up the bandwidth?
It is, but I have many different feeds going out. Every time a cron job is used, it collects 5 and brings them all in. And there's really about 10 new feeds an hour! So you can guess that my board used up alot of bandwidth that one week when this was working.
Are you using the "Use Fake Cron job" method?
Quote from: GC on January 24, 2007, 11:08:21 AM
Quote from: ketchup on January 23, 2007, 11:21:51 PM
How does it use 98 gig! Isn't it just text? Or is it the cron job that takes up the bandwidth?
It is, but I have many different feeds going out. Every time a cron job is used, it collects 5 and brings them all in. And there's really about 10 new feeds an hour! So you can guess that my board used up alot of bandwidth that one week when this was working.
You can change how often it updates the feeds and how many items each brings in.
Any idea on this...
http://www.ruthlessintent.com/board/index.php?amp;action=login2
8: Undefined offset: 8
File: /home/tscar/public_html/board/Sources/Subs-RSS.php
Line: 176
Am new to SMF and Mods so apologies for the Noobie questions but when I try and download this mod from within the Admin CP i get the message you can see in the thumbnail.
The second thumbnail shows my version, I am running 1.1.1 so I dont really understand. As I say this is my first mod so it may be something obvious I am missing?
Have you tried copying the file to the packages folder and install from there?
Quote from: vbgamer45 on January 24, 2007, 05:46:37 PM
Have you tried copying the file to the packages folder and install from there?
Worked like a charm, told you it was a noobie question :)
And if you don't mind another, what is the difference between using a fake cron job and using forum.com/cronrss.php ?
Thanks for your help
fake cron job checks every page view if a feed has not been posted yet.
A real cron job is only called when you set it up at a certain time for example.
thanks vbgamer, feeder is working like a charm :)
Quote from: v2.web on January 24, 2007, 10:25:30 AM
QuoteCan someone help me understand how this exactly works?
Perhaps you could describe, what you dont understand?
You type in your feed url for example http://www.tagesschau.de/newsticker.rdf
and choose a forum for example your news forum to post the feed items.
And you have to set up a time interval and you have to select "Feed Enabled".
I did everything you mentioned...but I still do not see a feed in my forum...
Can anyone help me... :(
Have to say this is an excellent mod for my needs. It keeps my 'eventcalendar' on my blog (feed source) synchronized with my 'events' forum on SMF. Not sure if I'd want feeds that update more frequently in the board.
40,000 pages of this today, not that nice having to come onto a slow forum because of it..
http://www.ruthlessintent.com/board/index.php?amp;action=login2
8: Undefined offset: 8
File: /home/tscar/public_html/board/Sources/Subs-RSS.php
Line: 176
3rd time
I don't know how to fix that.
I would remove the mod if it is causing problems.
Quotefake cron job checks every page view if a feed has not been posted yet.
Mh. I changed
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
}
to
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
$n=time();
$fp = fopen ('rss_cron.txt', 'r');
$l= fread ($fp,255);
fclose ($fp);
$l_ = $l + (60 * 60);
if($n > $l_)
{
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
$fp = fopen ('rss_cron.txt','w+');
fwrite($fp,$n);
fclose($fp);
}
}
to try to let it check hourly. Is this OK, or could cause it problems?
Great mod. thanks.
I seem to not be able to find this or figure it out, take your pick which.. Anyway, how do I install this thing to begin with? I just can't seem to figure that part out. I'm using Mambo, and I have searched both the mambo site and this one and find nodda on how to install the rss feed poster for SMF. I have the script, have the CMS and the forum, but the directions got left out somewhere along the line...or I just don't or can't figure it out.
Any help would be greatly appreciated.
Thanks.
You use the SMF Package Manager to install it. Either go though the package manager and upload via there.
Or ftp the file to your SMF packages folder then use Package Manager to install.
Quote from: GC on January 23, 2007, 05:35:02 PM
I think you should all know that this used up ALOT of bandwidth. I had it installed and working for about a week, and it used over 98 GB is bandwidth (ALOT!), this includes my forum activity too... I also have 25 feeds being added every 6 hours :P
98gigs? Holy Cow! That's insane...anyone have any idea what a daily cron job would amount to in bandwidth? Can't be much...
I don't think that means the mod uses that bandwidth it is just downloading text files. He says that includes forum activity as well probably has downloads on the site.
I am using real cron job. I have no problem with bandwidth. So far well under 2G for the month of January and our FORUM is a trader forum with many charts etc.
Been running RSS feed for a couple weeks now.
All is well. Works great
I have this installed and running fine but with the exception of the duplicate posts. I'm not using this on a live board and I'm not getting any errors. I have been using the fake cron jobs. I've seen this question posted a few times in this topic but there appears to be no answer and not much attempts to answer this. Any help?
Duplicate posts haven't figured out it should not be making them though.
Could someone give an example of a real cron job? I have searched and it seems to be something I don't get very well.
Quote from: crappyday on January 29, 2007, 12:51:25 PM
Could someone give an example of a real cron job? I have searched and it seems to be something I don't get very well.
Try this (http://www.simplemachines.org/community/index.php?topic=141776.msg920597#msg920597) or this (http://www.simplemachines.org/community/index.php?topic=141776.msg921066#msg921066) and I'll try to walk you through it if you have problems.
Quote from: lexhair on January 29, 2007, 01:09:06 PM
Quote from: crappyday on January 29, 2007, 12:51:25 PM
Could someone give an example of a real cron job? I have searched and it seems to be something I don't get very well.
Try this (http://www.simplemachines.org/community/index.php?topic=141776.msg920597#msg920597) or this (http://www.simplemachines.org/community/index.php?topic=141776.msg921066#msg921066) and I'll try to walk you through it if you have problems.
That loses me even more because I don't have a crontab in my cPanel (it's not a conventional cPanel). Is this a script that I need to execute or just upload via FTP? I'm sorry if I sound like a total noob but in this case I most certainly am.
What client does your host provide to allow you to administer your site?
The posts are created with strange letters Like:
Marítimo, but should be Marítimo
any ideias to solve this?
[/quote]
For those of you who were getting errors I would like to call your attention to this thread:
http://www.simplemachines.org/community/index.php?topic=146172
More specifically:
Re: RSS Feed Poster help...:
http://www.simplemachines.org/community/index.php?topic=146172.msg933169#msg933169
SleePy managed to figure something out. I am still trying to figure out what exactly his changes did that made the errors go away. ;) It was important enough to follow up and add the link here though.
Quote from: lexhair on January 29, 2007, 02:03:43 PM
What client does your host provide to allow you to administer your site?
Please don't laugh, I'm using shared hosting with godaddy at the moment but I am currently in the process of switching to another host but the site in particular that I'm trying to get this to work with might not be moved anytime soon because I don't want it down due to propagation. (I know, TMI, lol)
Quote from: crappyday on January 30, 2007, 06:42:17 AM
Quote from: lexhair on January 29, 2007, 02:03:43 PM
What client does your host provide to allow you to administer your site?
Please don't laugh, I'm using shared hosting with godaddy at the moment but I am currently in the process of switching to another host but the site in particular that I'm trying to get this to work with might not be moved anytime soon because I don't want it down due to propagation. (I know, TMI, lol)
Sorry but if you need to keep godaddy as your host, they don't support cron on their shared hosts AFAIK.
Turning the HTML enabled option off in feedposter fixed my problem. Thanks everyone!
Now to find a new mod to play with!
CrazyClover
DiamondGamer.com
There is one thing I would like to see in this mod.
I'm using a cronjob to update the feeds every 15 minutes, so the posts are on 1:00:00 1:15:00 1:30:00 etc etc. How about changing those dates to the real dates which are in the RSS feeds?
Quote from: vbgamer45 on January 28, 2007, 09:16:22 AM
I don't think that means the mod uses that bandwidth it is just downloading text files. He says that includes forum activity as well probably has downloads on the site.
I have no downloads, and I have only 70 people online at once most of the time. I had videos, but no videos where watched within those days. It's weird how this happened. It used 22 gigs of bandwidth one day, and it was exactly when I got this working :S I removed the cron job and its not using any bandwidth now :S
Where do I go to to add, delete, and edit feeds?
Why is there a space here after I installed this mod?
[img=http://img158.imageshack.us/img158/1038/spacexs8.th.png] (http://img158.imageshack.us/my.php?image=spacexs8.png)
Copy the text strings from modificaitons.english.php to every modificaitons.egnlish.php filie you are using.
If you are using another language copy them from modifications.english.php to modificaitons.yourlanguage.php
Quote from: vbgamer45 on February 03, 2007, 05:18:40 PM
Copy the text strings from modificaitons.english.php to every modificaitons.egnlish.php filie you are using.
If you are using another language copy them from modifications.english.php to modificaitons.yourlanguage.php
What do you mean to every modificaitons.english.php file I am using? I am only using the default theme and it's modificaitons.english.php file only contains stuff for SMF Arcade.
You will have to extra them manually from the mods install .xml file then copy them to modifications.english.php
I've done that but that space still spears in my admin panel and I have the following appearing above my forum.
// Begin RSS FeedPoster Text Strings $txt['smfrssposter_admin'] = 'Feed Poster Configuration'; // END RSS FeedPoster
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
That needs to be on its own line
This is how it appears in my file.
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
// END RSS FeedPoster
?>
In your themes/default/modifications.english.php file right? If so then it should come up.
MY RSS Bot only posted to my forum once when I first added them but after the first time it doesnt update...and I run the php thats in the text file in a crontab event.
Quote from: vbgamer45 on February 03, 2007, 09:47:13 PM
In your themes/default/modifications.english.php file right? If so then it should come up.
Yes, that's the file. Here is a copy of my file.
Use this file instead
Quote from: vbgamer45 on February 03, 2007, 10:18:13 PM
Use this file instead
Thank you. After comparing my file with your file I seen there was two ?> tags in my file.
well i dont have any idea what to do
but i badly need it
so could anyone tell me how to download feed from xyz.blogspot.com
and the changes i have to make step by step
plz tell me in detail step by step earlier i treid to download from it
but it said "unable to download"
Who to solve the special characters problem (no english characters)...?
I can't solve that problem.
I'm sorry my descriptions of yestardays problem was kinda of vague and bad however the issue I am having is that whenever I add a feed its added fine and all the headlines come into my forum however once I add it and I put the time intervals and I put the number of items I want to import which is around 10. It doesn't update. I currently have it set to fake coronets and I also checked the errors and I have none I have 5 feeds all in different intervals but I can get it to work. The Account I'm using to post with is one I never log into its a separate account I have just for feeds. Any help would be appreciated.
I don´t know what i have to fil in under "Feed Url" in the admin section...
when i enter the http://www.mydomain.com it appears: Unable to download the feed.
Thats not an rss feed url. You need get rss feed urls
Example:
http://digg.com/rss/index.xml
when will you try to sort the problem of double posting??
I am not working on that problem. I can't recreate it.
Alright...when I try to install this I'm getting this:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
Installations actions for "RSS Feed Poster":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification FeedPoster.xml Modification parse error
2. Execute Modification - Modification parse error
3. Extract File ./Sources/FeedPoster.php
4. Extract File ./Sources/Subs-RSS.php
5. Extract File ./cronrss.php
6. Extract File ./Themes/default/FeedPoster.template.php
7. Extract File ./Themes/default/languages/FeedPoster.english.php
8. Extract File ./Themes/default/languages/FeedPoster.english-utf8.php
9. Execute Code FeedPostersql.php
Anyone know how I can make this work?
Quote from: vbgamer45 on February 06, 2007, 05:13:19 PM
I am not working on that problem. I can't recreate it.
Use this then:
http://rss.news.yahoo.com/rss/tech
That likes to double post, even triple.
I think the double post problem comes from actual news (CNN, MSNBC, YAHOO, etc) feeds. I think the problem is in the article itself. Under the main heading there is an "updated time". Could this updated time make RSS Feed Poster think that it is a completely new story, therefore creating new posts?
Hello,
Do you know anything about this mod making the board structure corrupt? It is believed to cause the problem twice:
http://www.simplemachines.org/community/index.php?topic=141907.0 and http://www.simplemachines.org/community/index.php?topic=149109.0
Do you have a solution?
I don't know anything about that. I would need to see the feed url. It makes the post from the feed contents.
Yes, while I reduced the mod to the function to "synchronize" my forum with my page I found out that,
example
"News foo"
"News foo (udated)"
results in a new/dublicated post.
Maybe popular feeds like enigma posted about are updated often.
------------------------------------------------
OT: news.google.de dont works on my page
------------------------------------------------
The mod is great, thank you :)
Why can't you just make it so that the mod does not replicate the same title in the same forum within an amount of time (eg 3 days)?
Quote from: L.G.S on February 09, 2007, 05:01:13 AM
Why can't you just make it so that the mod does not replicate the same title in the same forum within an amount of time (eg 3 days)?
It shouldn't each item is is compared for unique title + description
Quote from: vbgamer45 on February 09, 2007, 10:27:53 AM
Quote from: L.G.S on February 09, 2007, 05:01:13 AM
Why can't you just make it so that the mod does not replicate the same title in the same forum within an amount of time (eg 3 days)?
It shouldn't each item is is compared for unique title + description
Whenever the news story gets updated, the description changes with an updated time.
So just the title then, not like people want the same title for different stories, who wants 2 different news stories with the exact same title anyway?
Quote from: lexhair on January 30, 2007, 09:46:05 AM
Quote from: crappyday on January 30, 2007, 06:42:17 AM
Quote from: lexhair on January 29, 2007, 02:03:43 PM
What client does your host provide to allow you to administer your site?
Please don't laugh, I'm using shared hosting with godaddy at the moment but I am currently in the process of switching to another host but the site in particular that I'm trying to get this to work with might not be moved anytime soon because I don't want it down due to propagation. (I know, TMI, lol)
Sorry but if you need to keep godaddy as your host, they don't support cron on their shared hosts AFAIK.
I'm sorry for not getting back to this faster but I did end up changing hosts. It took me a few days to get this working because I tried this and that and finally finally got it working absolutely GREAT! Thank you for your help lexhair and to vbgamer45 for this great mod, it took time and patience but in the end it was worth it all.
L.G.S., this is for you. I'm sorry you are having troubles with this package but I have to say that your attitude is really getting old. OK, so this isn't working the way you would have wanted it to, it's not the end of the world and if your forum depends on this feature in order for your site to be successful, then why not just post the rss links in html to the index.html page and be done with it. I don't have the problem with double posting anymore but what I did do is set up a hidden board for the RSS feeds to post into, from there my staff and I decide what seems interesting and what does not, we then move the post(s) to whichever forum those RSS feeds would fit into. It's not all that much trouble and it keeps from having silly RSS feeds take over our site, this would also help with your massive concern about double and triple posts destroying society as we all know it to be.
I'm sorry if this seems out of line but read back through this topic 7 or 8 times as I have trying to get this mod to work and you'll see where my annoyance level comes from.
I'm having some trouble with this mod. Whe I run the cronrss.php file,I get
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen(http://digg.com/rss/index.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen(http://rss.news.yahoo.com/rss/tech) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
How would you get the feed to import ALL the topic into a forum and not just a lil snippet / teaser.....im trying to see if its possible to have it take teh whole article into a post rather than just 2 lines or so.....
can this be done?
Quote from: crappyday on February 10, 2007, 10:32:29 AM
Quote from: lexhair on January 30, 2007, 09:46:05 AM
Quote from: crappyday on January 30, 2007, 06:42:17 AM
Quote from: lexhair on January 29, 2007, 02:03:43 PM
What client does your host provide to allow you to administer your site?
Please don't laugh, I'm using shared hosting with godaddy at the moment but I am currently in the process of switching to another host but the site in particular that I'm trying to get this to work with might not be moved anytime soon because I don't want it down due to propagation. (I know, TMI, lol)
Sorry but if you need to keep godaddy as your host, they don't support cron on their shared hosts AFAIK.
I'm sorry for not getting back to this faster but I did end up changing hosts. It took me a few days to get this working because I tried this and that and finally finally got it working absolutely GREAT! Thank you for your help lexhair and to vbgamer45 for this great mod, it took time and patience but in the end it was worth it all.
L.G.S., this is for you. I'm sorry you are having troubles with this package but I have to say that your attitude is really getting old. OK, so this isn't working the way you would have wanted it to, it's not the end of the world and if your forum depends on this feature in order for your site to be successful, then why not just post the rss links in html to the index.html page and be done with it. I don't have the problem with double posting anymore but what I did do is set up a hidden board for the RSS feeds to post into, from there my staff and I decide what seems interesting and what does not, we then move the post(s) to whichever forum those RSS feeds would fit into. It's not all that much trouble and it keeps from having silly RSS feeds take over our site, this would also help with your massive concern about double and triple posts destroying society as we all know it to be.
I'm sorry if this seems out of line but read back through this topic 7 or 8 times as I have trying to get this mod to work and you'll see where my annoyance level comes from.
oh yeah I understand, but my annoyance isn't coming from the problems of this mod (as you said, I would just do it myself), its that I asked my question probably 3 times like 10 pages back but did not get my answer, even though the direct poster under me most of the time was the mod creator.
Sometimes there are no answers for why things do what they do. I too have now had a few multiples but I can tell they are worded slightly different from each other. I'm still not concerned because I have them feeding into a hidden board and only the good topics are being moved to public view. It's worth a try unless that isn't how you'd like it to work. Personally I like doing it that way because many of the feeds are quite lame and having them all go to a board where members can post would end up burying any useful or interesting topics for members to post in.
I'll leave this be now, I have it working well enough that I can manage on my own and I appreciate everyone's help and vbgamer for making this available and for doing his best to help everyone
Quote from: iBrood on February 11, 2007, 01:55:56 AM
I'm having some trouble with this mod. Whe I run the cronrss.php file,I get
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen(http://digg.com/rss/index.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
Warning: fopen(http://rss.news.yahoo.com/rss/tech) [function.fopen]: failed to open stream: no suitable wrapper could be found in /home/.margisia/iplox/thinknest.com/Sources/Subs-RSS.php on line 314
It seems that I'll have to use cURL for the job. I found it mentioned that this mod has support for cURL. How do I activate it?
Quote from: crappyday on February 11, 2007, 10:17:57 PM
Sometimes there are no answers for why things do what they do. I too have now had a few multiples but I can tell they are worded slightly different from each other. I'm still not concerned because I have them feeding into a hidden board and only the good topics are being moved to public view. It's worth a try unless that isn't how you'd like it to work. Personally I like doing it that way because many of the feeds are quite lame and having them all go to a board where members can post would end up burying any useful or interesting topics for members to post in.
I'll leave this be now, I have it working well enough that I can manage on my own and I appreciate everyone's help and vbgamer for making this available and for doing his best to help everyone
I'd rather know that there is no answer, than get no answer to it at all.
I said I don't have anwser for it a while back. Try looking at the code and see if you can figure it out on your host.
Now about some of those html tags coming through the feed. For instance I've got a couple of <strong>'s in there, and some <li>'s. My first inclination is to add those tags to the allowed html that users can use, thus negating the need for the reader to translate them to <blahs>. But I don't know where to go to find that stuff, or probably what to do with it when I get there. As far as special characters that I see come accross I add them to the censored word list. If anyone has any suggestions about cleaning up the html enabled feed non-manually I am all ears. As you can see from the non html enabled feed, that isn't really an option.
feed posts
html enabled http://scicommunity.com/sciforums/index.php?topic=110.0
html disabled http://scicommunity.com/sciforums/index.php?topic=113.0
* duh, there's a mod that does just what I mentioned. the html enabled link, after applying the more html tags mod, the formatting is a lot closer. I am running 1.1.2 so of course the mod wouldn't automatically install, but it is as simple as manually adding one line to subs.php so I went ahead and did just that. Now, about simply stripping out the spans, is there any good way to do that.
I was able to get this to autoinstall using 1.1.2
I added a folder named /temp/ to the Packages folder (/Packages/temp/) and chmod everything in Packages to 777. This prevents the permissions error and the parsing error.
Good luck! I just launched a new forum for the University I attend and you can see this mod in action at http://www.kstateforum.com/ (http://www.kstateforum.com/)
Quote from: oldschoolstroker on February 07, 2007, 12:15:51 AM
Alright...when I try to install this I'm getting this:
Error in Package Installation
At least one error was encountered during a test installation of this package. It is strongly recommended that you do not continue with installation unless you know what you are doing, and have made a backup very recently. This error may be caused by a conflict between the package you're trying to install and another package you have already installed, an error in the package, a package which requires another package that you don't have installed yet, or a package designed for another version of SMF.
Install Actions
Installations actions for "RSS Feed Poster":
Installing this package will perform the following actions:
Type Action Description
1. Execute Modification FeedPoster.xml Modification parse error
2. Execute Modification - Modification parse error
3. Extract File ./Sources/FeedPoster.php
4. Extract File ./Sources/Subs-RSS.php
5. Extract File ./cronrss.php
6. Extract File ./Themes/default/FeedPoster.template.php
7. Extract File ./Themes/default/languages/FeedPoster.english.php
8. Extract File ./Themes/default/languages/FeedPoster.english-utf8.php
9. Execute Code FeedPostersql.php
Anyone know how I can make this work?
See above post
Quote from: bobby0408 on January 12, 2007, 01:07:18 PM
I have tried everything but cannot get this mod to work
fsockopen is enabled
I set up the feeds and enabled them in the feed list
I have my cron setup pointing to cronrss.php, also tried the fake cron option.
I tried accessing the cronrss.php directly and nothing (blank Screen)
I am not getting any errors nor are any feeds being pulled in. I tried several different RSS feeds
I did get one error when I first installed the mod that the cronrss.php (file is writable by others) so I corrected that (chmod 755)
I am just sure where to look since I am not getting any errors.
Thanks in advance
I had this blank screen problem myself, I forgot about it. Somehow, the cronrss.php file became empty (no data, just a name of a file with 0 bytes). I uploaded the original file out of the mod .zip file and fixed that problem. Also, the forum is in the first directory (i.e. if you go to http://www.kstateforum.com/ (http://www.kstateforum.com/) that's the forum, there is no /forum/ or /smf/ directory or anything. The point is that when it installed the mod, the cronrss.php file went to the parent directory which is above the /public_html/ folder. So I had to move that too.
Hopefully this shared experience will help a couple folks out.
Help Please :(
Okay i just installed the feed poster and installed fine, and i added my first feed and it worked great. then i added a second feed and it was okay, and then the third feed... once I went to refresh my board... it no worky... it takes about 13seconds to load and then i get a Can NOt Find server or DNS error each time, I can still load my front page fine, but it is when i try to enter the forums this happens,,,, what might be the problem? what can i do?
thanx in advance.
Using Fake Cron jobs? I would disable them and just use a normal cron job.
how would i go about this ? as i can not getonto my forum?
umm. I would replace the index.php file with index.php~
Okay, so I just found out an interesting way to work around the fake cron. Well, actually it's another fake cron. A php script called virtual cron that I found from http://www.worldwidecreations.com/forums/showthread.php?t=2510 (http://www.worldwidecreations.com/forums/showthread.php?t=2510).
To use it for the feed poster requires a little ftp knowledge and the ability to put an <img /> tag into your index.template.php file. The current fake cron loads with every page which makes the site super slow. This cron runs on a timed basis (I have it set to execute the cronrss.php file every 5 minutes) and it doesn't slow down load time. Again, you can see the script with this (virtual cron) method in action at my site (see above posts).
Would this be a different way to incorporate fake crons in a future version vbgamer?
Quote from: vbgamer45 on February 17, 2007, 10:03:50 PM
umm. I would replace the index.php file with index.php~
tried it.. didnt work :(
I not sure what else todo except look at the index.php and find the rss feed poster code and remove it if found.
Any chance of supporting other feed formats eg. Atom?
This mod is a fantastic Mod but let down with the need to do crone jobs which not everyone can do easily. Are there any plans to re-work the mod so that it runs without the site slow downs? That seems to be the number one issue with it at present. If it could be worked on so that it can install with few issues or major behind the scenes work by the forum site owners to get it running properly then this could be one of the most sought after Mods for any forum.
Maybe in the future but I am very busy at the moment and don't have time to work on these mods for free.
Quote from: Exochat on February 19, 2007, 03:26:00 PM
This mod is a fantastic Mod but let down with the need to do crone jobs which not everyone can do easily. Are there any plans to re-work the mod so that it runs without the site slow downs? That seems to be the number one issue with it at present. If it could be worked on so that it can install with few issues or major behind the scenes work by the forum site owners to get it running properly then this could be one of the most sought after Mods for any forum.
There are websites that will ping you to make sure you site is up. Maybe you can find a similiar one that will hit your rssupdate address.
Does the feed poster pick up the atom.xml feeds like those used by the BlogSpot (now Google) pages? ... Example: I can't get the following feed to pick up. Every other feed I have is running fine. I did have to tell it to run fake cron jobs.
http://nativeunity.blogspot.com/atom.xml
Thanks,
NativePages
http://www.nativepages.com/tnindian
No it currently does not support atom based feeds.
Thanks, VB. Hopefully someday!
NP
Crud ... OK ... the feed poster is working the way it's supposed to, but I'm getting the following in my error logs:
http://www.nativepages.com/tnindian/index.php?action=login2
2: fopen(http://www.indiancountry.com/rss/rssfeed.cfm?key=15) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed!
File: /home/nativep/public_html/tnindian/Sources/Subs-RSS.php
Line: 314
http://www.nativepages.com/tnindian/index.php?action=login2
8: Undefined offset: 1
File: /home/nativep/public_html/tnindian/Sources/Subs-RSS.php
Line: 354
It doesn't matter whether it's a guest, a search engine bot, a regular member, or an admin/moderator. The same two errors occur. The only other thing I'm noticing other than bots that keep timing out the feeds is this one:
http://www.nativepages.com/tnindian/index.php?topic=184.0;prev_next=prev
2: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: php_network_getaddresses: getaddrinfo failed: Name or service not known
File: /home/nativep/public_html/tnindian/Sources/Subs-RSS.php
Line: 329
I checked the lines in subs-rss.php to see what the code on each line was:
Line 314:
$fp2 = fopen($url, "r");
Line 329:
$fp = fsockopen($url_array['host'], 80, $errno, $errstr, 30);
Line 354:
$finalrss = $rss2[1];
Are these errors I need to worry about? If so what are the fixes??
Thanks in advance,
NativePages
Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.
Quote from: TheDarkie on February 26, 2007, 10:55:26 PM
Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.
Sounds like Dreamhost.
Search Google for installing a cutomized PHP on dreamhost.
Quote from: nite0859 on February 26, 2007, 11:11:47 PM
Quote from: TheDarkie on February 26, 2007, 10:55:26 PM
Can anyone provide some support for curl? it doesn't work for me since the fsock is disabled because they deem it to be a security risk.
Sounds like Dreamhost.
Search Google for installing a cutomized PHP on dreamhost.
It is dreamhost, can you help me by providing me with a link, google didn't help me =\
Thank you for this great mod.
After installation the link to feedadmin didn't have any label and appeared as blank space below server settings. Then i noticed that only the english language files were updated. So I've added files for german translation.
Trying some feeds i came across a encoding conversion problem. I've got a rss feed that is encoded in iso-8859-1 but without htmlspecialchars used before feed output. My forum is iso-8859-1 too, but for example german umlauts don't show correctly with this feed. Importing an utf-8 encoded feed into my iso-8859-1 encoded forum also results in wired characters in posts. Any ideas for a quick fix/workaround?
One solution might be to send all feed input through iconv() (http://de.php.net/manual/en/function.iconv.php) or recode_string() (http://de.php.net/manual/en/function.recode-string.php) if at least one of both php extensions is available or use home-made conversion code.
Awesome mod! But...
The thing is that non-english characters causes the feed poster stops when it found them... So, posts are incompleted.
I've readed ALL this more-than-twenty pages thread. I've remember something about censored words can fix this?
Thank you in advance
hi all,
I just updated my SMF to 1.1.2 and updated my Theme Igoh to version 1.1.2 also.
Installed feed poster but in the admin panel, i dont see the link for the administration of the feeds. It shows up as a blank line.
How can I fix this?
Copy text strings from themes/default/langauages/modificaitons.english.php to themes/yourtheme/langauages/modificaitons.english.php
Thanks that did it !
Any idea about non-english characters?
Currently not supported.
Attached Subs-RSS.php works for me with 2 features added:
- automatic conversion of different character encodings to the forum used encoding
- recognize ATOM feeds
I cant seem to get this mod to work on a Joomla Bridge SMF installation. The Admin page link just goes back to the main page of the forum.
Quote from: Buster.de on March 12, 2007, 08:23:07 AM
Attached Subs-RSS.php works for me with 2 features added:
- automatic conversion of different character encodings to the forum used encoding
- recognize ATOM feeds
Doesn't work for me... When it found a character like "á", "é", "ñ"... it stops...
What do you mean by "it stops"? Who or what is it and what stops? What character encodings are involved (used by the feed, used by your forum)?
Sorry, I didn't explain myself clearly.
The problem happened before substitution of the file you attach.
Well, let's imagine we have a feed like this (RSS 2.0): http://hispamp3.com/hispamp3-rss-2.xml
I paste the beggining ot the feed:
<rss version="2.0">
−
<channel>
<title>HispaMP3.com</title>
−
<description>
Actualidad informática, ciencia, tecnología, música y cine
</description>
<link>http://www.hispamp3.com/</link>
<lastBuildDate>Mon, 12 Mar 2007 19:31:35 +0100</lastBuildDate>
<generator/>
−
<image>
<url>http://www.hispamp3.com/images2/logorss.gif</url>
<title>HispaMP3 logo</title>
<link>http://www.hispamp3.com</link>
−
<description>
Noticias proporcionadas por HispaMP3. Pincha para visitarnos.
</description>
</image>
−
<item>
<title>El Defensor del Internauta.</title>
−
<link>
http://www.hispamp3.com/noticias/noticia.php?noticia=20070312174537
</link>
−
<description>
La Comisión de Estudio para la Sociedad de la Información y del Conocimiento de la Asamblea de Madrid ha aprobado este lunes tras tres años de trabajos, un dictamen de conclusiones en el que solicita al Gobierno regional a crear "un defensor del internauta o del usuario de las telecomunicaciones".
</description>
<author>Redacción</author>
<pubDate>Mon, 12 Mar 2007 17:45:37 +0100</pubDate>
</item>
And the result of this, the post, will show something like:
Title (of post): El Defensor del Internauta.
Content: La Comisi
The Feed Poster found "ó" character and stops writing.
Cannot get the special characters äöå to work. I installed the Subs-RSS with the encoding-stuff.
Below is an excerpt from the feed. My board is configured for UTF-8. The behaviour is just as 3nd3r describes.
<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2 for Vi Musiker" -->
<?xml-stylesheet href="/css/rssfeed.css" type="text/css"?>
<rdf:RDF
xmlns="http://purl.org/rss/1.0/"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel rdf:about="http://www.vimusiker.se/">
<title>Vi Musiker</title>
<description>Svenska aktuella musiknyheter</description>
<link>http://www.vimusiker.se</link>
<image rdf:resource="http://www.vimusiker.se/pics/ban03-88.png" />
<dc:date>2007-03-10T22:27:21+01:00</dc:date>
<items>
<rdf:Seq>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3212s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3200s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3193s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3190s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3189s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3185s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3177s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3176s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3173s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3162s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3161s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3157s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3125s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3122s1.html"/>
<rdf:li rdf:resource="http://www.vimusiker.se/musikforum/f6t3116s1.html"/>
</rdf:Seq>
</items>
</channel>
<image rdf:about="http://www.vimusiker.se/pics/ban03-88.png">
<title>Vi Musiker logo</title>
<link>http://www.vimusiker.se</link>
<url>http://www.vimusiker.se/pics/ban03-88.png</url>
</image>
<item rdf:about="http://www.vimusiker.se/musikforum/f6t3212s1.html">
<dc:format>text/html</dc:format>
<dc:date>2007-03-10T21:26:53+01:00</dc:date>
<dc:source>http://www.vimusiker.se</dc:source>
<dc:creator>Bengt</dc:creator>
<title>Melodifestivalen avgjord - The Ark till Helsingfors</title>
<link>http://www.vimusiker.se/musikforum/f6t3212s1.html</link>
<description>Melodifestivalen 2007 avgjordes ikväll med följande slutresultat:
Special characters are not supported such as non english characters.
I'm attempting to grab the news from a local television station so that my users can comment on the news inside my forum.
The RSS Feed is this :: http://www.kwes.com/Global/category.asp?C=83261&clienttype=rss
However, the RSS Feed Poster Mod does not / cannot / will not recognize the feed in order to grab the feed in order to post the feed. I know the mod works perfectly for the RSS from my directory.. here's the thread on my forum that I use to grab feed from SMFoogle.com :: http://forum.midessa.net/the-smfoogle-network-site-showcase-b77.0/ ..
Is the feed screwed?
Quote from: vbgamer45 on March 12, 2007, 08:01:07 PM
Special characters are not supported such as non english characters.
Yes, I've read your previous replies. Give me a hint: is the problem in reading the http-stream, parsing the xml-file or storing to the database? I'm willing to put some effort into fixing this.
I am not sure how to fix you would need to ask some other people.
OK, which functions manipulate the strings? where should I start looking for the problem? You don't have anything like a sequence-diagram, which would make it a lot easier to "see" what's going on?
To add more light to my problem (hope help others too), I see this on error log:
.../index.php?action=feedsadmin;sa=admin
Can't load language file 'FeedPoster.spanish'.
I will tell you will need to look at htmlspecialchars function i use that to strip invalid input on any entered information.
Quote from: nite0859 on March 13, 2007, 02:15:43 AM
I'm attempting to grab the news from a local television station so that my users can comment on the news inside my forum.
The RSS Feed is this :: http://www.kwes.com/Global/category.asp?C=83261&clienttype=rss
However, the RSS Feed Poster Mod does not / cannot / will not recognize the feed in order to grab the feed in order to post the feed. I know the mod works perfectly for the RSS from my directory.. here's the thread on my forum that I use to grab feed from SMFoogle.com :: http://forum.midessa.net/the-smfoogle-network-site-showcase-b77.0/ ..
Is the feed screwed?
Nevermind. I figured this one out.
Problems getting a feed to read ?Input the problem feed into ::
RSSMix (http://www.rssmix.com/). And combine it with your own cocktail of unique feed(s) while you're at it.
Ths mod couldn't read the direct feed from :: http://www.kwes.com/Global/category.asp?C=83261&clienttype=rss . However, when this particular feed was put into RssMix, it can now be read.
Demo: http://forum.midessa.net/local-news-headlines-b86.0/
hi,
I've install this mod, no problem with the installation, but after I add rss feeder, my site is hang. I cannot open my site at all, even index.
what should I do ???
this is my site
http://www.foruminsiyur.com
got the problem, fake cronjob
I open the index.php, delete the mod manually, go to admin, un use fakecronjob, reinstall the mod manually.
great mod !
thanks
First of all thanks to VB for another useful mod !
You rock man ;)
i tried several feeds and they all worked well.
It even displays greek characters without problem (i don't know if they are UTF-8 or not)
The only problem with this mod is that fakecron hangs my forum also , i 'll try real cron instead!
(ouf ! i already read the previous 24 pages !! )
Thanks again VB.
I'm looking forward to an inspired update :)
Question: Over the last week, I had numerous "spam" posts (porno links), despite having the wiki_blacklist set up, etc. The reason I'm posting here is because all of the spam posts but one were in the top 2-4 posts of newsfeed posts (the 1 was a weak attempt at a spam on Ultimate Shoutbox that didn't succeed), which leads me to believe that something in my newsfeeds is attracting the little beasts.
In response to each post, I've done the gamut:
Check the whois and ban the appropriate IP/IP range
Add the link site domains to the blacklist txt file manually
Add the faked user names to the "reserved names" list
The bots switched IP ranges almost as fast as I banned them. I finally had to go into newsfeeds and literally set all of them to locked topic. The bots kept trying for another 24 hours, then finally gave up (knock on wood).
I'm just wondering if it IS something in the newsfeeds that's attracting them or allowing them to slip past all the other security devices.
NP
Quote from: Buster.de on March 12, 2007, 08:23:07 AM
Attached Subs-RSS.php works for me...
Hi there, first of all thank you for taking the time to do this, and to
vbgamer for an excellent mod. I was having formatting errors with apostrophes and quotes until I uploaded the modified subs-rss file.
But now I am having another issue, and that is the following error messages being generated in the logs for all users:
8: Undefined index: description
File: .../public_html/smf/Sources/Subs-RSS.php
Line: 417
Instead of "description", it also says "title" and "link". And this one:
8: Undefined offset: 0
File: .../public_html/smf/Sources/Subs-RSS.php
Line: 409
Anyone know how I can fix this or what it means? I'm not even sure if users are seeing it as no one has complained yet.
Thanks!
User's wont see that erorr that error is a tricky one not sure how to fix it sometimes it occurs.
It would be nice option to add to display the the RSS Feed News Page. In an IFRAME directly in the page as it causes much more traffic for your site.. I just currently are converting my PHPBB forum over and looking for the features i had on my old board... I had a similiar mod but it embedded the RSS Feed Page Into the Forum Page so people could discuss and talk about it...
Here is a link to my current board and how it looks.
http://www.subfighter.com/ftopict-50151.html (http://www.subfighter.com/ftopict-50151.html)
This would be a nice option have available..
regards
rick
Fresh install on a fresh server results in:
Fatal error: packageinstall() [function.require]: Failed opening required '/home/vista/domains/webnwalkvista.com/public_html/forum/Packages/temp/./FeedPostersql.php' (include_path='.:/usr/local/lib/php') in /home/vista/domains/webnwalkvista.com/public_html/forum/Sources/Packages.php on line 552
Suggestions?
X-Powered-By: PHP/4.4.4
Set-Cookie: PHPSESSID=f73226b01655d591d2bc59dd850c1f56; path=/
- Hide quoted text -
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Content-type: text/html
Feed Poster Configuration
Getting that every 5 minutes(thats my cron job time limit). It's emailing that to me. Also, even though I've got the feed to use a name that exists, it still posts under guest.
Using SMF 1.1.2
Quote from: Metalstein on March 22, 2007, 05:18:10 PM
Getting that every 5 minutes(thats my cron job time limit). It's emailing that to me.
"It" being cron? That's proof cron is working correctly. If you wish to modify cron behaviour, just google or use "man cron".
it's working fine? alright thank you.
THIS MODIFICATION HAS CRASHED MY ENTIRE SITE!
I installed this modification, and asked it to run a cron job. My forum locked up and now is totally inaccessible. Luckily, I am running it on a test forum. But my test forum is now down.
Can someone tell me how to recover from this?
Quote from: Matthew Schenker on March 24, 2007, 05:58:15 PM
THIS MODIFICATION HAS CRASHED MY ENTIRE SITE!
I installed this modification, and asked it to run a cron job. My forum locked up and now is totally inaccessible. Luckily, I am running it on a test forum. But my test forum is now down.
Can someone tell me how to recover from this?
What do your error logs say?
Just for the record I got this running on 1.1.2 alongside TinyPortal 0.98.
I didn't know about Cron jobs before, but I get the idea. Is there something I am supposed to do with the cronrss.php , like does it have to be in a certain place. Or do I have to enable it in some way?
Reason I ask is I want to use a few bots to post news, but obviosly running a fake cron slows down the forum a bit when it checks the rss every page.
Please can someone give me an idea of what to do regarding the real cron job.
Thanks.
Great Mod :)
QuoteWhat do your error logs say?
Oh my, I'm glad you asked!!!!
My error logs are filled with the following message, reported every minute for the past 24 hours:
File does not exist: /home/festool/public_html/404.shtmlOr some other varieties of "File does not exist."
My site is still down.
Remove this from index.php
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
}
And turn off any corn jobs.
vbgamer45,
OK, I changed the index.php file and my site is working again.
I would love to get RSS feed posting for my group, but it looks like something is not compatible here with my forum.
Thanks for helping me resolve this!
I'm using 1.1.2 with TinyPortal. The fake cron job was slowing down my forum as it runs the rss posting code each time a page is loaded so I played with the cronrss.php code and adapted it so it only trys to update the rss posts if you go to the home/front page.
I created a PHP article and used this code in it :
// SSI needed to get SMF functions
require('SSI.php');
// For the rss functions
require_once('Sources/Subs-RSS.php');
UpdateRSSFeedBots();
die();
Then I allow it to be displayed on the front page but turned of all of the display options like 'date', 'title' and so on.
Now it only does the rss refresh when I go to the home page. I'm thinking this will reduce the lag that gets caused by using the fake cron job.
Perhaps VBGamer can comment on how safe this is, but so far it's working ok on my test forum.
I would never use fake cron on a large forum.
In the future I will add a limit to check it every 15 minutes to see if it was updated using fake cron.
I would use a real cron job if you can.
I looked into Cron jobs for my hosting package, but it isn't supported :( It would mean upgrading my package which I can't do at the moment. This workaround seems to be stable and doesn't generate any errors so I think I will stick with it. My forum doesn't get ridiculessly busy so it shouldn't present a problem . Thanks for a great mod, I'll get some money into PayPal and send you a donation. Keep up the good work :)
SMF has a built-in news feature, but it only allows us to send five messages at a time.
Is there an easier way to up that to the total number of messages posted that day? Is that what this modification is supposed to do?
Even though this modification crashed my site, I still wonder if I can get it to work with different settings. am very interested in offering RSS feeds to my members.
Thanks!
Quote from: Matthew Schenker on March 25, 2007, 06:24:51 PM
SMF has a built-in news feature, but it only allows us to send five messages at a time.
Is there an easier way to up that to the total number of messages posted that day? Is that what this modification is supposed to do?
Even though this modification crashed my site, I still wonder if I can get it to work with different settings. am very interested in offering RSS feeds to my members.
Thanks!
This Feed Poster has nothing to do with the News features of your forum. It pulls a news feed and posts it to the forum as a member would. Here is an example http://www.blackbbwsforblackmen.com Under World News you will see posts by "AutoPoster". This is a fictional name that I used for the news feed.
If the RSS Feed mod installed properly, then you can use a cron job to hit cronrss.php. You can also use your browser "go to" your cronrss.php file. This will fetch your rss feeds and post them manually.
This Mod is slowing down my board, I had a couple of slow down in the last few days, after uninstalling all the mods, everything is back to normal
It will slow down your board if you use fake cron jobs.
I have a suggestion for a "feature"
Change
'icon' => 'xx',
to this
'icon' => 'rss',
and in the install script, add the attached image to \Themes\default\images\post
I installed the latest smf and rssposter (latest) at wwwbritmovie.net and in the actors section you can see that when using http://rss.imdb.com/news/wenn/ each entry they have in the feed is posted as one post on my board even if i have, Number of items to import each update, set to 20 or 30. So i end up with a hundred small posts per day. Shouldnt setting it to 20 have 20 items in one post?
Gamer, when I run the Poster, it works fine for most of the article, except in the article link. I get rss feeds from yahoo because I can do custom RSS searches. But the links they provide are parsed...
Here's how the links appear:
http://us.rd.yahoo.com/dailynews/rss/search/Rosie%2BO%27Donnell/SIG=125pvkarg/*http%3A//abclocal.go.com/wls/story?section=entertainment&id=5178331
The * causes the link to be parsed as half link and half text. I need a way for this entire string to be a link. Is there a way with the current configuration to do this?
Seems to work for me but the link is a long URL is there any way to have it produce a clickable word instead of the long URL.
Thanks for the help. :)
Quote from: Wingnut31 on April 03, 2007, 05:08:00 PM
Seems to work for me but the link is a long URL is there any way to have it produce a clickable word instead of the long URL.
Thanks for the help. :)
good idea!
Quote from: subfighter on March 22, 2007, 11:55:50 AM
It would be nice option to add to display the the RSS Feed News Page. In an IFRAME directly in the page as it causes much more traffic for your site.. I just currently are converting my PHPBB forum over and looking for the features i had on my old board... I had a similiar mod but it embedded the RSS Feed Page Into the Forum Page so people could discuss and talk about it...
Here is a link to my current board and how it looks.
http://www.subfighter.com/ftopict-50151.html (http://www.subfighter.com/ftopict-50151.html)
This would be a nice option have available..
regards
rick
vbgamer45
any chance of getting you to add this iframe option to display the news article right in the page?
I'm getting this error. How do i fix it please???
QuoteAn Error Has Occurred!
Unable to download the feed.
I have a feed in which the description (the feed excerpt) is actually stored in the content:encoded tag. Any way to parse this correctly?
Thanks
Will this mod work with version 1.1 rc2?
My forum is www.moneytalkpro.com.
Quote from: Neobane on April 03, 2007, 11:48:26 AM
Gamer, when I run the Poster, it works fine for most of the article, except in the article link. I get rss feeds from yahoo because I can do custom RSS searches. But the links they provide are parsed...
Here's how the links appear:
http://us.rd.yahoo.com/dailynews/rss/search/Rosie%2BO%27Donnell/SIG=125pvkarg/*http%3A//abclocal.go.com/wls/story?section=entertainment&id=5178331
The * causes the link to be parsed as half link and half text. I need a way for this entire string to be a link. Is there a way with the current configuration to do this?
Anyone figure this out? I know there seems to be a way using the "word censor" but I can't quite figure what to replace.
Thanks
Unable to download the feed. Still getting this error. No one helped me yet. Please.
I have this mod install on my forum.
And the mod isn't working at all. Its work the first time but after that it wont work at alll.
I have the time set to 360 to update but never does update
Do you have a cron job running for the feed?
You have to check the box that says fake cron jobs, if you don't set up a cron script to call the update. Fake cron jobs are created roughly by people that visit your page causes the script to check time, instead of your server to check time. So either setup a cron schedule for the rss feed, or check to fake cron job it... :)
Quote from: vbgamer45 on April 14, 2007, 08:12:09 PM
Do you have a cron job running for the feed?
Quote from: vbgamer45 on April 14, 2007, 08:12:09 PM
Do you have a cron job running for the feed?
Yes, I have that running too. but I don't have that running rigth now
And still don't update the feed at all
I have feed link's and I do set it up...
See if it updates when you manually go to...
http://www.YOUR_SITE_ADDRESS_HERE.com/forum/cronrss.php
If so then you need to cron that link using cron lynx or using one of the wget's or something...
wget -q -O - http://YOUR_SITE_ADDRESS_HERE/forum/cronrss.php
or whatever you prefer to do with your cron job...
If that doesn't update, then there is another problem...
Thank's, I have to manually update it by using that link you give me.
http://YOUR_SITE_ADDRESS_HERE/cronrss.php
I think I have to keep manually update the feeds
Mine cant even download the feed. Is there a manual way to insert a feed??
Hit this http://YOUR_SITE_ADDRESS_HERE/cronrss.php under Feed Poster Configuration
QuoteMine cant even download the feed.
Mine can't ether too
you can put an iframe in your template ... if you get that in your newsfeed or something in your base template might work for you whenever someone vists your page...
[html]<iframe src="http://YOUR_SITE_ADDRESS_HERE/cronrss.php " width="1" height="1" />[/html]
note: this is another hack, the cron job when done correctly works best...
Alright, Now I am getting lose here
Quote from: NFSMW on April 15, 2007, 06:11:33 AM
Mine cant even download the feed. Is there a manual way to insert a feed??
Check that the URL responds correctly from the server you are running your forum on. Login, and use wget to get the rss-feed manually. If it doesn't respond, then the problem is not the feedposter, but something else.
can you post a feed you are trying to use and we can look at it...
In regards to the urls from yahoo...
http://us.rd.yahoo.com/dailynews/rss/search/Iraq/SIG=11v8tg3l9/*http%3A//news.yahoo.com/s/afp/20070417/wl_mideast_afp/iraq_14
What we need is a way to ignore the first half of the code while the following can vary: iraq/SIG=xxxxxxxxx/*
can this be done through the sites "Auto convert url" feature or through the news feed poster?
That does not appear to be a valid rss url
That link is all kinds of wrong... :)
I think the Yahoo-URL was just an example of an ugly URL in the content itself. That is another ongoing discussion in this thread, right?
Please forgive me, I have read through parts of the thread but just haven't the time to scan 27 pages. If it's been covered please point me to the post I preciate it!
Anyway, on to the problem....
Forum version: SMF 1.1.1
OS: Linux
PHP: 4.4.2-1build1
MySQL: 5.0.22-Debian
Link http://www.symantec.com/enterprise/security_response/weblog/feeds/vulnerabilities_exploits.xml (http://www.symantec.com/enterprise/security_response/weblog/feeds/vulnerabilities_exploits.xml)
is producing this in the posts..
Title.... Day One for Zero-Days â€" ISTR XI Vulnerability Trends
Body....
<p>As part of the process of compiling the data for Symantec’s <em>Internet Security Threat Report</em> (ISTR), we discuss which metrics are critical to defining trends in the threat landscape. We are constantly reassessing the validity of certain metrics and looking for opportunities to create new metrics. Our data collection capabilities have improved over the years with new acquisitions, new products, and new product features that allow us to track different types of data. It is a great benefit that Symantec is a company that has grown with the threat landscape. It is also a matter of internal policy with the ISTR team to rigorously question and debate the relevance and validity of what we’re reporting on. I’d like to take this opportunity to reflect a little bit on the process behind the creation of one of the new metrics for this report â€" zero-day vulnerabilities. <br />
<br />
ISTR, Volume XI gave me an interesting research project â€" find the number of zero-day vulnerabilities. This seems like a fairly straightforward task, but prior to being asked to perform it, there just wasn’t any data…yet!</p>
++++++++++++++++++++++++++
I am running running fake cron jobs but, I can easily create a real one if this is the problem child, in fact, I'll likely create one when I get an opportunity to do so.
Again if I've missed anything in the readme's or there is something in the thread I've missed please gently point me in that direction.
Thanks
Currently it does not strip all html so that is the problem.
It looks like your problem may be with the way its handling html. You may want to disable html in the feeder settings for those types of posts, or contact the author and ask him to look at it... I am concerned that their is content encoding that escaping the html handling of this feed... I had similar problems that I ended up making minor modifications to my code... I wish the feeder posted the whole rss feed instead of a snippet, but I haven't had time to investigate that myself.
Hello
I have a problem when i run cronrss.php:
Fatal error: Cannot redeclare class akismet in /home/xxxxx/public_html/Sources/Akismet.class.php on line 55
I search forum before this post and somebody said something about duplicate code in Post and Subs-Post.php...but i don't have any duplicated code.
Right now, i can update only one feed per request and only the first one in the list, even i have added 10 feeds.
I try to use fake cron from mod but it's crash my admin area
Any ideea why?
Thanks
Hi,
Not only can I not get this RSS mod to work properly (though feedburner says it's working" technically) but I want to insert podcasts into this feed from the SMF forum. Does anyone know how to do that with this or another RSS mod?
Sorry to put this here, but I"m having a hard time finding anything about this subject at all. I can get the RSS feed that I burn myself to give me a subscription to forum posts, but not to the mp3 files.
New to SMF.
My Package Manager shows Feed Poster is installed.
Now I need to configure the settings.
SMF Mod Download page shows a beautiful image of a settings page.
How do I get to that page to configure settings.
Thank you.
Quote from: vbgamer45 on April 18, 2007, 11:10:55 PM
Currently it does not strip all html so that is the problem.
Quote from: MegaTinkerCoder on April 19, 2007, 08:20:29 PM
It looks like your problem may be with the way its handling html. You may want to disable html in the feeder settings for those types of posts, or contact the author and ask him to look at it... I am concerned that their is content encoding that escaping the html handling of this feed... I had similar problems that I ended up making minor modifications to my code... I wish the feeder posted the whole rss feed instead of a snippet, but I haven't had time to investigate that myself.
Thanks for the help. I do appreciate it!!
Is the problem with the no english caracters solved?
Pinto go to your admin panel, click admin, then go to the Feed Poster link on the left, then go to the tab that talks about settings across the top, its been awhile since I looked at the screen, but I think that is about right.
Hi VB, I had this installed before I installed a clean forum, then I reinstalled it under the old database. I went into the settings and all my feeds were still there like I hoped (and they are all enabled) but the problem is that they arent working now for some reason?
Not had an RSS post for 4 days, I tried deleting then readding but that didnt help
I got this working best with cron jobs. I had all kinds of problems using the [X] to fake cron jobs too...
How can I manually install this on a custom theme via FTP?
Quote from: RvG on January 15, 2007, 03:17:50 PM
Quote from: vbgamer45 on January 15, 2007, 12:17:36 PM
Which version are you using? Are you using the latest one posted 1.0.2?
Feeds with & in the url may cause problems.
Feeds that I use and work for me:
http://digg.com/rss/index.xml
http://news.com.com/2547-1_3-0-20.xml
sir vB... i am using the latest version. what was showing with me after using www.yourforum.com/cronrss.php (set to 755 also) only Feed Poster Configuration . None has been posted as well in the topics.
I'm also getting the Unable to download the feed error even after trying the digg feed which is known to work. Where do I find version 1.0.2? I downloaded 1.0.0 from the mod library.
Figured out what my problem is. My host is Dreamhost which means I have to use CURL which I'm clueless on. I've found a few examples, but frankly have no idea of what to do with them. A few people have brought it up in this thread, but I still can't find a concrete solution. :-\
Started work on CURL thought it might work but I don't have CURL on my sever so I can't test it.
I found this bit of code in Sub-RSS.php:
// Use cURL
if($failed == false)
{
if(function_exists("curl_init"))
{
$failed = false;
// Last but not least try cUrl
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// grab URL, and return output
$output = curl_exec($ch);
// close curl resource, and free up system resources
curl_close($ch);
return $output;
}
}
Should that by itself make it work (in theory) or would there be anything else I would need to do?
Maybe I can give you a little webspace on my dreamhost account to test this out yourself. Would that be helpful?
I was hoping that code would make it work but guess it could not download the feed
Quote from: vbgamer45 on April 30, 2007, 09:01:12 PM
I was hoping that code would make it work but guess it could not download the feed
I had hoped so too. Perhaps someone else using DH could confirm my results just in case I'm doing something wrong. :-\
Hi all, The fake Cron Job was killing my site, frequency time outs and general S-L-O-W-N-E-S-S
So I tried to use a real one, now my host has disabled Fopen but I can re-enable it using a php.ini file so I do that. Now that works fine for the fake ones but the real ones kick up a stink.
Quote
<b>Warning</b>: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration in <b>/home/<username>/public_html/forums/Sources/Subs-RSS.php</b> on line <b>314</b><br />
Anyone have any ideas?
Real cron jobs uses the same code as fake cron jobs to get the posts.
Yeah that's why I can't understand why I am getting this email from the Cron job when the fake one seems to be working. I am guessing its something to do with it only working within that directory possibly?
Maybe I could use this Curl method if it ends up working and my host supports it.
Hi Guys,
Just trying to install this and having a few issues. Its a brand new installation of SMF.
1) Installed the RSS Feed Poster via Packages etc. but once installed the admin page isn't accessible via the admin links. Only by direct navigation to /index.php?action=feedsadmin;sa=admin
I noticed though that there is a blank line once the package was installed under "Configuration" which is where I presume its supposed to be....
2) Has anyone got this working with a blogger (https://www.blogger.com/start) RSS/Atom feed? Thats what I mainly need it for... but it doesn't seem to be working.
3) Any ideas when HTML will be properly converted?
Many thanks,
Andrew
I downloaded and installed this mod.
however I have the character problem:
EDIT:
I got the response from old posts above regarding Character (Non-English) Problems:
Quote from: vbgamer45 on February 04, 2007, 11:15:17 AM
I can't solve that problem.
However on SMFHACKS I found a posts where it said "remove your htmlspecialchars"
// Create the Post
$msg_title = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_body = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
But do I remove the whole two commands both Title and Body, or just modify this?
Thanks for the help.
----
Also, Feeds continue to come in duplicates, so if I set up 5 everytime it checks the feeds, it continues to grab 5, doesn't care if it was posted before or not..
Lastly..If I don't turn on CronJobs it doesn't work, and when I turn it on the board becomes very slow.
I am using 1and1 Linux hosting. So if anyone can give me exact command to turn on cron jobs using Putty via SSH, I would really appreciate it.
Although if the character problem is not fixed, I cannot really use this. :(
Thanks again!
Bah, I don't get what is the problem.. Whenever I run the installation, it says successful and blah blah, but then I get redirected to the index page with this link in the navigation bar: http://forum.mafia-mp.com/index.php?action=feedsadmin.
I checked the database, and the new tables are there. Oh and, I had to make a 'temp' folder in Packages folder in order to make the installation successful... but it's not that 'successful'
Bump.
Bump...
So, what's the problem? You can't run it or it doesn't work? What? Please stop bumping the thread every day.
i am rss'ing events from other people calendars. in my case i format all events as:
05.22.07 / event name / event location
i am currently rssing a feed that presents their feed as:
5/22 - event name
it would be nice if there was a way to reformat dates or topics so they can be organized properly.
anyone know if this is possible ?
DO NOT USE THE FAKE CRON BOX.
IT NEARLY KILLED THE ENTIRE SERVER AT MY WEB HOSTER AND CAUSED ALOT OF PAIN.
Disgusting no one warned me about this. Never using this mod again!
You need to use cron jobs then. It does it checks on every page load when that option is checked.
Does anyone know how to setup cron jobs on 1and1 hosting via SSH?
I had the mod installed for a while but just recently noticed a large slowdown, I checked my queries and I have a load of
SELECT
feedtime
FROM smf2_feedbot_log
WHERE feedhash = '6960988b782279f653d708fe5f06135e'
in /home/tscar/public_html/board/Sources/Subs-RSS.php line 244, which took 0.00021911 seconds.
there must be 50 at least, what can I do to reduce that because its slowing down my forum.
Use a real cron job instead of a fake cron job and that will help a lot.
Quote from: vbgamer45 on May 16, 2007, 08:00:09 PM
Use a real cron job instead of a fake cron job and that will help a lot.
I had a shot but I had no idea how to do it :S I know how to set up a cron but its the link I'm not sure about.
Could you tell me the code for a cron job to run the file at every hour every day?
I get zis error:
http://img517.imageshack.us/img517/5990/untitledpy7.png
::)
solved it myself :)
I get zis error:
http://img517.imageshack.us/img517/5990/untitledpy7.png
I'm having trouble display images on following rss.
<description><img src="http://www.dilbert.com/comics/dilbert/archive/images/dilbert2007029327518.gif" border="0" /></description>
I think someone ask this earlier but didn't see any solutions for it. Great Mod!!!!
Quote from: L.G.S on May 17, 2007, 12:37:47 PM
Quote from: vbgamer45 on May 16, 2007, 08:00:09 PM
Use a real cron job instead of a fake cron job and that will help a lot.
I had a shot but I had no idea how to do it :S I know how to set up a cron but its the link I'm not sure about.
Could you tell me the code for a cron job to run the file at every hour every day?
does anyone know :(
Quote from: ufuk.exe on May 05, 2007, 12:47:24 PM
I downloaded and installed this mod.
however I have the character problem:
However on SMFHACKS I found a posts where it said "remove your htmlspecialchars"
// Create the Post
$msg_title = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_body = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
I removed the htmlspecialchars on one of the lines, but it still behaves badly. Someone with the knowledge should have a look at this immediately.
GOd, I've tried :)
Hi,
I have a problem using the cronjob...filled in this in Confixx:
/home/www/web19/html/smf/cronrss.php
That's the path I found in "Server Settings" - but I get error mails :( :
/home/www/web19/html/smf/cronrss.php: line 1: ?php: Datei oder Verzeichnis nicht gefunden
/home/www/web19/html/smf/cronrss.php: line 2: /bin: is a directory
/home/www/web19/html/smf/cronrss.php: line 3: RSS: command not found
/home/www/web19/html/smf/cronrss.php: line 4: Version: command not found
/home/www/web19/html/smf/cronrss.php: line 5: by:vbgamer45: command not found
/home/www/web19/html/smf/cronrss.php: line 6: http://www.smfhacks.com: Datei oder Verzeichnis nicht gefunden
/home/www/web19/html/smf/cronrss.php: line 7: atd/: is a directory
/home/www/web19/html/smf/cronrss.php: line 9: //: is a directory
/home/www/web19/html/smf/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/home/www/web19/html/smf/cronrss.php: line 10: `require('SSI.php');'
Using the fake cronjob is no problem...
Cron job needs to fetch a url not a file if you can do that way.
I get zis error:
http://img517.imageshack.us/img517/5990/untitledpy7.png
HELP HELP HELP HELP
CAN SOMEONE TELL ME WHAT THE HELL IS THIS ERROR?
http://img517.imageshack.us/img517/5990/untitledpy7.png
it doesn't work!
Quote from: vbgamer45 on May 21, 2007, 07:41:51 PM
Cron job needs to fetch a url not a file if you can do that way.
when I do that my mailer just says file not found
Hm :o Yesterday, I had problems with the url. I got error mails that the file was not found. And when I used the url in my browser, I got some errors. Then, I activated the cron job with the '/home/www/...' url - error mails. Today, I activated the cron job again with the direct url - no problems :D I also get no errors anymore in my browser.
Maybe because I use no "http://www." anymore (in the cron tab url)?
Got the exact same thing even after trying that ^^
/bin/sh: ruthlessintent.com/board/cronrss.php: No such file or directory
CAN SOMEONE TELL ME WHAT THE HELL IS THIS ERROR?
http://img517.imageshack.us/img517/5990/untitledpy7.png
it doesn't work!
looks like the database part of the install didnt do it
*removes mod*
I have the 4 documents in my computer, what I have to do to set up it in my forum??
Thank you.
unfortunately most of the feeds doesnt work, only .xml :(
Quote from: MegaTinkerCoder on April 19, 2007, 08:20:29 PMI wish the feeder posted the whole rss feed instead of a snippet, but I haven't had time to investigate that myself.
Any Luck with that? ive been playing around with my Subs-RSS.php, but im still getting a little snippet of the Feed, mostly with Feedburner. While lookin to the rss feed directly in Feedburner i can se the whole Message, but when i bring the same feed to my forum, i still get just a little snippet...
OK...for those of you out there confused about cron--
this command was the ONLY one that would work on
my hosting company...
lynx --dump http://www.YOURDOMAIN/YOURFORUMDIRECTORY/cronrss.php
Hope this helps people in the future.
;)
Works perfect, installed it and it worked straight outta the box. About 3 mins to get it up and running and posting. No complaints here :) Now to see how long it takes for my users to figure out they're talking to a robot ;)
A day has gone by and my users are happily talking to a robot ;D teeheehee ;)
If this mod doesn't work and in Admin > Forum Error Log you get an error similar to this:
fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
File: [path]/Sources/Subs-RSS.php
Line: 25
you could use this function (requires the CURL library, which is reported to be more reliable and to give higher performance -- see the link below):
/*
* @return string
* @param string $url
* @desc Return string content from a remote file
* @author Luiz Miguel Axcar ([email protected])
*/
function get_content($url)
{
$ch = curl_init();
curl_setopt ($ch, CURLOPT_URL, $url);
curl_setopt ($ch, CURLOPT_HEADER, 0);
ob_start();
curl_exec ($ch);
curl_close ($ch);
$string = ob_get_contents();
ob_end_clean();
return $string;
}
This and several other solutions were posted as comments in http://us.php.net/function.fopen, where a way to check for failure to fopen() is also posted.
Or you could use something like this:
$file = "http://somelocation.com/somefile.xml";
$ch = curl_init($file);
$fp = @fopen("temp.xml", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
curl_exec($ch);
curl_close($ch);
fclose($fp);
$file = "temp.xml";
$fp = fopen($file, "r");
Note: ensure that you have write access - so curl can write to temp.xml.
The mod author might want to include the above code in the mod.
I have actually three wasy first it tries fopen next fsockopen and last curl.
Curl is untested since I do not have that module installed
mysite hosted by godaddy and they said our hosting have Curl support. But it gives error "Unable to download the feed."
They are the links about curl
http://help.godaddy.com/article.php?article_id=288
http://help.godaddy.com/article.php?article_id=285
http://help.godaddy.com/article.php?article_id=286
Quote from: last19 on June 02, 2007, 02:58:49 PM
But it gives error "Unable to download the feed."
Did you try the mod or the sample code from GoDaddy? The sample code connects to the Paypal site, which I believe had some problems during the last few days.
i tried the mod. i didnt try anything from godaddy because i dont understand what they wanna say :=)
I've had a hunt through this forum, but I can't see any way to make the bot post in only one topic. I don't really want a brand new topic for each posting, just a new post within the same topic. Hopefully someone can help :)
And thanks for the cool MOD :) Only one of my users seems to have picked up on the fact that it's a bot and that was coz it posted five brand new topics within about two seconds!
Ryan,
Anybody have any ideas for Godaddy?
OK. Hi all.
I have installed this on my test site as a trial. Everything points to it looking operational..but....
I added the Simple Machines feed. http://www.simplemachines.org/community/index.php?action=.xml
It says enabled.
I done a cron job at my host (Lunar) set it for 5 minutes to see if it works.
Anyway...I am getting nothing.
I have no errors
What maybe wrong?
When I go to http://www.yourforums.com/cronrss.php I get
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
What do I need to know to fix that. Permissions on cronrss.php are 666
Or what do you need to know to help me.
Ok. I finally got an email from the cron job.
/bin/sh: http://www.gstestsite.ezmnetwork.com/cronrss.php: No such file or directory
But it is there. Whats up with that?
EDIT: changed permissions from 666 to 755. Maybe that helps because its now showing Feed Poster Configuration
What am I supposed to see if I go to http://www.gstestsite.ezmnetwork.com/cronrss.php
Right..I'm nearly there...
I set permissions to 755...it posted the initial blank [FEED] post and then nothing..
I still get the email saying
/bin/sh: http://www.gstestsite.ezmnetwork.com/cronrss.php: No such file or directory
ok I've gone and changed the cron to
php -q /home/ezmne3/public_html/gstestsite/cronrss.php
It now gives me Feed Poster Configuration
That's good that means it processed the script.
Ohh. OK. I suppose it works then. It posts once and thats all its done. It is set at hourly but since yesterday its only posted the initial first post and no more.
I'll wait a week and see.
I have no errors
Thanks vbgamer45
I put in simple machines feed and it has posted nothing at all. Will it only post a new post if there is a update only. So even though I set it to hourly it will only post if there is a new one..Is that right?
Actually..could it be that at my test site I have all bots *disallow? what would it be to allow that this only if thats the case. (not that bots really take any notice)
Hi vbgamer,
Ive got this working, great mod thanks! Just wondering if I can add a style sheet to the feed Im receiving as it doesnt seem to convert it entirely as they have used custom tags...
feed is: http://www.arowana-care.com/aroblog/feed
Id like to be able to get the full text of <content:encoded> etc...
It seem to currently only get the titles and link tags???
much appreciated! Slowly getting the hang of this php :)
Hello :)
I choose smf becouse of this great mod :)
But i got some problems, after installing package i see error: "Modification parse error"
and later, when i try to install it anyway, nothing happends (scrpt redirecting me to main page), and, i can't find options page for this mod ( even if i write url to feedadmin, its again redirecting me to main page).
Thanx in advice
hi i have a problem
Id like the rss news to update in the forum stats as well, but it doesnt.
When I used fake crons it did, but as soon as I started real crons it just stopped working.
Can I fix this somehow please?
Quote from: L.G.S on June 23, 2007, 07:28:13 AM
hi i have a problem
Id like the rss news to update in the forum stats as well, but it doesnt.
When I used fake crons it did, but as soon as I started real crons it just stopped working.
Can I fix this somehow please?
That seems to be cron job setting error because fake crons and real crons use the same code.
Whot about me? I can't install that modyfication :( becouse of parsing error .
Install it manually.
Quote from: okop on June 23, 2007, 10:45:15 AM
Whot about me? I can't install that modyfication :( becouse of parsing error .
Post all info from SMF Admin > Support and Credits > Version Information section.
ok, thanks for answer, here are information from version information:
QuoteVersion Information:
Forum version: SMF 1.1.2 (more detailed)
Current SMF version: SMF 1.1.2
PHP version: 5.2.3
MySQL version: 4.0.26-standard
Server version: Apache
GD version: bundled (2.0.34 compatible)
Quote from: okop on June 23, 2007, 11:11:50 AM
PHP version: 5.2.3
It's been reported and confirmed that there are some issues with PHP 5.2 that prevent some mods from installing in SMF. As far as I'm aware, work is being done on SMF to create a workaround for that. Meanwhile, you have three options:
1) Wait for a new SMF version;
2) Ask your host to downgrade PHP to 4.4.x;
3) Install the mod manually.
Manual Installation of Mods (http://docs.simplemachines.org/index.php?topic=402)
thanks, i did it :)
Quote from: vbgamer45 on June 23, 2007, 09:55:18 AM
Quote from: L.G.S on June 23, 2007, 07:28:13 AM
hi i have a problem
Id like the rss news to update in the forum stats as well, but it doesnt.
When I used fake crons it did, but as soon as I started real crons it just stopped working.
Can I fix this somehow please?
That seems to be cron job setting error because fake crons and real crons use the same code.
Well I don't really see how I could do a cpanel cron wrong, and my host also told me it was right.
Do stats rely on sessions/cookies? If true then maybe the program that is used by the real ccron job doesn't accept cookies or causes smf not to create a session and update the stats?
maybe, I'm using a cpnael cron, could that be it?
Works great on my board.
Running:
smf 1.1.3
PHP 5.2.3
Thanks for the Mod.
Hi,
ive just started using this mod.. and im not sure how exactly to set up a cron job. does it have to do with my host.. or to do with the smf? thanks
KG
hello what is the difference between fake cronjob cronjob url i use fake cronjob but when add a feed appear this error
Unable to download the feed.
the feed is
http://www.clarin.com/diario/hoy/um/sumariorss.xml
in localhost work ok but in my server not, is a problem with my server?
i have curl in my server,dream host, but i dont know how modify the code to work ???
hello i get this error in log
2: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: no suitable wrapper could be found
File: xxxx/Sources/Subs-RSS.php
Line: 25
in this line is
$fp2 = fopen($url, "r");
i use dreamhost an Allow_url_fopen is off, but how activate the curl function to use
Bugger, I had this working months ago and went to update and now I am getting this error when I run the cronrss.php
Notice: Undefined index: tag in /homepages/4/********/htdocs/*****/Sources/Subs.php on line 1858
Feed Poster Configuration
This is the line in Subs.php:
$bbc_codes[substr($c['tag'], 0, 1)][] = $c;
I assume that it has to do with another mod? Does anyone know how to fix this?
Quote from: Pratt on May 25, 2007, 01:49:16 PM
Quote from: MegaTinkerCoder on April 19, 2007, 08:20:29 PMI wish the feeder posted the whole rss feed instead of a snippet, but I haven't had time to investigate that myself.
Any Luck with that? ive been playing around with my Subs-RSS.php, but im still getting a little snippet of the Feed, mostly with Feedburner. While lookin to the rss feed directly in Feedburner i can se the whole Message, but when i bring the same feed to my forum, i still get just a little snippet...
I, too, would value the entire feed, rather than just the "snippet" as you call it. Is there any way to do this that anyone has found?
There's just not enough "headline" far too frequently.
Same here... Anyone?????
I've been searching through the source (I know a LITTLE php) and couldn't find anything..
If anyone has even a CLUE that would help me find it, I'd be happy to try to help us all!
EDIT:
I can't do anything from where I'm at. I wish SMF would let you edit files remotely like WordPress. and like it does for themes.
Oh well...
I'll work on it over the weekend.
Installed CURL on my test site. In next couple weeks will look into getting proper curl support.
ok thanks i wait
Quote from: vbgamer45 on July 18, 2007, 09:39:52 PM
Installed CURL on my test site. In next couple weeks will look into getting proper curl support.
Any idea how I can exclude a certain member's ID from the unread topics feature? I need to turn off the RSS feed member from showing up in there. I made a help topic in the coding support, but they said try here.
Quote from: Kardinal on July 10, 2007, 04:34:44 PM
There's just not enough "headline" far too frequently.
I'm using SMF version 1.1.1 and the RSS feed from SMF is an excerpt by default. The issue isn't with this mod.
I have installed it, but its posting blank topic and title. Whats wrong?
I have installed it and it starting to send in rss feeds to the forum. Hower it doesn't add to the post count. Anyway of changing this?
Come on now! Any answers?
I've just installed the RSS Feed poster mod in my smf 1.1.3 with tiny portal mod 0.9.8 on my forum. The mod is working fine but i want to put "Read More..." link instead of posting direct link address below the post. Can it be possible? please help me.
http://technoworldinc.com/scrap_corner_dust_bin/fbi_ducks_questions_about_its_remotely_installed_spyware-t6650.0.html
Thanks
Quote from: L.G.S on July 19, 2007, 06:52:08 AM
Quote from: vbgamer45 on July 18, 2007, 09:39:52 PM
Installed CURL on my test site. In next couple weeks will look into getting proper curl support.
Any idea how I can exclude a certain member's ID from the unread topics feature? I need to turn off the RSS feed member from showing up in there. I made a help topic in the coding support, but they said try here.
Sorry for my ignorance but I have no idea about what a cron job is and how can I create a cronrss.php file ? And I think If I come over these two questions, I will make everything work
Thanks.
Via wikipedia:
http://en.wikipedia.org/wiki/Cron (http://en.wikipedia.org/wiki/Cron)
Newbies Guide To Cron:
http://www.unixgeeks.org/security/newbie/unix/cron-1.html (http://www.unixgeeks.org/security/newbie/unix/cron-1.html)
Please note, you could have googled those for yourself!
Quote from: TrueSatan on August 09, 2007, 11:43:46 AM
Please note, you could have googled those for yourself!
u r right, sorry bro
Hello, i have a big problem if a Feed- Source is temporarily offline, in this case, loading my forum takes about 30 minutes.
Is there a way to change the code by the way, that the Feed- Poster ignores an Feed- Source/Url if its not reachable?
help...
XML error: mismatched tag at line 63
What does it mean?
I get a internal sever error when i press Add feed. It is showing up in the RSS Feed Poster manger tho.
Can you just use the url to any feed you want? or are some feeds copyrighted etc.
My host wont allow the fsockopen to be open, how can do this with curl or the other method mentioned?
Thanks,
Now im getting internal sever errors when i try to access my forum after enabling "fake cron jobs"!
What should i do?
Okay just looking at the ftp right now there are only the following files from the download on the server:
/Packages/rss_poster.zip
/Sources/FeedPoster.php
/cronrss.php
Is this correct?
Please help.
There is a problem with Non English Caracthers... does anybody has a solution yet ?
I see no problem when using utf-8.
Hey, I fixed the problem i had.
How do i use this mod with CURL?
Quote from: vbgamer45 on January 14, 2007, 08:26:14 PM
Released an Update.
Fixed only downloading 1 feed item now downloads current number feeds.
Added support for FOpen for feeds as well as cURL - cURL is untested though.
Does this mean i can use it without fsockopen? My host cupports CURL and Fopen but not fsockopen, it would be fantastic if it worked.
It appears to be working but i have to threds that use this mod, 1 thread is working and the other is not, they both use the same user. I get an internal server error when i try to save the changes made to the feed.
It is set to update every half hour.
Quote from: Buster.de on August 20, 2007, 02:22:30 PM
I see no problem when using utf-8.
Yes, but my forum is «ISO-8859-1», so I get a lot of strange characters.... Is there a php script to convert a string into ISO-8859-1 ?
I found a solution for the problem with characters encoding ;)
(in my case I was using ISO-8859-1)
Go to Subs-RSS.php and find:
// Create the Post
$msg_title = $feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title']);
$msg_body = $feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link']);
Replace with this one or change it according to your enconding needs (this one converts to ISO-8859-1):
// Create the Post
$msg_title_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = iconv("UTF-8", "ISO-8859-1", $msg_title_); //// NEW added Code
$msg_body_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = iconv("UTF-8", "ISO-8859-1", $msg_body_); //// NEW added Code
Its working now ;)
we need to fix the HTML posts....
for example, if you got a feed from a youtube user videos, the post includes a tumbnail of the video, with this bug the image doenst show up, and a lot of html coding ruins the post.
Can anyone else get this to do 2 feeds? Mine will only do 1 feed, the other does not work.
This is not working at all.
It wont do 2 feeds and it has now stopped doing the one feed. How so i correct this?
Forum: mysimtractor.com/forum
Details:
fsockopen: disabled
fopen: enabled
CURL: enabled
Hey friends :)
OK
How can I run multiple cron jobs thoughout the day?
I don't want the one http://mysite.com/forum/cronrss.php to pull all feeds at once
I would like to pull news feeds at one time sports feeds at another etc
Thanks
In the config does the poster name have to be like this:
"Member" or Member
Thanks,
Just noticed that even if it is in the form "Member" it will change to Member, This is still not working. In the download there are .xml files but they are not on the server, is this a problem?
A have loads of these errors in the error log.
8: Undefined offset: 23
File: /home/fhlinux164/m/mysimtractor.com/user/htdocs/forum/Sources/Subs-RSS.php
Line: 130
Every time i edit/create a feed i get this ^.
Line 130:
function startElement2($parser, $name, $attrs)
{
global $depth;
$depth[$parser]++;
}
line 130: $depth[$parser]++;
This is driving me mad!
The above error is actually when i edit/create the feed.
I also get this error:
2: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed!
File: /home/fhlinux164/m/mysimtractor.com/user/htdocs/forum/Sources/Subs-RSS.php
Line: 25
BUMP
Hi Irmie,
Quote from: imrie on August 21, 2007, 05:32:50 PM
This is not working at all.
It wont do 2 feeds and it has now stopped doing the one feed. How so i correct this?
Forum: mysimtractor.com/forum
Details:
fsockopen: disabled
fopen: enabled
CURL: enabled
I have 10 feeds working ok, so it should work.
Quote from: imrie link=topic=141776.msg1211324#msg1quote author=imrie link=topic=141776.msg1211401#msg1211401 date=1187776786]
Just noticed that even if it is in the form "Member" it will change to Member, This is still not working. In the download there are .xml files but they are not on the server, is this a problem?
211324 date=1187772021]
In the config does the poster name have to be like this:
"Member" or Member
Thanks,
[/quote]
It works both ways, you can just write the name, or you use the search function.
Quote from: imrie on August 22, 2007, 05:59:46 AM
Just noticed that even if it is in the form "Member" it will change to Member, This is still not working. In the download there are .xml files but they are not on the server, is this a problem?
The problem is probably with your feed... try adding it to feedburner.com, use the optimize options in there, and try adding the new feedburner feed instead, I've corrected some feeds this way.
But they are not my feeds, am i allowed to add them to feedburner?
I get the same error with the feedburner:
"http:///forum/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 23
File: /home/fhlinux164/m//user/htdocs/forum/Sources/Subs-RSS.php
Line: 130 "
Thanks,
Yes, you are allowed ;)
Hum.... can you post the feed here?
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xml
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/front_page/rss.xml
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/technology/rss.xml
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/scotland/rss.xml
http://www.eldis.org/newsfeeds/rss/2/agriculture.xml
http://newsrss.bbc.co.uk/rss/newsonline_uk_edition/uk/rss.xml
http://digg.com/rss/index.xml
http://www.economist.com/rss/news_analysis_and_views_rss.xml
The digg one gets this error:
2: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed!
File: /home/fhlinux164/m//user/htdocs/forum/Sources/Subs-RSS.php
Line: 25
the rest get this:
"http:///forum/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 23
File: /home/fhlinux164/m//user/htdocs/forum/Sources/Subs-RSS.php
Line: 130 "
http://feeds.feedburner.com/Mysimtractorcom
just a quick question which is better to use real cron or fake cron jobs using php in terms of cpu usage? does a real cron eat less resources?
Quote from: slackerpunk on August 27, 2007, 09:20:40 AM
just a quick question which is better to use real cron or fake cron jobs using php in terms of cpu usage? does a real cron eat less resources?
Real cron job is better for performance.
when you say perfomance you mean it would use less resources right?
yes
i forgot to ask when I use real cron which will be followed the time I set in my cron job or the one I set on the settings?
The cron job is time that it is checked. The one in the settings is time for each feed. The cron sends a request to the script if the feed has past it time it tries to download more feed items.
vbgamer, im still getting all these errors, what can i do?
Try to get fsockopen enabled that is the only officaly supported method at this time.
the host said no. But it was working before, i dont know why it just stopped; i had uninstalled it and reinstalled it and now it does not work.
where
Quote from: vbgamer45 on January 11, 2007, 07:46:04 PM
Link to Mod (http://custom.simplemachines.org/mods/index.php?mod=624)
Using the following file
http://www.yourforums.com/cronrss.php
I'm sorry for a naive question, but where can I find cronrss.php file?
Excellent mod btw.. well cool...
But on smf I get the following error when running the cronrss.php
http://whatson.110mb.com/forum/cronrss.php
QuoteWarning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Warning: fopen(http://groups.google.com/group/Google-Maps-EZ/feed/rss_v2_0_topics.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Feed Poster Configuration
Line 314: $fp2 = fopen($url, "r");
Any ideas ?
It's working AFAIK on the "fake" chron job.. but my SMF error log is filling up rapidly!
How do I fix this.. ?
btw.. fopen url disabled, fsockopen enabled and CURL installed and tested.
I am fairly sure I've read every post in this thread, and yet somehow the answer isn't clear to me...
I'm installing this very useful mod on my site's forums, but have trouble at the point of install. Here's what happens:
1 - I upload the package via the built-in packages manager. Seems fine...
2 - Click on "APPLY MOD" from list of available packages.
3 - Get following box:
QuoteInstalling this package will perform the following actions:
Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Extract File ./Sources/FeedPoster.php
5. Extract File ./Sources/Subs-RSS.php
6. Extract File ./cronrss.php
7. Extract File ./Themes/default/FeedPoster.template.php
8. Extract File ./Themes/default/languages/FeedPoster.english.php
9. Extract File ./Themes/default/languages/FeedPoster.english-utf8.php
10. Execute Code FeedPostersql.php
4 - It asks me if I want to install it anyway, so I go ahead and install it.
5 - Redirected to Forum Index
6 - No link for Feed Poster Configuration exists...
I'm on SMF 1.1.3
I've installed this successfully on other sites
Is there any permissions issues with this mod? What should my files be set to? R/W or 755?
Thanks for any assistance in this matter... If any other information is required, I'll be happy to post it.
Quote from: Dozzer on August 30, 2007, 12:52:24 PM
Excellent mod btw.. well cool...
But on smf I get the following error when running the cronrss.php
http://whatson.110mb.com/forum/cronrss.php
QuoteWarning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Warning: fopen(http://groups.google.com/group/Google-Maps-EZ/feed/rss_v2_0_topics.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Feed Poster Configuration
Line 314: $fp2 = fopen($url, "r");
Any ideas ?
It's working AFAIK on the "fake" chron job.. but my SMF error log is filling up rapidly!
How do I fix this.. ?
btw.. fopen url disabled, fsockopen enabled and CURL installed and tested.
Ok sorted the error.. by commenting out the fopen sections "//"
But, I'm still getting an error on the forum log as follows:
8: Undefined offset: 1
File: /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php
Line: 354
Line 354 area:
352 // Get rid of the stupid header information! Wish the function did it for me.
353 $rss2 = explode("\\r\\", $rssdata);
354 $finalrss = $rss2[1];
It appears not to be working..
Anyone got any ideas on this ?
Hi. I wanted to know if there is a way to remove the <p> tags from the rss post. I've two feeds which has this, and with html off or on, this text is entered "<font size="2"><strong>SHAHNAZ HUSAIN</strong></font>" with <p> tags. I also tried to censor <p>, or the full text above, but the censor word list doesn't accept this, and doesn't censor this. Thanks in adv
Quote from: Dozzer on August 30, 2007, 05:17:45 PM
Quote from: Dozzer on August 30, 2007, 12:52:24 PM
Excellent mod btw.. well cool...
But on smf I get the following error when running the cronrss.php
http://whatson.110mb.com/forum/cronrss.php
QuoteWarning: fopen() [function.fopen]: URL file-access is disabled in the server configuration in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Warning: fopen(http://groups.google.com/group/Google-Maps-EZ/feed/rss_v2_0_topics.xml) [function.fopen]: failed to open stream: no suitable wrapper could be found in /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php on line 314
Feed Poster Configuration
Line 314: $fp2 = fopen($url, "r");
Any ideas ?
It's working AFAIK on the "fake" chron job.. but my SMF error log is filling up rapidly!
How do I fix this.. ?
btw.. fopen url disabled, fsockopen enabled and CURL installed and tested.
Ok sorted the error.. by commenting out the fopen sections "//"
But, I'm still getting an error on the forum log as follows:
8: Undefined offset: 1
File: /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php
Line: 354
Line 354 area:
352 // Get rid of the stupid header information! Wish the function did it for me.
353 $rss2 = explode("\\r\\", $rssdata);
354 $finalrss = $rss2[1];
It appears not to be working..
Anyone got any ideas on this ?
Exact problem as me, both the same errors.
Regarding the error:
: Undefined offset: 1
File: /www/110mb.com/w/h/a/t/s/o/n/_/whatson/htdocs/forum/Sources/Subs-RSS.php
Line: 354
It appears that the array created by $rss2 = explode("\\r\\", $rssdata);
$rss2[1] appears to be blank - empty., thereby giving the undefinded offset ( [1] )
Echoing the output of $rss2[0] produces a large string of xml... yet $rss2[1] appears blank.
Anyone got any ideas on how to get this working ?
My RSS feed is:
http://groups.google.com/group/Google-Maps-EZ/feed/rss_v2_0_topics.xml
Here is the problem code area: lines 352 to 356
Quote// Get rid of the stupid header information! Wish the function did it for me.
$rss2 = explode("\\r\\", $rssdata);
$finalrss = $rss2[1];
return $finalrss;
$finalrss is a blank string...
If I comment out the "explode" bits above.. should it work ok ?
Solved the rss feed poster error...!!! w00t!!
Assuming you have no other errors in your SMF code..
Modify the sub-rss.php as follows:
Around about line: 356
Comment out // $rss2 = explode("\\r\\", $rssdata);
Insert: $rss2 = explode("\r\n\r\n", $rssdata, 2);
That removes the headers correctly and it started working!
Didn't solve the basic error I'm getting.... W00t to that... lol....
Anyone know the basics of this thing?
Quote from: czechmate on September 01, 2007, 04:36:54 PM
Didn't solve the basic error I'm getting.... W00t to that... lol....
Anyone know the basics of this thing?
What is the error you are getting ?
I've modded the files to work on my host.. that may help...
http://www.110mb.com/forum/rss-feed-poster-bot-for-smf-resolved-t20379.0.html
My issues aren't with any fsock I don't believe. Just basic install issues noted on page 27 of this thread...
Quote from: czechmate on September 04, 2007, 11:06:36 AM
My issues aren't with any fsock I don't believe. Just basic install issues noted on page 27 of this thread...
Just make sure your file are chmoded to 777 for the little while it takes to install..
My forum admin section.. go to packages.. then options.. make all files writable..
Once installed.. make minimum files writeable..
Weird, it's not letting me do it... I am on IIS, but that doesn't seem to be the problem at this point. It simply isn't accepting my LOCAL PATH TO SMF because of invalid syntax...
This isint working, i am now using the mod on 110mb...and have tried the above suggestion too. Could some one please edit Subs-Rss.php so that it only uses fopen or cURL as i think the script realisies the server doesent support fsockopen (which is true) then stops the script.
many thanks,
Quote from: imrie on September 04, 2007, 03:23:28 PM
This isint working, i am now using the mod on 110mb...and have tried the above suggestion too. Could some one please edit Subs-Rss.php so that it only uses fopen or cURL as i think the script realisies the server doesent support fsockopen (which is true) then stops the script.
many thanks,
Check out my post on 110mb forum..
I modded the rss script to work.. works for me on 110mb..
http://www.110mb.com/forum/rss-feed-poster-bot-for-smf-resolved-t20379.0.html
Is it possible to get repeated posts with the same subject put under the same topic like humans would do... ?
Eg: http://whatson.110mb.com/forum/gmapez-google-group-postings-b5.0/
As you can see I have multiple topics with same subject... bung em all into one ?
Also any news on a HTML to BBC code "fix" ? eg: HTML imag code to [img][/img]
IF the description and title are the same it will not post the same topic.
Quote from: Polymath on June 10, 2007, 12:58:49 AM
Ok. I finally got an email from the cron job.
/bin/sh: http://www.gstestsite.ezmnetwork.com/cronrss.php: No such file or directory
But it is there. Whats up with that?
EDIT: changed permissions from 666 to 755. Maybe that helps because its now showing Feed Poster Configuration
What am I supposed to see if I go to http://www.gstestsite.ezmnetwork.com/cronrss.php
I have the same problem as you... anybody found a solution to this?
I had problems using this mod with URLs that contain arguments separated by characters like '?' or '&'. In order to disambiguate whether the problem was fetching the feed or parsing it I created a cron job that used wget to fetch an affected feed, saving the contents as an XML file on my server. I then configured RSS Feed Poster to fetch the file from my local machine and it worked.
I'm using Red Hat Enterprise Linux 4.0 and Apache 1.3.37.
I've left the cron job workaround in place, but it seems a problem does remain causing RSS Feed Poster to fail to retrieve certain valid URLs.
Quote from: Ranter on September 12, 2007, 04:54:37 PM
I had problems using this mod with URLs that contain arguments separated by characters like '?' or '&'.
Did you try to use a URL with escaped characters for the ? and &.
Quote from: czechmate on August 30, 2007, 02:38:15 PM
I am fairly sure I've read every post in this thread, and yet somehow the answer isn't clear to me...
I'm installing this very useful mod on my site's forums, but have trouble at the point of install. Here's what happens:
1 - I upload the package via the built-in packages manager. Seems fine...
2 - Click on "APPLY MOD" from list of available packages.
3 - Get following box:
QuoteInstalling this package will perform the following actions:
Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./index.php Test successful
3. Execute Modification ./Sources/Subs.php Test successful
4. Extract File ./Sources/FeedPoster.php
5. Extract File ./Sources/Subs-RSS.php
6. Extract File ./cronrss.php
7. Extract File ./Themes/default/FeedPoster.template.php
8. Extract File ./Themes/default/languages/FeedPoster.english.php
9. Extract File ./Themes/default/languages/FeedPoster.english-utf8.php
10. Execute Code FeedPostersql.php
4 - It asks me if I want to install it anyway, so I go ahead and install it.
5 - Redirected to Forum Index
6 - No link for Feed Poster Configuration exists...
I'm on SMF 1.1.3
I've installed this successfully on other sites
Is there any permissions issues with this mod? What should my files be set to? R/W or 755?
Thanks for any assistance in this matter... If any other information is required, I'll be happy to post it.
Nobody can help me with this? I've tried putting CHMOD777 and all that stuff, but still can't install the mod. It's a shame too, since I could really benefit from it in my site's forums...
Firstly prior to installing or uninstalling mods or themes you should backup both your database and your files then go to ACP>Packages>Options and set Installation Options according to the details of your hosting...then set Cleanup Permissions so "All files are writeable" this should change the CHMOD of your files to 777 (or 775 if your hosting won't allow 777)...check that it has via ftp and then you will have sorted any file permissions issues out...if it hasn't worked you will have to alter your Installation Options settings as they are probably at fault...try it again until the files are made writeable.
Go to ACP>Server Settings and make sure that your forum language is set to English and not English utf8.
These points will probably resolve your problem but if not please post back and we'll move to another few things to try.
Awesome, got it installed. Tricky figuring out what the issue was, so thanks for your help! I kinda thought it was permissions related, and since I'm running on IIS I can't seem to use the permissions modifier in the ACL for Package Manager. Had to reconfigure from the control panel back-end of my hosting service.
Again, thanks!
Dan
I have downloaded, unzipped, and uploaded the files that the package-info said to, and put them where it said to.
There is "FeedPostersql.php" that I didn't upload to my board because I don't know where to put it.
After it's all uploaded, where do I go on my Admin CP to set it up? My "Package Manager" doesn't work, so I am having to do it manually.
I am using SWF ver. 1.1.3.
Any help I can get would be greatly appreciated.
Thanks,
Mickey
i m working with SMF 1.1.4
and has installed Rss feed poster
earlier it was working fine with me
but now i tried to add a rss feed
but it is encoutering errors when i tried to add a feed in a forum
Quote
XML error: not well-formed (invalid token) at line 1
this is the error message i get
please help me out of it
as this Mod is really important for me
thanks in advance
Often feeds aren't properly formed and throw such errors...this looks like such an occasion...it isn't the mod at fault but a problem in the feed itself.
I installed the "
RSS FEED POSTER" module on my smf forum amd i gave the link of mambo category,mambo item for rss feed in feed poster configuration but i am not getting the output so what can i do right now anyone have solution pls send me on "
[email protected]"
Please note we reply to forum postings on this forum. Your hosting may not be set up in a way such that this mod can work, fsock may not be enabled for instance. The mod may not be set up properly on your forum or the feed you are trying to use may not be a valid one (either not existing or containing invalid characters that make it unusable)...there are a number of possibilities.
Hello TrueSatan,
Which link is required in smf forum feed poster configuration.
To be honest my own hosting doesn't allow fsock open so I can't install and use this mod to debug things for you...that said the feed links you would use would be .rdf, .xml, .rss in type. You would need to find a suitable feed and it would be as well if you used a validator to check it. As an example the feed offered by SMF at the bottom of this page is shown as xml http://www.simplemachines.org/community/index.php?action=.xml (http://www.simplemachines.org/community/index.php?action=.xml)
Hello Sir,
I tried for .xml link for this purpose I used http://www.rediff.com/rss/perfinrss.xml this url but it's not working.There is not any error also.
Have you checked you hosting to see that fsock is enabled...if it isn't the mod won't work. BTW rediff.com is on some of the lists of malware or ad serving sites I use so I am unwilling to check that link. It may be that your host has it blocked too.
Hello my host is showing fsock enable then what to do now.Which link is required ....what is the problem.
Hello VBGAMER,
Your package not working on my host so which link is required to pass the in add feed section. I tried well but this package not responding.So pls replay with a proper solution.
Hello VBGamer sir,
u there??????????????
Hi,
1.My web site feeds are showing live links ( i have hidden mp3 urls in my site). even when i connect thru the feeds i am able to see the posts & urls for download without logging into the forum.
2. How to hide the author of the post from the feed.
thanks in advance
How can I cut off/ignore any html tags/code for all or specific member on SMF 1.1.4 with this mod.
i mean html tags like <td></td><a></a><img> etc
please let me know what should I do as while using this mod some of the post get posted with all the html code stuffs.
Sorry for my english
I'm using 1.1.3
Using Real Cron jobs no post and if i try http://losamigotes.homelinux.org/forum/cronrss.php
QuoteFeed Poster Configuration
nothing more
If i use fake cron jobs, I have three problems:
1º i have Update every x minutes 100
But every 5-10 min. a feedpost is write in the forum
2º i have post duplicated (see imagen)
3º in to the feedpost i have bizarre text. example:
QuoteMerck cerrará el Laboratorio de Investigación
La decisión deja a España sin uno de los pocos centros no dependientes de los fondos públicos que se dedicaba a la investigación básica.
I got a problem. HTML is showing, and not getting converted to BBCode.. e.g: http://adminfuel.com/drupalsecurity_updates_and_bugfixes_available_drupal_52_and_477_released-t772.0.html
Any way to do this?
Hello Sir,
I used the cron job component is working but i am getting the following error
: Lost connection to MySQL server during query
/home/content/q/v/e/qveda/html/forum/Sources/Load.php
1165
So what to do now.
Hello Sir,
Some time it gives "this service is temparary unavaliable." or "connection problem" as like errors getting by giving .xml link and cron job.So what to do now.
This looks to be a problem that isn't due to the mod so short of changing your hosting I don't think there's much else that you can do. Unfortunately, and for whatever reason, your host doesn't appear to be able to reliably complete the query sent to it from the mod but given that it can do the task at other times you can be reasonably certain that it is a problem with the hosting not the mod.
Another solution to the problem with non-US characters. The other solutions here have not worked for me (for instance, iconv does not exist in my php). Anyway, here goes something that has been tested with swedish and finnish characters ("nordic" that is).
Subs-RSS.php
// Create the Post
$msg_title = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = mb_convert_encoding($msg_title, "UTF-8", mb_detect_encoding ($msg_title, 'UTF-8, ISO-8859-1, ASCII'));
$msg_body = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = mb_convert_encoding($msg_body, "UTF-8", mb_detect_encoding ($msg_body, 'UTF-8, ISO-8859-1, ASCII'));
What does it do? It tries to detect what encoding the incoming text has, and then converts it to UTF-8. If your forum is running on some other encoding, then just change the destination encoding scheme in the code above (second parameter in mb_convert_encoding). This works with mixed feeds that are ISO-8859-1 and UTF-8 - all result in proper characters in UTF-8. If you have an exotic character-set, just add it to the list in the mb_detect_encoding-function.
Hope this solves something for someone.
I get 3 pages worth of errors in the error lock with problems with the fopen on line 314 in Subs-RSS... what could be the problem?
Server misconfiguration. When I've seen such errors that has been the reason for them.
My host provides cURL which is already used in the top half of the file. I used this to stop all errors shown in error log..
It seems like the mod truncates the text from the blog and only posts the beginning of the text in the forum. How can I have the entire blog post be posted in the forum?
Btw, the feed doesn't truncate, it shows the entire blog post.
Thanks!
How do I get the Cron Job to work with it? It doesn't seem to post them.. I have got one set up in my webhosting panel attached to the cronrss.php file.. but it won't work :S
Hi all,
am I the only one, who's NOT see a link to the configuration area? I have installed this mod (fopen is allowed), it told me that it's installed perfect, but I can't see the link.
The other problem: I've checked if there the cron.php (named so I belive) is in the right folder, after install, but it's not. What's the matter with this? I am using 1.1.4, only a handfull small other extensions and can't use the RSS Posting thing, please tell me, whats wrong. I am from Germany, using German as language and the Classic Yabb Template. Also, if I put the board to english language, I can't see a link to configuration.
Please help me :-)
Please try the mod in the SMF Default theme. Like almost all mods this mod only installs automatically into the SMF Default theme. In this case the theme isn't edited but three new files are added to it and to make it work in other themes you may need to add them to each additional theme.
FeedPoster.template.php to the theme directory
FeedPoster.english.php to the theme language directory
FeedPoster.english-utf8.php to the theme language directory
You will have to translate the mod to make it work in German...the English files should be translated and the original English versions left in place unedited with the additional German versions added to the forum.
Quote from: tsmalmbe on October 04, 2007, 07:01:11 PM
Another solution to the problem with non-US characters. The other solutions here have not worked for me (for instance, iconv does not exist in my php). Anyway, here goes something that has been tested with swedish and finnish characters ("nordic" that is).
Subs-RSS.php
// Create the Post
$msg_title = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = mb_convert_encoding($msg_title, "UTF-8", mb_detect_encoding ($msg_title, 'UTF-8, ISO-8859-1, ASCII'));
$msg_body = htmlspecialchars(($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = mb_convert_encoding($msg_body, "UTF-8", mb_detect_encoding ($msg_body, 'UTF-8, ISO-8859-1, ASCII'));
What does it do? It tries to detect what encoding the incoming text has, and then converts it to UTF-8. If your forum is running on some other encoding, then just change the destination encoding scheme in the code above (second parameter in mb_convert_encoding). This works with mixed feeds that are ISO-8859-1 and UTF-8 - all result in proper characters in UTF-8. If you have an exotic character-set, just add it to the list in the mb_detect_encoding-function.
Hope this solves something for someone.
Changing the code I'm having this error:
Parse error: syntax error, unexpected ';', expecting T_PAAMAYIM_NEKUDOTAYIM or '(' in
Any help?
EDIT: Solved by myself. Working fine!
hmmm.... I need some help.
I just installed this mod it seemed pretty easy from the start but its not working. I dont know where I messed up.
I have the mod installed and set up a feed that pulls news from digg related to my forum topic. I then create a member that would serve as the 'NewsBot'....I saw 2 new news article posted on the particular digg link I am using...but my 'NewsBot' haven't posted anything...I dont know whats wrong...do I have to have it logged in every time or something...
My news forum section is restricted so only admin and mods can post so I promoted 'NewsBot' to global mod...but no post were made...
I've visited my link http://www.yourforums.com/cronrss.php but it takes forever and results in a blank page....also when I edit my feed or setup the feed it takes forever and loads to a blank page as well...but when I go in cpanel I can see the feed was created/edited...Fsocketopen is enable on Hostgator hosting...
I hope this is enough infor...thanks in advance for the help! :D
Quote from: bigaldizzler on October 22, 2007, 06:37:52 PM
hmmm.... I need some help.
I just installed this mod it seemed pretty easy from the start but its not working. I dont know where I messed up.
I have the mod installed and set up a feed that pulls news from digg related to my forum topic. I then create a member that would serve as the 'NewsBot'....I saw 2 new news article posted on the particular digg link I am using...but my 'NewsBot' haven't posted anything...I dont know whats wrong...do I have to have it logged in every time or something...
My news forum section is restricted so only admin and mods can post so I promoted 'NewsBot' to global mod...but no post were made...
I've visited my link http://www.yourforums.com/cronrss.php but it takes forever and results in a blank page....also when I edit my feed or setup the feed it takes forever and loads to a blank page as well...but when I go in cpanel I can see the feed was created/edited...Fsocketopen is enable on Hostgator hosting...
I hope this is enough infor...thanks in advance for the help! :D
Ah...I spent a few hours today no luck...still cant get this to work! I chmod folder cronrss.php and sub-rss.php to 755 and set cron time to 30 mins and used the main digg.com index as a feed url, but no post made....my error log shows this by the way maybe...
Most recent error...
[24-Oct-2007 00:04:00] PHP Warning: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed! in /home/*****/public_html/mydomain/Sources/Subs-RSS.php on line 314
I dont know...read a few post related to this problem but no real solution... :'(
It looks as though your host doesn't allow fopen in which case this mod can't work on your hosting...change hosts or persuade your current one to change policies/settings or don't use mods that need fopen...
TrueSatan: There's another post, burried of course, that has to do with another non-packaged method to import RSS feeds. I'm not 100% certain but (I think it uses Magpie) that may not require the fopen? I have a copy of it kicking around somewhere so if you're interested in it then kick me a PM and I'll upload it or email it to you.
Quote from: TrueSatan on October 24, 2007, 05:05:23 AM
It looks as though your host doesn't allow fopen in which case this mod can't work on your hosting...change hosts or persuade your current one to change policies/settings or don't use mods that need fopen...
Hmm I dont know but my site is hosted with Hostgator...I've asked them twice now fopen is enabled so that shouldn't be the issue. I have chmod the files subs-rss and cronrss to 755. Everytime I add/edit a feed it takes forever to load and will result in a blank page, but it still change/be created because I can go back to my site and click admin -> feed config and see a feed was created or check on the setting to see if its been edited. When I visit my cron url it takes forever to load and results in a blank page as well...error logs show
[24-Oct-2007 00:04:00] PHP Warning: fopen(http://digg.com/rss/index.xml) [<a href='function.fopen'>function.fopen</a>]: failed to open stream: HTTP request failed! in /home/*****/public_html/mydomain/Sources/Subs-RSS.php on line 314 all of them pointing to Line 314 in the subs-rss.php. Anyone got this to work with hostgator hosting? I dont know what I did wrong :(.
Quote from: mett on April 20, 2007, 04:16:09 AM
Hello
I have a problem when i run cronrss.php:
Fatal error: Cannot redeclare class akismet in /home/xxxxx/public_html/Sources/Akismet.class.php on line 55
I search forum before this post and somebody said something about duplicate code in Post and Subs-Post.php...but i don't have any duplicated code.
Right now, i can update only one feed per request and only the first one in the list, even i have added 10 feeds.
I try to use fake cron from mod but it's crash my admin area
Any ideea why?
Thanks
I see that there was another question about this, but I didn't see any answers. I'm having the same issue. Does anyone have a solution? I'm thinking that somewhere in the code for the Akismet plugin, there's an include() that could be an include_once(), but I don't know where to start looking.
I found it.
To get rid of the Fatal error: Cannot redeclare class akismet on line 55 error when using the Akismet mod and the RSS Feed Poster mod with cronrss.php make the following change:
In Sources/Subs-Post.php
find
require($sourcedir."/Akismet.class.php");
Replace with
require_once($sourcedir."/Akismet.class.php");
I have installed at following.
www.ihealthtalk.com/forums
But only first posts appear in my forums. I use RSS from yahoo answers and I like all questions and answers to be fed into my forums but instead feedposter is only feeding first posts which are in fact questions.
First off check the feeds themselves to see that they contain the data you want then check them in a reliable feed validator to see if they are proper and valid feeds.
Quote from: L.G.S on June 23, 2007, 07:28:13 AM
hi i have a problem
Id like the rss news to update in the forum stats as well, but it doesnt.
When I used fake crons it did, but as soon as I started real crons it just stopped working.
Can I fix this somehow please?
Hi,
I just notice that I have this stats issue too.
RSS Feed is working fine but it does not change stats numbers ("Forum History (using forum time offset") althought it changes my post numbers and "Forum Stats" in main page ("Forum Stats xxxx Posts in yyyy Topics by zzzz Members"). Is there a fix?
My RSS Feed is working superb. as soon as there is a new post/ Topic it is reflected thru RSS Feed. Nice Mod.
A small Issue now: i have some Private boards which are not for members but only for Forum Staff like Admin/ Moderators. So any discussion/posts here are private and not counted as a post. But the same is also reflected in RSS feed.
i have permissions for Guests to view the Boads (Not Private Boards) but not the links inside.
Mine is basically a MP3 Site. help me to solve ths issue
I've just installed this mod. The fake cron jobs worked perfectly but almost slowed the forum to a complete hault. I have now set up an actual cron job. The feeds are not updated however. They are only updated if I physically visit the http://myforum/mydirectory/cronrss.php page. After typing this url in my browser, and waiting for the page to load (it never completely loads) I return to my forum and the posts have been made.
Can anyone explain what I'm doing wrong, or what I need to do in order to not have to do this manually?
Also, after installing this mod, as others have stated in this thread, the configuration link is missing, there is a blank space where I suppose it should be. I'm running the latest .4 version as well. I saved the configuration page to my favorites, luckily.
I would appreciate any advice from the SMF community and look forward to your response.
Thank you,
Dominic
I have found two problems with RSS feed poster.
1- Blogspot has got full content RSS feed but when feed poster is used it makes Thread but without any Title, so it is not accessable.
2- When Feeds are posted from Feedburner, it ads unwanted HTML Tags in the Thread
Please tell me what is the solution for that
Hey..just saw this mod and it's wow no words..Having somebodies news on your own forum and automated..The life itz good 8)
But one small thing
I just keep getting this error
8: Undefined offset: 41
Datoteka: /home/selovese/public_html/Sources/Subs-RSS.php
Linija: 130
Any ideas what is is..
Here is the code that's seems to make a problem.
127function startElement2($parser, $name, $attrs)
128{
129 global $depth;
130 $depth[$parser]++;
131}
Quote from: Dominic_1 on November 07, 2007, 01:28:15 AM
I've just installed this mod. The fake cron jobs worked perfectly but almost slowed the forum to a complete hault. I have now set up an actual cron job. The feeds are not updated however. They are only updated if I physically visit the http://myforum/mydirectory/cronrss.php page. After typing this url in my browser, and waiting for the page to load (it never completely loads) I return to my forum and the posts have been made.
Can anyone explain what I'm doing wrong, or what I need to do in order to not have to do this manually?
Also, after installing this mod, as others have stated in this thread, the configuration link is missing, there is a blank space where I suppose it should be. I'm running the latest .4 version as well. I saved the configuration page to my favorites, luckily.
I would appreciate any advice from the SMF community and look forward to your response.
Thank you,
Dominic
I have the same thing. It does work perfectly on fake cron but on the real one only the first time. When entering www.domain.com/cronrss.php it and when i return to a page..it updates the feeds. Setting the time to 30 min has no effect actually
Well, i am really a noob BUT i found solution till this things are not solved. If you have the option of cronjob, and you probably have, you can use the cronjob to run the script every minute, day, month...or so you want. I tested it now and it works.. But i would rather prefer the option in the smf itself.
This is the command of your cronjob. and the time to run it you can set it yourself
php -q /home/pathonyourserver/cronrss.php
Just paste and copy the command and ONLY change the serverpath.
Just getting better and better at this :D
Hrm, I have been trying to get this to work, but can't. Tried cron jobs, fake cron jobs, different feeds, etc and nothing works. When visiting the cronrss.php directly, I get a 500 Internal Server Error. I have run a test script to test for fsockopen() and it appears to be enabled. I am checking with my host, but anyone else get an Internal Server Error?
My fsockopen() test script....
<?php
$fp = fsockopen("www.google.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.google.com\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
Try changing the permissions on Sub-Rss.php and the other rss feed poster files to 755
Hi vbgamer, I have been following this thread because I am having similar problems. fsock is enabled, I am using real cron with cronjob set every 30 minutes. If I manually go to cronrss.php, some of my feeds will load, others will not. When I edit the feed settings it seems to work OK, but checking the error log shows:
8: Undefined offset: 21
File: .../Sources/Subs-RSS.php
Line: 130
at line 130, of course is:
$depth[$parser]++;
Can you shed some light on what's happening (or not happening?)
All Feeed Poster files are set to 755.
thanks.
Bump and more...
...OK, I've gotten my feeds to all work properly. I uninstalled and deleted everything RSS Feed Poster, and then reinstalled everything from scratch. I then set the permissions for all FP files to 755.
Then, I ran all of the feeds that I wanted to be posted through feedburner, and "dumbed them down" to RSS 2.0, no html.
et VIOLA!
One problem remains, however. Feed Poster will not will not do the updates itself. I have to manually load cronrss.php, then new posts appear.
vbgamer- any idea why that would be happening?
Cheers,
-b
I get the following error after installation and try to access the feed poster configuration:
Unable to load the 'FeedPoster' template
Any ideas how to fix this?
Thanks
Anyone any ideas????
I use RSS2html for this, no problemo, no crobjob and smf-independent.
Quote from: Chopper on November 21, 2007, 03:39:00 PM
I get the following error after installation and try to access the feed poster configuration:
Unable to load the 'FeedPoster' template
Any ideas how to fix this?
Thanks
Can anyone help? Have i done something wong that its not working correctly?
Hello,
First of all, many thanks to
vbgamer45 for his work on this mod, which is really great! Thanks also to all of you who are helping here, it is much needed!
I've installed the mod on my site, and had some troubles to make it work properly, so I read through ALL the posts in this thread.... >:(.... (yes I know I must be crazy) and I've noticed that a lot of people are asking the same questions over and over again. Which, in my experience, means that the information they are asking for is not easily available to them.
So I propose to put here below a summary of the responses for the main questions about RSS Feed Poster. Please correct me if you see mistakes in this text (I am not very technical, I'm just trying to put here what I've understood of all the conversations).
??? What RSS Feed Poster mod does: The mod gets news/posts from a web feed (definition on wikipedia : http://en.wikipedia.org/wiki/Web_feed) and adds each of them to a new thread in the forum of your choice on your SMF install. It uses a cron job to update the forum by adding any new news/posts from the feed into new threads.
??? Requirements:RSS Feed Poster requires "fsockopen" php function to be enabled. There is no way around this.
??? Checking your feed urlBefore posting error messages, check that the feed url you want to use is valid at http://www.feedvalidator.org/ for example.
??? For non-English forums:
- Get the Feed Poster configuration link in your menu: if you don't use English in your forum, when you first install RSS Feed Poster, the link to the config page does'nt appear. Instead you have a blank line. To fix this, copy the content:
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
// END RSS FeedPoster
from the file Themes/default/languages/Modifications.english.php into Modifications.yourlanguage.php (even if you don't use the default theme).
Special non-utf-8 characters in feeds: If your feed is not encoded in utf-8, special characters (accents, cedille etc.) won't show at all and will even block the rest of the post/news to be retrieved. To fix that, you need either to make sure your feed is encoded in utf8, or to convert the text from your feed into utf-8.
To convert, you need to modify file Sources/subs-RSS.php as described by vipmoney in post #510 (use of library iconv):
www.simplemachines.org/community/index.php?topic=141776.msg1209771#msg1209771 (http://www.simplemachines.org/community/index.php?topic=141776.msg1209771#msg1209771)
or you can use the hack written by tsmalmbe in post #575 (use of function mb_convert_encoding): www.simplemachines.org/community/index.php?topic=141776.msg1263143#msg1263143 (http://www.simplemachines.org/community/index.php?topic=141776.msg1263143#msg1263143)
(even though personally none worked for me, apparently my server doesn't know neither iconv or mb_convert_encoding :()
- Translate the configuration page of RSS Feed Poster: create a duplicate of file Theme/default/languages/FeedPoster.english.php, call it FeedPoster.yourlanguage.php and translate the chains in it.
??? About Cron jobsBeginners read
TrueSatan advice : www.simplemachines.org/community/index.php?topic=141776.msg1194863#msg1194863 (http://www.simplemachines.org/community/index.php?topic=141776.msg1194863#msg1194863)
In RSS Feed Poster, Real cron jobs seem to be highly preferable than Fake cron jobs, which can potentially slow down your website and impose a high load on your server. So use it only in last resort.
What's the difference between Real cron job and Fake cron job?
- Real cron jobs calls a script to run automatically every xx minutes in order to update your RSS feed.
- Fake cron jobs launch the update only each time the page is loaded.
??? Read also:
- Problems with PHP 5.2 : www.simplemachines.org/community/index.php?topic=141776.msg1136045#msg1136045 (http://www.simplemachines.org/community/index.php?topic=141776.msg1136045#msg1136045)
Quote from: Chopper on November 22, 2007, 03:34:15 PM
Quote from: Chopper on November 21, 2007, 03:39:00 PM
I get the following error after installation and try to access the feed poster configuration:
Unable to load the 'FeedPoster' template
Any ideas how to fix this?
Thanks
Can anyone help? Have i done something wong that its not working correctly?
Hey Chopper,
Seems that the FeedPoster template is not on the server. Did you try to redo the install? Maybe something went wrong.
How can I get it so that some of the HTML (like the <ul> and <li>) is shown as HTML and not returned as text?
I have HTML enabled but it shows it like that.. show I untick it to make it actually show the HTML correctly..
Seems that when it isn't selected it parses the HTML correctly..
Quote from: nadglobtrotter on November 23, 2007, 09:47:22 AM
Quote from: Chopper on November 22, 2007, 03:34:15 PM
Quote from: Chopper on November 21, 2007, 03:39:00 PM
I get the following error after installation and try to access the feed poster configuration:
Unable to load the 'FeedPoster' template
Any ideas how to fix this?
Thanks
Can anyone help? Have i done something wong that its not working correctly?
Hey Chopper,
Seems that the FeedPoster template is not on the server. Did you try to redo the install? Maybe something went wrong.
Thanks for your reply i seemed to be getting somewhere, however, when trying to add a feed i get the following message:
XML error: syntax error at line 1
Help anyone?
What is in your XML file at line 1?
Did you check you rss feed with feedvalidator (http://www.feedvalidator.org/)?
Quote from: nadglobtrotter on December 04, 2007, 04:34:04 AM
What is in your XML file at line 1?
Did you check you rss feed with feedvalidator (http://www.feedvalidator.org/)?
Hi,
I dont know what i done but i managed top get it working. Great mod and thanks for your help
The chances are that you had a feed that wasn't valid and the feed provider fixed whatever invalid elements there were in it thus solving your problem.
Quote from: TrueSatan on December 04, 2007, 09:41:16 AM
The chances are that you had a feed that wasn't valid and the feed provider fixed whatever invalid elements there were in it thus solving your problem.
More than likely the case as im not too familiar with these type of things but im getting there thanks to some great help on this forum.
If you have the feed post the url for the feed so we can take a look at it.
Thx for the great mod.
I want to change the Format of the URL to the feed in BBC-Code, because I don't want to allow direct links. What do I have to change?
I have a question
feeds means basically content
and getting them into the forum using mod means copying it
correct me please if am talking incorrect
I want to use this mod but I feel afraid that in future I should not have problems like I copied something that I has no right to.
Quote from: falguni1 on December 05, 2007, 12:22:39 PM
I have a question
feeds means basically content
and getting them into the forum using mod means copying it
correct me please if am talking incorrect
I want to use this mod but I feel afraid that in future I should not have problems like I copied something that I has no right to.
if that were true, there would be no feeds. typically it will have a brief description and a link to the source, hence citing the story.
ok means it is safe to use the mod
thanks so much
where to find sites which give feeds
i guess that depends on the feeds that you want. google, "* feeds" where * indicates the desired topic.
Quote from: nadglobtrotter on December 04, 2007, 04:34:04 AM
What is in your XML file at line 1?
Did you check you rss feed with feedvalidator (http://www.feedvalidator.org/)?
Thanks for the validator link nadglobtrotter. Ive been frustrated with this mod and http://www.worldofwarcraft.com/rss.xml for weeks.
Now I realize that its not a problem with the mod at all. Its just that the idiots that work for Blizzard Entertainment cant write decent code. LOL
Unfortunately a great many RSS feed providers are little better than Blizzard in that regard...and as users of their output there's not much we can do to put it right....sympathies anyhow.
Hi, i have been using RSS for a while now with no errors but tonight when trying to access my forum i got this error:
2: fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to www.gigwise.com:80 (Connection timed out)
File: /mounted-storage/home66b/sub004/sc40089-CCFO/www/forum/Sources/Subs-RSS.php
Line: 329Database Error: MySQL server has gone away
File: /mounted-storage/home66b/sub004/sc40089-CCFO/www/forum/Sources/Load.php
Line: 2005
There is obviously a problem with the feed but my forum is down. Any ideas how to get it sorted?
Thanks
You can try doing repair and optimization from your ACP or from phpMyAdmin or whatever your hosts have supplied...it can be caused by SQL errors that this should fix.
If the above doesn't help you appear to have a hosting problem...your hosting may be limiting your use of it and timing out. Perhaps if you contact your host they may be able to help.
I used rss from one site and all it had was links.
I dont want so much links can anyone tell me some rss feed which has very less links and more text matter.
Look through the many offerings from http://www.syndic8.com/ (http://www.syndic8.com/) and in particular the ones they recommend and you'll probably find something to your taste.
Quote from: TrueSatan on December 14, 2007, 06:05:23 PM
You can try doing repair and optimization from your ACP or from phpMyAdmin or whatever your hosts have supplied...it can be caused by SQL errors that this should fix.
If the above doesn't help you appear to have a hosting problem...your hosting may be limiting your use of it and timing out. Perhaps if you contact your host they may be able to help.
Thanks for your help. I manually uninstalled RSS feed poster and my forum is working fine. It appears the feed is coming from a site that is down.
Are there any plans to upgrade RSS Feed Poster for use with SMF 2.0? I imagine this mod, much more than many others, might require massive reworking.
I find it very useful on my 1.1.4 sites.
Yes I plan to update all my mods once SMF 2.0 final is released.
Quote from: TrueSatan on December 15, 2007, 06:47:53 AM
Look through the many offerings from http://www.syndic8.com/ (http://www.syndic8.com/) and in particular the ones they recommend and you'll probably find something to your taste.
there is no rss there they have xml.
I want rss feeds with less links and more content.
Please look again! RSS is a lightweight xml format and that site is a huge directory of RSS and ATOM feeds.
Quote from: vbgamer45 on December 22, 2007, 11:45:51 PM
Yes I plan to update all my mods once SMF 2.0 final is released.
Great, thanks!
I made a mistake in entering the url. How do I edit it? Cannot find a way to do this easily
VERY BIG PROBLEM!!! URGENT!
Please, I have installed this Mod and now my website is unreachble. Plaese, let me know to uninstall it manually.
Regards
Reverse the process of a manual install.
Please read:
http://docs.simplemachines.org/index.php?topic=402.msg531#msg531 (http://docs.simplemachines.org/index.php?topic=402.msg531#msg531)
http://www.simplemachines.org/community/index.php?topic=34526.0 (http://www.simplemachines.org/community/index.php?topic=34526.0)
The following may also prove helpful:
http://modparser.dev.dansoftaustralia.net/ (http://modparser.dev.dansoftaustralia.net/)
Mirror of the last link:
http://www.smfhacks.com/smf-package-parser.html (http://www.smfhacks.com/smf-package-parser.html)
i hope it can post picturs exists in the rss page
http://www.youtube.com/rss/global/top_viewed_today.rss
see that ? ur mod does not deal with the picturs try to include the pictures in the next version of this mod
it will be amazing
Quote from: nadglobtrotter on November 23, 2007, 09:43:23 AM
Hello,
First of all, many thanks to vbgamer45 for his work on this mod, which is really great! Thanks also to all of you who are helping here, it is much needed!
I've installed the mod on my site, and had some troubles to make it work properly, so I read through ALL the posts in this thread.... >:(.... (yes I know I must be crazy) and I've noticed that a lot of people are asking the same questions over and over again. Which, in my experience, means that the information they are asking for is not easily available to them.
So I propose to put here below a summary of the responses for the main questions about RSS Feed Poster. Please correct me if you see mistakes in this text (I am not very technical, I'm just trying to put here what I've understood of all the conversations).
??? What RSS Feed Poster mod does:
The mod gets news/posts from a web feed (definition on wikipedia : http://en.wikipedia.org/wiki/Web_feed) and adds each of them to a new thread in the forum of your choice on your SMF install. It uses a cron job to update the forum by adding any new news/posts from the feed into new threads.
??? Requirements:
RSS Feed Poster requires "fsockopen" php function to be enabled. There is no way around this.
??? Checking your feed url
Before posting error messages, check that the feed url you want to use is valid at http://www.feedvalidator.org/ for example.
??? For non-English forums:
- Get the Feed Poster configuration link in your menu: if you don't use English in your forum, when you first install RSS Feed Poster, the link to the config page does'nt appear. Instead you have a blank line. To fix this, copy the content:
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
// END RSS FeedPoster
from the file Themes/default/languages/Modifications.english.php into Modifications.yourlanguage.php (even if you don't use the default theme).
Special non-utf-8 characters in feeds: If your feed is not encoded in utf-8, special characters (accents, cedille etc.) won't show at all and will even block the rest of the post/news to be retrieved. To fix that, you need either to make sure your feed is encoded in utf8, or to convert the text from your feed into utf-8.
To convert, you need to modify file Sources/subs-RSS.php as described by vipmoney in post #510 (use of library iconv):
www.simplemachines.org/community/index.php?topic=141776.msg1209771#msg1209771 (http://www.simplemachines.org/community/index.php?topic=141776.msg1209771#msg1209771)
or you can use the hack written by tsmalmbe in post #575 (use of function mb_convert_encoding): www.simplemachines.org/community/index.php?topic=141776.msg1263143#msg1263143 (http://www.simplemachines.org/community/index.php?topic=141776.msg1263143#msg1263143)
(even though personally none worked for me, apparently my server doesn't know neither iconv or mb_convert_encoding :()
- Translate the configuration page of RSS Feed Poster: create a duplicate of file Theme/default/languages/FeedPoster.english.php, call it FeedPoster.yourlanguage.php and translate the chains in it.
??? About Cron jobs
Beginners read TrueSatan advice : www.simplemachines.org/community/index.php?topic=141776.msg1194863#msg1194863 (http://www.simplemachines.org/community/index.php?topic=141776.msg1194863#msg1194863)
In RSS Feed Poster, Real cron jobs seem to be highly preferable than Fake cron jobs, which can potentially slow down your website and impose a high load on your server. So use it only in last resort.
What's the difference between Real cron job and Fake cron job?
- Real cron jobs calls a script to run automatically every xx minutes in order to update your RSS feed.
- Fake cron jobs launch the update only each time the page is loaded.
??? Read also:
- Problems with PHP 5.2 : www.simplemachines.org/community/index.php?topic=141776.msg1136045#msg1136045 (http://www.simplemachines.org/community/index.php?topic=141776.msg1136045#msg1136045)
These changes didnt work for me :(
vbgamer - gotta new problem - haven't seen mention of this anywhere in the thread
Had FeedPoster 1.0.4 running perfectly on an SMF 1.1.4 forum - even up until this morning, no problems, new posts arriving via feeds - all great.
However, hosting company blatted me last night with a hosting suspension for CPU overloading - got reinstated so I could fix the issue and did the digging today.
Turned out it was at least in part related to using fake Cron jobs with FeedPoster .... now, thought me, why was this not a problem over the last 4 months? I remembered 2 nights ago getting an error while posting - line 321 in subs_RSS.php and something about needing more than 30 seconds of server time.
Anyway, I knocked our fake crons and set up a real cron (don't know yet if it's taken or not - other more pressing issues) then went to edit the feed settings - i.e. change frequencies etc to reduce server load.
Every attempt to open a feed to edit it resulted in an HTTP Error 406 - Not acceptable
Internet Explorer
OK, thought I, checked the current download version - FeedPoster 1.0.5 - so deleted the old one (1.0.4) and updated to the new one (1.0.5) and still have the same problem.
Investigating further, the hosting Co upgraded to PHP 5.2.5 on 17th December (I hadn't tried to add or edit feeds since sometime in November) - I'm wondering if this is causing the http:406 error - is FeedPoster functional under PHP 5.2.5 ?
If that's not the cause, why would the FeedPoster feed edits in admin cause a page to be issued that is not compatible to Internet Explorer v6.0.2800.1106 128-bit encryption?
Any help appreciated
Gaz
Edit - sorry, should have said, correctly uninstalled v1.0.4 of Feedposter, deleted it, then uploaded and installed v1.0.5 - everything went normally with the uninstall and install - no errors and the old feed list restored normally from the database.
Try changining the permission on cronrss.php to 755
Is there a quick way to change the default posting options? I have everything configured to pull the feed from my main blog site, and make threads in the Community section. This all works fine, but it is only posting the "Excerpt" of my WordPress RSS2 Feed.
Any idears?
Most of the feeds I have subscribed on my site have stuff like tables, YouTube videos, etc... How can I somehow surround the post with [ html ] tags?
I don't know if this is to do with the modification, it could be a problem with vB.
I need to get the latest posts from vBulletin forums and I use the following URLs:
http://www.vbulletin.com/forum/external.php?type=rss2&forumid=1
http://www.vbadvanced.com/forum/external.php?type=rss2&forumids=2
When putting these into the address bar the correct forums' RSS feeds show up.
However, when the RSS Feed Poster retrieves the latest posts it gets it from a totally different forum..
Why is this?
Slowed my site down to nothing. I can't even get it to load anymore http://www.yourllist.com
How can I remove it without accessing the admin panel.
Now that I deleted the MySQL table for it. I can't login
Quote from: detoam on January 21, 2008, 02:19:44 AM
Now that I deleted the MySQL table for it. I can't login
I made a silly mistake once, had to use the Large Upgrade to overwrite all the important files so I could access the site again. D:
Never mind I resolved the issue.
Cool, glad to see things appear to be fine.
Quote from: Psyche on January 18, 2008, 07:22:03 PM
Most of the feeds I have subscribed on my site have stuff like tables, YouTube videos, etc... How can I somehow surround the post with [ html ] tags?
I would still like help with this, it's not a top priority thing but I would like to know how I can do this.
Thanks 4 this great mod!
I am tired of reading all the posts; I have not found the answer here. I get this error during package install:
Fatal error: packageinstall(): Failed opening required '/home/wwwroot/taysys/smf/Packages/temp/./FeedPostersql.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/wwwroot/taysys/smf/Sources/Packages.php on line 552
I appreaciate any assistance with this. (Using the latest SMF and PHP 5.2) Thank you in advance!
Bob
Have you ever tried a manual install?
I finally found the fix. The temp directory under Packages was gone; created it and it installed OK. But I never got the option on the menu, not even a white space where it should be.
Thanks for the reply.
Bob
Hello. I had this mod working until two days ago; I've set up a cron job for http://<smf-forum>/cronrss.php . Until two days ago, I was getting email from my host for the cron job with content "feed poster configuration", which I understand means the the cron has executed successfully. However, since two days, I get empty email. My host is not at fault, as I have another foum on the same domain, and the cron job there is working fine; another reason I feel so is that even when I manually type cron job url in browser, it doesn't output 'feed poster configuration'. The only way I now get feeds is by using fake cron, which I check-save and uncheck-save twice daily, so that browsing speed is not compromised. Would appreciate any ideas why this is happening. Cronrss.php has 755 permissions. Thanks in advance - I really want this resolved
Assuming you've checked your cron job and its settings are correct I'd try deleting it and then creating a new cron job.
Quote from: TrueSatan on January 26, 2008, 08:35:09 AM
Assuming you've checked your cron job and its settings are correct I'd try deleting it and then creating a new cron job.
Thanks for idea-didn't think of doing it. Have deleted and again set up this cron; will wait for a day for result. Thanks
Ok. Waited for two days, but result negative-still get empty email. Don't understand why fake crons are working but real cron not. I understand it could be some issue with my host, but even typing the cronss.php url doesn't get feeds-it just shows empty page. Thanks for ideas
Quote from: Neelay on January 26, 2008, 08:12:52 AM
Hello. I had this mod working until two days ago;
I've set up a cron job for http://forums.indianforums.co.in/cronrss.php .
Neelay - I had the same problem and had my hosting's techs take a look at it
The URL given in the mod are incorrect !
The correct path for the cronrss.php that you have to set in the cron job is -
localhost/username/public_html/smf-folder/cronrss.php
in your case, this would appear to be -
localhost/server-access-user-name/public_html/forums/cronrss.php
If you have cpanel software - click on file manager, then in file manager, navigate to the cronrss.php file and the nav path bar at the top of the folder list will give you the correct path.
the http://site/folder/file URL given in the mod, is really only for windows hosting (I am told)
Gaz
Thanks for reply. Yeah, I'm aware of the correct url; the one which works on my host is php -q /home/<some password>/public_html/forums/cronrss.php
. I have another forum at http://freegames.ind.in , the cron is working fine there. Even this was working fine until a few days ago. I think the the cron job that I've set up is still working fine, as I do get an empty email confirming that the cron has executed as scheduled. The mod also is working fine as fake cron is working. Can it have to do with the code inside cronrss.php ? Right now cronrss.php says<?php
*/
RSS Feed Poster
Version 1.0.0
by:vbgamer45
http://www.smfhacks.com
*/
// SSI needed to get SMF functions
require('SSI.php');
// For the rss functions
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
die($txt['smfrssposter_admin']);
?>
. Thanks
Edit : Solved - I don't know how ! I replaced the cronrss.php file on the server with the one on my notebook from the mod package, and it again started working. Thanks for all the help
I just wanted to offer some 'constructive' feedback to the owner of this mod.
I installed this MOD yesterday. Unfortunately, very little details are included in the readme file on how to properly to sit things up and a description of what field does what within the configuration.
I have not been successful in getting anything to post and I don't have the time to read thru many (many, many) pages of solution info to make it work correctly.
If the owner would take a few short hours of their time and create a readme file of good, solid information; I think it would be great.
Until then, I will be disabling this MOD and looking for other options.
Just my .02 cents, your mileage may vary.
-Randy
Randy,
It's fairly straight forward once you actually take the time to read the thread. You can also SEARCH.
But instead you chose ot ocome on here and shw just how lazy you are....:) I will enjoy my mod working while you don't
Why would I want to read a 34 page thread (by my settings)? Why would anyone?
When I create something that others are going to have to implement, I always create a very detailed user document. I create them based off people being complete ignorant of tech stuff. I walk them thru it very slowly.
My feedback was only to make the MOD better.
What i see so far, this must be a great mod.... lets see if it works on my server ;D
Regards, Christian
Ok, installed it and it works out-of-the-box without any errors - just as expected
GREAT MOD!!! ;D ;D ;D
That's awesome Chris. I'm happy for you. It's always cool when MODS install without error.
IMPORTANT IF YOU ENCOUNTER VERY LONG LOADING-TIMES FOR FRONTPAGE, RECENT-POSTS AND/OR BOARD-VIEW IN WHICH FEEDPOSTER POSTS IN:
Just disable "HTML enabled" inside of the certain feeds configuration. After you done this, delete all posts your "bot" has made and your forum should run as before.
Regards, Christian
Quote from: Randy A. on January 30, 2008, 03:58:39 PM
Why would I want to read a 34 page thread (by my settings)? Why would anyone?
Agreed.
If you are expecting people to assist you then an unwillingness to read the topic is a good way to discourage them from doing so...often to assist members other members here will read entire topics.
Is it normal for the forum to lagg like crazy when the Cron Job setting is turned on????? As soon as I turn it off everything is back to normal.
I highly suggest using a normal cron job instead of fake crons otherwise it checks on every page load.
Quote from: canadiancray on February 03, 2008, 08:55:30 PM
Is it normal for the forum to lagg like crazy when the Cron Job setting is turned on?(https://www.simplemachines.org/community/Smileys/simple/huh.gif)? As soon as I turn it off everything is back to normal.
Yes, use real cronjob instead of fake one.
Its pretty easy, if you have root-acces or ask hoster type: "crontab -e" and add in a new line this:
* */2 * * * php -q /path/to/your/smf_forum/cronrss.php
and you have the cronjob every two hours running.
But please NEVER type in "crontab -r" (deletes the entire crontab - uh-oh) what can happen more often than you think as these letters are next to each other on keaboard.
Regards, Christian
LOL what the heck is a cron job & how would I do that??? Complete amature cronjobist LOL
Please use Google or other search engines for such queries...there are many cron tutorials available such as on the following link:
http://www.unixgeeks.org/security/newbie/unix/cron-1.html (http://www.unixgeeks.org/security/newbie/unix/cron-1.html)
Hi, after inputting my feed url i get an error message - Unable to download the feed.
Any ideas how to fix?
Do any feeds work for you or is this an error only with one feed? If it is an error with only one feed please test the feed with a feed validator (there are a number available...do a search online for one.)
Quote from: TrueSatan on February 06, 2008, 06:15:16 AM
Do any feeds work for you or is this an error only with one feed? If it is an error with only one feed please test the feed with a feed validator (there are a number available...do a search online for one.)
Hi, yes i checked and the feed is ok so im unsure where the problem lies?
What is the feed url that you are trying to use?
Quote from: vbgamer45 on February 06, 2008, 08:30:06 AM
What is the feed url that you are trying to use?
Hi, this is the url:
http://newsrss.bbc.co.uk/rss/sportonline_uk_edition/football/scot_prem/rss.xml
I checked and its a valid feed. Maybe i havent completed the installation correctly somehow but it appears to be installed ok.
Hi, since today it happens somtimes that the newsbot is posting a feed double.
What is the correct setting for the "check-time" ? The same as for my cronjob?
Regards, Christian
I cant get any feed to work, all i get is that an error has occurred and "unable to download feed". It would seem im missing a little something? Can anyone advise please?
1.1
+Added option to mark a feed as being read so it does not display in the unread posts.
+Added option to choose feed download method. Default is ALL but can be set to fopen,fsockopen,and curl
!Fake cron jobs only check once a minute
Quote from: Chopper on February 06, 2008, 02:54:33 PM
I cant get any feed to work, all i get is that an error has occurred and "unable to download feed". It would seem im missing a little something? Can anyone advise please?
Can anyone help as i really like this feature?
Quote from: vbgamer45 on February 06, 2008, 05:23:01 PM
1.1
+Added option to mark a feed as being read so it does not display in the unread posts.
+Added option to choose feed download method. Default is ALL but can be set to fopen,fsockopen,and curl
!Fake cron jobs only check once a minute
I have modded m y installation so that it would support international cahracters. Is there any way I can upgrade to this version w/o uninstallin the current one? What are the changes specifically for the new features - I could patch them by hand if I knew what/where.
Can anyone help please?? I seem to have installed everything correctly but when i add a legitimate feed i get this error : Unable to download feed.
It would seem somethings missing but what?
Any help would be welcome.
Thanks in advance
Quote from: Chopper on February 07, 2008, 03:20:42 PM
Can anyone help please?? I seem to have installed everything correctly but when i add a legitimate feed i get this error : Unable to download feed.
It would seem somethings missing but what?
Any help would be welcome.
Thanks in advance
There must be some one that can help me?? Im nearly there but theres just a little something quite not right.
hey there, i cant seem to get this to work, i access my cronrss.php directly and i get a
500 Internal Server Error
So i guess this is why it wont work with cron or the fake cron..
can someone please help me with this?
Please check using either a file manager provided by your host (if they offer CPanel then it will be called File Manager) or an ftp client and see if your cronrss.php file is in place as it should be and that it is not of 0 size.
Assuming that it is there and intact you will need to ask your host regarding the server error as it is a hosting issue.
Quote from: godsdead on February 09, 2008, 05:27:56 AM
hey there, i cant seem to get this to work, i access my cronrss.php directly and i get a
500 Internal Server Error
So i guess this is why it wont work with cron or the fake cron..
can someone please help me with this?
chmod cronrss.php to 755
Cheers vbgamer45
Hi there. Just a quick question: does this mod works with blogspot feeds already? If yes, pls help coz I can't make it work. I dont have any error but I dont have any post, too. Thanks.
The mod it's working perfect in a lot of feeds but feeds like this one http://rss.news.yahoo.com/rss/world for example, it posts some mess. I even tried with a admin as poster of the feeds and enabling the html into posts but still a mess(but not so much as without html :P, well this might be because of other mods). Can anyone checks if can add this feed just for testing and tell me if it's working ok?. thanks for the mod, really good mod
@ perro88
While the feed you mention is basically valid it has a lot of issues that are the likely cause of your problems with it...sadly no feed reader (of any kind) can guarantee an ability to work properly with poorly constructed feeds.
Quote from: TrueSatan on February 10, 2008, 10:24:43 AM
@ perro88
While the feed you mention is basically valid it has a lot of issues that are the likely cause of your problems with it...sadly no feed reader (of any kind) can guarantee an ability to work properly with poorly constructed feeds.
ok. thanks for the help
This mod works great for me, but I can't get one feed to work. The feed works in my Google Reader but not in the mod. This is the feed:
http://feeds.feedburner.com/weirdindia
I have another feed that ends with the slash and the name of the site just like the one above, for example ( /sitename) and it works fine. Any way I can make this work?
Quote from: sipko on February 10, 2008, 01:19:24 PM
This mod works great for me, but I can't get one feed to work. The feed works in my Google Reader but not in the mod. This is the feed:
http://feeds.feedburner.com/weirdindia
I have another feed that ends with the slash and the name of the site just like the one above, for example ( /sitename) and it works fine. Any way I can make this work?
That is an atom based feed and not RSS which is not supported
Ah, okay. Thanks.
Anyone know why im getting "unable to download feed"?
Hello. How do I upgrade to the latest version of this mod ? Will uninstalling and deleting older version remove all the feeds and make me add them again ? I have about 50 feeds, and would appreciate anybody who has upgraded to tell me how to upgrade or whether all the feeds will have to be added agaiin. Thanks
Hi, im really baffled. I have istalled, unsinstalled then re-installed but still i get an error message "Unable to download feed" when i enter a legitimate feed url.
Any ideas would be welcome.
Quote from: Neelay on February 11, 2008, 08:59:28 AM
Hello. How do I upgrade to the latest version of this mod ? Will uninstalling and deleting older version remove all the feeds and make me add them again ? I have about 50 feeds, and would appreciate anybody who has upgraded to tell me how to upgrade or whether all the feeds will have to be added agaiin. Thanks
Uninstalling leaves all the feed data alone and just upgrades the script itself.
Hi, can anyone advise on why i get "unable to download feed".
Thanks.
Hi,
at first thanks for this great mod.
I get duplicate Posts from some feeds.
I use real Cronjob from another server. (lynx -dump http://....../cronrss.php. > /dev/null/)
settings: cURL and i have modified the sub-rss.php to convert to UTF-8
I have read a lot in this thread but didn´t find a solution :(
sorry for my english, hope you understand my problem
Greetz from Germany
der Malue
every feed have a option to enable html. I have it enable but what it means? that it will get html feeds? will post in html? if it will post in html then it have to have necessarelly the allow html into posts smf option on? there's a feed where I have this enable and allow html into posts but it don't accept img tags for example, this is normal to happens or there's a problem?
or having the feed html ON means it will post the feed content between tags?
I cant get this mod working at all and there doesnt seem to much help forthcoming from here either.
Quote from: Chopper on February 15, 2008, 06:34:23 AM
I cant get this mod working at all and there doesnt seem to much help forthcoming from here either.
You're not providing much information either. What feed, what cron, RSS/ATOM, works with other readers, etc . etc.
Quote from: tsmalmbe on February 16, 2008, 08:07:12 AM
Quote from: Chopper on February 15, 2008, 06:34:23 AM
I cant get this mod working at all and there doesnt seem to much help forthcoming from here either.
You're not providing much information either. What feed, what cron, RSS/ATOM, works with other readers, etc . etc.
Iv posted the same problem nearly daily for over a week much to everyones disdain no doubt, for which i appologise and i havent met a sinlge reply in that time. I have already posted the feed and checked that it is valid but here goes http://newsrss.bbc.co.uk/rss/sportonline_world_edition/scotland/rss.xml
Im using fake cron although i must stress i have little knowlege of your above reply "what cron, RSS/ATOM, works with other readers, etc . etc."
I get this error
8: Undefined index: smfrssposter_admin
File: /home/xxx/public_html/Sources/Subs.php
Line: 2743
and the link to the mod on the menu doesn't show up, there is a space but its blank?
Your misssing some language strings in your language file. Found inside modifications.english.php If youa are using english as the language make sure under server settings it is just english not english utf8
hey vbgamer how can I make it work feeds with for example img html tags? I tried to uncomment that comment you have on subs-RSS, something like:
if(feed_html)
{ $body='html'.$body.';
preparsecode($body);
} before the calling of the createpost fucntion but it gives me a hacking attemp error if I let the preparsecode.
It doesn't matter if made it work with a non-user poster or a user with html tag permission enable(there's a mod for that or then the admin)
Quote from: Chopper on February 16, 2008, 04:36:45 PM
Quote from: tsmalmbe on February 16, 2008, 08:07:12 AM
Quote from: Chopper on February 15, 2008, 06:34:23 AM
I cant get this mod working at all and there doesnt seem to much help forthcoming from here either.
You're not providing much information either. What feed, what cron, RSS/ATOM, works with other readers, etc . etc.
Iv posted the same problem nearly daily for over a week much to everyones disdain no doubt, for which i appologise and i havent met a sinlge reply in that time. I have already posted the feed and checked that it is valid but here goes http://newsrss.bbc.co.uk/rss/sportonline_world_edition/scotland/rss.xml
Im using fake cron although i must stress i have little knowlege of your above reply "what cron, RSS/ATOM, works with other readers, etc . etc."
What does the http-server logs say? What does the forum log say?
The feed seems OK.
Quote from: tsmalmbe on February 17, 2008, 10:49:21 AM
Quote from: Chopper on February 16, 2008, 04:36:45 PM
Quote from: tsmalmbe on February 16, 2008, 08:07:12 AM
Quote from: Chopper on February 15, 2008, 06:34:23 AM
I cant get this mod working at all and there doesnt seem to much help forthcoming from here either.
You're not providing much information either. What feed, what cron, RSS/ATOM, works with other readers, etc . etc.
Iv posted the same problem nearly daily for over a week much to everyones disdain no doubt, for which i appologise and i havent met a sinlge reply in that time. I have already posted the feed and checked that it is valid but here goes http://newsrss.bbc.co.uk/rss/sportonline_world_edition/scotland/rss.xml
Im using fake cron although i must stress i have little knowlege of your above reply "what cron, RSS/ATOM, works with other readers, etc . etc."
What does the http-server logs say? What does the forum log say?
The feed seems OK.
8: Undefined index: globalhf_title
File: /home/vol4/webhosting4free.info/web4f_1542856/htdocs/Sources/Subs.php
Line: 2791
This is what is reported in the forum error log.
That's from the global headers and footers mod.
I would first make sure you have the latest version of the mod.
Then under setttings try using fopen,fsockopen,curl and see if any of those work if not contact your host and see if they have those functions enabled.
Quote from: vbgamer45 on February 17, 2008, 01:57:07 PM
That's from the global headers and footers mod.
I would first make sure you have the latest version of the mod.
Then under setttings try using fopen,fsockopen,curl and see if any of those work if not contact your host and see if they have those functions enabled.
Sorry about that.
This is errors i have logged for rss:
2: fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
File: /home/vol4/webhosting4free.info/web4f_1542856/htdocs/Sources/Subs-RSS.php
Line: 25
2: fsockopen() has been disabled for security reasons
File: /home/vol4/webhosting4free.info/web4f_1542856/htdocs/Sources/Subs-RSS.php
Line: 46
8: Undefined variable: errstr
File: /home/vol4/webhosting4free.info/web4f_1542856/htdocs/Sources/Subs-RSS.php
Line: 46
Seems like those options were disabled by your host try the curl option. That seems like your last chance unless you can contact your host and ask for those functions to be opened on your account.
Quote from: vbgamer45 on February 17, 2008, 02:17:13 PM
Seems like those options were disabled by your host try the curl option. That seems like your last chance unless you can contact your host and ask for those functions to be opened on your account.
Thanks for your help, i shall contact my host and see if they can shed any light on it for me.
Quote from: vbgamer45 on February 16, 2008, 06:20:52 PM
Your misssing some language strings in your language file. Found inside modifications.english.php If youa are using english as the language make sure under server settings it is just english not english utf8
It's set to english,
Check inside modifications.english.php and make sure the feed poster text is there
Hello.
My RSS feed poster is working via CURL mode (the only fetch mode my host supports).
But the poster isn't making new posts everyday, even I set it to update every 120 minutes.
I've noticed I have to delete the feed RSS link, and then when I create a new one with the same RSS link it posts immediately. Again, that's the only time to see the posts appearing.
http://www.mysite.com/forum/cronrss.php shows a blank page.
It should always show something make sure it the permissions on the cronrss.php are set to 755
I did.
CHMOD 755 cronrss.php
Still a blank page.
But that's not important to me cuz' the bot is posting... and working... he's just being lazy! :D
Hey I think it's working! He's posting items.. :) But I'm not sure for how long.
When I go to cronrss.php page it seems to be a trigger for bot to post? Does that mean all I have to do is to point a cronjob to that URL and problems solved?
P.S. I use fake Cron jobs. But I'm not sure what's that for? Can I have my bot NOT to open new topic every time, and instead to post every news item in one topic?
Quote
When I go to cronrss.php page it seems to be a trigger for bot to post? Does that mean all I have to do is to point a cronjob to that URL and problems solved?
Yup that is it! Schedule the cron job to run as often as needed when ever you do a feed update
Thanks a lot ! ;)
But, I'm confused now what's the deal with the settings for each RSS item - "update every 360 minutes" - when the main cronrss.php page triggers every RSS item at the same time?
how can I make it work feeds with for example img html tags? I tried to uncomment that comment you have on subs-RSS, something like:
if(feed_html)
{ $body='html'.$body.';
preparsecode($body);
} before the calling of the createpost fucntion but it gives me a hacking attemp(when execute cronrss.php) error if I let the preparsecode($body) line.
what I need to do so it work with a non-user poster or a user with html tag permission enable(there's a mod for that or then the admin)
Quote from: vbgamer45 on February 17, 2008, 10:39:05 PM
Quote
When I go to cronrss.php page it seems to be a trigger for bot to post? Does that mean all I have to do is to point a cronjob to that URL and problems solved?
Yup that is it! Schedule the cron job to run as often as needed when ever you do a feed update
How can i do that? Coz as of, i still do it manually.
usually there is an option inside your control panel or ask your host for more information
On my host, there is Cronjob option but advanced usage only - you have to write your own script... so I'll have to figure out how to write a simple shell to open URL once a day.
WHat I need to do in order to be able to post html feeds?
well this is the fourth time I ask the same question hope to get a reply(even if it's negative). If the mod have the option to get html tags from the feed then it should be able to post the html feeds(not <img src="....."> in text, but the pic). how I do this? i tried a lot of things but no luck. In the file subs-RSS.php before the createPost function you have this lines commented:
if ($feed['html'])
{
$msg_body = '' . $msg_body . '';
preparsecode($msg_body);
}
. they are commented because you are still working on it? or there's another solution to post html feeds?
I tried to uncomment the lines but it gives a hacking attemp error when I run the cronrss.php file. Any idea how to make it work? even if it would only works for the admin(have html tags perms) as the feeds poster user
Haven't been able to get it to work that's why it was commented out.
Quote from: vbgamer45 on February 24, 2008, 05:59:47 PM
Haven't been able to get it to work that's why it was commented out.
nice. thanks for the reply. And again thanks for the mod, it's one of the best
Is it possible to edit the no of characters of the feedpost?
Could be done you would need to modify Subs-Rss.php in the Sources folder and add a character limit.
Is that simple? I'm a bit of a noob with php...
I get this sort of entries, although html is checked (images not appear, just code):
USDA sued over beef recall
<img src="http://msnbcom.112.2O7.net/b/ss/msnbcom/1/G.4--NS/633399184269193991?pageName=Health&c4=Health&c5=Diet and nutrition&c7=RSS-read&c15=13594277&g=http://www.msnbc.msn.com/id/13594277/device/rss/" width="1" height="1" border="0" alt="" />The Humane Society of the United States has filed a lawsuit against the government alleging that a legal loophole allows so-called "downer" cows to get into the food supply.
http://www.msnbc.msn.com/id/23373680/
And when I click on the cronrss.php file I just get this:
Feed Poster Configuration
and some messages are posted (duplicates). Is this the way it is meant to work?
Testing it here: http://www.nonsmokersclub.com/forum/index.php
(see last board)
Also, Curl, Fopen and Fsockopen are enabled in my server, which one should I use?
QuoteNo duplicate posts. Posts are hashed and stored as a hash.
Problem: I always get duplicate posts, all hashed fine with an own hash. How can I fix this?
Look here: http://www.arcticmonkeys.de/forum/index.php/board,9.0.html
You will see (pendend on the time of your click) four messages - two duplicated).
On the other hand, every call of the cronrss.php will import duplicates, how can I only get one entry from the rss by one?
Thank you for reply or help
Geez, I LOVE this Mod!!!
One quick question though. Is there any way at all to get the poster mod to trigger the "notify" function when it posts new topics?
I figure there has to be a way, but I just have no idea where to start.
Thanks!
Not too sure what I'm doing wrong with this mod. It installed fine but I can't get anything to display, absolutely nothing. I've even tried using some of the feeds that others have added in their posts over the last 30 odd pages and nothing shows. When I've tried opening up the cronrss.php (http://davidbrennan.co.uk/epv3/simplemachinesforum/cronrss.php) all I get is a blank page with Feed Poster Configuration in the corner.
Can someone please help me to get this working?
My rss feed poster only work if i open this link http://www.mywebsite.org/forum/cronrss.php
And i get this errors:
Quote
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 103
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 104
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 105
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 106
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 107
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 108
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 109
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 110
Notice: Undefined variable: cnum in /home/myusername/public_html/mywebsite/forum/Sources/Load.php(1737) : eval()'d code on line 111
Feed Poster Configuration
Someone can tellme how can i make auto cronjobs ? i have 9 rss feeds to update..
Check with your host or the control panel on your site. If it's a linux based host normally they have a section called cron jobs.
Strange thing with stats. I created a user just for the feeds and the stats appear in all cases apart from the daily and the monthly detail view.
I think it would be a good option not to have the user for feeds appear in any of the stats :)
http://www.nonsmokersclub.com/forum/
I get this message when I try to upload it though Admin>package manager
QuoteThe package you tried to upload either is not a valid package or has become corrupted.
I downloaded the file a second time from the mod page link and tried to upload it a second time though admin and still got the same message.
Using SMF 1.1.4 and TP with DilberMc theme.
No errors in our log.
I would really like to give this mod a try.
What I m I doing wrong?
Thanks,
Ok, file is fine. I had to change something in my Admin>Package Manager after switching to a different host. :)
Installed just fine.
Thanks,
Quote from: davieb on March 07, 2008, 03:32:05 AM
Not too sure what I'm doing wrong with this mod. It installed fine but I can't get anything to display, absolutely nothing. I've even tried using some of the feeds that others have added in their posts over the last 30 odd pages and nothing shows. When I've tried opening up the cronrss.php (http://davidbrennan.co.uk/epv3/simplemachinesforum/cronrss.php) all I get is a blank page with Feed Poster Configuration in the corner.
Can someone please help me to get this working?
Any help on this please?
Quote from: davieb on March 24, 2008, 03:43:55 AM
Quote from: davieb on March 07, 2008, 03:32:05 AM
Not too sure what I'm doing wrong with this mod. It installed fine but I can't get anything to display, absolutely nothing. I've even tried using some of the feeds that others have added in their posts over the last 30 odd pages and nothing shows. When I've tried opening up the cronrss.php (http://davidbrennan.co.uk/epv3/simplemachinesforum/cronrss.php) all I get is a blank page with Feed Poster Configuration in the corner.
Can someone please help me to get this working?
Any help on this please?
Following on from this, I've managed to set up cron jobs from my host control panel which e-mails me each time it tries to do something. Currently I'm getting the following message
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 1: ?php: No such file or directory
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 2: /Packages: Permission denied
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 3: RSS: command not found
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 4: Version: command not found
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 5: by:vbgamer45: command not found
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 7: cgi/: is a directory
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 9: //: is a directory
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/var/chroot/home/content/d/a/v/davieb/html/epv3/simplemachinesforum/cronrss.php: line 10: `require('SSI.php');'Hope this info helps to aid someone in pointing me in the right direction.
Is there anyone providing support for this MOD? If not, I think SMF should officially pull this MOD from the site. I was just over at smfhacks.com and they don't even have any support for it.
My error message:
8: Undefined offset: 25
File: /home/talkdavi/public_html/forum/Sources/Subs-RSS.php
Line: 141
What does this error mean?
And, I can't get the feed to work unless I manually kick off the cron url. I'd love to get this up and running, but no one will even answer support questions. So many pages here with problems. These people create MODS and expect all users to be proficient in all the terminology. Quick wake up call, we're not as smart as you. Please talk slowly and clearly so that I can understand you vast knowledge.
QuoteIf not, I think SMF should officially pull this MOD from the site.
I disagree.
I don't see how pulling this mod would help anyone.
I find the mod very usefull.
Then maybe someone who has use for it would kindly step in and help those that are having troubles with it. :)
I also just click the link to make it work as I have no idea how to create a cron job.
We dump the RSS feeds into a board only I can see. After reading each post and making sure it's something I want on our forums I move it to the correct board.
I could not get this mod to work at first, not even by using the cron url.
This was when we used godaddy hosting. I did everything I could think of and I jjust could not get it to work.
Then a couple day's ago we move our site to TP Hosting and the RSS feed starting working. I don't know why, but it works. :)
A lot of things started working after we moved to TP Hosting, such as spell check and eAccelerator caching.
I can't say the RSS feed has been 100% error free as every now and then we get a error or two that shows up in our error log after getting some feeds.
Sometimes I get a blank post along with the new feed too, but these are all small things that I can work around.
QuoteMy error message:
8: Undefined offset: 25
File: /home/talkdavi/public_html/forum/Sources/Subs-RSS.php
Line: 141
What does this error mean?
Wish I knew as I would be glad to help, sorry...
Thank you.
So I think what we can assume is that if you use GoDaddy for hosting you can forget about using this mod? Or is someone out there using GoDaddy and also has this mod working?
I know one thing. I will never recommend any of smfhacks.com MODS. No support for their work. :(
I think what this mod needs (apart from the support mentioned earlier) is a basic step by step guide of exactly how to use it (i.e. click this part, put xxxx info in here, that kind of stuff). To me anyway it seems that if a question has not already been asked over the previous pages then it doesn't get replied to. Also the earlier replies could have done with having the question quoted so it's obvious who the reply is aimed at, as there seems to be times when a few questions are posted by different people and then a reply appears but no indication who it is at.
Quote from: Randy A. on March 28, 2008, 11:02:06 AM
I know one thing. I will never recommend any of smfhacks.com MODS. No support for their work. :(
Wow, it's not like you paid for this.
It would be different is you paid for something and expected support to come with the product you purchased.
I have gotten lots of help from SMFHacks. :)
I work with a lady that once won a big screen tv. It was given to here, for free!
Yet she complained about the store she won it from because she thought they should deliver it and show her how to use it for free.
They have asked SMF to offer their stuff thru this site. Support of those things offered, should be a given. I'm surprised SMF would allow a relationship like this.
It's a good thing that I have such a great host. My feeder is now working, with no help from any smfhack support.
Quote from: Randy A. on March 28, 2008, 02:29:34 PM
It's a good thing that I have such a great host. My feeder is now working, with no help from any smfhack support.
Glad to hear you got it working. :)
Log in to CP
Find Cron Jobs
Click Standard
In Command to run enter something like this:
/usr/bin/php /home/YOUR SITE USERNAME HERE/public_html/YOUR FORUM PATH HERE/cronrss.php
Quote from: spiros on April 05, 2008, 05:40:54 PM
Log in to CP
Find Cron Jobs
Click Standard
In Command to run enter something like this:
/usr/bin/php /home/YOUR SITE USERNAME HERE/public_html/YOUR FORUM PATH HERE/cronrss.php
Cool, thanks!
I had this working on my forum, but then it just stopped working.
It loaded the first set of data, then not the second :(
I uninstalled, and re-installed, nothing.
All the mods installed are:
1. Default Avatar 1.0
2. RSS Feed Poster 1.1
3. VisualWarning 1.41
5. SMFbuy 1.3
6. E-Arcade 2.4.2
7. Spoiler Tag 0.3.2
8. No Spam by Guests! 0.2
10. Bookmarks 1.1
11. Double Post Stopper 1.0.1
12. RSS Feed Icon 1.1
15. TinyPortal 0.983
Any ideas?
And just in case your wondering about the missing number:
Quote1. Default Avatar 1.0 [ Uninstall ] [ List Files ] [ Delete ]
2. RSS Feed Poster 1.1 [ Uninstall ] [ List Files ] [ Delete ]
3. VisualWarning 1.41 [ Uninstall ] [ List Files ] [ Delete ]
4. BBC Permission Mod 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
5. SMFbuy 1.3 [ Uninstall ] [ List Files ] [ Delete ]
6. E-Arcade 2.4.2 [ Uninstall ] [ List Files ] [ Delete ]
7. Spoiler Tag 0.3.2 [ Uninstall ] [ List Files ] [ Delete ]
8. No Spam by Guests! 0.2 [ Uninstall ] [ List Files ] [ Delete ]
9. Simple Spoiler Tag 1.5b [ Apply Mod ] [ List Files ] [ Delete ]
10. Bookmarks 1.1 [ Uninstall ] [ List Files ] [ Delete ]
11. Double Post Stopper 1.0.1 [ Uninstall ] [ List Files ] [ Delete ]
12. RSS Feed Icon 1.1 [ Uninstall ] [ List Files ] [ Delete ]
13. GarbledURLs 1.0 [ Apply Mod ] [ List Files ] [ Delete ]
14. SMF Arcade 2.0.12 [ Apply Mod ] [ List Files ] [ Delete ]
15. TinyPortal 0.983 [ Uninstall ] [ List Files ] [ Delete ]
Check forum error log Make sure cron job is running.
in SMF, there is no errors... both with the fake cron turned on and off.
But my host for the true cron jobs says it cannot open a binary file.
Does that help any of you?
Hey, I just installed this on my forum, but it only worked once, I have a bunch of feeds that posted once, but they will not post again at the set intervals.
Is there a reason why?
Yes, I made sure there are more current topics in the feeds themselves.
All the sudden I started getting the following error when updating feeds.
QuoteXML error: not well-formed (invalid token)
The feeds are still working, but I can't make changes.
You would need to check the feed url or see what kind of data it is getting because it is no longer xml that the system can use.
I installed the package ... but I am unsure how to create a feed for it to write to, under my so I can access it under my favorite places using IE as I would access any other feed.
Also how do I bring up the interface to add new "members" I wish to watch and get "feed" back on once I leave the installation process. I can't seem to find the application after kicking it off and leaving the "Packages" interface.
There should be an option in the Admin section called Feed Poster Configuration.
If it is not there or you see an empty space try switching your language under Server Settings to english instead of english utf8
Hi,vbgamer45
There are lots of HTML tag such as <div>,<img src><p> in the post. How can I remove it, and display the image correctly?
running environment
SMF 1.1.4 Simplify-chinese-utf8
feedposter 1.1
Currently do not have a fix for that.
Hi VB,
Any chance of an update of your mod for version 2? I'm running Beta 3 and I'd love to get feedposter running again... :-)
Currently the plan for most of my mods is to hold off until SMF 2.0 final is released.
Quote from: vbgamer45 on April 10, 2008, 11:34:53 PM
There should be an option in the Admin section called Feed Poster Configuration.
If it is not there or you see an empty space try switching your language under Server Settings to english instead of english utf8
Weird I have mine set to english and I still can't see the option in the admin section. I do have an empty space though. Anyone know how to fix this?
Quote from: spiros on April 05, 2008, 05:40:54 PM
Log in to CP
Find Cron Jobs
Click Standard
In Command to run enter something like this:
/usr/bin/php /home/YOUR SITE USERNAME HERE/public_html/YOUR FORUM PATH HERE/cronrss.php
Ah ha! I think this is what I need to setup.
Well, I've come across a very annoying feature of this, or bug I should say. It doesn't check to see if you have already downloaded an item, so you end up getting duplicate postings of stuff. This makes it almost useless... any ideas if this is correctable?
It auto checks for duplicates. It checks based on the subject line and body and that is stored as hash.
Quote from: vbgamer45 on April 19, 2008, 10:07:58 PM
It auto checks for duplicates. It checks based on the subject line and body and that is stored as hash.
It does? then why do I keep seeing the same titles showing up time and time again?
No idea would need to see the feed/database entries.
Ok, what information do you need? A screenshot of the creation in SMF and the DB dump of the feed tables?
If i o directly to cronrss.php it updates my forums, but it wont work with either ron via cpanel or the fake cron!
help?
Then your cron isn't set up properly in cpanel. Chances are your paths to your site are not correct. Ask your host what your physical path to your web directory is and if they ask why tell them your cron settings require a full path. Also verify the php path is correct with them.
compatible with smf 3.0 beta version ?
Do you have any ideas of why it won't process ebay affiliate feeds. I use something similar with drupal nodeapi and it will make a new node out of each ebay listing. It seems to fail with feed poster. I would like to use it this way with a car site I have
Quote from: bjraines on May 02, 2008, 05:25:55 PM
Do you have any ideas of why it won't process ebay affiliate feeds. I use something similar with drupal nodeapi and it will make a new node out of each ebay listing. It seems to fail with feed poster. I would like to use it this way with a car site I have
I would need to see the feed url.
How can I get this mod to display the full feed instead of just a snippet of it?
It should be displaying the full feed if not post a copy of the feed url and I will tell you what it gets.
Quote from: tek428 on May 03, 2008, 07:37:45 AM
How can I get this mod to display the full feed instead of just a snippet of it?
This mod does display the full feed. The key note about RSS feeds is they are aimed at encouraging people to click on it and visit the website where the source of the RSS feed is. So they purposely only give you part of the article along with a link to it. What your RSS feed displays is dependent on how much information the feed is providing you. You cannot pull more information from the feed than what it offers.
For example, let's look at the CNN top stories RSS feed, found here: http://rss.cnn.com/rss/cnn_topstories.rss. When you look at this page you will see small sinpets of the articles along with text that says "Read story for full details." This is a typical RSS feed. It's just enough to give you the basics of the article and to entice you to click on the link and visit their website.
This is also a way of advertising your site and climbing up the ladder in search engines through the use of referral urls.
Exactly thanks for the post DWillis this tends to be the case with most RSS feeds from major sites.
Hi all....I Have just uploaded RSS Poster files to my SMF board and when I start cronrss.php file it shows me this error:
Table 'pn_1761835_paki.smf_feedbot' doesn't exist
File: /home/vol3/phpnet.us/m/milanche90/htdocs/forum/Sources/Subs-RSS.php
Line: 161
What should I do to fix this?
Quote from: pakito on May 04, 2008, 09:00:22 AM
Hi all....I Have just uploaded RSS Poster files to my SMF board and when I start cronrss.php file it shows me this error:
Table 'pn_1761835_paki.smf_feedbot' doesn't exist
File: /home/vol3/phpnet.us/m/milanche90/htdocs/forum/Sources/Subs-RSS.php
Line: 161
What should I do to fix this?
Uninstall and reinstal the tables were not created for the mod.
I didn't understand you - what to reinstall? Forum or RSS Poster?
RSS Poster
Okey, I did it, but it wasn't successful.
I have done this:
-downloaded RSS Poster from here:
http://custom.simplemachines.org/mods/index.php?mod=624 ----> version RSSFeedPoster1.1.zip
-uploaded some files (Not all) to my free host (phpnet.us)
cronrss.php -> root of the forum
Subs-RSS.php, FeedPoster.php -> Sources
FeedPoster.template.php -> /Themes/default/
FeedPoster.english-utf8.php, FeedPoster.english.php -> /Themes/default/languages/
I did NOT upload these files because I didn't know where to put them:
FeedPostersql.php , package-info.xml , FeedPoster.xml
And after uploading files, i went to URL:
http://www.pakito.iz.rs/forum/cronrss.php
and saw this message:
Table 'pn_1761835_paki.smf_feedbot' doesn't exist
File: /home/vol3/phpnet.us/m/milanche90/htdocs/forum/Sources/Subs-RSS.php
Line: 161
What's wrong?
Upload FeedPostersql.php to your forum root and run that file.
No, it didn't help...:(
http://www.pakito.iz.rs/forum/feedpostersql.php
Could be my free host (phpnet.us) the reason for this not working RSS Poster?
Hello, great mod, I just have one problem. When I try to edit the feeds it gives me a 406 Not Acceptable error An appropriate representation of the requested resource /smf/index.php could not be found on this server
Any ideas of what that would be? I have the chronrss.php set to 755
Issue with mod_security not liking ;id= in the url
Anyway I can fix this?
Check out this topic
http://www.simplemachines.org/community/index.php?topic=34270
Thank you I'll check it out
Hello, I have the mod installed and working fine. Its a good mod.
! prob is that I have a blank space where the option to go into the settings should be. Language is english not utf8.
I was wondering if it could be set to post the entire post between [ html ][ /html ] tags? I have html permission mod installed and can assign permission.
1. I have problem with same name of topic but different number of reply
2. Anther problem I have is that I have lot of posts from different rss sources which I want but that is not visible in forum statistic
You have pictures of same topic with different number which represents number of reply but RSS only get first post – not other reply – which mean – same topics with 20 different subject
I have almoust 1000 post in one weak which is good becouse that is lots of information, but that is not visible in forum statistic – Why? I didnt see any configuration about that – any tip about that will be apreciated
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg517.imageshack.us%2Fimg517%2F5294%2Fduplicatedpostsst7.jpg&hash=4e7632b2b4992471685b8f4dcdb7cc5f2e2cd1a7) (http://imageshack.us)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg517.imageshack.us%2Fimg517%2F5294%2Fduplicatedpostsst7.5280b76a04.jpg&hash=ff73b9e3e41f6ad04a6539ab7be0ba33f9f1eb78) (http://g.imageshack.us/g.php?h=517&i=duplicatedpostsst7.jpg)
http://img517.imageshack.us/img517/5294/duplicatedpostsst7.jpg
Okay I have a question, but I'm not sure if it can be done.
I have the Site Integration Mod installed.
Say I create a page, is there anyway to get that to appear in an RSS feed (not related to forum posts)?
Then from there on, every new page I add, goes into the RSS feed.
Following on, the RSS bot will then post a snippet from the page, and the title, into a forum of my choice.
Is this possible?
The mods works great however the post counts do not update in the Stats or the posts for the day etc.
I get this error when trying to edit OR delete
"Not Acceptable
An appropriate representation of the requested resource /forum/index.php could not be found on this server."
Quote from: christicehurst on May 10, 2008, 10:21:12 AM
The mods works great however the post counts do not update in the Stats or the posts for the day etc.
Anyone here?
Not sure it uses the createpost function I think that should do it by itself.
Quote from: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
I recounted the forum stats a couple times. It shows the post count increases and the post count of the bot user. But the monthly posts for that current period doesn't get updated. Is that somewhere where I can change that?
Hi,
I managed to get this to work the 1st time I set up a feed. I then deleted the feed and added the same one but got it to setup to post into a different forum. For some reason now it won't pick up the new feeds - is there something wrong or have I dont something wrong?
Check your error mesages - Sometime i found some things about this there
Quote from: christicehurst on May 11, 2008, 10:54:19 AM
Quote from: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
I recounted the forum stats a couple times. It shows the post count increases and the post count of the bot user. But the monthly posts for that current period doesn't get updated. Is that somewhere where I can change that?
Quote from: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
I'm hoping for some more answers and thoughts into this issue.
I got everthing working... great mod by the way...
however, I have a question..... some of the content that I'm feeding from has html in it... I selected enable html in the settngs already and have the Html Permissions Mod so I can select users who are allowed to post html... however it's not outputting the html
I have to manually add "[ html ] [ / html ] " to So I was wondering if I was doing some thing wrong?
is there a way to add "[ html ] [ / html ] " before and after each post????
or does anyone else have another solution?
People, I tried everything and it doesn't work, but probably there is some error in my hosting or I don't know what...It is very stupid...I tried more forum software like IPS or Vbulletin which have RSS Poster robot too, but it doesn't work again. So it MUST be my free hosting's fault.
So...my question is:
Does RSS Poster robot work with FREE HOSTING ( mine = phpnet.us) ?
If yes, which one?
Quote from: mymktp1 on May 15, 2008, 02:46:37 AM
I got everthing working... great mod by the way...
however, I have a question..... some of the content that I'm feeding from has html in it... I selected enable html in the settngs already and have the Html Permissions Mod so I can select users who are allowed to post html... however it's not outputting the html
I have to manually add "[ html ] [ / html ] " to So I was wondering if I was doing some thing wrong?
is there a way to add "[ html ] [ / html ] " before and after each post????
or does anyone else have another solution?
That does not work I have tired that in the past.
So... at the moment I would have to manually do it correct???? because manually doing [ html ] [ / html ] works....
by the way... I also have another question
to have it automatically post the feed what do I need to do...I know there's a setting for the minutes but that doesn't seem to work ??? for some reason it's not automatically posting the feed for me I have to run the conross.php to get it to run... is that how this mod works???
sorry...if my questions seem simple I'm very new to this
Quote from: mymktp1 on May 16, 2008, 01:32:30 AM
So... at the moment I would have to manually do it correct???? because manually doing [ html ] [ / html ] works....
by the way... I also have another question
to have it automatically post the feed what do I need to do...I know there's a setting for the minutes but that doesn't seem to work ??? for some reason it's not automatically posting the feed for me I have to run the conross.php to get it to run... is that how this mod works???
sorry...if my questions seem simple I'm very new to this
...
Quote from: vbgamer45 on May 02, 2008, 09:55:29 PM
Quote from: bjraines on May 02, 2008, 05:25:55 PM
Do you have any ideas of why it won't process ebay affiliate feeds. I use something similar with drupal nodeapi and it will make a new node out of each ebay listing. It seems to fail with feed poster. I would like to use it this way with a car site I have
I would need to see the feed url.
Here is the feed URL:
http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&from=R34&satitle=gi+joe&sacat=1167
Quote from: bjraines on May 16, 2008, 02:38:19 PM
Quote from: vbgamer45 on May 02, 2008, 09:55:29 PM
Quote from: bjraines on May 02, 2008, 05:25:55 PM
Do you have any ideas of why it won't process ebay affiliate feeds. I use something similar with drupal nodeapi and it will make a new node out of each ebay listing. It seems to fail with feed poster. I would like to use it this way with a car site I have
I would need to see the feed url.
Here is the feed URL:
http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&from=R34&satitle=gi+joe&sacat=1167
try to add the code I posted before and enable html in the feed
Quote from: perro88 on May 16, 2008, 02:54:24 PM
Quote from: bjraines on May 16, 2008, 02:38:19 PM
Quote from: vbgamer45 on May 02, 2008, 09:55:29 PM
Quote from: bjraines on May 02, 2008, 05:25:55 PM
Do you have any ideas of why it won't process ebay affiliate feeds. I use something similar with drupal nodeapi and it will make a new node out of each ebay listing. It seems to fail with feed poster. I would like to use it this way with a car site I have
I would need to see the feed url.
Here is the feed URL:
http://rss.api.ebay.com/ws/rssapi?FeedName=SearchResults&siteId=0&language=en-US&output=RSS20&from=R34&satitle=gi+joe&sacat=1167
try to add the code I posted before and enable html in the feed
I am sorry I must have missed it, what code?
http://www.simplemachines.org/community/index.php?topic=141776.msg1545893#msg1545893
well your ploblem is because the feeds are in html, nop?
Hello, i have installed the news feed mod but i cant see the link under configuration. i am using dilber mc theme. there is a blank space created under the configuration . so i gues there is something i need to add in the index template php or somewhere to make it appear. can some one help me pls..i am new to smf..
Quote from: christicehurst on May 13, 2008, 12:42:19 PM
Quote from: christicehurst on May 11, 2008, 10:54:19 AM
Quote from: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
I recounted the forum stats a couple times. It shows the post count increases and the post count of the bot user. But the monthly posts for that current period doesn't get updated. Is that somewhere where I can change that?
Quote from: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
I'm hoping for some more answers and thoughts into this issue.
For f__k sake seriously. It's been over a week and a simple issue like this should be solved.
... A few days ago I was able to run this mod with no problems ...well at least I thought I was... however , I can not get it to load any new feeds~! Even when I add a new feed it won't load... I am using fake crons... and every time I run cronrss.php it just says "Feed Poster Configuration" can any one help me I checked the log and I get this error...
8: Undefined index: id
File: /hsphere/local/home/xxx/xxx.net/smf/Sources/FeedPoster.php
Line: 264
It's really a great mod, but i have a little problem.
If i set http://www.wowblues.com/feed.xml as feed URL, it's working as intended and makes posts.
But i want to get them from http://www.wowblues.com/feed-xml.php URL, so that i can show some other tags in the forum posts like Author, type, area etc.
How is it possible to do this? Cause the site, which broadcasts the XML feed, says (http://www.wowblues.com/spread.php on the bottom of page) there are more available tags to use from that XML feed.
Database Error
Table 'heartland.smf_feedbot' doesn't exist
File: /usr/home/bassman/public_html/heartland/smf/Sources/FeedPoster.php
Line: 56
Please advise.
Nothing for support on this mod?
You did not create the database tables you need run the sql file to create the database entires.
Thanks!
That did it.
Has anyone figured out a way to accept all or most of the HTML tags that most RSS feeds spit out?
SMF by default allows only basic tags.
I need to know where to change these parameters.
Thanks much.
Is there easy changes to make this work with the new beta that I can do manually?
I found out an admin can add the [ html][ /html] tags in a post, but it does no good for cron jobs, or the RSS feeder at all.
Okay I added a few RSS2 (XML) feeds but I don't see any feeds in my news posts even though I specified where they go and who the poster is. When do I see feeds?
I selected "Use fake Cron jobs. Checks if feeds need to be updated on each page load." as that is an option and I know nothing about crons ..
Am I missing something??
http://angieskidney.com/smfbb/cronrss.php
It should run if you point your browser to that link you provided.
Quote from: Heartlander on May 24, 2008, 10:20:58 PM
It should run if you point your browser to that link you provided.
Oh wow thanks! It did! I didn't know it would finally do it at exactly 6:02pm Eastern time! lol Thx! :) It worked!!
Yeah, for some reason my fake cron jobs don't update on new visits, or work at all for whatever reason...but manually pointing to the link does it.
How can i configure the Mod to post the feeds in a pecified Thread, i don't like him to create a separate thread for each item ?
Quote from: roberto174 on May 25, 2008, 12:09:17 PM
How can i configure the Mod to post the feeds in a pecified Thread, i don't like him to create a separate thread for each item ?
Doesn't appear to be possible.
What you might want to do is create and specify a "News" board where they will all get posted to.
Then can anyone create one ? I'll pay for it !! I really need one
Quote from: roberto174 on May 25, 2008, 12:09:17 PM
How can i configure the Mod to post the feeds in a pecified Thread, i don't like him to create a separate thread for each item ?
i think i've done that before not sure but I think did it by creating multiple users each user posts on a specific forum
Quote from: slackerpunk on May 25, 2008, 06:00:28 PM
Quote from: roberto174 on May 25, 2008, 12:09:17 PM
How can i configure the Mod to post the feeds in a pecified Thread, i don't like him to create a separate thread for each item ?
i think i've done that before not sure but I think did it by creating multiple users each user posts on a specific forum
I dont understand !!! Can you explain ?
Hi in the subs-rss.php I found this small code that was under quotes. I unquoted and use it and found that my smf shows a hacking attempt.. :P :P
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
Anyways anyone figured out any way to add the html tags??? I thought the above thing would help but it didn't.
Quote from: roberto174 on May 25, 2008, 12:44:02 PM
Then can anyone create one ? I'll pay for it !! I really need one
pm me and i will do it for you. price is negotiable within reason
Just downloaded this and it installed with no errors. I have set it up to test with a feed from another area of my site. However I am getting nothing coming through. Initially I got an empty topic. I have made several test posts to the rss feed location but nothing comes through on the forum. There seems to be no related errors in the log. Where will I be going wrong ?
Hello anybody here ???
I have this installed. I linked it up to a site I knew would have regular upgrades (The BBC News). The feed worked once, posting 10 news items at the weekend then its not worked since. Where could I be going wrong ??
Helooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Quote from: glennk on June 02, 2008, 04:07:36 PM
Hello anybody here ???
I have this installed. I linked it up to a site I knew would have regular upgrades (The BBC News). The feed worked once, posting 10 news items at the weekend then its not worked since. Where could I be going wrong ??
limitations on a site stand probably
Hi Thanks for your reply its appreciated, I was beginning to think this one was dead. However I dont understand your reply, could you elaborate please. I dont understand how it made some posts and now no matter what I do I cant get it to make any more posts and I know it should be doing as the bbc site is constantly updated.
I have several things to notice and I am in search for answers on those comments and questions
1. I have my own server – Barton 2800+ – with lots of ram – I can set all what I want which I already done but I didn't succeed to set up my http://www._____.org/cronrss.php - I have it, but simply that wont work. I am on Smf 1.1.5 and all other stuff work good except this. I have solved my problem in a way that I open new tab in firefox and set reload page in 30 min – which than check for feeds and post them on forum – any other idea will be appreciated also – some special program or simply setting good cronrss.php to work as needed
2. I have lots of rss feeds to check regularly – and that's point – I have several boards which are connected to different feeds – I have 25 of them and I am in need to set more – not now but in future. What that mean – Pulling cronrss.php simply overload my server and it works almost more than 30-40 seconds – maybe even more – more than 60 seconds – that is when I us it - cronrss.php – In case of Use fake Cron jobs server is constantly overloaded – simply clicking trough forum is virtually impossible
3. Sometime simply nothing happens – when cronrss.php is pulled he works, works works and than noting happened – simply – no new feeds – posts – When I lower number of feeds it work – but where is limitation – under Rss feed poster or – How to check it? How to lover CPU power needed for work?
4. Sometimes when I set new feed I get errors which are connected to board "where feed will be stored" – If I have two or more levels of boards(firrst / second / third) it shows error – if I put it on beginning in category – errors is not showed - if it is important to show what exactly I get when I do that – I can reproduce it easily but because of "so sensitive" cronrss.php I will rather do that only if needed – I cant remember what exact error I get – sorry
5. About feed download meted – I don't understand it – because I dont noticed any change when i change it – Any explanation about that will be apreciated – if needed – becouse i will like to know is it some so good feature or .....
6. Some Rss feeds simply don't work http://redbannernorthernfleet.blogspot.com/feeds/posts/default – Why – I have check them, and it works under some firefox rss feed reader, but under this – on forum – they don't show anything
7. I have experienced this kind of problems using this mod
• http://www.simplemachines.org/community/index.php?topic=239990.0
• http://www.simplemachines.org/community/index.php?topic=242345.0
With first topic above mentioned I didn't succeed to solve my problems, but second works charming
8. After all I will suggest some modifications like for instance
• I have some rss feeds like this http://feeds.feedburner.com/acw which make problems for me – problems of what kind – I get name of topics and I still get name of SAME topics but with different number – for instance – Topic, Topic 1, Topic 2 etc – Rss feeder simple read it, and post it – He post it all over again but only numbers of "replays" are different – text in it is exactly the same – I give link if somebody want to check – it will be very easy to understand about what I am talking. That put in position to check every topic and do I have same topic already on board. If I don't have it, I must manually move them to proper board – in this exact case I make one board for receiving and checking, than I must manually move it to proper board. In case that is some old topic, he will have number – and than I manually must change it which is also more and more work time needed only for that – Can that be SOLVED . I have proposal – All those topics which come with numbers come in this type – Topic, Topic (1), Topic (2), Topic(3) etc – Is it possible to person which make this mode to think, and write some code for me which can by written and which will solve my problem – Simply – this mod will check if name of topic have (*) where * is number and if mod find something like that, he will simple jump to the another feed - I think it is possible – If you want you can make some "feature" of this proposal but I will like to check it. It can be implemented into mod which will allow for instance to check for some exact phrase (for instance sex or similar) and if it finds that word or phrase in name of topic it will jump on next – Same thing for my problem – but mod must recognize kind of logic – he must understand that * is number and if I set (***) he must understood that every name of topic which have ( ) and form one to tree numbers in there must be left and not posted on forum.
• I also have one interesting suggestion – My case offer me position to see what I get when I have lots of posts – but look THIS http://archives.zinester.com/11390/rss.xml I have big problem in this case – I have every name of topic SAME . Solution for this is posting not under board but under one specific TOPIC – Adding possibility to post under some specific ID_TOPIC will solve lots of problems
I hope somebody will read all my "problems" and ideas and suggestions and possible work out something from all those. I am sorry because of so long post
Spel
Ok I now finally figured something out for myself. Whenever I visit this url I get the posts immediately afterwards.
http://www.whitbyseaanglers.co.uk/forum/cronrss.php
Why am I having to visit the url to get the posts to appear and why do they not appear automatically ? I know a lot of you guys who have helped out in the past with this mod are still active in the forums so please just give a couple of mins help as Ive been stuck with this for over a week now.
For the 4th time I will repeat myself...
I recounted the forum stats a couple times. It shows the post count increases and the post count of the bot user. But the monthly posts for that current period doesn't get updated. Is that somewhere where I can change that?
The createpost doe not work.
I want a answer now.
If you need an answer I do offer paid support starting at $75 an hour for SMF projects.
Quote from: vbgamer45 on June 12, 2008, 10:21:00 AM
If you need an answer I do offer paid support starting at $75 an hour for SMF projects.
I'm sure no one here has paid or a re willing to pay $75 dollars a hour for a mod error.
That's why I now make most of my major mods paid since people can't figure it out and I do not have time to support free mods.
I'm having problems with the link "Feed Poster Configuration" displaying in my adminCP. All I get is a space where it should be... Is there a way I can change the template and add the link in? Also, under server settings, my language is set to English only, so that's not the problem. I also put all the RSS Feed Poster text strings into my Modifications.Enlgish.php file, and still nothing.... ::)
Are you using a custom theme? If so you need to put in that file as well
or make sure you are not using modifications.english-UTF8.php I had to manually add the line to it. Which was a pretty easy line :)
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
// END RSS FeedPoster
8: Undefined offset: 46
File: /home/hustler/public_html/***/forum/Sources/Subs-RSS.php
Line: 141
I have this error after going to manage the feeds.
Any idea's?
Seems to be fixed.
I do have another question. Which was requested before.
Can we change the long rss link after each post to be more like "Click here to read more" and link back rather than the full link posted?
Apart from that, great mod... im having cron issues.. and the "Mark Read" doesn't seem to work, but meh... i'll concentrate on one thing at a time.
Also when I put.. http://www.mysite.com/forum/cronrss.php in a crontab is emails me this...
/bin/sh: http://www.mysite.com/forum/cronrss.php: No such file or directory
of course I put my actual site though
Any ideas?
Any way to limit the length of the topic title?
I found a way to do it for users but it doesnt work for the bots.
Quote from: vbgamer45 on June 12, 2008, 10:21:00 AM
If you need an answer I do offer paid support starting at $75 an hour for SMF projects.
thats a ripoff! even i don't charge that much smf support is easy! just gotta know what your doing!
Quote from: Johno69 on June 22, 2008, 07:59:38 AM
Any way to limit the length of the topic title?
I found a way to do it for users but it doesnt work for the bots.
in the sql you can limit it by making the varchar set to a lower number
Quote from: Johno69 on June 22, 2008, 07:59:38 AM
Any way to limit the length of the topic title?
Quote from: metallica48423 on June 22, 2008, 04:51:11 AM
That mod uses another instance of createPost than the one that is used in posting normally... so it wouldn't be caught by the same restrictions as the post form.
in /Sources/Subs-RSS.php, find
'subject' => $feed['topicprefix'] . $msg_title,
and replace it with:
'subject' => substr(($feed['topicprefix'] . $msg_title), 0, 47) . '...',
where, 47, is, of course, your length
All sorted
has the "’" issue been sorted?
in Subs-RSS.php if we change this line somehow..
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
Will it enable the html tags?
'body' => '[b]' . $msg_title . "[/b][html]\n\n" . $msg_body . "[/html]\n\n",
I am only guessing, and not sure how to make that work only for html enables posts.. but someone might be able to help here?
Update 1: I just tested and it does put the html tags in the right places. I just need a bot to post an rss feed with html now.
Update 2: This does add the html tags to every post made by the feed poster. The problem is, it adds the tags in the right place but they don't work for some reason. All i need to do is "Modify" (without changing anything) and save and it's displayed properly.
I'm just not sure I'm doing anything right. It worked one time and never worked again. I'm redownloading it and will reinstall it now to see if that changes anything.
Havent' been able to figure out the html tags for the post either tried some things bu did not work.
Sorry if this has already been asked (couldn't get it from search in topic)... is it possible to tweak the Mod so that the RSS feed is always posted in the SAME topic (and not each item in a different topic)?
I was thinking about this, and maybe it could be modded to change the board ID to a topic ID?
Great idea - though I guess it would have to use the topic number rather than title, and the topic would need some form of "no-delete" flag to prevent it being accidently deleted and blocking the feed poster?
Wouldn't "RSS feed topic posting" need to be a seperate contribution because of the above considerations?
Gaz
Maybe it could be:
Choose one
Enter Board ID [ ] Board will be used for a new topic each time.
Enter Topic ID [ ] Topic will be used and posts will be added to the current topic.
just an idea.
I get an "Internal Server Error" when I go to my cronrss.php page. I installed everything without a problem and I am not sure how I got this. My host is Hostgator.com and this is the code my cronrss.php page is using.
<?php
/*
RSS Feed Poster
Version 1.0.0
by:vbgamer45
http://www.smfhacks.com
*/
// SSI needed to get SMF functions
require('SSI.php');
// For the rss functions
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
die($txt['smfrssposter_admin']);
?>
chmod the cronrss.php file to 755
Hi, like to ask why the RSS doesn't show in my forum. I already point it to a topic and make sure the rss source is working with feedburner, but the topic not show anything new...
You need to run the cronrss.php file to run the bots.
Re: HTML is posts..
I use the feed2post Joomla Component that posts html into a content item, then use the SMF discussbot to have users post the articles they want to discuss info the forums.
And the HTML seems to be getting converted to BB Code without any issues.
Maybe there's a hint in the DiscussBot that may help this mod be more effective?
Just a thought for the developer.
@ Johno69
I use the fake cronrss, changed to cmod 755, nothin' happened.
FYI, I use a non-standard theme and indonesian-utf8 language.
Quote from: vbgamer45 on July 02, 2008, 08:42:25 PM
chmod the cronrss.php file to 755
Exactly the problem I was having. Solved with the above ;)
Hello,
I wonder how I can put images on post, along with the news feed?
For me a new problem arises.
Quote
www/forum2/cronrss.php: line 1: ?php: No such file or directory
www/forum2/cronrss.php: line 2: /aquota.user: Permission denied
www/forum2/cronrss.php: line 3: RSS: command not found
www/forum2/cronrss.php: line 4: Version: command not found
www/forum2/cronrss.php: line 5: by:vbgamer45: command not found
www/forum2/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
www/forum2/cronrss.php: line 7: access-logs/: is a directory
www/forum2/cronrss.php: line 9: //: is a directory
www/forum2/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
www/forum2/cronrss.php: line 10: `require('SSI.php');'
You need to excute php and point php to that script file.
Thanks. I just found out by tying several combo's ;) It's working now.
Seems that my host (http://www.surpasshosting.com) only allows curl to be used. Maybe good to know.
Hello,
I wonder how I can put images on post, along with the news feed?
Seems like that I must setting the feed... I like to know how to detect the sock of feeder?
Any plans on a v2 beta 3.1 or higher version?
Plans are for when SMF 2.0 final is released.
Quote from: xstocler on July 09, 2008, 05:59:01 PM
Hello,
I wonder how I can put images on post, along with the news feed?
RSS Feed Poster 1.1
SMF 1.1.5
No way you would need to edit the mod.
Quote from: xstocler on July 10, 2008, 11:35:20 AM
Quote from: xstocler on July 09, 2008, 05:59:01 PM
Hello,
I wonder how I can put images on post, along with the news feed?
RSS Feed Poster 1.1
SMF 1.1.5
example(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.uploadimagens.com%2Fupload%2F018bd700e2bec1d8816c26e2bfd36623.jpg&hash=4f619b2adf9eea9bfdd7947a66dc8e3ff8108196)
the only thing i can figure out at this point (and i am by far NOT an expert).. but the prob is some feeds/posts (almost the ones i use) have too much html.. smf doesnt "allow" certain html due display/functionality issues, and maybe even security reasons as well, not sure. im just a n00b tryin to figure this out. right now, i just edit the posts and add the html tags before and after the the block of html. what i can security and what not..
check it out...
(click images to enlarge)
screen1 - notice all the html in the post. kinda scary actually. like a rats nest of code...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.b33znet.info%2Fimages%2F285sogutz38lhubvwyjk_thumb.png&hash=a9c365994dbaf5f6ea7c41ad7d94347a58524407) (http://img.b33znet.info/viewer.php?file=285sogutz38lhubvwyjk.png)
so i click modify
screen2 - all i do, is add the html bbcode before and after the html. very simple actually. but when you have to do it a hundred times.......whew..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.b33znet.info%2Fimages%2Fdx7m3x0rkn6t85b4d726_thumb.png&hash=a70089fb1e7c407857fd5bf08f71f476c9075c4a) (http://img.b33znet.info/viewer.php?file=dx7m3x0rkn6t85b4d726.png)
screen3 - presto! looks pretty huh?..
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg.b33znet.info%2Fimages%2Fs3v2450wq9qy5w6v8bh_thumb.png&hash=314baaed53e9ddd8beb3c4ab48561793e36ffb33) (http://img.b33znet.info/viewer.php?file=s3v2450wq9qy5w6v8bh.png)
now, remember, i dont know what im talking about.. just trying to help shed some light on the topic so we can get this solved and working, or just scrap it and wait for smf 2+ to have a good rss...
and no, the "html" check box in the feed admin section doesnt help at all.. frankly, wonder what that little check box does......
b33z,
I worked out how to have the RSSFeedPoster add the html tags in the right locations, but it didn't parse the HTML. I still needed to click "Modify -> Save"
I didn't need to modify, but after doing that it showed as HTML. (because the tags were already there).
But as I mentioned there is a DiscussBot (http://www.technoadvice.com/remository/Download/Joomla-and-Mambo/) That is able to convert html to bbcode very well.
It uses an array of some sort that converts html tags to bb tags.
I hope the this can be used in a similar way for this mod. Would surely solve the html issue.
well, again, i dont know what im doing really, but i wanna tackle this one.. i have a friend his is a programmer/coder by trade and he is gonna take a peak at it for me. gonna give it a try myself as well...
I'm going to try my luck again here for I think 6th time lol
Ok have a look at this page: http://www.brisbanelionsunited.com/index.php?action=stats
Now look at the "New Topics" for each month there.
Now look at the "New Topics" made by our Bot called "Whisk"
You can tell there a large hole of about 1000 posts missing from the stats box. How can something like this happen?
Quote from: Heartlander on May 19, 2008, 05:05:48 PM
Database Error
Table 'heartland.smf_feedbot' doesn't exist
File: /usr/home/bassman/public_html/heartland/smf/Sources/FeedPoster.php
Line: 56
Please advise.
How can i create the database table
larger_20 it seems like you are installing the mod manually. You should install using package manager and it will do all the work for you.
Vbamer45....It works now.....Thanks a lot!
One more question....I cant see the rss generated after the configuration and enabling all....I suspect my FeedPoster.xml may not be in the right folder as this was not specified in the instruction manual.
I am linking an RSS from bbc.co.uk not in my forum
Please advice. Thanks!
Larger_20
Is there a way to make the RSS posts not appear in the recent post list? I have a few video game feeds and they push the members' posts way to the bottom.
that's been covered in this thread previously. You will need to read back.
hello
it doesnt post anything
is there files needed to be chmodded properly in order to make this work?
How Can I add this RSS FEED on my homepage? each time is says I must select a category but I want to add this to my homepage. Please help!
Alright, I have been through this who thread and have yet to get mine working. Fsocketopen is enabled. I am trying to use the feed from http://feeds.warhammeronline.com/warherald/RSSFeed.war?type=current to work on my forum at http://www.humpwagon.com/index.php?board=24.0
Can anybody help me to get this bad boy working please.
will this be updated to work with 2.0 beta 3.1 public anytime soon?
i really love this feature but want to upgrade my SMF
Waiting for SMF 2.0 final
The "HTML Enabled" feature has a bug in it.
Not all html in the feed gets transformed. It needs to place [ html ] brackets around the post in question.
Tried doing that it did not work.
vbg,
Did you have a chance to look into the discussbot that I mentioned that successfully converts html to bb ?
That may be the easier way than having it post as html with the fact the html doesn't post.
Haven't had a chance been very busy with other projects and work.
Quote from: jepot5 on July 16, 2008, 11:43:35 PM
hello
it doesnt post anything
is there files needed to be chmodded properly in order to make this work?
I also appended the code to add and gave the posting user administrative access. Alas, none of that worked. However, when I click "modify" on the posting, the html tags *then* show up and subsequently are accepted and parsed.
Also, the php fake chron jobs doesn't work.
I modified the subs.php to allow other non-sensitive html found in feeds, like <p> and <ul> and <strong>, still no luck.
Ideas?
Hi,
I just installed this mod and cannot get it to work for me :(
I have this error when i hit on ADD FEED
XML error: syntax error at line 1
Here is a screen shot of the way I have the mod set up :|
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi38.tinypic.com%2Fauti8g.jpg&hash=d1275051488ea93879f3aee8b6f748425d43e2b5)
direct link to the image is
http://i38.tinypic.com/auti8g.jpg
Do I have the mod set up correct? and what do I need to do to make it work :( Any help would be great to make this mod work for me :)
I use 1.1.5 SMF and I have an arcade on it too and wish to add that the winner of arcade games are announced with this mod too.
Thanks in advance
Sharon
I have installed it, but its posting blank topic and title
Quote from: Ur_Irish_Rose on July 24, 2008, 11:37:23 AM
Hi,
I just installed this mod and cannot get it to work for me :(
I have this error when i hit on ADD FEED
XML error: syntax error at line 1
Here is a screen shot of the way I have the mod set up :|
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi38.tinypic.com%2Fauti8g.jpg&hash=d1275051488ea93879f3aee8b6f748425d43e2b5)
direct link to the image is
http://i38.tinypic.com/auti8g.jpg
Do I have the mod set up correct? and what do I need to do to make it work :( Any help would be great to make this mod work for me :)
I use 1.1.5 SMF and I have an arcade on it too and wish to add that the winner of arcade games are announced with this mod too.
Thanks in advance
Sharon
That's not a valid feed url. It needs to be an external rss feed from another site.
I installed it with success... (1.1.5 + TINY PORTAL).
How can I get rid of the HTML, which is in the posts? Now I see all kinds of HTML tags... The do not disappear when I uncheck this item in the mod menu...
Quote from: me123 on July 25, 2008, 11:38:26 AM
I installed it with success... (1.1.5 + TINY PORTAL).
How can I get rid of the HTML, which is in the posts? Now I see all kinds of HTML tags... The do not disappear when I uncheck this item in the mod menu...
Under the edit button of each feed there is a check box to enable or disable HTML.
I'm having a problem, when the feed works, it posts as the name of the feed poster that we have assigned to the mod. However, when someone posts right afterward, the name changes to the person who posted on the board first after the scheduled feed post.
Quote from: Paracelsus on June 30, 2008, 11:13:57 AM
Sorry if this has already been asked (couldn't get it from search in topic)... is it possible to tweak the Mod so that the RSS feed is always posted in the SAME topic (and not each item in a different topic)?
I'd like to second this idea, it would come in very handy.
Quote from: Johno69 on July 07, 2008, 10:22:19 AM
You need to run the cronrss.php file to run the bots.
When you say "run", do you mean open the page yourdomain.com/cronrss.php?
I take it this should only need to be done once?
It would have to be done any time you would want to update the topics. But a cron job automatically calls that file.
see i'm baffled - until upgrading my SMF installation on Wednesday, the feed poster worked fine. Now it will only work if I load cronrss.php. Feed download method is set to all to avoid problems there.
Currently I have "use fake cron jobs" selected - what I don't understand is what this means exactly - is cronrss.php a fake cron job? Do I need to specify a length of time in the crosrss.php? Or do I need to create a separate file, and if so how do I script this?
Hi,
I have RSS Feed Poster set up on two separate sites, using the same web-host.
On one, I have subscribed to a feed that works:
http://rss.mnginteractive.com/live/MarinIJ/MarinIJ_1865105.xml
(under NEWS FEEDS on http://www.wpn.org/SGV/sgvbb/index.php?board=9.0)
On the other I have subscribed to feeds that do NOT work:
http://news.google.com/news?q=SMART%20Rail%20Train&output=rss
http://news.google.com/news?q=Sonoma%20Marin%20Rail&output=rss http://news.google.com/news?q=%22North%20Coast%20Rail%20Authority%22&output=rss
(under NEWS on http://www.wpn.org/SMARTquestions/index.php)
On the latter, I have "ALL" selected for the type of updating routine. However, the feeds will NOT update automatically. When I use the cronrss file, each feed appears to update, BUT I get LOTS of duplicates. I get nothing at all for output=atom.
Aside from the feed sources, the settings are the same in each case.
Running SMF v1.1.4 in each case.
Is there a way I can get auto-updated, non-duplicative Google news feeds?
Many thanks for any assistance!
~Louie.
Atom feeds are not supported. Only RSS feeds at the moment.
Does this have to be an XML feed, or can it be any feed in general? I have setup about 6 feeds on my forum (http://afreewebhost.com/forum), but only 1 or 2 are working!
is this a valid feed?
http://www.milw0rm.com/rss.php
I installed the RSS Feed Poster, but I have 2 problems.
1 - I couldn't access the "cronrss.php" but changed chmod to 755 and now I can. The problem now is that the bot doesn't put the news automatically, appear only when I go to cronrss.php
2 - I'm Portuguese, and my site is in Portuguese whenever the bot puts a article characters like "ç", "á" became different.
How can I solve this two problems?
1.You need to setup a cron job.
2. Currently does not support Unicode characters.
Quote from: vbgamer45 on August 02, 2008, 04:09:29 PM
1.You need to setup a cron job.
2. Currently does not support Unicode characters.
1- Can you say me what is the code to put in cron job?
2- Can I do any change to support Unicode characters?
thnx for this great mod it is working nicely for me -- just have to go to cron.css to do an update which i actully like..
Thnx again :)
I would love to have this mod for the beta version. Btw if you need help translating it to spanish let me know.
Hi VBGAMER,
I installed this last night and after about an hour it appeard to be working fine.
Then i added some more feeds up to a total of 20 feeds and it has now stopped.
I have disabled most of the feeds and now only have 3 feeds and also Curl is the only option enabled.
The last post was at 11.51pm last night and none since then. I had all feeds on 30mins with 1 item to update with each time - when i checked today nothing had been posted and that is up until now.
I have toyed with the settings a bit but nothing has been posted still - i am going to leve it alone now and see what happens but do you have any ideas why it might not be working?
I was running it from my live server but after it not working i tired to use 'Use fake Cron jobs. Checks if feeds need to be updated on each page load.' but still nothing?
Feeding into one post, instead of new post... I would like to have that option too!
"Board structure corrupt: unable to find parent board"
This POS script has totally screwed my forum. How do I remove it?
Anyone know what I have to change to support Unicode characters?
it´s very important..
Pleaseeee O:)
You have to alter the database tables to utf8 and then it works
Quote from: vbgamer45 on August 11, 2008, 10:30:10 PM
You have to alter the database tables to utf8 and then it works
yes but if I change my database to utf8 all mensages will became without accents.
I want change the mod to support "latin1". I think that this change will useful for many people like me
It should be that way by default I think.
Quote from: vbgamer45 on August 12, 2008, 08:25:37 AM
It should be that way by default I think.
But in my forum all news with accents are distorted
Just change the feed tables to utf8
I searched through and did not see this question. Sorry if has been asked/answered.
If you view My Forum (http://www.lineschat.com) you will see that my feeds give results with the same title, but different body...
This is a title
- body abc
and then it will update with...
This is a title
- body bcd
Is there anyway that a) body bcd can replace body abc if the titles are the same, or b) body abd will be merged/added to abc if the title matches? I hope this makes sense. I'm ending up with multiple threads titled the same, only difference is a line changed.
For example, see This Thread (http://lineschat.com/index.php?board=13.0) and you will see cowboys @ broncos is listed 3 times. The only difference is 1->2 spread changed, 2->3 it was given a money line. But if I receive responses to post 1, I don't want people to start posting on 2 or 3. If 2 was added (inline) to 1 and 3 added (inline) to 2, it would fall in line with discussion that may be posted. OR, if the body of 1 was replaced by 2 and body 2 was replaced by 3, the responses could remain intact as well.
Any help is appreciated.
Not currently part of this mod.
Quote from: vbgamer45 on August 12, 2008, 07:53:01 PM
Just change the feed tables to utf8
What are the tables that I have to change?
Now the feedbot only write 1 or 2 line of the news but I want that he write more. how can I do this?
Quote from: kandalf on August 13, 2008, 08:15:20 AM
Now the feedbot only write 1 or 2 line of the news but I want that he write more. how can I do this?
That could be relational to the feed you're trying to use.
I get this error, I am setting it up for a client.
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php
Line: 56
That is an error with a database table either the table does not exist or is corrupted.
the table does not exist, I have tried several times. What should Ido.
can i manuel create it.
FOR TURKISH NON-UTF8 SITES
Install package from admin area and than open the file in package "Subs-RSS.PHP" or get it from "Sources" folder.
find this:
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;
after that copy and paste this:
# GLOBAL VARIABLES
$url = "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT";
//$url = "8859-9.txt";
$iso2utf = array();
$utf2iso = array();
# UNICODE MAPPING TABLE PARSING
function create_map($url){
global $iso2utf, $utf2iso;
$fl = @(file($url)) OR (die("cannot open file : $url\n"));
for ($i=0; $i<count($fl); $i++){
if($fl[$i][0] != '#' && trim($fl[$i])){
list($iso, $uni, $s, $desc) = split("\t",$fl[$i]);
$iso2utf[$iso] = $uni;
$utf2iso[$uni] = $iso;
}
}
}
# FINDING UNICODE LETTER'S DECIMAL ASCII VALUE
function uniord($c){
$ud = 0;
if (ord($c{0})>=0 && ord($c{0})<=127) $ud = $c{0};
if (ord($c{0})>=192 && ord($c{0})<=223) $ud = (ord($c{0})-192)*64 + (ord($c{1})-128);
if (ord($c{0})>=224 && ord($c{0})<=239) $ud = (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128);
if (ord($c{0})>=240 && ord($c{0})<=247) $ud = (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128);
if (ord($c{0})>=248 && ord($c{0})<=251) $ud = (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128);
if (ord($c{0})>=252 && ord($c{0})<=253) $ud = (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128);
if (ord($c{0})>=254 && ord($c{0})<=255) $ud = false; //error
return $ud;
}
# PARSING UNICODE STRING
function utf2iso($source) {
global $utf2iso;
$pos = 0;
$len = strlen ($source);
$encodedString = '';
while ($pos < $len) {
$is_ascii = false;
$asciiPos = ord (substr ($source, $pos, 1));
if(($asciiPos >= 240) && ($asciiPos <= 255)) {
// 4 chars representing one unicode character
$thisLetter = substr ($source, $pos, 4);
$thisLetterOrd = uniord($thisLetter);
$pos += 4;
}
else if(($asciiPos >= 224) && ($asciiPos <= 239)) {
// 3 chars representing one unicode character
$thisLetter = substr ($source, $pos, 3);
$thisLetterOrd = uniord($thisLetter);
$pos += 3;
}
else if(($asciiPos >= 192) && ($asciiPos <= 223)) {
// 2 chars representing one unicode character
$thisLetter = substr ($source, $pos, 2);
$thisLetterOrd = uniord($thisLetter);
$pos += 2;
}
else{
// 1 char (lower ascii)
$thisLetter = substr ($source, $pos, 1);
$thisLetterOrd = uniord($thisLetter);
$pos += 1;
$encodedString .= $thisLetterOrd;
$is_ascii = true;
}
if(!$is_ascii){
$hex = sprintf("%X", $thisLetterOrd);
if(strlen($hex)<4) for($t=strlen($hex);$t<4;$t++)$hex = "0".$hex;
$hex = "0x".$hex;
$hex = $utf2iso[$hex];
$hex = str_replace('0x','',$hex);
$dec = hexdec($hex);
$encodedString .= sprintf("%c", $dec);
}
}
return $encodedString;
}
# CREATING ISO2UTF & UTF2ISO MAPS
create_map($url);
find this:
/*
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
*/
before add:
$msg_body = utf2iso($msg_body);
$msg_title = utf2iso($msg_title);
let's upload this file. that's all. don't forget to run cronrss.php
i think you should get the the file "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT" to your root and remove the slash at Subs-RSS.php to get it from local.
Regards
Mr Selim
vbgamer45, Will it work in 2.0 Beta 3.1 if i parse it and then install it manually ?
Thanks. :)
This mod refuses to work on my forum :(
My theme is DarkBreak and i have Curl enabled. It worked when i first installed it but never updated after that - tis was around a month ago.
I have just changed all the feeds and time duration between posting and also changed the poster - still nothing - any idea?
Is there a way to disable checking for errors in the XML? Or can someone point me to where in the code I need to go in order to do this? One feed I am using has some horrible syntax sometimes, but it is unlikely they will ever fix it.
I have installed the MOD fine and i seem to have set it up fine too.
I have added a Cron in my cpanel (time values are set to *) destination is set to home/name/public_html/cronrss.php
I have fake cron turned off.
Feeds Enabled and set to 30mins
When i run the cronrss.php file using the URL it adds posts fine to the forum, however when i just leave the forums i am getting no updates at all so i'm gussing the cron doesn't appear to be running the php file..
Am i missing something obvious here??
edit: My host tells me that curl is enabled
i still get this error and can some give me a copy og the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
Quote from: trip001 on August 18, 2008, 07:47:20 PM
I have installed the MOD fine and i seem to have set it up fine too.
I have added a Cron in my cpanel (time values are set to *) destination is set to home/name/public_html/cronrss.php
I have fake cron turned off.
Feeds Enabled and set to 30mins
When i run the cronrss.php file using the URL it adds posts fine to the forum, however when i just leave the forums i am getting no updates at all so i'm gussing the cron doesn't appear to be running the php file..
Am i missing something obvious here??
edit: My host tells me that curl is enabled
Ok i finally got this working. Basically the path was incorrect and after a little search about on crontab in google i came across the answer.
My Host uses DirectAdmin Cpanel and basically the command path needs to be set to:
/usr/local/bin/php -q /home/
name/domains/
domain/public_html/cronrss.php
you can add >/dev/null 2>&1 onto the end to save you receiving emails from every crontab action
hope this helps anyone that has the same issue
Quote from: trip001 on August 19, 2008, 12:02:24 PM
Quote from: trip001 on August 18, 2008, 07:47:20 PM
I have installed the MOD fine and i seem to have set it up fine too.
I have added a Cron in my cpanel (time values are set to *) destination is set to home/name/public_html/cronrss.php
I have fake cron turned off.
Feeds Enabled and set to 30mins
When i run the cronrss.php file using the URL it adds posts fine to the forum, however when i just leave the forums i am getting no updates at all so i'm gussing the cron doesn't appear to be running the php file..
Am i missing something obvious here??
edit: My host tells me that curl is enabled
Ok i finally got this working. Basically the path was incorrect and after a little search about on crontab in google i came across the answer.
My Host uses DirectAdmin Cpanel and basically the command path needs to be set to:
/usr/local/bin/php -q /home/name/domains/domain/public_html/cronrss.php
you can add >/dev/null 2>&1 onto the end to save you receiving emails from every crontab action
hope this helps anyone that has the same issue
Sounds like my issue is similar to yours BUT i have not set up any Crons jobs - is it easy to do and would this fix the issue?
Quote from: Youngie360G on August 19, 2008, 12:32:28 PM
Sounds like my issue is similar to yours BUT i have not set up any Crons jobs - is it easy to do and would this fix the issue?
As long as your host supports the functionality yes they are easy, just need to add the command. The crontab is normally under your hosts cpanel
i still get this error and can some give me a copy og the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
any help
i do not have fake cron.. can someone please attach one for me to download.
here is my feedpostersql please can you see any error in it.
<?php
// SMFHacks.com
// By: vbgamer45
// Table SQL
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
// Hmm... no SSI.php and no SMF?
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
// Create Feeds Poster Table
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}feedbot
(ID_FEED mediumint(8) NOT NULL auto_increment,
ID_BOARD smallint(5) unsigned NOT NULL default '0',
feedurl tinytext NOT NULL,
title tinytext NOT NULL,
enabled tinyint(4) NOT NULL default '1',
html tinyint(4) NOT NULL default '1',
postername tinytext,
ID_MEMBER mediumint(8) unsigned,
locked tinyint(4) NOT NULL default '0',
markasread tinyint(4) NOT NULL default '0',
articlelink tinyint(4) NOT NULL default '0',
topicprefix tinytext,
numbertoimport smallint(5) NOT NULL default 1,
importevery smallint(5) NOT NULL default 180,
updatetime int(10) unsigned NOT NULL default '0',
PRIMARY KEY (ID_FEED))", __FILE__, __LINE__);
// Feed Log
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}feedbot_log
(ID_FEEDITEM mediumint(8) NOT NULL auto_increment,
ID_FEED mediumint(8) NOT NULL,
feedhash tinytext NOT NULL,
feedtime int(10) unsigned NOT NULL default '0',
PRIMARY KEY (ID_FEEDITEM))", __FILE__, __LINE__);
// Fake cron setting default false
db_query("INSERT IGNORE INTO {$db_prefix}settings VALUES ('rss_fakecron', '0')", __FILE__, __LINE__);
// Feed try method
db_query("INSERT IGNORE INTO {$db_prefix}settings VALUES ('rss_feedmethod', 'All')", __FILE__, __LINE__);
$dbresult = db_query("SHOW COLUMNS FROM {$db_prefix}feedbot", __FILE__, __LINE__);
$removed = 1;
while ($row = mysql_fetch_row($dbresult))
{
if($row[0] == 'markasread')
$removed = 0;
}
mysql_free_result($dbresult);
if ($removed)
db_query("ALTER TABLE {$db_prefix}feedbot ADD markasread tinyint(4) NOT NULL default '0'", __FILE__, __LINE__);
?>
Quote from: trip001 on August 19, 2008, 12:49:25 PM
Quote from: Youngie360G on August 19, 2008, 12:32:28 PM
Sounds like my issue is similar to yours BUT i have not set up any Crons jobs - is it easy to do and would this fix the issue?
As long as your host supports the functionality yes they are easy, just need to add the command. The crontab is normally under your hosts cpanel
Wish i understood all this malarky - can you explain that URL to the cronsphp file? Were the bolded bits relevant to said persons server/domain?
Quote from: Youngie360G on August 19, 2008, 07:18:45 PM
Wish i understood all this malarky - can you explain that URL to the cronsphp file? Were the bolded bits relevant to said persons server/domain?
I'll chop it up for you:
/usr/local/bin/php -q Basically the first part will allow you to run the php file.. This includes the destination of the php command and the execution of it.
/home/name/domains/domain/public_html/cronrss.phpThe second part is the location of the cronrss.php file. The easiest way to specify the location is by going to your SMF forum and go to the following location:
Admin > Server Settings > Core Configuration > SMF Directory
The SMF Directory will be the path to your files and in particular you cronrss.php file.
Add these together and you have the command i used in my crontab
i do not have fake cron.. can someone please attach one for me to download.
here is my feedpostersql please can you see any error in it.
<?php
// SMFHacks.com
// By: vbgamer45
// Table SQL
if (file_exists(dirname(__FILE__) . '/SSI.php') && !defined('SMF'))
require_once(dirname(__FILE__) . '/SSI.php');
// Hmm... no SSI.php and no SMF?
elseif (!defined('SMF'))
die('<b>Error:</b> Cannot install - please verify you put this in the same place as SMF\'s index.php.');
// Create Feeds Poster Table
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}feedbot
(ID_FEED mediumint( NOT NULL auto_increment,
ID_BOARD smallint(5) unsigned NOT NULL default '0',
feedurl tinytext NOT NULL,
title tinytext NOT NULL,
enabled tinyint(4) NOT NULL default '1',
html tinyint(4) NOT NULL default '1',
postername tinytext,
ID_MEMBER mediumint( unsigned,
locked tinyint(4) NOT NULL default '0',
markasread tinyint(4) NOT NULL default '0',
articlelink tinyint(4) NOT NULL default '0',
topicprefix tinytext,
numbertoimport smallint(5) NOT NULL default 1,
importevery smallint(5) NOT NULL default 180,
updatetime int(10) unsigned NOT NULL default '0',
PRIMARY KEY (ID_FEED))", __FILE__, __LINE__);
// Feed Log
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}feedbot_log
(ID_FEEDITEM mediumint( NOT NULL auto_increment,
ID_FEED mediumint( NOT NULL,
feedhash tinytext NOT NULL,
feedtime int(10) unsigned NOT NULL default '0',
PRIMARY KEY (ID_FEEDITEM))", __FILE__, __LINE__);
// Fake cron setting default false
db_query("INSERT IGNORE INTO {$db_prefix}settings VALUES ('rss_fakecron', '0')", __FILE__, __LINE__);
// Feed try method
db_query("INSERT IGNORE INTO {$db_prefix}settings VALUES ('rss_feedmethod', 'All')", __FILE__, __LINE__);
$dbresult = db_query("SHOW COLUMNS FROM {$db_prefix}feedbot", __FILE__, __LINE__);
$removed = 1;
while ($row = mysql_fetch_row($dbresult))
{
if($row[0] == 'markasread')
$removed = 0;
}
mysql_free_result($dbresult);
if ($removed)
db_query("ALTER TABLE {$db_prefix}feedbot ADD markasread tinyint(4) NOT NULL default '0'", __FILE__, __LINE__);
?>
Quote from: trip001 on August 20, 2008, 05:38:16 AM
Quote from: Youngie360G on August 19, 2008, 07:18:45 PM
Wish i understood all this malarky - can you explain that URL to the cronsphp file? Were the bolded bits relevant to said persons server/domain?
I'll chop it up for you:
/usr/local/bin/php -q
Basically the first part will allow you to run the php file.. This includes the destination of the php command and the execution of it.
/home/name/domains/domain/public_html/cronrss.php
The second part is the location of the cronrss.php file. The easiest way to specify the location is by going to your SMF forum and go to the following location:
Admin > Server Settings > Core Configuration > SMF Directory
The SMF Directory will be the path to your files and in particular you cronrss.php file.
Add these together and you have the command i used in my crontab
Would it be advisable to contact my host to see if my set up is different?
I spoke to the host and the path was correct - all working - cheers Trip :)
I have installed the mod on my forum (http://verben.texttheater.de). Successfully, it says.
However, there is no link to the settings page in the admin menu. And when I go to
http://verben.texttheater.de/forum/index.php?action=feedsadmin ,
the start page of my forum is displayed.
I verified that fsockopen is enabled. What else can I do?
That means the mod did not install. Check permissions on all the files and folders that it writes to.
Hi, is this a valid feed
http://www.milw0rm.com/rss.php
Will I ever get it to work using this
That's valid it is an RSS feed.
I always get XML error: not well-formed (invalid token) at line 10 and I don't know why. Can u help me.
Just posting here for a cry for help. I have messaged the author of the mod but I think he is busy.
Here is my issue:
The RSS Poster worked a couple of times, where the bot posted the news (although in unformatted HTML). In trying to get this issue fixed by disabling/enabling and uninstalling/reinstalling, the bot seems to no longer show feeds regardless of what I do.
Am I not completely uninstalling it? I really don't understand why this is not working now, when it worked earlier. Any help is good, thanks :)
Quote from: mobilephone2003 on August 23, 2008, 10:54:55 AM
Just posting here for a cry for help. I have messaged the author of the mod but I think he is busy.
Here is my issue:
The RSS Poster worked a couple of times, where the bot posted the news (although in unformatted HTML). In trying to get this issue fixed by disabling/enabling and uninstalling/reinstalling, the bot seems to no longer show feeds regardless of what I do.
Am I not completely uninstalling it? I really don't understand why this is not working now, when it worked earlier. Any help is good, thanks :)
Go back a few pages - say 46 onwards - i was having the same issue and its to do with Cronjobs on your server :)
I am getting this error in the error log, my forum is in Dutch. I am using Tinyportal.
8: Undefined index: smfrssposter_admin
Bestand: /home/***/public_html/nl/forum/Sources/Subs.php
Regel: 3261
What is wrong?
i still get this error and can some give me a copy og the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
any help
Quote from: me123 on August 25, 2008, 02:29:36 PM
I am getting this error in the error log, my forum is in Dutch. I am using Tinyportal.
8: Undefined index: smfrssposter_admin
Bestand: /home/***/public_html/nl/forum/Sources/Subs.php
Regel: 3261
What is wrong?
Copy modifications.english.php text to modifications.yourlanguage.php
Quote from: vbgamer45 on August 25, 2008, 08:16:09 PM
Quote from: me123 on August 25, 2008, 02:29:36 PM
I am getting this error in the error log, my forum is in Dutch. I am using Tinyportal.
8: Undefined index: smfrssposter_admin
Bestand: /home/***/public_html/nl/forum/Sources/Subs.php
Regel: 3261
What is wrong?
Copy modifications.english.php text to modifications.yourlanguage.php
It looks like this does the trick... Thanks vbgamer45!
Quote from: vbgamer45 on August 22, 2008, 08:10:03 PM
That means the mod did not install. Check permissions on all the files and folders that it writes to.
Thanks, I applied the modifications manually and it works now.
Oddly though, a new topic is opened for every item. And only the latest item is posted, even if there are more new items around. Is that the expected behavior or is something malfunctioning?
Please when ever i install I get an error . see error below. copy of the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
any help , can some please attach a copy of fake cron.
Quote from: comesee on August 27, 2008, 05:59:34 PM
Please when ever i install I get an error . see error below. copy of the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
any help , can some please attach a copy of fake cron.
That means that table is either corrupted or not created
Can I manuelly create the table.??
http://path.to.your/forum/index.php?action=feedsadmin
Ke , i adore you ;)
It worked.
This may have been discussed here before, but I still like to ask one queston or two.
I installed manually this RSS feed poster and it seemed to go well :).
When I enabled rss feed poster, first feed came thru nicely and made a topic of it. But after that it hasn't brought any new news to my forum :(
What could be wrong?
Quote from: nwobhm on August 29, 2008, 04:07:45 AM
This may have been discussed here before, but I still like to ask one queston or two.
I installed manually this RSS feed poster and it seemed to go well :).
When I enabled rss feed poster, first feed came thru nicely and made a topic of it. But after that it hasn't brought any new news to my forum :(
What could be wrong?
It does bring up the feed, but I have to manually refresh or something like that inoder to get news feed. It doesn't post automaticly.
have you set up the cron?
if not rad back through this thread, its been covered well.
Quote from: Johno69 on August 29, 2008, 09:51:43 AM
have you set up the cron?
if not rad back through this thread, its been covered well.
I think I have set it up, but I have to enter the cron.php to url and hit enter and then it will update the feed. So there must be something wrong since it doesn't update automaticly.
hello, i have installed this mod and i have no problems, but i cofigure my RSS Feed Poster, i make a cron it still is not working, i open cronrss.php and it says "Feed Poster configuration"
what can i do?
i use
smf 1.1.5
tiny portal 0.9.8
and my forum is http://www.encuentrofutbol.com
thanks
Please when ever i install I get an error . see error below. copy of the cron file
Incorrect information in file: '.\smf_feedbot.frm'
File: J:\www\Sources\FeedPoster.php..
any help , can some please attach a copy of fake cron.
Can I manuelly create the table.??
Yes you can create the table and that might fix it.
it did not fix it. what else. please help. Please make a copy and attch and i would download it.
Hi there
I am using this plugin to retrieve video feeds from youtube and adding them into my forum.
The problem is that the resulting posts contain unparsed html.
You can see it live at http://levelbeyond.com/forum Look at the 'Multimedia' board at the bottom.
Is there anyway I can get this to display properly?
Thanks
After installing the feed and everything working fine , i encounter the following problem with "editing" or "deleting" feeds from the feed poster configuration screen :
When i click on editing a feed the url =
http://www.mysite.com/forum/index.php?action=feedsadmin;sa=editfeed;id=1
And my webbrowser gives the following error :
The website is unable to display the webpage
HTTP 501/HTTP 505
What you can try:
Go back to the previous page.
More information
This error (HTTP 501 Not Implemented or HTTP 505 Version Not Supported) means that the website you are visiting doesn't currently have the ability to display the webpage, or support the HTTP version used to request the page.
For more information about HTTP errors, see Help.
I am not sure what the problem is, except that it wont let me. My host did recently upgrade from php 4 to php 5 though.
Reinstalling the package doesnt seem to fix the problem.
Hello to all!
I was looking for a RSS Mod but im not sure if this one will do what i want.
I´m confused because of the add feed option, it asks for feed titles, poster name....
i thought a RSS feed would do everything automatically, every new thread or message posted would be "created" and "sent" by the feed, like any rss feed i know. Can someone explain it to me? If you understood my question. :D
Thanks a lot.
Not it is for posting content from existing rss feeds from another websites
Thanks vbgamer45.
Is there any rss mod that does what i want? Or is there any already integrated in SMF?
I found it, "RSS Feed Icon for boards".
Already implemented and working.
Thanks.
Quote from: jepot5 on August 23, 2008, 12:58:33 AM
I get XML error: not well-formed (invalid token) at line 10 and I don't know why. Can u help me.
I was able to get it working but when I finish server (apacha) crash when when i put in the url rss.. why..
no i have finished install. but no post came up. i have been wating for 3 hours,
You need to enable a cron job on your webhost or enable fake cron mode.
How do i do that. I am hosting on apache.. i look at cron fsockopen is on..
Here is my issue-
Installed RSS Feed Poster on a clean version of SMF 1.15, and cannot get the cron to follow through.
I get this:
QuoteFatal error: Call to undefined function loadDatabase() in /usr/home/bassman/public_html/heartland/smf/SSI.php on line 73
Any help is greatly appreciated.
Hi all-
First: I did actually read the thread first to try to find a solution and even tried whatever seemed promising.
The Problem in summary:
A bunch of the RSS feeds I used to use were taken down so I went in and removed them and added a bunch more. This was Sunday. Since then, no updates will post. I have a cron job that had worked for a year and reports as running fine, and I've repeatedly tried running the cronrss.php manually. It seems to run fine, but no posts appear.
Details:
The forums is here: http://ardentresearch.com/forum/index.php?board=24.0
The cron job automatically mails me the results and seems to run fine (output - "Feed Poster Configuration"), same if I run the cronrss manually.
Some example feeds subscribed:
http://www.nanotechwire.com/news.xml
http://news.google.com/news?hl=en&rls=GGGL,GGGL:2006-35,GGGL:en&q=MEMS&um=1&ie=UTF-8&tab=wn&nolr=1&output=rss
Setting:
No fake cron, 10 items per update, Feed enabled, HTML enabled
Nothing really changed (permissions, paths) when I updated the feeds, so what would cause the feeds to no longer post?
Hello,
I am interested in translating the mod into greek, how can i do that?
Thanks alot for your help!!! It's a great mod!!!
Translate I believe just any language files with the mod and the modifications it makes to modificaitons.english.php
Hello, I use SMF 1.1.5 and get this error after adding a feed:
Table 'md73949db43637.kv_feedbot_log' doesn't exist
File: /storage/mijndomein/users/073949/public/sites/kv.nessekrekers.nl/Sources/Subs-RSS.php
Line: 255
HELP PLEASEEEE!!!!!!
That means it did not install the tables. Uninstall and reinstall to see if it installs the database tables.
Done that. Somehow it doesn't install all the tables. Can you attach the installcode so I can do it manually?
RSS Feed poster had been working quite well for me for about the last year (version 1.0). Yesterday, I updated the forum to 1.1.6 and the feed poster to 1.1. Now, only 4 of my 10 or so feeds will update. I've tried "reloading" them by deleting and creating from scratch, with no luck.
Any ideas?
vbgamer:
First of all, this is a fantastic mod. My members love replying to the news feed posts.
I've added some rather html-rich feeds at their request. Is there any way to allow feed poster to use the html bbcode tags in certain places? These newfeed posts are turning into markup-fest instead of readable news posts.
Thanks for any help you can provide and please keep up the great work!
MDg
Quote from: westis on October 08, 2007, 08:54:36 PM
It seems like the mod truncates the text from the blog and only posts the beginning of the text in the forum. How can I have the entire blog post be posted in the forum?
Btw, the feed doesn't truncate, it shows the entire blog post.
Thanks!
I've searched through this forum for a long time now and haven't found a reply to the question asked by westis.
Does anyone know how to fix this? The feed I'm trying to use doesn't truncate either, and shows in full using google reader...
Please help anybody!
J.
Quote from: jimbo007 on September 12, 2008, 01:10:17 PM
I've searched through this forum for a long time now and haven't found a reploy to the question asked by westis.
Does anyone know how to fix this? The feed I'm trying to use doesn't truncate either, and shows in full uning google reader...
Please help anybody!
J.
Modify the post. If there's a lot html markup in it without the HTML BBC tags, sometimes it won't show the full post. I have this problem on my board, except that it tends to show the fully marked up post in some (those without divs in the post), while other are almost completely blank save the URL redirect.
If I put an html tag underneath the title (after the closing bold BBC tag) and close it before the referring URL at the bottom, it tends to show the message as intended.
MDg
Quote from: jimbo007 on September 12, 2008, 01:10:17 PM
Quote from: westis on October 08, 2007, 08:54:36 PM
It seems like the mod truncates the text from the blog and only posts the beginning of the text in the forum. How can I have the entire blog post be posted in the forum?
Btw, the feed doesn't truncate, it shows the entire blog post.
Thanks!
I've searched through this forum for a long time now and haven't found a reply to the question asked by westis.
Does anyone know how to fix this? The feed I'm trying to use doesn't truncate either, and shows in full using google reader...
Please help anybody!
J.
Quote from: Michael D. Garcia on September 12, 2008, 01:18:20 PM
Modify the post. If there's a lot html markup in it without the HTML BBC tags, sometimes it won't show the full post. I have this problem on my board, except that it tends to show the fully marked up post in some (those without divs in the post), while other are almost completely blank save the URL redirect.
If I put an html tag underneath the title (after the closing bold BBC tag) and close it before the referring URL at the bottom, it tends to show the message as intended.
MDg
Thanks for answering so quickly, but it doesn't seem to work. This is the feed that I'm trying to use:
http://simio.biz/blog/feed/
And this is the output:
QuoteJust Enough Agility
Agility is the capability to be flexible, responsive, and adaptive to the changes happening around you. When a stakeholder asks you to deliver something you had not planned on, your response is a measure of your agility. But how much agility is enough?
I was once part of an organization that was extremely agile. Whenever anyone [...]
http://simio.biz/blog/2008/07/13/just-enough-agility/
You can see where it has the [...] it's truncated. There is no HTML tags to change.
In all other readers I use, it's in full and not truncated.
Is there any way to stop this from happening? Is there some code I can change?
Thanks for your time,
J.
Well, I go to the feed, using that link, and the output from the source is this:
Just Enough Agility
Sunday, July 13, 2008 5:56 PM
Agility is the capability to be flexible, responsive, and adaptive to the changes happening around you. When a stakeholder asks you to deliver something you had not planned on, your response is a measure of your agility. But how much agility is enough?
I was once part of an organization that was extremely agile. Whenever anyone [...]
So... the [...] is actually from the source. The Feed Poster isn't malforming anything.
MDg
Quote from: Michael D. Garcia on September 12, 2008, 02:19:02 PM
Well, I go to the feed, using that link, and the output from the source is this:
Just Enough Agility
Sunday, July 13, 2008 5:56 PM
Agility is the capability to be flexible, responsive, and adaptive to the changes happening around you. When a stakeholder asks you to deliver something you had not planned on, your response is a measure of your agility. But how much agility is enough?
I was once part of an organization that was extremely agile. Whenever anyone [...]
So... the [...] is actually from the source. The Feed Poster isn't malforming anything.
MDg
It's funny, google reader, feedburner and IE7 pull it in in full, but when I opened it in Firefox it's truncated like you said... so yeah it's not malforming... I wonder is there anything that can be done on the reader side to display it in full?
Thanks
J.
I don't think there is from the feed poster side. It can only pull what it sees. I'm sure Google Reader is more dynamic, being a fully-fledged, feature-rich reader, but I think RSS Feed Poster is simply a straight-up feed shipping mod.
MDg
Quote from: Michael D. Garcia on September 12, 2008, 02:31:04 PM
I don't think there is from the feed poster side. It can only pull what it sees. I'm sure Google Reader is more dynamic, being a fully-fledged, feature-rich reader, but I think RSS Feed Poster is simply a straight-up feed shipping mod.
MDg
Just as an update, I added the feed in bloglines, and it gave me the option of "summary if available" or "complete entry". So yeah, the bigger readers seem to have it but I'm not sure if there's anything that can be done. I might have a look around and see if there's some way of implementing this in this mod...
If anyone else has any ideas either?
Thanks MDg,
J.
No problem, J.
MDg
Hi, I have installed the tables manually and now all things set. Added a feed and use fake cron jobs. Still the feedbot don't work. On any feed I use.
This mod has great potential, but only if I can get it to work properly:) I am running 1.16 in with a default theme. I currently have this mod installed and the only time that it works is if I put the cron job in the browser...Cron Job Url: http://www.mysite.com/forum/cronrss.php. after I load the page all posts are updated via RSS feeder. is there a way to have this refresh on its own? I can't seem to find any information on a fix for this awesome mod.
Regards
cmedic
Even that doesn't work me at all...
Quote from: cmedic on September 14, 2008, 09:03:29 AM
This mod has great potential, but only if I can get it to work properly:) I am running 1.16 in with a default theme. I currently have this mod installed and the only time that it works is if I put the cron job in the browser...Cron Job Url: http://www.mysite.com/forum/cronrss.php. after I load the page all posts are updated via RSS feeder. is there a way to have this refresh on its own? I can't seem to find any information on a fix for this awesome mod.
Regards
cmedic
So, you can set it for 'fake cron' which allows it to check anytime the index.php is loaded and grabs new messages. Otherwise, you need to do a crontab -e from the shell and then do something like a wget -q http://www.mysite.com/forum/cronrss.php with an interval of like... an hour or maybe even once a day.
There's no need for a 'fix'. It works out-of-box that way.
MDg
I installed it and it said eveything was fine and them my whole site didn't work I had to get a back to bring my site back online.
Why does this mod do this?
Quote from: jepot5 on August 23, 2008, 12:58:33 AM
I get XML error: not well-formed (invalid token) at line 10 and I don't know why. Can u help me.
Help please :(
Hi everyone,
I have a problem with the RSS Feed Poster, as in it doesn't post anything at all, not once not ever !!!
I have trawled through all these pages over the last week looking for a remedy but everything I try doesn't work.
I am using the smf 1.6 board, hosted on a Linux system
I have checked with host and fsockopen & cron are both enabled
I have checked the data base and there are 2 entries, smf_feedbot & smf_feedbot_log
I have tried fake cron
I have tried http://www.mysite.com/forum/cronrss.php (which when I load in my browser is a blank page...???)
I have tried various feeds, sometimes it gives an xml error usually something along the lines of "invalid character in line ....." so I remove that one and try another until I find one it accepts & says it is enabled !
I have installed, uninstalled & re-installed this package untill I have varicous veins on my eyeballs & radiation sickness through spending hours in front of this damned screen !!!
Can someone please offer me some advise on this problem as I'm at my witts end, I have ripped all my hair out, my wife has run off with the local geriatric (claiming he's more fun) and I'm bordering on setting off a small nuclear device which will be attached to my PC before very much longer !!!
HELP PLEASE !!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=03af04f83d17402c3c5fdfac8639232f5f0aa2e5) (http://"http://www.diy-pc-fix.com")
This would be a good mod, however it would be better if it would keep the rss feeds in one thread instead of creating a new one for each rss item.
Quote from: c3lt1957 on September 18, 2008, 11:50:33 AM
Hi everyone,
I have a problem with the RSS Feed Poster, as in it doesn't post anything at all, not once not ever !!!
I have trawled through all these pages over the last week looking for a remedy but everything I try doesn't work.
I am using the smf 1.6 board, hosted on a Linux system
I have checked with host and fsockopen & cron are both enabled
I have checked the data base and there are 2 entries, smf_feedbot & smf_feedbot_log
I have tried fake cron
I have tried http://www.mysite.com/forum/cronrss.php (which when I load in my browser is a blank page...???)
I have tried various feeds, sometimes it gives an xml error usually something along the lines of "invalid character in line ....." so I remove that one and try another until I find one it accepts & says it is enabled !
I have installed, uninstalled & re-installed this package untill I have varicous veins on my eyeballs & radiation sickness through spending hours in front of this damned screen !!!
Can someone please offer me some advise on this problem as I'm at my witts end, I have ripped all my hair out, my wife has run off with the local geriatric (claiming he's more fun) and I'm bordering on setting off a small nuclear device which will be attached to my PC before very much longer !!!
HELP PLEASE !!!
My problem to, but got no help here!
php.ini, fopen, etc
When I first installed it posted once. Then nothing. I've tried cronrss.php (now its say page not found) and I've tried fake cron. Here is my email from my server. looks very strange like its not even the right file.
/home/mpetry/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/home/mpetry/public_html/forum/cronrss.php: line 2: /aquota.user: Permission denied
/home/mpetry/public_html/forum/cronrss.php: line 3: RSS: command not found
/home/mpetry/public_html/forum/cronrss.php: line 4: Version: command not found
/home/mpetry/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/home/mpetry/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/home/mpetry/public_html/forum/cronrss.php: line 7: access-logs/: is a directory
/home/mpetry/public_html/forum/cronrss.php: line 9: //: is a directory
/home/mpetry/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/home/mpetry/public_html/forum/cronrss.php: line 10: `require('SSI.php');'
anyone?
I have made a french translation of this mod, if you want to share it.
Quote from: mpetry on September 29, 2008, 11:55:43 AM
When I first installed it posted once. Then nothing. I've tried cronrss.php (now its say page not found) and I've tried fake cron. Here is my email from my server. looks very strange like its not even the right file.
/home/mpetry/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/home/mpetry/public_html/forum/cronrss.php: line 2: /aquota.user: Permission denied
/home/mpetry/public_html/forum/cronrss.php: line 3: RSS: command not found
/home/mpetry/public_html/forum/cronrss.php: line 4: Version: command not found
/home/mpetry/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/home/mpetry/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/home/mpetry/public_html/forum/cronrss.php: line 7: access-logs/: is a directory
/home/mpetry/public_html/forum/cronrss.php: line 9: //: is a directory
/home/mpetry/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/home/mpetry/public_html/forum/cronrss.php: line 10: `require('SSI.php');'
anyone?
I would do a wget to that exact to cronrss.php via the web in the cron job to get to run.
why bother it doesn't work and there seems to be no support for this mod.
Quote from: manudevil on October 01, 2008, 06:03:47 AM
I have made a french translation of this mod, if you want to share it.
hi guys i need help is there any way to make the bots add tags in the starting and end so that the post posted by it are more organised ??? please help me fast on this one....
Topic Prefix field is where the Starting Tags would go.
hey thanks for the help ..i didnt tr it as i was unable to open the feed poster Cp as i forgot tis link can anyone tell me what whats the link to open feed poster
Edit: i was able to open the feed post Cp and your solution is what i wanted i wanted to Html tags and start and the end of post not the topic
for ex
[html ]content by feed poster in here [/ html] without the spaces obviously....
I manualy coded that in for my board but it didn't work.
So at the moment it can only post plain text successfully.
ok i have this mod installed and could not get it to update new feeds
i looked through this thread and got know where
i figured it out in the end :D
my host is windows based and i had to enable Web Scheduler in my helm and point it to cronrss.php
it updates all the new news now ;D 8)
hope this is of help to someone
Hi!
Is there any update for SMF 2.0?
If not, do you think it will be updated?
Best Regards
Not yet in the coming weeks it will support SMF 2.0
OK!
Thank you for the quick reply, and for your great work!
hey vbgamer45 anyway to make this post html just as effectively as it can do normal text ?
Haven't been able to figure out how to get that to work yet.
vbgamer, have you got an answer to my question that I asked in this message: http://www.simplemachines.org/community/index.php?topic=141776.msg1706722#msg1706722
It still doesn't work on my site!
BTW, great there will be a 2.0 version as well, hope that works...
I have this working, and it fetches automatically from the rss feeds only if I visit the URL link.
I have cPanel, and I want to enable a CronJob. What would I put in for the command?
I have it currently at this now, but it doesn't work.
/usr/local/bin/php -q /home/laatedaa/public_html/forums/cronrss.php
Is there something wrong? I'm sure my path is correct.
I installed this yesteday and worked fine via the fake cron job a few times, not, I get nothing anymore. I reinstalled as a test site, and I still cannot get anything to work. Any suggestions where to look? It pulled the feeds once, why not again??
Nevermind, got my cron job to work, one thing though....
It duplicates certain posts. How can I prevent this from happening?
Quote from: itisme1760 on October 07, 2008, 12:48:17 AM
Nevermind, got my cron job to work, one thing though....
It duplicates certain posts. How can I prevent this from happening?
what di dyou do to get it to work?
ya i am also unable to install it as cron job.....
I just can't figure out why it worked the first few times (fake Cron) and all of the sudden, nothing more..
I get this in an email: forum/cronrss.php: Permission denied
To those above who have cPanel and want to install it as a cronjob, this is what worked for me.
/usr/local/bin/php -q /home/laatedaa/public_html/forums/cronrss.php
of course, change your path to whatever applies to your forums. Now the easiest way to find your path is to go to the forum admin panel, server settings, forum path.
Whala, hope this helps.
But anyone know how to fix the duplicate postings?
vbgamer45,
Great mod thanks, it makes a slow boring board far busier !!!
I do have a slight problem though, my website is a combination of both html pages & of course my SM forum 1.1.6 Now if I put the Url for any particular RSS feed through a Feed Reader that I have and then copy and paste the resulting code direct into a html page then it displays with all images ect and looks really good.
But if I put the same Url into the Feed Poster all I get is a couple of lines of text as shown below;
Satellites to Predict Disease Outbreaks
Scientists hope to use satellite data to predict cholera and other disease outbreaks.
http://dsc.discovery.com/news/2008/10/08/cholera-satellite.html
Any ideas as to why it doesn't display as well on the forum as it does on a html page....??? To be honest I would of expected it to happen the other way around because I had a hell of a job getting the PHP code to display within a html page, so as the forum is PHP why then does it not display properly !!! :(
Regards
c3lt1957
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=03af04f83d17402c3c5fdfac8639232f5f0aa2e5) (http://"http://www.diy-pc-fix.com")
Oh sorry I almost forgot,
to those guys having probs with your cron jobs ! Access your Cpanel and scroll to the bottom of the page where you should find "cron jobs" If not there then request your hosting company to enable it for you.
Add what is in blue below to your cmd line, obviously adjusted with your own details. You will also need to set the timings for updates, but that is fairly straight forward ie I set mine to every 4 hrs, * (=everyday), *(=every week), *(=every month). You will see the relevant boxes for this when you access it through Cpanel.
/usr/local/bin/php -q /home/*******/public_html/forum/cronrss.php >/dev/null 2>&1
Replace the asterix with your details as supplied by your hosting company, "public_html" is my root folder so you may have to change that also if your root folder is different ? After talking to my hosting company it would seem that cron is often disabled by default, so please ensure that yours is enabled. Oh & one last bit of info, the >/dev/null 2>&1 on the end will stop it emailing you everytime it updates...?
I was having great difficulty getting this mod to work, but this is what I did to cure it ! Hope you find it useful guys.
Regards
c3lt1957
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=03af04f83d17402c3c5fdfac8639232f5f0aa2e5) (http://"http://www.diy-pc-fix.com")
When the feed poster would be available for smf2.0 ??
UPDATE: Now I get the emails saying Feed Poster configuration, but nothing is updating on my forums still. I had put in the wrong path downbelow so that is how I fixed that but now nothing is getting posted in my forums, someone please help.
Current CronJob:
/usr/local/bin/php -q /home2/neph/public_html/forums/cronrss.php
Nothing is updating, please help.
Everything is enabled - cronjob and all the php functions needed
CronJob:
/usr/local/bin/php -q /home/neph/public_html/forums/cronrss.php
Feeds: Validated
http://www.logicalfear.com/rss-articles/
http://nephariusepidemics.com/feeds/rss.xml?alt=rss
When I run manually:
http://nephariusepidemics.com/forums/cronrss.php
I get the page that says: Feed Poster configuration
And nothing updates on my forums.
I get the email from cronjobs saying:
Could not open input file: /home/neph/public_html/forums/cronrss.php
Here is a question from the other end of the spectrum.
Friend of mine is running a forum with this mod. I have a personal blog site. My friend is using my RSS feed to post on his website. Says he has it set to check my feed every 720 minutes. Instead, whenever I post on my blog site, it immediately posts twice on his site.
Two problems:
He is jacking up my limited bandwidth by reading my RSS feed every second of every day. I need him to only hit the site every 720 minutes. What does he need to change or check to make that happen?
Also, how do you fix the double posting?
I will have him check on the requirements on the first page to run the mod. Any suggestions?
Quote from: nepharius on October 10, 2008, 01:04:07 PM
UPDATE: Now I get the emails sayin,g Feed Poster configuration, but nothing is updating on my forums still. I had put in the wrong path downbelow so that is how I fixed that but not nowthing is getting posted in my forums, someone please help.
Nothing is updating, please help.
Everything is enabled - cronjob and all the php functions needed
CronJob:
/usr/local/bin/php -q /home/neph/public_html/forums/cronrss.php
Feeds: Validated
http://www.logicalfear.com/rss-articles/
http://nephariusepidemics.com/feeds/rss.xml?alt=rss
When I run manually:
http://nephariusepidemics.com/forums/cronrss.php
I get the page that says: Feed Poster configuration
And nothing updates on my forums.
I get the email from cronjobs saying:
Could not open input file: /home/nephariu/public_html/forums/cronrss.php
Are you sure it is the right path / permissions?
Oh man at all my typos on that update lol.
Well yeah I fixed the path instead of home it was home2, I have the cronrss.php as 755 for permissions.
Maybe I should try different feeds like from a news site?
What does -q mean? I just used the code from here as it and I dont know what -q is.
-q means that it allows the script to utilize the php functionality.
I added a cnn rss feed and its still not working
This mod used to work...and no longer does.
I have SMF 1.1.6 installed and have used the Package Manager to install this mod successfully.
The fopen, fsockopen and curl php scripts that need to be used for this to work are only available to those whose servers run PHP 5.1 and above. I am using 5.1.
I have "All" selected in the settings of this mod for the feed from SnapFiles I'd like to use...yet the mod does not parse the feed.
This mod has since been uninstalled and reinstalled several times with no issues on the install. It just doesn't work.
I have removed the tables...reinstalled...optimized...checked for errors...and still no go.
Unfortunately, there seems to be a problem with this new version...unless I'm totally missing something here.
When I run the cronrss.php file...NOTHING.
Anyone have any clue about what's going on with this mod?
Thanks for the help...
Good luck finding free help here...
You're probably better off paying someone...
I really don't mean to sound rude...and I know we all have our own lives to lead...but where's the support?
I have another thread where I asked for help...got a couple of replies...then they leave you hanging...
I guess I'd be better off going back to vBulletin...so what if I have to pay for the license...at least the support is better there than it is here.
~Signed...
One dissatisfied customer
P.S. What do you expect for nothing?
That ought to get me some support, huh? LMAO! ;D
Looks like this could be a very good mod if you can get it working
Can you by any chance post your settings to see if you did anything different, or did you take from this whole thread?
vbgamer45...
I think someone needs to take a closer look at this mod...
A lot of complaints since the upgrade. It's not working as expected for 1.1.6. It was working fine prior to your latest release.
Oh well...had to uninstall it.
This is one of my free mod's and is low on my list to update/look into. This is advanced mod that requires a good amount of knowledge to use. So it is unsupported at this time.
I would advise to get support from other member's here and look at the code.
The first thread of this mod also states:
QuotePlace all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker
Hi,
Is this mod suppose to create a post when you have made the RSS via admin?
Reason why is i entered all details in correctly and choose which board to show on and when i go to that board it does not show there.
Am i misunderstanding something ???
Mathew
Quote from: The Saviour on October 15, 2008, 03:43:04 PM
The first thread of this mod also states:
QuotePlace all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker
Yes but when you are extremely busy you need to set priorities.
I Have some problem with mod...
When I try to add feed it shows me this error:
An Error Has Occurred!
XML error: not well-formed (invalid token) at line 25
Whan I look at file xml.template.php at 25. line i find this class:
function template_modifydone()
{
global $context, $settings, $options, $txt;
echo '<', '?xml version="1.0" encoding="', $context['character_set'], '"?', '>
<smf>
<message id="msg_', $context['message']['id'], '">';
if (empty($context['message']['errors']))
{
echo '
<modified><![CDATA[', empty($context['message']['modified']['time']) ? '' : '« <i>' . $txt[211] . ': ' . $context['message']['modified']['time'] . ' ' . $txt[525] . ' ' . $context['message']['modified']['name'] . '</i> »', ']]></modified>
<subject is_first="', $context['message']['first_in_topic'] ? '1' : '0', '"><![CDATA[', $context['message']['subject'], ']]></subject>
<body><![CDATA[', $context['message']['body'], ']]></body>';
}
else
echo '
<error in_subject="', $context['message']['error_in_subject'] ? '1' : '0', '" in_body="', $context['message']['error_in_body'] ? '1' : '0', '"><![CDATA[', implode('<br />', $context['message']['errors']), ']]></error>';
echo '
</message>
</smf>';
}
I can't find problem here, so if someone know what I must do, please help.
I have spent some time on this mod now, for info:
it can be seen running quiet well on my site: http://www.pixelbyPaint.com
The price is 20.00 usd payable thru paypal. When i can get the store up on PixelbyPaint, i will offer it as a supported download with all documents, mod etc.,
for now, just pm me if you want the mod.. i will have to make arrangements with smf for the transfer i am assuming, and i have already contacted vbgamer on this as well..
note to use this, you must have a cpanel, and i hope to have the mod ready for the beta when i can.
still a few bugs with images but hopefully i can sort that out soon..
thanks DirtRider.. i needed a good project.. :D
Is it wort using this mod ? Or is it many bugs etc ?
Thanks
i can offer support for the mod, but vbgamer has yet to respond to me for releasing it to me, so.. ;)
Quote from: SmokyBlue on November 05, 2008, 05:07:14 AM
i can offer support for the mod, but vbgamer has yet to respond to me for releasing it to me, so.. ;)
Cool :) Saw it was unsupported thats why i wundered before i start using it :)
well its good to ask before using anything that is..
if you need help, just click my sig, it will take you straight to my site.. :)
Quote from: SmokyBlue on November 05, 2008, 04:35:43 PM
well its good to ask before using anything that is..
if you need help, just click my sig, it will take you straight to my site.. :)
Okey m8 thanks :)
Oooh nice to see this Mod might get some support.
I have this installed and setup...its posting all good :) However, i'm getting duplicate posts...usually 2...occasionally 3 :(
wow hope someone fix that bug hehe little ennoying to have to delete the other posts :P
When i go to my admincp and try to access the rssfeeder i get
Fatal error: require_once() [function.require]: Failed opening required 'C:\xampp\htdocs/Sources/FeedPoster.php' (include_path='.;C:\xampp\php\pear\') in C:\xampp\htdocs\index.php on line 413
But lol line 413 :/ i dident even edit that line before
I got this on line 413 :/
require_once($sourcedir . '/' . $actionArray[$_REQUEST['action']][0]);
*edit*
Fixed it forgott to upload the files since i installed it manually haha
Btw this mod works perfect for me no dubble post or something like that :P
so by the sound of that...then there is some logic issue somewhere in the mod.
this mod is relying on the feeds that come thru it and is manipulated via the cron job that you set up..
unfortunatly, like i said, vbgamer hasnt turned the mod over to me, and all i can do is provide support for it..
i do have more ideas on it, but at this time, if its not my mod, i cant really improve things for it. i do hope you guys understand, as i have put more than a few weeks of my efforts into this. :)
possible.. who knows at this time? only vbgamer. ;)
as for the newer smf release, it depends on how far i can get this and if it wont error out on me like it has been. >:( :)
Howdy Smoky :)
Im sure noone will mind if you add your own little tweaks here to share with everyone.
We do it all the time.
No need to have to take over a mod to help its development and users ;D
Besides, Ive only just installed this, and I dont want these errors Ive been reading about to ruin my buzz!! lol
Ive run a search through this thread that was fruitless, so does anyone know how to increase the amount of characters the mod produces?
Meaning I'd like for it to print more of the feed.
Thank You very much :)
Yeah you're right buddy.
I noticed that in my first 20 mins of using it. Sometimes it pays to wait a bit before you ask questions aye? lol
Thanks for gettin back to me :)
Cheers
Quote
Im sure noone will mind if you add your own little tweaks here to share with everyone.
We do it all the time.
No need to have to take over a mod to help its development and users
yeps i would, except i am sure you have noticed when you downloaded the mod, that it is unsupported by the author, vbgamer, and i have put in some considerable time with it as well. since i asked him about me having the mod, i am hardly taking it over. but since he has given me still, no response, i can not take it on.
i would love to help you or anyone else out, but the best way to do that, is if you have any questions etc., to stop by my site so i can keep track.. however, since vbgamer wont release it, im not too sure at all now if i will support someone else's mod. its a 2 part issue Sabre and i am sure that you do understand this..
but i am glad that you figured out a bit of it, the one thing you can depend on, is if you add a feed, you are at the mercy of the feed source.. if it is slow, the your postings will be as well..
however i have been toying with a new option, and depending on how things go with the beta i may submit my own for it, when the time comes.
i do hope you enjoy this mod tho!! ;)
Be good to see how your lil project turns out.
Thanks for the reply.
Now the search function regarding cron jobs is poor here.
I get 1 result after a search, and find more while breezing through lol
Can somebody explain how the fake cron job works?
What Im looking to understand is how it functions.
Does it load itself, or only load if I run it through my browser etc.. ?
Could you use a cron job from another site(free online cron), and how would you go about it?
Would you add the url to your site, or to the cronrss.php ?
Before I dive into this myself, a little understanding to get a heads up is always good. :)
Thank You very much :)
Yeah.
It's a day later, and I've noticed it only runs once it's loaded through the browser
eg. h**p://simplemachines.org/cronrss.php
Does anyone know of a proggy or add-on that you can automate to visit that link at certain intervals?
Of if you can load it via ftp etc etc ??
Also how some of the posts have html, how can we change this to not show that, but to convert what it ='s grabbing??
Allow the bot to use html ??
Off to work now, but I'll look into these options also tonight.
Thank You :)
its called a cron job Sabre ;)
if you are wanting custom support, you are more than welcome to come check out PixelbyPaint, and see what all is there for the feeder. :)
as far as the rest of your post, i have been attempting to sort, but again, you are at the mercy of what ever feeds you are obtaining. i do see a few options, but as i keep saying this mod hasnt been turned over to me, i can only offer support. however i am getting close for figuring the entire thing out and making some a bit better for when the beta goes with a rc.. until then i wont be willing to share on this mod..
i know that with what i have, which is a mode in progress, a beta mod, i do not feel it is ready for any testers as of yet.. when it is ready i will make an announcement and/or submit to smf, depending on how i feel on things about it. O:)
In searching the net I found other fake cron progs out there that seem to work. You can probably use them to execute the cronrss.php or it might be a place to look at to figure out how to make this Mod work right.
Out side of that all I can recommend is creating a real cron job. It works like a charm. The best example of how to make this work for the Feed Poster was found here (http://www.smfhacks.com/index.php?topic=1291.msg7377#msg7377).
Here's Nite's example of what a cron job for cronrss.php should look like.
16 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1
31 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1
46 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1
01 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1
The first thing you want to do is SSH into your server with PuTTy or some other telnet/ssh program.
Type "locate /bin/php", without the quotes, to make sure what path your PhP folder is in. On many Linux servers its /usr/local/bin/php but not on all. Also you need to know exactly what the full path to your cronrss.php is.
I suggest that you open notepad or some other editor and modify the code above to fit your server. Then copy it to your clipboard.
On most Linux servers the crontab -e command uses the vi or vim editor and it can be a PitA if your not familiar with it.
Type crontab -e in your SSH window. Once its opened type "p" for paste and the code you copied to your clipboard should be pasted into the cron job file. Once its pasted you should be taken back to the command line, if not, hit your escape key then type ":wq" this should save and exit the file.
After that everything should be working fine. Provided that the people that wrote the feed got all their XML coding correct.
/me grumbles something rude about the people at Blizzard not knowing how to write an RSS feed. Grr
Very nice Garou :)
I havent touched putty for years! Glad to see it has a productive side to it lol ;)
Will give it a whirl tonight.
Good work mate :)
the mod clearly doesn't work. vbgamer doesn't appear to be active or about. Can't you just take a modified version ( or patched ) under your wing? Or does he hold some kinda of IP on it? Presumably as its free to download he probably doesn't.
( apologies to go on about this...but i like the potential functionality of this mod but wish it actually worked :d
Garou, i do appreciate your help, but my cron job looks nothing like that.. ;)
i have something planed for the newer smf release, and i have patched up the feeder as best as i can for now.. but again, nothing in stone.. due to upgrades on sites i do maintain.. i havent had time in the last 3 days to continue on it, and i do have excelent help from a friend of mine Harsh Reality.
we are at the mercy of the out-source of it via the sites we all use to obtain the feeds, so there is little to do with what it looks like coming out.. unless i can find a way to create a switch that will notice, say for instance, we all use the html support from the tick boxes, but yet the source code is showing from the feeds that use the html format, that the mod will notice and correct itself..
as far as vbgamer turning it over to me, yes, its what i can call respect. i would not like it if someone asked me for one of my mods and i didnt reply, for them to "assume" that they could, because then it wouldnt look good on either of our parts..
i like the mod as well and think it is very helpfull.. the reason i ask people to read and post on my site is so that i can keep up with the "wish" list for the mod.. i hope you understand..
and as for Dirtrider, he created a topic in the help wanted area here, and contributed to the cause of finding a way to make the mod behave more stable.. is it fair if i give out advise that he has paid for?? im just wondering on this myself. please think about it, and if i am right, post where i can keep up with it..
otherwise i will not know.. i do appreciate the interest in this and hope for the best.. :)
Sorry Smoky if that's not the one your using. I stole it right out of VB Gamers forum from another user. I'm using it on 2 different servers and it works like a charm for me and apparently the person that originally posted the cron job listed. In fact its the only way Ive been able to get it to work since 1.1.6.
Well except for one 1.1.4 board that we had it set up on, then upgraded to 1.1.5, then to 1.1.6. It still works with the fake cron enabled and no cron job running. I find that odd but if it works I'm not going to complain.
After all there has been too much complaining here about the fake cron not working but little has been said about how to actually get the Feed Poster to work without it. Rather then sit here and whine about it, I took the initiative to find out what it takes to make the mod work and by my own nature I felt a need to pay it forward to the rest of the community that wants to use this mod. After all I have received my fair share of help from this community over the last few years. Its the least I can do.
The truth is that the Feed Poster Mod does work, in at least one of the intended ways, even if the fake cron part does not. It just means that people have to be willing to go that extra step. Now they have some instructions that will hopefully help them to get there.
VB is a great guy and has done a lot of good work to help the SMF/TP community. Just because he hasn't updated this particular mod yet doesn't contradict that at all. I really wish he would do the update, release it to Smoky, or at the very least just take the time to tell her no. None the less he still has my respect for all the other good deeds he has and continues to do for the community.
I do want to say though that Im proud of you Smoky for not wanting to step on VB's toes by just snatching his mod. It is the respectful thing to do. However that doesn't mean you couldn't release a mod that does the same thing. In fact Ive come across several mods for SMF that do the same thing. Just a thought. :)
Currently working on it Garou ;)
Garou
+k
Does anyone know if this is currently working on 1.1.7...other than the fact the feed poster keeps pulling the same feed?
Wouldn't the trick be to just pull one feed at a time...and then wait a significant amount of time before pulling the next? This way the feed has a chance to update before the feed poster pulls the exact same feed it has posted already.
Any input is greatly appreciated...
Yes the feed poster works with 1.1.7 When I patched it didn't cause any conflicts anyway. My guess is that with a fresh install you my have to hand edit a file or two but it should work just fine, you know minus the fake cron. ;)
You can set the update time in the settings manager from a minimum of 15 minutes to I'm guessing infinity, as long as you figure it out in minutes. ;D
Thanks Garou...
I installed this mod via the Package Manager...and there were no errors.
I went into the settings and setup my feed.
I unticked fake cron jobs and saved my settings.
I opened my browser and entered the address to cronrss.php in the browser's address bar and it came back with "the requestedpage could not be found" on my site.
I went to my site's cpanel to see if the file was there...and it is.
I hope there's someone here that can help me get this thing working...and I thank you for your quick replies...
Hey there Garou,
while everybodies sissy fitting around how to offer assistance here, do you mind if I contact you via IM, and sort out the cron job how youve done it?
Your assistance will shed light on the matter for me, as Im walkin in the dark lol
Thank you :)
The Saviour,
If you are pointing to the right directory (most likely http://yoursite.com/fourms/cronrss.php) then my next guess is to check the chmod (file attributes) on the file. If you are on a Linux server then go ahead and set it to 777. On a windows server I believe you have un-check the read only and hidden fields under the file properties.
Sabre™,
My cronjob looks just like this substituting my_account for my actual account name.
16 * * * * /opt/lampp/bin/php /home/my_account/public_html/forums/cronrss.php > /dev/null 2>&1
31 * * * * /opt/lampp/bin/php /home/my_account/public_html/forums/cronrss.php > /dev/null 2>&1
46 * * * * /opt/lampp/bin/php /home/my_account/public_html/forums/cronrss.php > /dev/null 2>&1
01 * * * * /opt/lampp/bin/php /home/my_account/public_html/forums/cronrss.php > /dev/null 2>&1
If your still having problems, its most likely due actually locating the server php directory or how your server has cron set up but Ill do what I can.
good of you to help Sabre out Garou
Thank you! ;)
Savior, did you get this taken care of yet?
Sorry, i have been off for a while..
Ive been reading around your site too Smoky, so thank you too :)
Good job btw, its lookin good
SmokyBlue...
I just got aggravated with it and uninstalled it. Let me try again to see if that resolves the issue.
Update...
CHMOD file to 755 (not 777) and ran the cron manually...it worked! Woo-hoo!
I'm not going to worry about fake cron jobs and/or duplicates...since I'll only be running this once a week...for now, anyway.
The possibility of it creating a duplicate is possible...and that may increase, if I increase the frequency of the cron.
I think I'll tick the "fake cron job" box, anyway, to see if it works.
Thanks for the help!
lol @ Sabre.. which site?? ;)
opps!! my houseofsmoky isnt ready yet, but i will announce its re opening.. and thanks for the compliment on Pixel.. She is coming along, but my other site is taking precedence first.. its bout time i did something with all the things i have been working on, and wait till you see it!!!
@ Saviour:
you will see duplicates, depending on the feeds itself.. you must monitor it, if you have a slow one on top, it will slow the feed poster down. to run it once a week, depending on what you have set up, you will only get so many posts.. personally, it is up to you, but i look at it this way.. the rss posts things im interested in (im still adding to mine.. lol) if i want to go read them, that is a good thing, and it cuts my time down on how many sites i have to browse to.. its really a good way of looking at the net..
im also thinking on a rss to blog mod, so things might get a little bit better.. i am working on ideas, and that is why i have asked for postings to be done on my site so we can go into a better idea of what to do next for the mod. So the offer is still standing.. anyone that has, or wants to help with it.
Unless vbGamer wants to give it to someone else. i still havent heard, either way, if he will let me take it over, as he no longer is supporting it. I have more than enough to do, but i am willing to take time to make this one a better mod.
If I were to use an online cron site to run the rss feed bot, would I need to direct it to the cron?
eg.. h**p://myawesomemagisticastic.site/cronrss.php
So would I use the online cron, to run my cron?? lol
Thank You :)
Yeah I was looking at that as an a option as well. It should, at least in theory, work since before writing the cron job I was able to get the poster to update just by directly going to the cronrss.php url for my sites.
Essentially that's pretty much what a cron job or one of these other fake cron programs do. It just executes the cronrss.php
it will work sabre.. if you google for free cron job sites..
mine is currently like this:
wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php
but i do my own cron job from the cpanel..
im also thinking maybe this would be good for the blog mod that Charles Hill has.. i am currently testing it out... will keep a heads up when i know something substantial.. :)
Oh cool youre here smoky lol
Ive been waiting for you, because Im having probs with the online cron sites.
Their codes dont accept redirects and apparently the cronrss.php does this.
Now I know as much about cron jobs, as I do the taste of a rock on the moon.
Do you have any idea what to change in that code, or could you quickly throw up one if it doesn't consume too much of your time?
I dont know if writing such a cron would take 5mins or 5 days.
It is understandable if you do not wish to publish a cron job that would work with these online cron jobs, I will just find a dark corner in my room and sulk until my tears fill the room and I drown in them :'(
I will then also amazingly revive myself, then sulk some more.
lol
Well... something like that lol ;D
Thank You for even reading the above lol
regards
Sorry to interrupt, but I just thought I'd let everyone know that since I installed this two days ago...I run the cron manually and have had no duplicate feeds...
Now if I can only figure out how to setup the cron in my control panel.
Thanks for this great mod...and for the support from all wh have and will reply...
A couple posts back Smoky lists the cron job she uses in cpanel.
Sabre,
i really cant be posting code for the online sites, as i dont know which one you are using.. not to mention, it might get me in a spot of trouble.. and i dont want that.. but if you are having a problem with whatever site you have chosen, either talk to them about it and explain what you are doing to them, and maybe they can find a work around.. or try another one..
i am trying to see what else i can do with the mod and i know, it seems like forever, but i do promise, it will be worth the wait..
the reason some fixes work for some people is that we all have different servers.. that is something else, i cant control.. but every little bit of help along the way is greatly appreciated.. like im thinking, perhaps if i mod this for the blog community mod, perhaps it would turn out a little better.. i am starting to work on it today to see what i can do.. will keep you guys posted, as i happen to really like the mod.. ;)
thanks Garou :)
Quote from: SmokyBlue on November 23, 2008, 10:05:23 AM
the reason some fixes work for some people is that we all have different servers..
Ain't that the truth. :)
Ive been looking all over the internet to find a fix for peoples cron job problems. I found a cron job that will backup your DB for you and it sounds like a sweet deal. As I was looking around other sites I found 7 other jobs that do the same thing 7 different ways and not all of them work on all of my servers.
The one thing I am finding in common with most sites is that they say that if your having problems making a certain cron job work, you need to contact the servers support staff. Explain to them what you need and they can set it up for you the way it works on that server. They know best what works on their servers.
So contact support for your server and tell them you need a cron job to run cronrss.php and how often. They can set it up for you or at the very least tell you how you can set it up.
As for the how often that's really up you. I have mine set up to run every 15 minutes as thats the minimum time you could set the fake cron for, when it worked. I did it because the main feed I pull from updates rather randomly and I want updates as soon as possible. If you know the feed your pulling from only updates every Tuesday at midnight then you could have your cron job set for that.
Until a fix for the fake cron is found that really is the best we can offer. :-\
Hi All:
I'm new to this forum, I installed the RSS Mod on my site, the install says it was successful but for the life of me I can't seem to figure out how to get it to work. I don't see any place to add feeds users or what ever. I'm running SMF 1.1.7 and a theme called Scribbles 2. I really need to get this working it's causinging what little hair I have left to fall out..
Seeya
TechnoDad
Look in your Admin cpanel, navigation menu on the left...under Configuration...Feed Poster Configuration.
TechnoDad , you will find that when using a custom theme under any of the 1.x series of SMF, most mods don't install themselves on most themes. Every one should install on the default theme. For most other themes you have to install the mod manually.
Ill try to explain in a way you can add any mod on any theme with a focus on this mod...
For this particular mod go to the Download Page (http://custom.simplemachines.org/mods/index.php?mod=624) for it.
Then make sure the check box next to the down loadable file is checked.
In the selection box set it for 1.1.7. Then click the submit button.
It will take you to the Installation Instruction page here (http://custom.simplemachines.org/mods/index.php?action=parse;mod=624;attach=48853;smf_version=1.1.7).
Then look for any of the file edits that start with ./Themes/default. These are usually the only files you have to change to make your theme work. You would go to the directory for your particular theme and edit the same files for your theme.
Luckily for this mod there is only the one change...
./Themes/default/languages/Modifications.english.php
For you you want to look for that file in your forums for your particular theme. In your case it should be...
./Themes/Scribbles 2/languages/Modifications.english.php
Open it up and search for the lines listed under Find: on the Installation Instructions page.
For this mod you'll want to find... ?>
That's a pretty simple one to find as its the last line of the file.
The next box in the Installation Instructions page will tell you to either add the code before, after, or to replace the code you have just found. In this case its add before and the code to add before the ?> is...
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
[code]
// END RSS FeedPoster
Once your done the file should look like...
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
// END RSS FeedPoster
?>
At the end of the file plus everything that was before the ?> when you started. DO NOT replace the other code or you'll break your whole theme.
Now when you go to the Admin page you'll see Feed Poster Configuration on the left hand side.
Now if you scroll down to the bottom of the Installation Instruction you will see that there are several other files that get installed under the default theme. Since these are custom files you usually shouldn't have to add them to your custom themes directory.
Modifications.english.php is already in your themes directory as its been customized with special changes to work with the rest of the theme, therefore it has to be modified. Any file that isn't already in your themes directory shouldn't have to be changed, If its not there SMF automatically looks for it on the default themes directory.
I hope this helps you to understand how to install this mod and others on your custom theme.
Quote from: SmokyBlue on November 22, 2008, 05:08:46 PM
it will work sabre.. if you google for free cron job sites..
mine is currently like this:
wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php
but i do my own cron job from the cpanel..
im also thinking maybe this would be good for the blog mod that Charles Hill has.. i am currently testing it out... will keep a heads up when i know something substantial.. :)
SmokyBlue...
I've used the above cron in my cpanel...yet, it doesn't work.
Any other suggestions?
did you change out the "yoursite" to the actual url? are you sure of the location of the cronrss.php file?
did you try the other one:
01 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1
have you looked into the free cron jobs via google? :)
I'll try again and keep you posted...
that is fine Savior.. ;)
i see vbgamer updated the mod for the 1.1.7 install.. however, i dont know if he changed anything on the mod at all either.. he hasnt said.
he hasnt released it to me either, so i will be creating my own and releasing it at some time.
Since he has done the updating for the mod, will be backing down from this thread, and staying more on my site for it, and soon my own rss mod.
if anyone needs help with it, you are more than welcome to post on my site 8)
http://www.pixelbypaint.com
Do we get tea and biscuits on arrival?
I loves me some tea n biscuits :D
Will be great to see how your final version ends up smoky.
At the moment, Ive just forgotten about everything, and have a note in my AP reminding me to visit the cron each time I log in.
Easy. lol ;)
I was running RSS Feed Poster (1.0.3) but no longer require it. However, when trying to
uninstall it via the package management section of the admin panel (SMF 1.1.7) I'm getting an error:
QuoteThis package cannot be uninstalled, because there is no uninstaller!
Can I just
delete this mod from the main package browser or will that screw things up? I've already deleted the feeds and deselected the cron job option but would like to remove it completely if possible.
Thanks!
I don't think just deleting it will cause major issues but you will more then likely have re-occurring errors in your log files.
I would suggest going to http://custom.simplemachines.org/mods/index.php?action=parse;mod=624;attach=48853;smf_version=1.1.7 and reversing those instructions by hand. Where it say to add in the instructions remove. Then delete the other included files from their directories.
After you've done that then you can delete the package via the delete function in the package manager.
Runs for me but not the accents, who know how run it?
I'm not sure what you mean by accents. If you mean special characters I believe that it has problems with some of that. See if this doesn't help you out. http://www.simplemachines.org/community/index.php?topic=141776.msg914385#msg914385
Quote from: Garou on November 25, 2008, 01:54:30 PM
I'm not sure what you mean by accents. If you mean special characters I believe that it has problems with some of that. See if this doesn't help you out. http://www.simplemachines.org/community/index.php?topic=141776.msg914385#msg914385
Yes , that helps me but where is the censor words option?
It is in your admin panel, within "Posts and Topics" then select "Censored Words"
Interrupting...
I have the cron running through my host cpanel...all seems to be well...working...no duplicates.
Thanks, SmokyBlue...
more than welcome Savior, glad i could help you out ;)
Hello guys any update for beta 4 ? need t his badly
nope
sorry, mine isnt ready for the beta yet.. soon.. ;)
Is yours available to test with 1.1.7 smoky?
Or you're not ready to release it?
Away from smf I mean, not submitting it to the team.
not ready yet Sabre..
maybe by the end of next week, the holidays are here now and my boys are out of school so.. gona slow me down a bit.. on top of that, i am re doing my site at the moment.. but it will be worth the wait.. :)
Brilliant smoky!!
I, like most, anticipate your release, and hope to offer as much pressure as possible! lol
;)
Thanks for the quick reply :)
Quote from: The Saviour on November 25, 2008, 03:38:08 PM
Interrupting...
I have the cron running through my host cpanel...all seems to be well...working...no duplicates.
Thanks, SmokyBlue...
Gratz The Saviour!!! Glad its working for you now. :)
Quote from: SmokyBlue on November 25, 2008, 07:44:47 PM
not ready yet Sabre..
maybe by the end of next week, the holidays are here now and my boys are out of school so.. gona slow me down a bit.. on top of that, i am re doing my site at the moment.. but it will be worth the wait.. :)
I cant wait to see it Smoky and I cant thank you enough for taking it on.
Ive used VB's mod on every site Ive worked on since I found it. It was an awesome idea, I just wish he would have continued to support it. At least you found an ethical way to recreate the functionality of it. *giant pats on the back*
Wishing you guys good luck for it and anxiously waiting :)
i Guys,
I am running SMF V 1.1.7 with simpleportal and have just installed this mod (i have used it on earlier versions of SMF and it worked as desired)
Not sure who is taking care of this mod and i also noticed it is no longer supported (in the mod area) but it still works apart from several issues:
1. When trying to delete an existing feed it returns this URL:
Quotehttp://www.URL/index.php?action=feedsadmin;sa=editfeed;id=1
And this text:
QuoteMethod Not Implemented
GET to /community/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at URL.co.uk Port 80
2. When trying to delete an existing feed it returns this URL:
Quotehttp://www.URL.co.uk/index.php?action=feedsadmin;sa=delfeed;id=2
And this text:
QuoteMethod Not Implemented
GET to /community/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache/2.2.10 (Unix) mod_ssl/2.2.10 OpenSSL/0.9.8b mod_auth_passthrough/2.1 mod_bwlimited/1.4 FrontPage/5.0.2.2635 Server at consoleninjas.co.uk Port 80
Can anyone help with this please?
On another note...
The cron that ran last night for a particular feed...posted a topic with no subject...in the forum where I wanted the feed to post.
What's up with that?
The Saviour, Most likely that's a problem with the RSS feed its self and not the poster. If you run the actual feed through http://www.feedvalidator.org it I'm guessing you'll see errors in the feed.
Youngiiie, Smoky and I have been fielding most of the questions here recently and if you read through some of the earlier posts you'll see that Smoky is writing new mod that does the same thing.
I haven't tested the version your using, The original author posted that one the other day after long after he mentioned he wasn't supporting the mod. I planed on trying that one out next week, I don't have time this weekend with the holiday. Hopefully I can find some answers for you then. Sorry.
Quote from: Garou on November 27, 2008, 03:04:33 PM
The Saviour, Most likely that's a problem with the RSS feed its self and not the poster. If you run the actual feed through http://www.feedvalidator.org it I'm guessing you'll see errors in the feed.
Youngiiie, Smoky and I have been fielding most of the questions here recently and if you read through some of the earlier posts you'll see that Smoky is writing new mod that does the same thing.
I haven't tested the version your using, The original author posted that one the other day after long after he mentioned he wasn't supporting the mod. I planed on trying that one out next week, I don't have time this weekend with the holiday. Hopefully I can find some answers for you then. Sorry.
Cool no problem - ATM i am having to edit/delete feeds via the DB/phpmyadmin which is labourious TBH - any idea when the new mod will be up?
Shame VBgamer is no longer supporting - his mods were always good.
Fuf, guys, I've read all this topis and didn't found any solution for problem with XML error. And I decided to solve it by myself. So, here is my story:
First off all, the problem is in XML-reading, so it is in file Subs-RSS.php. We need the function with name 'UpdateRSSFeedBots()'.
Find there xml_set_element_handler($xml_parser, "startElement1", "endElement1");
and add BEFORE this:
$feeddata = iconv('RSS-CHARSET', 'UTF-8', $feeddata);
$feeddata = str_replace('´',' ',$feeddata);
but RSS-CHARSET replace with charset of your RSS-feed (for me it was cp1251, I'm Russian).
And one more:
Find // Error reading xml data
And add AFTER
echo "<br>XML Error: ";
echo xml_error_string(xml_get_error_code($xml_parser));
echo " at line ".xml_get_current_line_number($xml_parser)."<br>";
echo "<br>Data:<br>".$feeddata."<br><br>";
Now I will explain why I did so. I converted data from RSS to UTF-8 because xml-parser doesn't work good with my charset. So, when I converted it, it was better.
But second line I wrote, because XML-parser again said me about an error and it was some character '´'. I really don't know what is it, that's why I replaced it with a space.
And what about second block - it's only addition to make file cronrss.php speak a little bit about xml-errors =).
Oh, one more thing - you should also use this code modification to get back your charset:
// Create the Post
$msg_title_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = iconv("UTF-8", "YOUR-CHARSET", $msg_title_); //// NEW added Code
$msg_body = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = iconv("UTF-8", "YOUR-CHARSET", $msg_body); //// NEW added Code
Where YOUR-CHARSET is your forum charset =)
Sorry if my post is not so beatiful, ask me if you have any troubles with that ;)
Hi mate,
your explanation was very good, and Im in the process of attempting/testing this, but I am not literate in many things.
So my question is what is a charset ?
I initially thought it was the amount of characters added or something, but Im guessing Im wrong.
How would I know what my charset is?
Is it feed.poster.english So the language template is the charset??
Thank You in advance for sharing your knowledge :)
Charset is a collection of different symbols wich can be printed on your screen. It is something like coding different letters... Maybe you understand if I tell some names of charsets:
UTF-8 (Unicode)
cp1251 (Cyrillic)
ISO-8859-1 (WestEuropean)
You could know what charset you have from HTML code of the page:
...
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
...
As you see, there is UTF-8 charset in this forum page, but your RSS-feed can be another. Look at the HTML-code of it to know that =)
Ahhh thanks for that mate!
Thats why I enjoy coming here, there hasn't been a day when I haven't learnt something new.
Thanks once again genix :)
So where your code has every instant of UTF8, since nothing on my site is UTF8, should I remove that?
So the code would go from
$feeddata = iconv('ISO-8859-1', 'UTF-8', $feeddata);
TO
$feeddata = iconv('ISO-8859-1', $feeddata);
??
for text languages, here is something for you to "cut your teeth on" Sabre:
http://www.blooberry.com/indexdot/html/tagpages/text.htm
interesting reading.. and yes thanks genix ;)
This function "iconv" takes only three arguments, so if you remove something it will not work =). And you maybe don't understand the reason of using that function - it is to convert text from one charset to another (to UTF-8), because text in your charset couldn't be parsed.
So, for you (if your charset is ISO-8859-1) this line will be just
$feeddata = iconv('ISO-8859-1', 'UTF-8', $feeddata);
And in the another code-block you should the same replace only "YOUR-CHARSET" with "ISO-8859-1" and not delete anything else =)
Awesome!!
Thank You mate.
I tried both ways of doing it, and you are right, once I deleted the UTF8, it nolonger worked.
I will post back later to update you on the functionality of your code.
Looking into this code also made me see what I had to do to get the <html> function to work.
*slaps his own head at the simple solution
lol ;)
For those that may have missed it, in your Subs-RSS.php in your sources folder, you will see this code
/* if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
} */
remove the /* and */ so now the code is read, and looks like this
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
All images etc are showing perfect!! All html code is functioning as it should
Quote from: Sabre™ on November 30, 2008, 03:48:39 AM
Awesome!!
Thank You mate.
I tried both ways of doing it, and you are right, once I deleted the UTF8, it nolonger worked.
I will post back later to update you on the functionality of your code.
Looking into this code also made me see what I had to do to get the <html> function to work.
*slaps his own head at the simple solution
lol ;)
For those that may have missed it, in your Subs-RSS.php in your sources folder, you will see this code
/* if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
} */
remove the /* and */ so now the code is read, and looks like this
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
All images etc are showing perfect!! All html code is functioning as it should
I could swear I tried that and it did not work for me thats why I commented it out. Maybe I forgot another reason.
VB nice to see you posting here again. :)
Quote from: vbgamer45 on November 30, 2008, 03:47:33 PM
I could swear I tried that and it did not work for me thats why I commented it out. Maybe I forgot another reason.
Yeah mate.
I only uncommented that area after doing genix edits, and was in shock when I saw it actually now adds the [html ] tags lol
Maybe look over his edits bud.
I know you havent been far, just busy like everyone else ;)
Congrats on the new/latest release of your portal also.
yeah im glad he is taking to posting on this thread as well..
perhaps now, he would like to support his mod here, if im not mistaken''
no, im not "mad" over this, i have something in the works as well, but i have just had a death in my family, and the funeral is tomorrow. so hopefully if there is anything else, he can provide the support needed for his mod.
i would have taken it, but he didnt ever say yes.. its not nice to assume control over a mod that the mod author hasnt relinquished. ;)
nice to see you about vbgamer.
any chance you can offer some advice or point me in the right direction at least. I'm getting ( and others i believe ) double or sometimes triple posts.
presumably somewhere in the code either my server isn't noticing the feeds are duplicates, or some bug type issue. Anyway any assistnace would be massively appreciated.
thanks in advance.
smoky, i'll keep an eye out for your work :D
Hey guys, maybe you'll find interesting what I did with this mod.
I use this mod to copy news about my town from another news-site. There are many news about different events, but I need news only about my town. So, I wrote a small filter to stop publishing themes which I'm not interested in.
And also most RSS-feeds offer you only small news-text and if you want more you should follow the link to their site. But it is not comfortable for me to make a link-garbage from my forum. So, I wrote small addition that copies all the news-text from the link and posts to my forum. But to use that you need to know tags-brackets inside those is the text you need. Always it is something like .......<span class="news-text">TEXT_WHAT_YOU_NEED</span>.......
So, here is my added code:
Find
$msgOptions = array(
'id' => 0,
'subject' => $feed['topicprefix'] . $msg_title,
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
'icon' => 'xx',
'smileys_enabled' => 1,
'attachments' => array(),
);
$topicOptions = array(
'id' => 0,
'board' => $feed['ID_BOARD'],
'poll' => null,
'lock_mode' => $feed['locked'],
'sticky_mode' => null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $feed['ID_MEMBER'],
'name' => $feed['postername'],
'email' => '',
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
);
createPost($msgOptions, $topicOptions, $posterOptions);
And REPLACE with this if you want =)
// Add news only if words exist inside
if(strpos($msg_body,'SOMETHING_HERE')||strpos($msg_body, 'OR_SMTH_HERE'))
{
echo "<br>Link: ".$context['feeditems'][$i]['link']."<br>";
$curl = curl_init($context['feeditems'][$i]['link']);
curl_setopt ($curl, CURLOPT_RETURNTRANSFER, true);
$contents = '';
$contents = curl_exec ($curl);
curl_close($curl);
if ($contents!='')
{
echo "File opened<br>";
}
else echo "not opened<br>";
$fullbody = explode('<span class="news-text">', $contents);
$fullbody2 = explode('</span>',$fullbody[1]);
$msg_body = $fullbody2[0];
echo "<hr>".$msg_body."<hr>";
$msgOptions = array(
'id' => 0,
'subject' => $feed['topicprefix'] . $msg_title,
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
'icon' => 'xx',
'smileys_enabled' => 1,
'attachments' => array(),
);
$topicOptions = array(
'id' => 0,
'board' => $feed['ID_BOARD'],
'poll' => null,
'lock_mode' => $feed['locked'],
'sticky_mode' => null,
'mark_as_read' => true,
);
$posterOptions = array(
'id' => $feed['ID_MEMBER'],
'name' => $feed['postername'],
'email' => '',
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
);
createPost($msgOptions, $topicOptions, $posterOptions);
}
So, now I need only to delete what I don't need and so on =)
Do I need to run a cron for this?
I haven't seen anything in the few pages of this topic that I looked in.
genix
You sir are a breath of fresh air, and Im happy you share your edits :)
Your ideas are that of which I have had similar thought.
With the above code, does it follow the link to the full story, and print the whole thing?
Where your code has
if(strpos($msg_body,'SOMETHING_HERE')
would mine would be ?
if(strpos($msg_body,'martial_art')
For multiple words, do we separate with _ ?
eg...
if(strpos($msg_body,'martial_art_kung_fu_aikido')
Cheers
Smoky, I'm sorry for your loss. :(
As for the Mod you put a lot of work into this as well as your own. I still hope you release, you put too much effort into it not too. Ill be keeping an eye out for your mods and themes.
TheDisturbedOne, I haven't had a chance to try out the latest version of the mod so I don't know if the fake cron is working or not. VB hasn't mentioned so I plan to test it out sometime this week.
genix that is an awesome idea you have there Ill have to try that out. That and the HTML fix you posted earlier just might help me with some of the feeds I use that don't post correctly.
thanks Garou, im swamped with family and half i didnt even know of.
as for my mod, it will be released soon after the holidays as its begining to look like this "party" at my house wont end.
i do appreciate everyone's interest and help with this mod and i would like to see it grow.. till then lol keep pluging away and i will try my best to have something decent if not for the beta/rc.. ;)
Smoky, I sympathize you with your loss in family.
Quote from: Sabre™ on December 01, 2008, 06:28:22 PM
With the above code, does it follow the link to the full story, and print the whole thing?
Hmm yep, it will follow the link wich in $context['feeditems'][$i]['link'] and copy all the text from tag <span class="news-text"> to the tag </span>. Look to the HTML code of your full page to know which tags you should put there. If you have trouble with this, give me a link I will explain)
Quote from: Sabre™ on December 01, 2008, 06:28:22 PM
Where your code has
if(strpos($msg_body,'SOMETHING_HERE')
would mine would be ?
if(strpos($msg_body,'martial_art')
For multiple words, do we separate with _ ?
eg...
if(strpos($msg_body,'martial_art_kung_fu_aikido')
No, the text should be the same as it in the news-text. So, if it is spoken about martial art, I think it will be just 'martial art' separated the same as in the text - with spaces.
But if you wnat to be posted news about kung fu and martial art, you should write smth like
if(strpos($msg_body,'martial art')||strpos($msg_body, 'kung-fu'))
Quote from: Garou on December 01, 2008, 09:51:42 PM
Smoky, I'm sorry for your loss. :(
As for the Mod you put a lot of work into this as well as your own. I still hope you release, you put too much effort into it not too. Ill be keeping an eye out for your mods and themes.
TheDisturbedOne, I haven't had a chance to try out the latest version of the mod so I don't know if the fake cron is working or not. VB hasn't mentioned so I plan to test it out sometime this week.
genix that is an awesome idea you have there Ill have to try that out. That and the HTML fix you posted earlier just might help me with some of the feeds I use that don't post correctly.
How would I set up a real cron though, if the fake cron may not work.
Quote from: TheDisturbedOne on December 02, 2008, 03:26:05 PM
How would I set up a real cron though, if the fake cron may not work.
You can set it up in your cpanel. In this topic were many issues about that, use search , maybe? =)
Search didn't help:
http://www.simplemachines.org/community/index.php?action=search2;search=cron+job;topic=141776
hmm.. had you scrolled back 2 pages on this thread lol..
here ya go: http://www.simplemachines.org/community/index.php?topic=141776.msg1810667#msg1810667
now mind you cron jobs are different as your hosting is.. if this one wont work, then search the thread some more or if you like, or google for free cron jobs and there are sites that can help as well..
cheers!! ;)
Thanks. I didn't know if it was 2 pages back or 20 pages back. These topics are too big.
And the search function didn't help :P
i know.. lol.. and no biggie.. good luck!! ;)
Ok, i have a problem. I would like reading my "XY" email inbox content in my topic. How? RSS Feed Poster can't reading my gmail inbox. Why?
Gmail Inbox RSS: https://username:
[email protected]/mail/feed/atom
Gmail Guide:QuoteI can't view my mail in my aggregator
Most problems in viewing Gmail messages with an aggregator can be traced to a few common causes. If you're experiencing problems, please check the points below. Also keep in mind that Gmail messages won't appear in your aggregator unless there are unread messages in your inbox.
Did you enter the feed information correctly?
Make sure you entered https://mail.google.com/mail/feed/atom in the URL field. Also, verify that your Gmail address and password are spelled and formatted correctly.
Does your aggregator support Gmail?
Your aggregator must support ATOM 0.3, SSL/https, and HTTP authentication in order to work with Gmail.
Have you tried reformatting the feed link?
We've found that some aggregators work with Gmail if users change the feed URL to include their Gmail username and password. You may want to try using the following format for your link URL: https://username:[email protected]/mail/feed/atom. Please be aware that this link format makes your password visible in your aggregator's subscription list.
If none of these steps resolve the problem, please contact your aggregator's support team for help diagnosing the issue.
Source: http://mail.google.com/support/bin/answer.py?hl=en&answer=13475 (http://mail.google.com/support/bin/answer.py?hl=en&answer=13475)
Please help. What is the problem? It is very important for me. :(
Somebody? :( Please... The success of my website is founded on this. :(
Hi DirtRider!
I would like post my all gmail inbox messages to my topic. I set this https url in the feed settings, but can't work. :(
All of my web page is unnecessary if I can't make this be set.
Quote from: none80 on December 03, 2008, 11:27:33 PM
Ok, i have a problem. I would like reading my "XY" email inbox content in my topic. How? RSS Feed Poster can't reading my gmail inbox. Why?
Gmail Inbox RSS: https://username:[email protected]/mail/feed/atom
Gmail Guide:
QuoteI can't view my mail in my aggregator
Most problems in viewing Gmail messages with an aggregator can be traced to a few common causes. If you're experiencing problems, please check the points below. Also keep in mind that Gmail messages won't appear in your aggregator unless there are unread messages in your inbox.
Did you enter the feed information correctly?
Make sure you entered https://mail.google.com/mail/feed/atom in the URL field. Also, verify that your Gmail address and password are spelled and formatted correctly.
Does your aggregator support Gmail?
Your aggregator must support ATOM 0.3, SSL/https, and HTTP authentication in order to work with Gmail.
Have you tried reformatting the feed link?
We've found that some aggregators work with Gmail if users change the feed URL to include their Gmail username and password. You may want to try using the following format for your link URL: https://username:[email protected]/mail/feed/atom. Please be aware that this link format makes your password visible in your aggregator's subscription list.
If none of these steps resolve the problem, please contact your aggregator's support team for help diagnosing the issue.
Source: http://mail.google.com/support/bin/answer.py?hl=en&answer=13475 (http://mail.google.com/support/bin/answer.py?hl=en&answer=13475)
Please help. What is the problem? It is very important for me. :(
did you follow everything that was said to do?
do you have any unread mail?
Did you enter the feed information correctly? Does your aggregator support Gmail?
What agregator are you using? Feedburner or other? does it support gmail?
Have you tried reformatting the feed link?
if you have tried everything, re trace your steps and what ever feeder you are using, (again feedburner etc.,) check with them to see if they support reading your mail.. ;)
also read here:
http://mail.google.com/support/bin/answer.py?answer=13467&ctx=sibling
I dont understand you! My feed aggregator is "RSS Feed Poster v1.1" mod for SMF! Thats my problem! This gmail url working in Opera Browser! I see my gmail inbox content on my Opera Browser RSS feed reader, but in RSS Feed Poster not working. Any settings is ok in my gmail feed url. Gmail username and pass is set. RSS Feed Poster v1.1 support the https feed URL's?? I think, thats is my problem.
Sorry for my pure English.
Quote from: none80 on December 04, 2008, 01:09:37 PM
I dont understand you! My feed aggregator is "RSS Feed Poster v1.1" mod for SMF! Thats my problem! This gmail url working in Opera Browser! I see my gmail inbox content on my Opera Browser RSS feed reader, but in RSS Feed Poster not working. Any settings is ok in my gmail feed url. Gmail username and pass is set. RSS Feed Poster v1.1 support the https feed URL's?? I think, thats is my problem.
Sorry for my pure English.
no. this is where you are wrong: "My feed aggregator is "RSS Feed Poster v1.1" mod for SMF! " the rss feed poster is not a agregator. again:
http://mail.google.com/support/bin/answer.py?hl=en&answer=13475
an agregator is something that takes a url/link/info and puts it into a "rss" script. like feedburner, i dont think feedburner is on the gmail's acceptance list, but the link in this post has a few that you can use, according to your server and site. failure to use them will result in a "no show" or other weird/odd postings.
making sense now? :)
i gave you, based off the link
you posted up on this, the accepted agregator for gmail.
Quotemaking sense now?
Yes, i understand. :D
meantime...
I registered the feedburner.com. I added my gmail url, and catch this:
http://feeds.feedburner.com/Gmail-InboxForCryptjimgmailcom (http://feeds.feedburner.com/Gmail-InboxForCryptjimgmailcom) test it (it's not important emailbox)
I added this new url to SMF Feed Poster. But... Not posting this rss content to my topic. :) Please check this rss link. Working for you?
Thanks! :)
this is what i see
so looks like feedburner does do gmail.. ok up to you if you want to continue with it or pick from the "accepted" list gmail provided. ;)
Just wanted to say that with all your combinations here, i was able to combine this RSS mode with a powerful third party tool to automate RSS process....I am happy to say i dont have problem anymore with rss..all i have to do is wake up in the morning and run my batch from a third party..it looks like its posted by diffrent people but its actually comming from me. My site is new but i cant wait to load it with contents....for more information click on any country at my site
glad to hear that larger_20..
congrats on your site.. ;)
Quote from: SmokyBlue on December 04, 2008, 05:56:09 PM
glad to hear that larger_20..
congrats on your site.. ;)
Smokey i have a question though..It looks like only line one is shown in the result of my feeds...Is there a way I can edit the code to show say up to 5 lines from a news feed?
wrong person DirtRider lol.. but that is ok.. :P
@ larger_20
i would need to see the feeder in action and to check if you have things set up right.
sometimes you are at the mercy of what feeds you get, as they are really the ones that determine how they will produce the outcome.. make any sense?
if you cant figure it out, i guess post them up here, and if i can will take a peek.. ;)
Works for me on 1.1.7 - only problem i get is if i need to edit/delete feeds - i get an error page:
Quote
Method Not Implemented
GET to /forum/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Does anyone know if this is a mod error or a server error? My forum directory is set to permission 755 - at 777 the site returns a 500 error page.
This is a post i made earlier: http://www.simplemachines.org/community/index.php?topic=141776.msg1817856#msg1817856
Quote from: SmokyBlue on December 05, 2008, 03:10:44 AM
wrong person DirtRider lol.. but that is ok.. :P
@ larger_20
i would need to see the feeder in action and to check if you have things set up right.
sometimes you are at the mercy of what feeds you get, as they are really the ones that determine how they will produce the outcome.. make any sense?
if you cant figure it out, i guess post them up here, and if i can will take a peek.. ;)
Okay for example
http://www.mideasthub.com/index.php?PHPSESSID=hgj03rndei67olqr6dkha85r32&topic=364.0
It shows only line one and partly line two..is this my fault or the fault settings of the source?
lol DirtRider.. you do.. ;)
@ larger_20..
Quote
It shows only line one and partly line two..is this my fault or the fault settings of the source?
i think with what you have and when i clicked to view more, it is the source, and i feel you can do better than that.. just digg around, experiement and you will see what im talking about.
@ Youngiiie..
it looks like your server isnt liking things too well, you shouldnt be having an error when deleting a feed.. im not sure, as i dont get the error and i know that this mod reacts to different things.. how do you have your cron job set up??
Quote from: SmokyBlue on December 04, 2008, 03:25:38 PM
this is what i see
so looks like feedburner does do gmail.. ok up to you if you want to continue with it or pick from the "accepted" list gmail provided. ;)
Hi SmokyBlue! (again) :)
So.. You see, FeedBurner.com link working in Opera, Outlook, IE7, Firefox, but in SMF RSS Feed poster not working. Why? Yes, i know.. I am stubborn. But if this doesn't working in SMF, i can't using SMF in my site, and must be uninstall it. :( But i dont like this idea. Please... any solution. :(
link to your site admin test acct please..
send it via a pm and when i get a chance tonight i will take a peep at it all..
also do you have the cron via cpanel or? if so, i will need that as well.. :)
larger_20, did you get it configured?? ;)
none80 will be on your site in a few minutes.. :)
I run my batch it works as you can see LOL however news source provided wants me to pay them to release the full swing..It might worth it though if u look at the longer term potential...especially seeing the google bots on my site daily makes me happy...None08..i cant wait to see you :)
its up to you larger_20, there are free ways of that as well..
as far as none08 he tested it out with vbulletin????
not sure on that at all.. i do know they have a rss poster but we are smf so..
if he gets stuck he can either post here or contact me.. either way.. :)
I am aware of "Other means" LOL however that site seems to be more comprehensive and organized. I did my research well..at least ...Unless you are referring to a way to bypass their index.php conditions to get the full swing but that will be violation of user agreement...will put you in a lot of trouble..
im not referring to that at all.. :o
i got a message from none08 saying he tried it out on vb.. no further explanation. just this:
QuoteVery thanks for your helps! I tested in Vbulletin this funktion, and working correctly. Sorry for your time! Many thanks again!
i dont know if that is what he did or if he is using the vb version of it, but i know that there is one rss poster out there for any forum version.. as well as blog.. ;)
Don't work for me ...
No errors on installation, but when I add an RSS source I have "EMPTY TEXT" ( no body on topic )
I have configured and working FSOCKOPEN and FOPEN and nothing appears...
I see in the code, and all is ok, but just don't work. tested with many RSS sources ...
Must I shoot on my own head ? ...
Must I have more pacience ? ...
Must I dedicate to "sell candies " ? ...
:D
clarification for smf there is one rss poster, for vb, ipb phpbb, they all have their own posters..
makes send now? 8)
candle seller.. :o
does your host allow for f sock open? can you run the treasury mod with any issues? how did you configure the cron job? you should try and the all option and create your own cron job using the cpanel. if you dont have this option, then google for free cron job and you can run it that way as well ;)
I've been watching this topic for a while. Any chance of a 2.0 compliant version? It's seems that vbgamer45 has stopped development on this mod. The success of my site depends on it and my site depends on SMF 2.0 as well.
i have been working on one for the beta but i probably wont release mine till it comes out of the beta..
i know vbgmaers mod but he has yet to release it to me, so therefore i can only offer support.. ;)
Quote from: SmokyBlue on December 05, 2008, 11:55:46 AM
lol DirtRider.. you do.. ;)
@ larger_20..
Quote
It shows only line one and partly line two..is this my fault or the fault settings of the source?
i think with what you have and when i clicked to view more, it is the source, and i feel you can do better than that.. just digg around, experiement and you will see what im talking about.
@ Youngiiie..
it looks like your server isnt liking things too well, you shouldnt be having an error when deleting a feed.. im not sure, as i dont get the error and i know that this mod reacts to different things.. how do you have your cron job set up??
Yeah - the feeds are working and cron set up, posting and adding is fine it is just when i try to edit or remove a feed it churns that error? I don't mind changing things via the DB but it is just long winded - I was wondering if I might have missed something when I installed the file - as I am using a theme that is different to the default I only changed the language files (Modifications.english.php/Modifications.english-utf8.php) - do i need to change/add any other files or provide permissions to them - my server only tolerates 755 so not sure that is something to do with it?
UPDATE: I tried moving the new files that are placed into the default theme and default theme language dir and still no change and then i tried to change their perms from 666 to 755 - still no change :(
this is the mods edits to the custom theme:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=624;attach=48853;smf_version=1.1.7
please make sure you have the rss languages and the template included in your theme..
does it create the error on default?
the 755 should be fine, if you cant go 777..
Quote from: SmokyBlue on December 07, 2008, 11:13:25 PM
candle seller.. :o
does your host allow for f sock open? can you run the treasury mod with any issues? how did you configure the cron job? you should try and the all option and create your own cron job using the cpanel. if you dont have this option, then google for free cron job and you can run it that way as well ;)
Yeah ... :(
fsock is open ... I just tried by running cronrss manually ...
With option ALL same problem ...
I decided ... I'll sell candies.
If you like, I have strawberry and grape candies at 50% OFF !! :)
Thanks for helping !
lmao!! ok next step is to see if your host allows you to use it.,
if not you need a new host.. ;)
Yes ... It's my server ... And, my server allow to use it.
I tried with this and it works:
<?php
$fp = fsockopen("www.clarin.com", 80, $errno, $errstr, 30);
if (!$fp) {
echo "$errstr ($errno)<br />\n";
} else {
$out = "GET / HTTP/1.1\r\n";
$out .= "Host: www.clarin.com\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
while (!feof($fp)) {
echo fgets($fp, 128);
}
fclose($fp);
}
?>
So, I confused ... :(
Quote from: SmokyBlue on December 08, 2008, 02:10:29 PM
this is the mods edits to the custom theme:
http://custom.simplemachines.org/mods/index.php?action=parse;mod=624;attach=48853;smf_version=1.1.7
please make sure you have the rss languages and the template included in your theme..
does it create the error on default?
the 755 should be fine, if you cant go 777..
Still no change - it does the same on default theme too?
perhaps vbgamer has a fix for you guys..
currently im trying to get mine running with the beta..
he should be able to lend a hand with this. ;)
I installed this the other day and everything went smooth, posts started showing but then it just stopped posting, i haven't changed a thing, any help?
did you check on your cron job Zepia1?? :o
also check your feeds.. if they arent posting anything you wont get anything ;)
My Cron was set up ok, it might be the feeds.
What you described sounds similar to some of the issues people were having with the fake cron. If your using a cronjob make sure fake cron isn't enabled.
Outside of that I have to agree with Smoky that its most likely in the feed itself.
On a side note...
Those that were wondering what the differences are between the newest upload and the last...
I compared the two files with WinMerge and they are completely identical. So all the problems we had before we should be having now. Sorry all. :(
Quote from: Zepia1 on December 13, 2008, 03:06:40 AM
I installed this the other day and everything went smooth, posts started showing but then it just stopped posting, i haven't changed a thing, any help?
Same here. How often should I run the crons? I have the crons set to 1 hour and the feeds are different (ranging from one hours to 6 hours). It posted twice (2 different feeds) then didn't post again. I checked and theres still stuff showing on the RSS feed.
a slow feed will slow your poster..
alos you can set it as high as you want.. one hour to 8, hours either way..
but you must remember, you are at the rss feeds mercy.. ;)
Well everything shows up on the feed, but it doesn't get posted. This has to do with my crons right?
mmkay..
so the feeds you have, you verified each one and they are producing feeds correct?
then check your cron, is it the fake or in the cpanel area?
if its the cpanel, do you have the timing, dates and months set to at least once a day??
can you take a image of the cron job you have set up in the cpanel?
if this helps, here is a snapshot of mine.. let me know.. ;)
Hi. I'm in the same boat. I started a new forum (mamafriend was my first forum for my wife).
The new forum is FantasyFullback.com
Anyhow, I installed the mod to the default theme using 1.17, and used the fake cron jobs. It went perfect, posted away.
I then went to add more feeds, and didn't like how the HTML was posting, so I edited a few options, added a ton more feeds, and NOTHING. I got no new posts.
Someone mentioned a problem with the fake cron jobs? I have cpanel hosting, and can set up a real cron job, how do I do so? Do I just enter the cron job url plus timing settings, or is there a specific code string plus the url that I need to enter....?
I apologize, I'm getting better at this as I go, but I'm still figuring things out. I've been an HTML coder and mostly graphic design forever, so PHP is newer to me.
Any help would be awesome. I'm assuming the fake cron option is just wacky, and I need to set up a real cron on cPanel.
Thanks.
EDIT: Oh, one more thing, not a big deal, just ultra annoying:
Using the default theme, the link to the RSS feed options didn't show up, there is a space for it, just no clickable link, so I had to bookmark the URL to access it each time, quite annoying. I read over the install files and didn't see where in the code it should have been placed? Any help would be awesome, thank you.
Hi,
This is what I did to get it working mate !
Access your Cpanel and scroll to the bottom of the page where you should find "cron jobs" If not there then request your hosting company to enable it for you.
Add what is in blue below to your cmd line, obviously adjusted with your own details. You will also need to set the timings for updates, but that is fairly straight forward ie I set mine to every 4 hrs, * (=everyday), *(=every week), *(=every month). You will see the relevant boxes for this when you access it through Cpanel.
/usr/local/bin/php -q /home/*******/public_html/forum/cronrss.php >/dev/null 2>&1
Replace the asterix with your details as supplied by your hosting company, "public_html" is my root folder so you may have to change that also if your root folder is different ? After talking to my hosting company it would seem that cron is often disabled by default, so please ensure that yours is enabled. Oh & one last bit of info, the >/dev/null 2>&1 on the end will stop it emailing you everytime it updates...?
I was having great difficulty getting this mod to work, but this is what I did to cure it ! Hope you find it useful
Regards Taffy ;D
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=03af04f83d17402c3c5fdfac8639232f5f0aa2e5) (http://"http://www.diy-pc-fix.com")
Thanks for the quick reply. I will update and try it. I will let you know. Thanks!
Maybe I'm jumping the gun, as I know sometimes there is a delay, but the first time I set things up it was an instant bot post...
However, I set up the Cron jobs, and looking into my file location, this is the path I used:
/public_html/forum/cronrss.php >/dev/null 2>&1
Nothing happened immediately. I don't believe I need a more direct address...
Also, in the RSS Feed admin, it shows me this as the Cron Job URL: http://********.com/forum/cronrss.php, can't I just add that directly? (obviously with the ***** replaced)...
And, what feed download method should I use? I have it set to ALL. I'm sure my cron job is enabled, as this Mod worked initially, and I was able to edit cron job...
Thanks
Ok as I said earlier, this is the command line entry that I used;
/usr/local/bin/php -q /home/*******/public_html/forum/cronrss.php >/dev/null 2>&1
So I would suggest you copy and paste the whole lot & then just remove the asterix & replace with your details. Oh and if you remove /dev/null 2>&1 from the end of the command line, it will email you whenever it triggers. This will either confirm it has carried out the command or it will indicate an error !
Yes for download mine is also set to "all".
Also all the feeds I use have a default 4 hour refresh rate, so this is why I used the 4 hour timings when setting up my cron job.
Finally if my memory isn't playing tricks on me, once setup correctly, if you paste the following into your browser then it should trigger your cron job straight away;
http://www.your-domain.com/forum/cronrss.php
You should then recieve an email saying either it completed the task or there was an error.
Thats about the best I can do on a belly full of Philippino Rhum sorry ;D
Hope you get it sorted !
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=03af04f83d17402c3c5fdfac8639232f5f0aa2e5) (http://"http://www.diy-pc-fix.com")
it just takes a bit of searching thru this thread to find out what exactly to do..
hope you get this sorted MamaFriend, and if not, i would ask your host if the f-sock is open.. as some hosts prefer that it isnt..
also you are dependant on the feeds for your poster.. ;)
Thanks.
When I try to point my browser to http://www.your-domain.com/forum/cronrss.php I get an error.
Would I put the direct url into /usr/local/bin/php -q /home/*******/public_html/forum/cronrss.php >/dev/null 2>&1?
For example, /usr/local/bin/php -q /home/www.fantasyfullback.com/public_html/forum/cronrss.php >/dev/null 2>&1
Or no? I'm sorry this isn't clicking for me.
I would just wait it out but when I try http://www.your-domain.com/forum/cronrss.php I get an error, and this is sort of a test...so odds are it isn't working?
Whats odd is that it worked initially?
Also, I have a minutes option, I'm guessing I set that to zero?
Oh, I'm getting a 500 Internal server error and additionally a 404 Not found error
It was easier than expected, set file permissions to 755, duh.
Thank you everyone for your help!
Much appreciated :)
glad it worked out for you MamaFriend..
some servers use the 755 and others use 777..
just depends i suggest if anyone has issues to try it all out..
and remember when you are finished and have everything working right, do a full backup of the site... ;)
Quote from: SmokyBlue on December 14, 2008, 05:33:01 PM
mmkay..
so the feeds you have, you verified each one and they are producing feeds correct?
then check your cron, is it the fake or in the cpanel area?
if its the cpanel, do you have the timing, dates and months set to at least once a day??
can you take a image of the cron job you have set up in the cpanel?
if this helps, here is a snapshot of mine.. let me know.. ;)
I have one in cpanel
http://img355.imageshack.us/img355/4007/cronmz9.png
try this:
http://www.simplemachines.org/community/index.php?topic=141776.msg1810667#msg1810667
as there are a few ways for this to work, if you read thru this thread, they have already been discussed.. ;)
So
wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php
Would be the command to run?
:-[ ?? ::)
wget -t 4 --delete-after http://www."place your web sites address here".com/forum/cronrss.php
this is what i have in mine, exactly how i put where the link to my file is.. if this does not work, then you can search the rest of the thread for the other version..
/me wondering why vb isnt answering some of these.. :P
TheDisturbedOne,
I just tried to run the cronrss.php on your site and it looks like they don't have fsockopen set up on the server listed in your sig. Try setting your Feed download method for curl. Setting it for "All" should skip through to each method if it doesn't work but for some reason it looks like its not.
/me gives Smoky a wolfish grin. ;)
and if it wont go, you need to talk to your host about it..
if they wont open anything for you, then its time you found a new host..
after all, hhow are you going to run the treasury mod or anything requiring the f sock open?? :P
/me winks back at Garou ;)
Quote from: Garou on December 16, 2008, 10:13:09 PM
TheDisturbedOne,
I just tried to run the cronrss.php on your site and it looks like they don't have fsockopen set up on the server listed in your sig. Try setting your Feed download method for curl. Setting it for "All" should skip through to each method if it doesn't work but for some reason it looks like its not.
/me gives Smoky a wolfish grin. ;)
Thanks. I will post here if it doesn't work. Amazingly I am on a free host (and got the domain for free), but I also have 12 months of paid hosting which I don't use (I won it in a contest, but I can see the company going down anyday now).
Sorry for not wanting to sort through 62 pages to find this, but is this mod compatible with SMF 2.0 Beta 4? It says it isn't on the mod page, but I figured I'd ask anyway. I really need an RSS Injector for my forum.
Does not work for SMF 2.0 yet
dont know bout you vbgamer, but im having a few issues on some files for the beta, to get it going.. :P
@ shanksta13:
try a spring widget using a portal for the beta, might solve your issues for wanting a rss feeder temporary till it can be sorted.. :)
Have been trying all day to make feed poster work, but so far no success, just now I noticed that it is no longer supported, is there a recommendation for a similar package that will provide more or less the same function?
When I go though the installation process it seems to succeed, and I see a screen that appears to allow me to set up a feed once. However when I navigate away from it I cannot get back to it when I try going though newsfeeds>settings menu selection.
When I check my error log I get the following
Apply Filter: Only show the error messages of this URL http://exreps.com/Forums/index.php?action=admin
Apply Filter: Only show the errors with the same message
8: Undefined index: smfrssposter_admin
File: /home/exreps/public_html/Forums/Sources/Subs.php
Line: 2738I took a look at line 2738 in Subs.php and did not find anyting that suggested a fix.
I think I need to get the admin screen working before I can attempt to get anything else working, all suggestions appreciated in advance
jayr
[email protected]
Mine still doesn't work.
i will be starting to work on mine again.. as soon as i get a few clients squared with their sites..
as far as this mod goes, it is vbgamer's. he has it saying on the mod site, that its no longer supported, and therefore you should use at your own risk..
all the details can be found thru this thread to make it work, if you have gone thru them all, and its not working on your site, im not sure what to tell you, as i do not have access to your site.. and im not sure when i will be free to do so..
i will try to have my own rss feed poster for the beta, but at this time, again, this mod is vbgamers..
Quote from: SmokyBlue on December 28, 2008, 02:49:31 PM
i will be starting to work on mine again.. as soon as i get a few clients squared with their sites..
as far as this mod goes, it is vbgamer's. he has it saying on the mod site, that its no longer supported, and therefore you should use at your own risk..
all the details can be found thru this thread to make it work, if you have gone thru them all, and its not working on your site, im not sure what to tell you, as i do not have access to your site.. and im not sure when i will be free to do so..
i will try to have my own rss feed poster for the beta, but at this time, again, this mod is vbgamers..
Thanks!
Quote from: DirtRider on December 28, 2008, 01:34:21 PM
If you are looking for any sort of support on this mod I suggest try here http://pixelbypaint.com/beta/index.php (http://pixelbypaint.com/beta/index.php)
I guess that I am just puzzled at this point. This looks like it might be a useful mod, and one that I might not be unwilling to shell out a few bucks for.
But it looks like after spending a year or so on it, the developer is walking away from it, and stranger still no one else seems to be interested in writing a compareable functionality.
In my case, I figured out a temporary work around getting to the admin config page, I installed one feed, and it loaded once. Later on I attempted to add a second feed, and it never loaded, the first feed contunutes to refuse to update.
At this point, "life is too short" is starting to kick in, am thinking my time is better spent looking around for other features that actually work, and that will add some zing to my system.
JayR
Jay, I have a request at the link below where I'm offering $$ for someone to build a NEW RSS Feed Mod, instead of trying to get this one to work. If you're also willing to offer $$, feel free to post it up. Maybe if enough of us are willing to offer some $$ someone will build it...
http://www.simplemachines.org/community/index.php?topic=281900.0
funny.. i thought i was supporting at least the working functions of this mod..
i am working on one for the beta, but vbgamer has not turned this one over to me as of yet, so..
again if you need help, you can dig thru this topic, or visit my site or pm me..
either way, im flexible.. ;)
I do not turn over any of my mods for various reasons.
no offense vbgamer.. :)
but if you arent supporting it, or upgrading it, wouldnt it be good to give it to someone that will appreciate it and update the mod??
and i have been asking of this from you for the last however month(s) and just now getting a response.
i am not trying to step on your toes, i have asked here, on this thread, via pm here and on your own site, with no response what so ever until now. i do enjoy the mod and would love to see what it could offer in the future for smf.. and other mods that could use/benefit from it. you arent the only one that has this mod going, vbulletin, ipb, phpbb, and wordpress has this mod as well, just a matter of tinkering with it the right way. i theme for them so its just a little bit of effort for the rss poster.. but yet this mod isnt supported anymore.
all this is on you, as i have said, since i havent gotten a response, until now, is that i will create my own.. its taking me a minuet as i do have my fingers full with clients i do support on my site, but i am making progress.. would have been nice if we could have talked this over, but since you are still claiming the mod, i suggest to clear the "non support" message from the mod site, and do with this mod what you will.. i know you have a few that dont understand how to run it, i know the information as been written over and over, here, your site, mine and other places, but unless someone helps out with this mod, or gives hints as to update etc., i see it dying.. and that is sad.
KahneFan, DirtRider, all the posters here on this thread, and well i could name almost my entire site members as well, we all want the mod to work.. i figured it out, and if i can lol.. i know most anyone else can too. ;)
please let everyone know your intentions for this mod.. will it live to see the beta, or do i plug away on mine?
Plan to update to SMF 2.0 once it goes final.
sounds like a plan vbgamer, and i do wish you good luck..
now i will step back and let you support your mod..
mine is still in the works, so.. ;) laterz..
unless you want to see what all i have for it so far.. but then i'd have to make you a co mod author and im not too sure you would like that so.. but if in case, you know how to reach me..
I still won't provide any support for the modification I will just update. I do not have time nor energy to support mods but I prefer to create them.
Support I believe should come from the community since they are free. There is no way I could manage all the mods I have they are way too large
that is another topic all together vbgamer.. ;)
Quote from: vbgamer45 on December 29, 2008, 08:20:11 PM
I do not turn over any of my mods for various reasons.
Quote from: vbgamer45 on December 29, 2008, 09:06:54 PM...I do not have time nor energy to support mods but I prefer to create them.
Support I believe should come from the community since they are free...
vb, I have the utmost respect for anyone offering a mod here, so please understand this is meant with no ill feelings, but these two statements are hard to put together. You like to offer mods, but not support them, and then don't like for people to take them over to make them work. Again, understand I mean nothing bad, just an observation.
Exactly people can use the modification. If they want support from me they should pay for it since that is the open source model. Otherwise the modification is as is and is supported by the community.
Quote from: vbgamer45 on December 29, 2008, 09:32:15 PM
...If they want support from me they should pay for it ...
Understood. With that being the case, have you had a look at my Paid Thread (http://www.simplemachines.org/community/index.php?topic=281900.0)? It's not much, but it's all I can offer right now.
Yeah that's a whole new modification. I take paid jobs for new mod creation but they start at $500 paid at least partly up front. or I can do hourly support at $50 an hour.
I disagree with your reasons on not giving mods away and support. If SMF was to have the same reasons for making it freely available it would not be what it is today with the support of the people who make it. Just my $.02 anyway.
I used do that but never got any support really for additions or help with the mods. Tried donations failed. I might just take all my mods paid might be better off.
hmm and i havent helped with suppporting this one? okay..
i am sorry you feel this way vbgamer, i really am.. :'(
Quote from: vbgamer45 on December 29, 2008, 09:38:07 PM
Yeah that's a whole new modification. I take paid jobs for new mod creation but they start at $500 paid at least partly up front. or I can do hourly support at $50 an hour.
Then I humbly suggest that if your doing so good and your worth so much than please stop misleading people to think you'll assist with a package and simply pop it on a paid to download site rather than dumping something that has issues and then switching up by saying (not a direct quote here) "The paid version has far better support & fewer issues". Its just wrong to slap a person for doing what your indicating to do in a free community just so you can make a fast buck. If you cant back it then dont publicize it and if your no longer backing it then give up the reigns or pull it down.
But then.. everybody has an opinion and this is just mine..
Sorry people but I will no longer be offering my support for this mod.
Smoky Ill be keeping an eye out for your mod as I find the concept of this a necessity for many sites. Due to recent comments I can no longer back this one.
VB If you really wanted to make money off of this then the smart thing to do would have been to offer the Fake Cron functionality as a paid extra like you do with your mods. Offer the basic for free and the better version for cash. Ive always disagreed with that concept since SMF itself is free but I kept my mouth shut as even the free versions were very helpful to the community at large. However your very public smack down against people who are not paying you sickens me.
I suggest that if you just want money don't make mods for programs that are offered to the public freely. You should just be making all your own stuff from scratch.
i say let it stay, let vbgamer support it.
if he doesnt have time to support it, he should release it.. if he cared about the mod at all.
if he wants to turn it paid, that is on him, and anyone that would pay for it..
its odd, but all the other forums, and the blog communities do not charge for the mod *as i am aware of*
i know some people do place this type of mod high on the types of sites its used on.. i know i did.
i do understand on the time involved to create a mod, and the time to support it. but the fee that vbgamer has mentioned, perhaps if everyone charged what he has brought to the table, no one will spend 500, on just a mod adjustment to make someone else happy. im guessing he doesnt want to really help at all.
i do not know what the policy is for making a mod and not supporting it is.. i think it could be considered abandoned. in that case, perhaps the mod should be either auctioned off for the people more apt to do provide at least a "functioning" type, or it should be allowed to die.
this is what im thinking after thinking things thru.. i will still create my own, and it will be for beta and up.. as this one is still working for the 1.1.7 and all the information ins here in this thread with the help of those, besides me, that helped with the mod.
i do appreciate all donations on this, thank you DirtRider.. and there was one other person that donated, and with the amount of encouragement here that has gone on from last night to today, the feed poster will be living again soon, with total support, starting at the beta level..
Please stop posting in my mod topic this stuff is really off topic
Can someone help me...?
I'm running SMF 1.1.7 and i have instaled this mod yesterday...
But it doesnt posting anything...
Nothing in forum error log...
Can u pls tell me what to do?
Does anyone have a link to your forum to view demo?
Quote from: Dzonny on December 30, 2008, 02:54:55 PM
Can someone help me...?
I'm running SMF 1.1.7 and i have instaled this mod yesterday...
But it doesnt posting anything...
Nothing in forum error log...
Can u pls tell me what to do?
I hate to tell you, but you aren't the only one. Right now the MOD isn't being supported and isn't being released to Smokey, so it looks like it will just die until w new one gets made. Mine doesn't work either :(
Quote from: vbgamer45 on December 30, 2008, 08:37:36 AM
Please stop posting in my mod topic this stuff is really off topic
I have to agree. :)
I see people being "offended" by truthful statements, as there will no doubt be someone standing in defence mode as
I type, but there are times and 'places' for such talk, and I feel support areas aren't the place to tear people down.
Mods/packages in other communities(and sometimes here) are often supported by "The Community", due to lack of time on the authors part, or
other worldly measures.
It is fact that most know more than others in certain areas, and contributions/input from those people help the progression of a project, and are ALWAYS appreciated!
As I read the last few pages, I see alot of emotion expressed, and people tip toeing through words, trying to keep things............... civil?
I have no problem with anybody, and often Im also caught up in little squabbles.
That is until I realise that there are ways to deal with things.
Discrediting someones efforts because they offer another avenue you may not agree with, especially in
their support area, shows(In my opinion as always) no class. :(
Now Im not diggin at anybody, Im only voicing my opinion :)
VB's offerings arent the first Ive seen here(regarding payment), I even know authors offering mods the community frowns upon, but they are not being torn down. There's other methods to adopt for that.
I believe that if the author for whatever reason will or cannot assist, those generous enough to offer their time and knowledge, will.
Believe me, if I knew how to fix/repackage or whatever this mod, I would, and those that know me will know that is true. But I dont have have such knowledge, and I appreciate all offerings brought forth by any and everybody.
Those of you fantastic enough to offer us "wee people" your ideas, I applaud you. But dont let your feelings cloud the minds of on lookers, as it does harm to more than just the mod at hand. Ive read a user knocking
all of Vbs mods, as if he has not made any positive contribution at all!! :-/
In short, I come to this thread for a solution, and all I read are.........
well, you aint blind.
My opinion, make a thread or speak privately for your "tear downs", but leave support areas to fulfil their primary function. There's nothing worse than sifting through chaos to find what you need. :)
Thank You to all that have helped out.
regards
I know this mod isn't supported anymore but maybe someone somewhere can help me
I installed the mod but when I try to add a News Reader I get the following error message
Database Error: MySQL server has gone away
File: /home2/MYSITEcom/public_html/forum/Sources/FeedPoster.php
Line: 172Database Error: MySQL server has gone away
File: /home2/MYSITEcom/public_html/forum/Sources/Load.php
Line: 2014
Is this the mod itself or my hosts not having fsock open and is there a way to fix it from my end?
That's an issue with the host and their mysql setup
Thanks for your answer - is there anything specific I need to ask my hosts to do? - sadly left to them they'll either deny anything is wrong or screw it up
man, what a bummer. This Mod would be sooo kickass. I'm good at alot of things, just not coding.
I respect the authors and their time.
If someone would make this work on 1.1.7 and/or 2.0 I bet there are plenty of people here that wouldn't mind throwing a few bucks in the hat
I being one of them.
Advanced Thanks to anyone willing to take on the project.
With the Greatest Respect:
MM
For 2.0b4 RSS Feeder (http://custom.simplemachines.org/mods/index.php?mod=1590)
i have read 25 page of this thread and can not go further , my eyes simply stopped working >:(
i have 1 simple question :
how to remove the links in the posts posted by the feedposter
i only need to remove the links that point back to the original site.
is there a way and how ?
There is no way to do that.
thank you vbgamer for the mod and the quick reply
just another quick question
does this mod support characters from other languages
or special characters present in german or spanish or french ....
and if not is there a way to make it support it ?
i have read in the early pages of this thread an attempts to make it support it ,
but i don't know if it actually worked or not ?
thanks
Is this mod supposed to have a text link under the Configuration menu in the Admin area? Reason I ask is because under the Confirmation menu there is a blank space that was created after I installed this mod. It looks like it was probably created for this mod but it instead went blank.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.tunerselect.com%2Fmisc%2Frss.gif&hash=49008bafccde496d44cfd1ddbb72a4e69429a0d5)
Fix it under Admin -> Server Settings
Choose just english as the language and not enlish utf8
Thanks, that worked perfectly. I've added an RSS feed but nothing shows up. Any ideas? I recalled reading in the thread that you need fsockopen so I checked with my host provider and they stated that it is active in my server. Any ideas? Sorry I read as much as I can but it got difficult to continue reading after the 10th page. lol.
alright, I have 2 questions for you.. I have 2 news feeds up and running, and working just fine. I don't think its my feeds that I am reciving, but its only posting x number of carachters then gives the link to the full post. Also any images that is within the feed, it doesn't post. Is there anyway to change either one of these settings?
For those that are still trying to get this to work, I'll do what I can to help ya out, since I finally got mine working..
Thanks for any help on my topics.
It worked out of the box. Great mod!
Unfortunately it didn't worked for me.
The installation was ok, no warnings/errors but when i try to create a new feed, i keep receiving "XML error: Invalid character at line 102" error.
What should i do? I installed the latest version of the mod and i'm using SMF 1.1.8.
Thanks
It appears that the above issue is happening only when adding RSS links which ends with *.html.
I successfully added 2 *.xml RSS links and i'll wait for them to post the news. :)
Any chance to make *.html links to work?
Hi VB Gamer,
Do you have any idea why this fails when I try to edit a feed - I did put a post up prior but you never responded? Used to work on 1.1.5. but since I upgraded to 1.1.7 and now 1.1.8 I have to edit all the feeds via phpmyadmin.
I don't mind doing this but it just seems a long way around it?
If anyone has this mod working with 1.1.8 (or 1.1.7 - i guess there isn't much difference) please post the settings and modifications used.
Quote from: Imago on February 02, 2009, 05:23:42 AM
It worked out of the box. Great mod!
Can you please tell how you configure it?
It seems that the mod is working only after i set
wget -t 4 --delete-after http://www.mysite.com/cronrss.php in the cron manager, but after he updated the topics first time (with the number of items set in each feed options) it didn't added anymore feeds.
I set: update every 360 minutes and import 10 items each update.
What "Use fake Cron jobs. Checks if feeds need to be updated on each page load." means and when should i use this option?
Thanks.
I set it up with these 4 rss feeds just to test it out with a view to cutting it down - all are set to 1 story every 60 minutes, using the fake cron job setting and all sockets
http://rss.news.yahoo.com/rss/topstories
http://newsrss.bbc.co.uk/rss/newsonline_world_edition/latest_published_stories/rss.xmll
http://news.com.com/2547-1_3-0-20.xml
http://feeds.digg.com/digg/news/popular.rss
It's been over 24 hours and not a single story has been posted. When I check http://www.mysite.com/forum/cronrss.php all I get is this:
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Is this yet another issue with my hosts? Do I have to ask them to open fsock again? They're supposed to have done it but......
The other option is to set up a cron job but I have no idea what to put in there - if this is what's needed could someone please post the exact syntax needed to do this please?
I gave up! I uninstalled it and i recommend you to not waste the time with this mod anymore; at least for 1.1.8 version of SMF. I wonder why it shows in the mod's page that is compatible with this release?! ::)
At least, this way, i have the opportunity to add only the good news. :)
@ Vampy: In my case, when i opened http://URL/forum/cronrss.php, the result was "Feed poster configuration" in browser.
It updated once the topics, but after that no more posts were added. I tried with many different settings but without any success.
Most probaby there is a problem with your host configuration.
This mod is no longer supported as by the note on the mod page. I will update if for future versions of SMF but will not provide any support for it.
I'm going to follow ccracium's example, give up and uninstall this mod - way to glitchy and buggy with 1.1.8
alright, I can give a few pointers to those that still want to set this up.
the cronrss.php needs to be set to 755, when installed, I belive its set at 666 which would give you the interal server error.
I do know that the feeder is picky on the type of rss feed. As long as you don't get an error when setting up the url for the rss feed, you wont have any issues.
I use the fake Cron jobs. I don't know if this personally works or not, but I have it checked with working results.
I have the feed download method set to ALL.
Now the confussing part. knowing I have the mod set to use the fake corn jobs, it doesn't check every page load. So I either have to manually load the cronrss.php, or withing your Cpanel for your hosting, setup a Cron job. For those that don't know what it is, the simple way is saying it will run an automated script when you tell it to.
So I have a Cron Job within my hostings Cpanel set to run : http://www.YOURDOMAIN.COM/smf/cronrss.php(use the location of your cronrss.php file) every hour.
The only issues that I am having, which I'm still trying to work on:
Either you or your newsbot poster needs to have admin rights if your feeds are posted in html.
The post will only post xxx number of lines of the feed and not the whole feed, but gives a link to the full feed.(directs users away from your site and most wont click on it)
Vampy, I have setup one of those yahoo news feeds on my site with no issues, here is the link to the threads, everything by the cron job.
http://www.mdrcracing.com/smf/index.php?board=24.0
Thank you for working so hard on this mdrcracing :D
I'm now going to be really really cheeky and ask you if you could post the exact thing I should put into the REAL Cron Job file (yes I am a moron) I have a vague idea about @hour etc. but no clue as to the exact syntax I should use - I'd hate to screw it up.
would it be - run : http://www.YOURDOMAIN.COM/smf/cronrss.php @hour - for example?
Please help as I would love to get this mod working on my site
EDIT - I've just checked and there is a new Cron manager on my site which is idiot proof:
QuoteStandard Cron Manager
This is a web interface to the crontab program. It allows you to run commands at any time you specify. Enter the command you would like to run as well as running times.
I simply enter the URL of cronrss and highlight the times etc when I want it to run :D
Quote from: mdrcracing on February 18, 2009, 10:08:49 AM
The post will only post xxx number of lines of the feed and not the whole feed, but gives a link to the full feed.(directs users away from your site and most wont click on it)
Dude id there a way to cut out all the copy in a posted feed so I would just have the subject and in the body a link to the article?
I am manually managing the feeds at the moment and have to edit the HTML posted in the feeds so I think it would be better to just have the link so my members can just check the link for themselves.
It is probably a simple fix but I would not know where to look.
Quote from: Youngiiie on February 19, 2009, 09:13:12 AM
Quote from: mdrcracing on February 18, 2009, 10:08:49 AM
The post will only post xxx number of lines of the feed and not the whole feed, but gives a link to the full feed.(directs users away from your site and most wont click on it)
Dude id there a way to cut out all the copy in a posted feed so I would just have the subject and in the body a link to the article?
I am manually managing the feeds at the moment and have to edit the HTML posted in the feeds so I think it would be better to just have the link so my members can just check the link for themselves.
It is probably a simple fix but I would not know where to look.
all you have to do is search this thread. the answers are here, if you take the time and read..
i have gotten a few pm's, no vbgamer doesnt want to give this mod to me, he picked slameddime, after the fact i had asked him for it. he will not support this mod, but i hope the help and time i put into this, over 4 months, will waiting on vbgamer's response of no, with stated personal reasons, will help everyone out that uses this mod.
please, enjoy what you can of this one, or upgrade to the rc and use slameddime's..
if i do release mine, im sure everyone will see it, but im not at a stage where i can still..
Quote from: Youngiiie on February 19, 2009, 09:13:12 AM
Quote from: mdrcracing on February 18, 2009, 10:08:49 AM
The post will only post xxx number of lines of the feed and not the whole feed, but gives a link to the full feed.(directs users away from your site and most wont click on it)
Only place I would think to look is in the RRS-Subs.php file in the Sources Dir. that might be the same place I can also find my answer to the length of the post. I just haven't had the chance to go through it yet.. I'm just got there are a few of us that have it up and running and can give others help.
Vampy, did you get it working yet? I found out I was missing a command in my Cron Job command line.
I atleast know with my cpanel, and should be the same with everyone elses.
for the corn job to work(and also removing the checkbox for the fake cron job)
its:
php ../../full/path/to/cronrss.php
Dude id there a way to cut out all the copy in a posted feed so I would just have the subject and in the body a link to the article?
I am manually managing the feeds at the moment and have to edit the HTML posted in the feeds so I think it would be better to just have the link so my members can just check the link for themselves.
It is probably a simple fix but I would not know where to look.
After upgrading to SMF 1.1.8, even with a new install, I start getting this error when I run the corn job....
"Feed Poster ConfigurationError in my_thread_global_end(): 2 threads didn't exit "
This was not an issue with version 1.1.7. I double checked the feeds and they are working when I use the URL in the browser and all threads where the feeds are posted are also there and in tact.
Any suggestions on where to fix this.
I've had some serious problems with my site and have only just been able to reinstall this package, so will be testing it now - changed the cronrss.php permissions to 755 as suggested - also set up real cron job. This is where I hit a problem, once completed I got this message
Check your script with your hosting administrator before adding a cron job.
/usr/bin/crontab permissions are wrong (0755). Please set to 4755.
I've kept the fake cron job box ticked just in case so heaven alone knows if it will work
EDIT My hosts fixed the problem with the crontab permissions and now it works, but I have another problem.
Even with the "News Hound" member given admin status as suggested earlier, it is still only posting the first line of the feed and not the whole story - how can I get a whole story with pictures and not just a headline and if I'm lucky, one picture and a link?
I edited the Subs-RSS.php file to tale out the /* and */ as suggested in earler posts to remove all the html tags, now it's not posting all the HTML but it IS posting text instead, which would work in html tags, but just create links that go nowhere. Does unchecking the HTML box in admin fix this?
Sorry if this has been asked and solved before, but there were just too many pages to read and filter out what I need.
If you want to make this work on your site, just follow this. (my forum is 1.1.8).
1. On your Admin Page, go to Feed Poster Configuration.
2. Start adding feed then save. Uncheck fake cron jobs.
3. Copy the cron job url (something like this >> http://yoursite.com/forum/cronrss.php).
4. Open your cpanel then go to cron jobs.
5. On that page, click the standard form.
6. Then paste the cron job url on "command to run" then set the time.
7. Save the cron job and close your cpanel.
8. Open new browser, then paste the cron job url on url bar then enter.
9. You'll only see a white page with text "feed poster configuration", I think this is normal.
10. Return to your website index page and refresh it.
11. Once the loading completed, go to your info center (at the bottom of your site).
12. There you'll see new topics posted by your bots.
I hope this one helps.
NOTE: you'll need to open the cron job url if you want your bots to post. (I thought this mod is automatic, haha)
Trivia: The term "ayos!" is a Filipino word which in english means "alright!".
It's more than just the http:// URlLyou need for a cron job excon - it's the absolute URL you need - /usr/bin/php -q /home/YOURSITE/public_html/forum/cronrss.php
another way to set up the cron job uses wget:
wget -q http://mydomain.com/pathtoforumifnotdocumentroot/cronrss.php
The -q switch means quiet mode
Still no solution as to why it posts all the html tags if I have html ticked and no pictures if I have it unchecked - even with the news poster given admin status and the comment tags around the html section taken out of Subs-RSS.php?
Any ideas how I can fix this?
Any plans on updating the mod so it says it is not outdated? It had worked perfectly and I can't find any other for 1.1.8... yours was 100% perfect!
Quote from: vbgamer45 on February 09, 2009, 08:12:37 PM
This mod is no longer supported as by the note on the mod page. I will update if for future versions of SMF but will not provide any support for it.
Quote from: Angie of AKC on March 23, 2009, 12:28:25 AM
Any plans on updating the mod so it says it is not outdated? It had worked perfectly and I can't find any other for 1.1.8... yours was 100% perfect!
It might be a while. And if VB does, it may not be until 2.0 is finished.
Quote from: KahneFan on March 23, 2009, 10:44:22 AM
Quote from: vbgamer45 on February 09, 2009, 08:12:37 PM
This mod is no longer supported as by the note on the mod page. I will update if for future versions of SMF but will not provide any support for it.
Quote from: Angie of AKC on March 23, 2009, 12:28:25 AM
Any plans on updating the mod so it says it is not outdated? It had worked perfectly and I can't find any other for 1.1.8... yours was 100% perfect!
It might be a while. And if VB does, it may not be until 2.0 is finished.
Well that is disappointing as I had it working .. made no changes .. and then one day it simply stopped. My site had major issues where we had to change domain name and server so we were down for 3 months. We kinda want to get our news posting at least .. but now we must wait? .. This sucks as there is no reason it should ever have stopped and seems to be an issue with the " " not staying around the name of the member who the feed poster users to post under. (Not sure if I am saying it right but I do know what I see). Changing it we got it to work again .. once .. then stopped. Went back in and " " are not there again .. annoying. Especially when we had this working on our forums for a year without problems!
i am hosting on my computer. i have xampp server. and what is cron job and how do i get it to work.
If you're simply asking what a cron job is these sites will help explain it for you - Unixgeeks (http://www.unixgeeks.org/security/newbie/unix/cron-1.html) and Wikipedia (http://en.wikipedia.org/wiki/Cron)
They can usually be set up in either a simple or experienced form via your sites CPanel or admin panel - I suggest the simple way, adding in the URL to the rss feeder then ticking boxes to choose the frequency it runs
Anyone got any sugestions on how to make it so when the feed posts a new topic it shows the new.gif image next to it? i dont have "Mark Read" checked but no new.gif shows
I'm working on a JQuery feeder now because I am tired of waiting for a new one of these becoming available :(
Is there an admin panel for it? i saw one in the screenshots but i can't find it on my forum. thanks!
Quote from: ArkServer on April 13, 2009, 05:12:00 PM
Is there an admin panel for it? i saw one in the screenshots but i can't find it on my forum. thanks!
index.php?action=feedsadmin
also i wish this looked cleaner sucks having it display all html code and not show images
**koff koff there is one already out for the 2.0
http://custom.simplemachines.org/mods/index.php?mod=1590
so what does that say on this mod? ;)
How do I enable fsockopen function?
Enabled by default unless shared hosting disasbled it.
Quote from: IchBin™ on March 26, 2009, 05:14:39 PM
What is a cron job? (http://www.google.com/search?btnG=1&q=What+is+a+cron+job%3F)
I didnt know either. I asked my hosting company to do it for me and they did :D
This was working fine for me and then it quit ...so i was going to un install and reinstall.. but got these errors on uninstall .. could it be the reason for no longer working ??
Installing this package will perform the following actions: Type Action Description
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./index.php Test failed
3. Execute Modification ./Sources/Subs.php Test failed
4. Delete File ./Sources/FeedPoster.php
5. Delete File ./Sources/Subs-RSS.php
6. Delete File ./cronrss.php
7. Delete File ./Themes/default/FeedPoster.template.php
8. Delete File ./Themes/default/languages/FeedPoster.english.php
9. Delete File ./Themes/default/languages/FeedPoster.english-utf8.php
the to files are attached
curl is supported on my server yet this does not work. Is there any theme edits or edits I need to do??
No theme edits, just need to setup a cron job.
Quote from: vbgamer45 on April 28, 2009, 11:03:47 PM
No theme edits, just need to setup a cron job.
Oh...how do I do that?
is this right?
Check out this
http://www.developertutorials.com/blog/php/running-php-cron-jobs-regular-scheduled-tasks-in-php-172/
So my command shoudl be something like this? /usr/bin/php /home/cronrss.php
Yeah replace /home with the full path to the cronrss.php
Ok I ended up with
/usr/local/bin/php -f /home/atvcath/public_html/cronrss.php
Will test it out!
Thanks for the help!
hi there i have a site setup with wordpress and a forum with smf and i have the posts on wordpress posted to the forum with "feed poster" but it includes a link to the wordpress post at the bottom of the post is there a way to remove this?
Quote from: somerandomdude on April 29, 2009, 04:43:08 AM
hi there i have a site setup with wordpress and a forum with smf and i have the posts on wordpress posted to the forum with "feed poster" but it includes a link to the wordpress post at the bottom of the post is there a way to remove this?
No it posts what ever is inside the rss feed that you are importing.
Quote from: vbgamer45 on April 29, 2009, 07:49:44 PM
Quote from: somerandomdude on April 29, 2009, 04:43:08 AM
hi there i have a site setup with wordpress and a forum with smf and i have the posts on wordpress posted to the forum with "feed poster" but it includes a link to the wordpress post at the bottom of the post is there a way to remove this?
No it posts what ever is inside the rss feed that you are importing.
actually you can by editing Subs-RSS.php and removing this from the bottom of the file:
break;
case "LINK":
$context['feeditems'][$feedcount]['link'] .= $data;
Everything should be set up. Yet this is still not working. Any other ideas?
I am new to SMF and am using 1.1.8 along with TinyPortal for a test website with the intention of leaving PHPBB3.
I run a guild website for a Warhammer Online guild and the game publisher provides a news RSS that I want to post to my website as a forum post. I have your mod installed and it works well but the feed I am using has HTML code in it that displays instead of providing the proper formatting.
I am posting the news as an administrator.
I have basic HTML enabled in the forum.
If I modify each post and add in the ... tags then it will utilize the formatting.
Is there a way to automatically append those tags to each post the RSS Feed Poster posts? Is there a different work around other than just stripping all html out of the post?
After digging through the code a little the HTML Enabled? checkbox should be doing this automatically for me but it is not. Any suggestions?
Quote from: Underfunded on May 10, 2009, 10:01:31 AM
I am new to SMF and am using 1.1.8 along with TinyPortal for a test website with the intention of leaving PHPBB3.
I run a guild website for a Warhammer Online guild and the game publisher provides a news RSS that I want to post to my website as a forum post. I have your mod installed and it works well but the feed I am using has HTML code in it that displays instead of providing the proper formatting.
I am posting the news as an administrator.
I have basic HTML enabled in the forum.
If I modify each post and add in the ... tags then it will utilize the formatting.
Is there a way to automatically append those tags to each post the RSS Feed Poster posts? Is there a different work around other than just stripping all html out of the post?
For good measure I just did a clean install of SMF 1.1.8 (including this mod) and it still is not parsing the HTML properly (at all). Is anybody else having this problem and do you have any suggestions? It is posting the HTML tags, just not using them for the formatting.
I have installed this on smf 1.1.9 and it worked perfect, for 30 seconds, posted 21 posts then died, anyone know what is the problem?
I have my own server, fsockopen, and curl, but it dies after a few posts, wth?
:'( ???
I finally got this mod working, using the settings:
In Feed poster configuration (SMF Admin, i set:
- Use fake Cron jobs. Checks if feeds need to be updated on each page load. - CHECKED
- Feed download method - ALL
In Cron manager (cPanel), i set:
wget -t 4 --delete-after http://www.your-site.com/cronrss.php
to run every fifteen minutes (or how often do you wish...)
Now, i have a question:
I want to replace the link from the end of each post with an anchored link (like read more (http://www.simplemachines.org/community/index.php?topic=141776.msg2076185#msg2076185))
I guess i need to modify something from the code below, but i don't know what...
break;
case "LINK":
$context['feeditems'][$feedcount]['link'] .= $data;
Could someone tell me how to make the html tags be in the post because it is not including them
I made a modification to the code and am wondering would this work
Subs-RSS.php
'body' => '[b]' . $msg_title . "[/b]\n\n" . '[html]' . $msg_body . '[/html]',
Would not work the last time I tried it.
Well the one for SMF 2.0 works but i do not want to use that version of smf. Could you possibly upload the zip of that one so i can see if i can find the fix.
So can anyone help
mghq
Quote from: cybergoblin on May 24, 2009, 02:59:55 PM
I have installed this on smf 1.1.9 and it worked perfect, for 30 seconds, posted 21 posts then died, anyone know what is the problem?
I have my own server, fsockopen, and curl, but it dies after a few posts, wth?
:'( ???
Nobody??
Try with these settings (http://www.simplemachines.org/community/index.php?topic=141776.msg2076185#msg2076185).
Quote from: ccraciun on May 28, 2009, 05:38:44 PM
Try with these settings (http://www.simplemachines.org/community/index.php?topic=141776.msg2076185#msg2076185).
Thanx, will give it a try..
Thanks guys, i found the answers to my problems around page 37, i gave up and posted having read the first and last 20 posts or so.
I would advise anyone having trouble with this to check server settings language is set to english and not english Utf-8.
The other problem i had which was a simple one, was the permissions on my cronrss.php it must be 755, well live and learn i hope that helps someone.
http://forum.psp-fanatik.ro/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 22
File: /home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-RSS.php
Line: 141
Why is that ? No new post by this bot. What to do ?
Did you create a cron script?
No. I use fake cron.
How can i modify the appearence of the LINK?
I would like that instead of the complete URL
http://www.simplemachines.org/community/index.php?topic=141776.1320
to display:
read more (http://www.simplemachines.org/community/index.php?topic=141776.1320)
Or, at least to display it like:
Source: http://www.simplemachines.org/community/index.php?topic=141776.1320
It's that possible?
I tried different modifications of "Subs-RSS.php" file, but without any success... :(
Quote from: kizko on June 04, 2009, 12:43:38 PM
http://forum.psp-fanatik.ro/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 22
File: /home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-RSS.php
Line: 141
Why is that ? No new post by this bot. What to do ?
UP.
To get this mod to work, how do I set up cron jobs? Do I have to do so via my host? My host has a Cron Manager area but it asks me for a command to run.
http://www.yourforums.com/cronrss.php
I searched thru the first several and last several pages and didn't see any mention of this issue. When I go to edit or delete a feed I'm taken to an error page (http 406 error I believe) that says:
"Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server."
Any hints?
Quote from: bwaynef on July 14, 2009, 10:23:11 AM
I searched thru the first several and last several pages and didn't see any mention of this issue. When I go to edit or delete a feed I'm taken to an error page (http 406 error I believe) that says:
"Not Acceptable
An appropriate representation of the requested resource /index.php could not be found on this server."
Any hints?
Read this topic for a fix
http://www.simplemachines.org/community/index.php?topic=34270
Quote from: kizko on June 09, 2009, 11:34:21 AM
Quote from: kizko on June 04, 2009, 12:43:38 PM
http://forum.psp-fanatik.ro/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 22
File: /home/httpd/vhosts/psp-fanatik.ro/subdomains/forum/httpdocs/Sources/Subs-RSS.php
Line: 141
Why is that ? No new post by this bot. What to do ?
UP.
UP
Mod no longer supported
I know this is no longer supported, however could some one test a RSS feed for me.
I have tried several feeds including Yahoo, MSN etc and they have worked fine.
However this feed isnt working, so If some one whos RSS feed poster is working could test
http://forums.moneysavingexpert.com/external.html?type=rss2&forumids=41
and report if you can get it working or not?
I just installed Rss feed poster Mod, after adding feed url, I try to go t my home index I found out that my forum is taken too long. I stop it and try again the forum is not displaying again, but all my other sites hosted on thesame server is displaying fine.I checked if I have exceeded my bandwidth I found I have used 4% of it only.
Please what is the solution to this, and how can I uninstall this mod as my forum cannot display for me to get to my Admin to do that?.
I know this is an unsupported mod but I'm hoping someone can possibly help me out with this anyway. I tested this out on my test board before moving it to my live board and everything works just fine. However when I installed this on my main forum it installed just fine but I ended up with pages and pages of errors. This is the second time I've seen the error so I really hope someone can help me figure it out as I really would like to use the 2 mods, especially this one.
The error:
http://rejectsreststop.com/forum/index.php
Database Error: No database selected
File: /home/rejectsr/public_html/forum/Sources/Subs.php
Line: 3627
the code on line 3627 when the mod is installed:
ORDER BY mem.realName ASC", __FILE__, __LINE__);
the entire section of code in that area:
// Get the FlashChat database config (for the prefix)
include($boarddir . '/chat/inc/config.srv.php');
// Load all the users currently in the chat
$result = db_query("
SELECT
fc.userid, fc.state, fc.color, fc.lang, fc.roomid,
fr.name AS roomName, fr.ispublic,
mem.realName, mem.memberName, mem.showOnline, mg.onlineColor,
mg.ID_GROUP, mg.groupName
FROM {$GLOBALS['fc_config']['db']['pref']}connections AS fc
LEFT JOIN {$db_prefix}members AS mem ON (mem.ID_MEMBER = fc.userid)
LEFT JOIN {$db_prefix}membergroups AS mg ON (mg.ID_GROUP = IF(mem.ID_GROUP = 0, mem.ID_POST_GROUP, mem.ID_GROUP))
LEFT JOIN {$GLOBALS['fc_config']['db']['pref']}rooms AS fr ON (fc.roomid = fr.id)
WHERE fc.userid IS NOT NULL
AND mem.ID_MEMBER != 0
ORDER BY mem.realName ASC", __FILE__, __LINE__);
$context['users_chat'] = array();
$context['list_users_chat'] = array();
$context['num_chat'] = mysql_num_rows($result);
please tell me someone knows what I need to do to fix this...
That's not part of RSS Feed Poster than looks like a flashchat addon
Thanks for the quick reply VB.
I was just hoping someone encountered the same issue and had a fix. I'll take my question to the flashchat topic now.
Have a great day.
Working great except for this one small error:
http://rejectsreststop.com/forum/index.php?action=feedsadmin;sa=editfeed2
8: Undefined offset: 37
File: /home/rejectsr/public_html/forum/Sources/Subs-RSS.php
Line: 141
Has anyone dealt with that and know how to fix it?
New release.
Now supports SMF 2.0
Thanks for updating this. Does this mean that the mod is now working with 1.1.10? Mine never posted more than once.
Didn't change any code in SMF 1.1.x was able to pull multiple times from the 2.0 version which is based on the same code as SMF 1.1.x
hello, i would like to know the poossibility to active html code.
Wht does it change if i enable it?
I have enable html code in my forum, but the post are style coded.
Sorry for my english i'm french :p
Does not support active html at this time.
This is an outdated mod that is no longer supported by its author. Use at your own risk
:o
It is working with all the latest versions and updated. What went wrong ?
I just don't offer support for this mod after some user complaints. I will update it for new versions of SMF just no support.
ohhhhhhhhhhh..... okie dokie.. :P But we still can't call it "outdated"
I was having a problem getting the feed poster to post, but I found a trick using iframes that worked for me. I simply placed this code in the forum footer, it's hidden. the hidden frame calls the php page whenever the page is loaded, activating the feed poster. here it is:
<iframe border=0 bordercolor=#000000 style="border-width:0px; border-color:Black;" src ="http://MY-URL-HERE/cronrss.php" width="0" height="0" scrolling=no>
worked on this forum we help consult for:
http://www.bobbleadvertisements.com --thanks for this mod, it's awesome
Quote from: Simple Joe on August 28, 2009, 09:23:48 AM
I was having a problem getting the feed poster to post, but I found a trick using iframes that worked for me. I simply placed this code in the forum footer, it's hidden. the hidden frame calls the php page whenever the page is loaded, activating the feed poster. here it is:
<iframe border=0 bordercolor=#000000 style="border-width:0px; border-color:Black;" src ="http://MY-URL-HERE/cronrss.php" width="0" height="0" scrolling=no>
worked on this forum we help consult for:
http://www.bobbleadvertisements.com --thanks for this mod, it's awesome
At the link you posted I can see that entire code across the bottom of the page.
Edited for typing error...
lol yeah me too
You could try
<div style="visibility:hidden"> <iframe code here> </div>
Quote from: chrishicks on August 20, 2009, 12:57:22 AM
Working great except for this one small error:
8: Undefined offset: 37
File: /home/rejectsr/public_html/forum/Sources/Subs-RSS.php
Line: 141
Has anyone dealt with that and know how to fix it?
Same issues here worked great after first install spammed up my forums nicely then it stopped
now I have this error
8: Undefined offset: 22
File: /home/chuckles/public_html/forums/Sources/Subs-RSS.php
Line: 141
and this one
Apply Filter: Only show the errors with the same message
8: Undefined index: id
File: /home/chuckles/public_html/forums/Sources/FeedPoster.php
Line: 251
in the past 3 days 0 feeds have been posted... after I first installed it it made about 15 posts and since then has stopped. This is the mod ive been after since I first setup smf, any help from anyone would be greatly appreciated thank you!
Im not sure if this info will help.But never could get this mod to work right.What i did is went to Feedburner an burned a feed that is reliable an works great with all sites.I also just use Simple Portal to add feeds an place them any where i want in my forum.Hey im a newbie so i took the easy way out ;)
pin can you explain to me more in detail? or some links to point me in the right direction? the ability to add rss feeds to several boards to increase activity on my boards is my current goal.
any help either getting this to work or finding an alternative solution would be very helpful thank you to anyone that can help me out!
can anyone explain how to add rss feeds with a portal like pin was talking about?
Use the search function to the top right hand corner of this page, and type "portal", then select "Modifications" in the dropdown menu.
That will give you a list of portals to try.
Good Luck :)
Sorry, I'm newbie
I just installed the mod in my 2.12 forum, i have the menu and I can edit the feeds but i don't know why it doesn't work :'( (the bot doesn't post anything)
I give 775 permission to de cronrss.php and try differents RSS pages but nothing, what i'm doing wrong?? it may be the language?
Sorry for my english O:)
What happens when you run cronrss.php from your website manually?
Quote from: vbgamer45 on September 08, 2009, 01:43:05 PM
What happens when you run cronrss.php from your website manually?
Only appears one line and put this:
Feed Poster Configuration
That means it is working correctly as long as you see no errors
I can solve it (it was a host problem with the fsock)
But now I have another problem, when the mod post a feed it appears in html code and i want to know if exist a way to pass the html code to PHP or a mod to convert it before the feed post (because it's the only way to see the images)
No way to get the html converted at this time.
Quote from: vbgamer45 on September 08, 2009, 01:43:05 PM
What happens when you run cronrss.php from your website manually?
I get these errors
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Notice: createPost(): Invalid member id 22 in /home/chuckles/public_html/forums/Sources/Subs-Post.php on line 1506
Feed Poster Configuration
What does this mean? and how can I fix it?
update I did nothing but poke around at the permissions for something else then bam! rss feeds started and under my account name... now its posting as guest lol guess its working so thats a start but why did it change to guests?
Looks like an account was deleted? That is the only thing I can think of when it says invalid member id. Update that feed to post under another member name.
hello,
i have a seconde question ....
I have some errors about accents like : l’on
I know it's a difference between utf and iso, but i can change because some sites use utf8, and others iso ..
I don't know how to fix it .
Can you help me?
Probably need to update the database tables to utf8 i do not think all the functions the mod uses supports utf8 though
ok, thanks
Can someone tell me How to use another rss with safely?
is it work with 1.19?
Do we need to update database or just upload and activate?
is it work with hostgator baby package?
Works for SMF 1.1.x and SMF 2.0.
Best if you are able to setup cron rss.
vbgamer,
Obviously you are nicely supporting this mod (Thanks!!).
Why does the smf mods page for it say that this is not being actively supported? this page: http://custom.simplemachines.org/mods/index.php?mod=624
QuoteThis is an outdated mod that is no longer supported by its author. Use at your own risk
I had used this on another forum and was looking to use it on smf 2.0 RC1.2. I see it's listed as supported, but wonder why the warning?
Thanks again for this great mod.
Should work but I do not openly support this mod.
Ok thanks.. I installed it on 2.0 RC1.2 and it appears to be working, at least manually. Now waiting for a CRON update. How is it suggested to setup the cron to call the cronrss.php? Do I set up cron for once per hour, per day? I'm still learning the newer version.
Thanks for a great mod.
I spoke too soon.
I know no support, but FYI... got this error on adding a feed:
Quote
http://www.domain.com/forum/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 27
File: /home/user/domains/domain.com/public_html/forum/Sources/Subs-RSS2.php
Line: 141
I'll start to look into it.
Quote from: imrich on September 21, 2009, 01:37:32 PM
I spoke too soon.
I know no support, but FYI... got this error on adding a feed:
Quote
http://www.domain.com/forum/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 27
File: /home/user/domains/domain.com/public_html/forum/Sources/Subs-RSS2.php
Line: 141
I'll start to look into it.
Hmmm not sure yet... still digging... but on line 141 of Subs_RSS2.php... looks like it's expecting $depth to be a global.
Yet in the function verify_rss_url() $depth is initialized as a new emtpy array (line 114), but is not global in that function. I'm still digging, this may not be the issue.
Let me know if you find anything out.
This does seem to be the root of this error:
8: Undefined offset: 27
File: /public_html/forum/Sources/Subs-RSS2.php
Line: 141
By the looks of the root cause of this error, there could be also an 'undefined offset' at line 147 as $depth is used in more than one function.
An easy fix:
in file Subs-RSS2.php find:
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;
function verify_rss_url($url)
{
global $txt, $modSettings;
replace with:
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;
$depth = array();
function verify_rss_url($url)
{
global $txt, $modSettings, $depth;
Basically, $depth was being used as a global, but was never initialized nor reset here properly because it was not declared a global in function verify_rss_url()
// XML Parser functions to verify the XML Feed
if($failed == false)
{
$depth = array();
Note that this same fix is needed in Subs-RSS.php also, but since I'm testing with SMF 2.0 RC1.2 I didn't test it myself.
vbgamer45, when are the hash tables in the database cleared or purged? It is only when a feed is deleted?
For example, if older news postings are deleted, do the hash table entries still exist in the database? I don't see them being deleted. Of course if the data still exists in the feed, that message will come back because the hash table was deleted.
Quote from: imrich dreaming out loud....A nice admin function might be to purge the hash table entries of posts that no longer exist to handle the case of a forum admin using the function to delete posts older than 30 days (or any time period). Otherwise the hash tables in the database could grow forever? Yes of course if the feed data still exists, the post will occur again (this might help with testing also).
Understanding how this works will help me manage my database size, thanks!
Thanks again for sharing this mod and updating it for SMF 2.0.
Hash entries are never deleted.
Quote from: vbgamer45 on September 22, 2009, 08:26:44 AM
Hash entries are never deleted.
My mistake then. When I delete a feed, the hash table entries for that feed ID seem to be deleted from the smf_feedbot_log table. I'll have to go an test that again to be sure I didn't make an error.
By the way, the fix I provided in post:
http://www.simplemachines.org/community/index.php?topic=141776.msg2270741#msg2270741
Seems to be working nicely so far, did you review it yet?
Thanks again for your help.
Quote from: imrich on September 22, 2009, 11:49:50 AM
Quote from: vbgamer45 on September 22, 2009, 08:26:44 AM
Hash entries are never deleted.
My mistake then. When I delete a feed, the hash table entries for that feed ID seem to be deleted from the smf_feedbot_log table. I'll have to go an test that again to be sure I didn't make an error.
By the way, the fix I provided in post:
http://www.simplemachines.org/community/index.php?topic=141776.msg2270741#msg2270741
Seems to be working nicely so far, did you review it yet?
Thanks again for your help.
Thanks updated with that fix.
It works pretty good...
BUT..
HTML posts, are not "parsed" or what the word is..
It shows up as html code, and not as it should..
If I press edit after its posted, and save it (with no changes done), THEN it will show correct
(not the html code itself, but rater as a html post..)
Is there a way to fix this???
Its the only BIG annoyance O:)
Yes.. any help to display in HTML will be a great help
if not we have to manually insert the [html[ code for each post
How configure or change RSS Feed Poster for post feed in single topic?
SMF 1.1.10
it stopped posting after the first run...
i know this mod is not supported but if i don't get these feeds i might as well close the forum...
i get this error message:
8: Undefined index: smfrssposter_admin
File: /home/graaywol/public_html/forums/Sources/Subs.php
Line: 2899
i don't know how to write code...
-=(GW)=-
After setting this up and using http://feeds.digg.com/digg/popular.rss as my first feed url,
i got my first feed post which is the post/error below
what next ?
<p><a href="http://feedads.g.doubleclick.net/~at/paC6jLrSiBmshE7Ming7NfaWXoA/0/da"><img src="http://feedads.g.doubleclick.net/~at/paC6jLrSiBmshE7Ming7NfaWXoA/0/di" border="0" ismap="true"></img></a><br/>
<a href="http://feedads.g.doubleclick.net/~at/paC6jLrSiBmshE7Ming7NfaWXoA/1/da"><img src="http://feedads.g.doubleclick.net/~at/paC6jLrSiBmshE7Ming7NfaWXoA/1/di" border="0" ismap="true"></img></a></p><img src="http://feeds.feedburner.com/~r/digg/popular/~4/VxNKR50KFQc" height="1" width="1"/>
http://feeds.digg.com/~r/digg/popular/~3/VxNKR50KFQc/Is_this_How_the_world_will_End
That's it your ready to go just watch it post.
i am getting this error
http://www.afrowall.com/index.php?action=feedsadmin;sa=editfeed2
Apply Filter: Only show the errors with the same message
8: Undefined offset: 29
Apply Filter: Only show the errors from this file
File: /home/afrowall/public_html/Sources/Subs-RSS2.php
Line: 142
what next ?
You can ignore it if the feed is working. Since that is happening on the edit feed page.
well, im not using 2.0 right now, just 1.1.10, but i am using this mod, and i cant seem to get it to work. my forum is bluesunalliance.netzoneuk.com and it just seems like the language isnt understood by my website or the server or something. it says the author is no longer gonna be around to help out with issues, so hopefully someone here can?
Check your forum error log has it ever posted a new post? Are you using the latest version?
i dont know of any error log for me to check... if u mean has rss feeder posted anything yet, u can go to my site and look at the rss feed board. its a new site and i gave guests permission to check it out for now. and latest version? u mean of rss feed poster? yeah, id say so. it was updated last month and i just downloaded it from this website yesterday.
Your forum's error log found under Admin -> Forum Errror Log I belive depends on your SMF version
just found the option. forum error log has a bunch of crap in it actually. 42 pages in 2 days... but a lot of that is due to my not knowing anything about templates and my trying to remove and change things and it coming up error. i did notice some stuff that looks like it has the potential to be related to this. something about RSS:
this shows up 3 times:
8: Undefined offset: 24
File: /home/netzoneu/public_html/bluesunalliance/Sources/Subs-RSS.php
Line: 143
this shows up 1 time:
Apply Filter: Only show the errors with the same message
8: Undefined index: display_name_copyright
File: /home/netzoneu/public_html/bluesunalliance/Themes/default/Register.template.php (before sub template - eval?)
Line: 197
the 42 pages are all from 2 days ago before i actually had some idea what i was doing :/ these are the only four that are recent.
edit 1: have also noticed this rss feed doesnt even show up at all: gamespot.com/rss/game_updates.php?type=5 <-- i removed the http and www for this website cause no external links, but the link when finished up works fine, but its been like 8-10 hours and that feed doesnt work at all, and i have both my feed settings setup for every 60 mins...
Quote from: graaywolf on October 13, 2009, 11:41:33 AM
SMF 1.1.10
it stopped posting after the first run...
i know this mod is not supported but if i don't get these feeds i might as well close the forum...
i get this error message:
8: Undefined index: smfrssposter_admin
File: /home/graaywol/public_html/forums/Sources/Subs.php
Line: 2899
i don't know how to write code...
-=(GW)=-
[/quot]
guess i'm being ignored... tried uninstalling it and got an error on the same page "subs.php"
The option for 'Mark as read' is checked for all of my RSS feeds, but new news items still shows up in my user's 'Unread' list (?action=unread). However, they don't show for me. How can I make it so these messages never appear on anyone's unread list?
it seems like this mod has a bunch of issues and the author may be too overwhelmed or something. no responses to error log stuff that ive seen pop up when i google for it or on here. i wud love for this mod to work correctly.
without an RSS feed i'm sunk and now it won't uninstall so i can install something else... this mod should be taken down if it's not supported...
Quote from: graaywolf on October 17, 2009, 07:08:18 AM
without an RSS feed i'm sunk and now it won't uninstall so i can install something else... this mod should be taken down if it's not supported...
Manually uninstall it then?
yeah and mess up the forums again... i don't know how to write code... guess i'll hire someone local to fix it for me...
Bump for this question to get answered please. author seems MIA.
Quote from: scorpion1082 on October 15, 2009, 06:46:20 AM
just found the option. forum error log has a bunch of crap in it actually. 42 pages in 2 days... but a lot of that is due to my not knowing anything about templates and my trying to remove and change things and it coming up error. i did notice some stuff that looks like it has the potential to be related to this. something about RSS:
this shows up 3 times:
8: Undefined offset: 24
File: /home/netzoneu/public_html/bluesunalliance/Sources/Subs-RSS.php
Line: 143
this shows up 1 time:
Apply Filter: Only show the errors with the same message
8: Undefined index: display_name_copyright
File: /home/netzoneu/public_html/bluesunalliance/Themes/default/Register.template.php (before sub template - eval?)
Line: 197
the 42 pages are all from 2 days ago before i actually had some idea what i was doing :/ these are the only four that are recent.
edit 1: have also noticed this rss feed doesnt even show up at all: gamespot.com/rss/game_updates.php?type=5 <-- i removed the http and www for this website cause no external links, but the link when finished up works fine, but its been like 8-10 hours and that feed doesnt work at all, and i have both my feed settings setup for every 60 mins...
http://www.gamespot.com/rss/game_updates.php?type=5 works fine on my test site looks like a host issue.
so what does that mean in regards to what needs to be changed, if taking the error message into account?
After reading 71 site finally i wanna ask some volunteers if they could help me regarding this MOD...
Installed everything, after running cronrss.php i got blank page, my host supports fsockopen but it wont work...
After editing some of settings, only unchecked (use real cron jobs), setting feed download method to curl and ofc with cron jobs setting provided in some previous post i got some feeds in my topic...
I deleted them because i tryed to set topic prefix and it didnt work, removed topic prefix then but still same, wont work...
This is i can say main MOD for my forum and i need it badly, right now im short with money because im student i really would pay in future for great supporters and ofc whole SMF team...
I just dont know why it wont work ???
Quiet strange situation after trying to set topic prefix, what can i say hope someone creates a new Feed Poster MOD for 1.1.10 version, anyway thanks for previous support!
yeah, fsocketopen or whatever is on for my server and yet the rss feed poster mod doesnt work at all. the best i got was a few posts from my first feed, BUT, it was showing the html code of the posts as well as the text and didnt post links correctly. i really dont get it. plus, once it posted, it never posted again, and none of the others i added posted either. this really does sound like a mod issue. better instructions need to be made as well as an updated version. its worth writing a readme or FAQs for this to answer common questions and perhaps show people how to fix the server side stuff before asking about mod side stuff. in any case, i doubt this stuff will be fixed.
Quote from: dWhite on October 17, 2009, 10:18:35 AM
Quote from: graaywolf on October 17, 2009, 07:08:18 AM
without an RSS feed i'm sunk and now it won't uninstall so i can install something else... this mod should be taken down if it's not supported...
Manually uninstall it then?
i'm not a programer... dunno how to write code... last time i messed with the code i killed the forums and had to start all over... on a fixed income... guess i'm gonna have to find a programer to fix this for me... no RSS feed... activism site... no site!
I think I've got 2 error in this code.
I would like to run with fakecron and I think in index.php this is better:
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{
if (empty($modSettings['rss_lastcron']) || $modSettings['rss_lastcron'] + (2 * 60) < time())
{
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
updateSettings(array('rss_lastcron' => time()));
}
}
The problem only the wrong ">". The "<" is better :)
And another in the Subs-RSS.php. feedbot updatetime never updated. So you find this:
// Loop though all the items
And insert after:
//update updatetime
db_query("
UPDATE {$db_prefix}feedbot
set updatetime = '".$current_time."' WHERE ID_FEED = '".$feed['ID_FEED']."' and enabled = 1", __FILE__, __LINE__);
Please check it...
Thanks...
Can we put the original link of the topic in our post?
For example, every post end with words:
Link from:
http://the_url_to_the_original_topic
This is for the copyright, and also, because sometimes the original post contains the contact information of the poster.
Quote from: vbgamer45 on September 17, 2009, 02:10:46 PM
Works for SMF 1.1.x and SMF 2.0.
Best if you are able to setup cron rss.
Sorry, but this modification does not appear to be compatible with the selected version.SMF 2.0 RC1.2
Why?
Thanks ;)
It should work with RC 1.2 does it error out?
Quote from: vbgamer45 on October 25, 2009, 08:11:55 PM
It should work with RC 1.2 does it error out?
I haven't tried to install it.
Try to parse your package for version RC 1.2 ;)
//EDIT: To install it really works! To parse only on SMF site doesn´t work :o
Every time the cronrss run, it send me a email with this error
/home/doblembr/public_html/cronrss.php: line 1: ?php: No such file or directory
/home/doblembr/public_html/cronrss.php: line 2: /aquota.user: Permission denied
/home/doblembr/public_html/cronrss.php: line 3: RSS: command not found
/home/doblembr/public_html/cronrss.php: line 4: Version: command not found
/home/doblembr/public_html/cronrss.php: line 5: by:vbgamer45: command not found
/home/doblembr/public_html/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/home/doblembr/public_html/cronrss.php: line 7: access-logs/: is a directory
/home/doblembr/public_html/cronrss.php: line 9: //: is a directory
/home/doblembr/public_html/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/home/doblembr/public_html/cronrss.php: line 10: `require('SSI.php');'
How can i solve this?
Thaks!
You are not running the cron job correctly. It needs to execute the php script.
Check out this site on how to do it
http://stackoverflow.com/questions/692208/how-to-run-a-php-script-in-cron
Quote from: vbgamer45 on October 28, 2009, 07:47:08 PM
You are not running the cron job correctly. It needs to execute the php script.
Check out this site on how to do it
http://stackoverflow.com/questions/692208/how-to-run-a-php-script-in-cron
Thanks!!! ;D
Glad that worked
Btw i finally make this MOD to work but my problem is, every time il go and edit some feeds when clicking EDIT i get blank page!
I edited FEED but with blank page and i hate this, i must always go to my forum again and go to FEED configuration to edit another FEED which ends with blank page after clicking EDIT!
Any forum errors related to the feed poster when you click on edit
Nope, before i got 1 or 2 same errors i cant remember but right now nothing, not even one error!
Just a blank page when editing FEED!
Do you have mod_security installed? on your host?
Im sorry i dont know, maybe explain how to check this ???
New Chronicle: A Beautiful Face, Part I
<p>They say one's eyes are the window to your soul, but what of the face? What do the lines, the smiles, the furrowed brow tell people? Would you change your face if you could, and if you did, what would your face say then?</p>
<p>"<a href="http://www.eveonline.com/background/potw/default.asp?cid=02-11-09">A Beautiful Face, Part I</a>" is a new EVE Chronicle written by CCP Abraxas. Published every other Monday, Chronicles are intended to examine the various aspects of life in New Eden. The entire list is contained <a title="http://www.eve-online.com/background/potw/archive.asp" href="http://www.eve-online.com/background/potw/archive.asp">here</a>, and a comment thread for this particular story may be found <a href="http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1207963">here</a>.</p>
<p> </p>
http://www.eveonline.com/news.asp?a=single&nid=3526&tid=1
this is a feed that got posted. it seems to post, but doesnt understand html at all. i have html enabled on and basic html clicked on the forums. i dont understand?
Nathan Whedon Reverse chronological order of list Today at 06:19:58 pm
Apply Filter: Only show the error messages of this IP address 70.173.101.21 Apply Filter: Only show the error messages of this session 7e641b9a81586bdb799f393059934938
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL http://www.bluesunalliance.com/index.php?action=feedsadmin;sa=addfeed2
Apply Filter: Only show the errors with the same message
8: Undefined offset: 28
Apply Filter: Only show the errors from this file
File: C:/Clients/bluesunalliance/Sources/Subs-RSS2.php
Line: 142
also getting this error.
edit 1: ok. the feed no longer posts...
Nathan Whedon Reverse chronological order of list Today at 06:45:31 pm
Apply Filter: Only show the error messages of this IP address 70.173.101.21 Apply Filter: Only show the error messages of this session 7e641b9a81586bdb799f393059934938
Apply Filter: Only show the errors of this type Type of error: Undefined
Apply Filter: Only show the error messages of this URL http://www.bluesunalliance.com/index.php?action=feedsadmin;sa=editfeed2
Apply Filter: Only show the errors with the same message
8: Undefined offset: 24
Apply Filter: Only show the errors from this file
File: C:/Clients/bluesunalliance/Sources/Subs-RSS2.php
Line: 142
add getting this error. same stuff, over and over whenever its trying to post.
Table 'hq_4430***_57***.smf_feedbot' doesn't exist
File: /home/vol1/hostwq.net/hq_4430238/htdocs/Sources/Subs-RSS.php
Line: 163
i have installed manually RS Feed Poster 2.0.1 when i tried to open myforum/cronrss.php
this shows me this error also when ever i have tried to install MODs in my SMF version 1.1.10 i got this error screenshot is attached. Please Help.
i have tried to solve it it show my database version is 1.1.9 and i m using 1.1.10 so i did upgrade now its given me this error
QuoteTable 'hq_443****_57***.smf_feedbot' doesn't exist
File: /home/vol1/hostwq.net/hq_443****/htdocs/Sources/FeedPoster.php
Line: 55
i got this error on /cronrss.php
QuoteTable 'hq_4430238_57690.smf_feedbot' doesn't exist
File: /home/vol1/hostwq.net/hq_4430238/htdocs/Sources/Subs-RSS.php
Line: 163
and this when i click in admin panel Feed Poster Config
QuoteTable 'hq_4430238_57690.smf_feedbot' doesn't exist
File: /home/vol1/hostwq.net/hq_4430238/htdocs/Sources/FeedPoster.php
Line: 55
This is my version detail
QuoteDetailed Version Check
This shows you the versions of your installation's files versus those of the latest version. If any of these files are out of date, you should download and upgrade to the latest version at www.simplemachines.org.
SMF File Your Version Current Version
SMF Package SMF 1.1.10 SMF 1.1.10
Sources 1.1.9 1.1.9
Default Templates 1.1.9 1.1.9
Language Files 1.1.9 1.1.9
Current Templates 1.1 1.1
here's what ive found to fix my html issues. TURN OFF HTML ENABLED. apparently, with that turned on, it assumes the place its posting will have total understanding of both basic and advanced html. also, this doesnt seem to post at all by itself. the only way ive gotten it to post is by using fake cron job and then loading the cron job url page whenever i want them to update. is this just a major flaw in the mod itself? does it just not work correctly without the cron job thing on?
Should work fine if you the cron job in the proper format.
@vbgamer45..
sorry to trouble you, could you please take a look to this?
Thx
I think this mod is greate. I can provide to my members, news from newspaper and so on.
Unfortunatly I have some prblms.
1)It doesn't work automatically "load" of rss, the only way I have is to run manually the cronrss.php and is not so easy because I'm not always in front of the pc.
2) What means the feed download method?
2.1 All ?
2.2 All ? what is the difference beetwen the 2 all?
2.3 fopen
2.4 fsockopen
2.5 curl
3) and again the cron join means that if I flag it aoutomatically the system run the script for insert post every time a user make a refresh?
4) In the log of the forum I receive a lot of error to this part of script..Subs-Rss.php line 143
function startElement2($parser, $name, $attrs)
{
global $depth;
$depth[$parser]++;
}
5) And last I have as the other the prblm on the mark as reed that doesn't work.
6) Suggestion --> features improvement: Could be greate, if it's possible have a menu that enable to delete all post from the specified user used to post after certain time, so you can take clean the "sub-board".
I think that as I told this is a greate script and that a lot of people could use and, support the author or somebody that want to deploy this..
Thx for your support
Eng
correct cron job format? so basically, it doesnt work without the cron job? i have gotten it to work fine with cron job so far. of course, i have to have the cron job url in a seperate tab, set to reload every X mins, where X mins = number of minutes between each feed pull. but i doubt u had that in mind when creating this mod. so many people post about this mod having issues and not working properly. so does this actually not work without cron job?
Please help me To Solve My Prob :( ... i have told u above but no replies :(
Quote from: SocksHeaven on November 06, 2009, 11:03:07 AM
Please help me To Solve My Prob :( ... i have told u above but no replies :(
You need to install the database tables since you did it manualy you have to copy the install file to the root of your forum to create them.
Hi
I know this mod is no longer supported, however I think it's great and have installed it on my new forum. However I'm having a problem with the feeds, it appears when they are posted, ALL the html code is still showing.
I have allow basic html turned on and also enable html within the mod. Does anyone have any ideas as to why this is happening and how I can go fix it! I'm testing this with a feed from MajorNelson (XBox).
To the author of the mod, great work it's a wicked edition to the community!
Intresting this post above me about 'not being supported' anymore as it just got updated hence the reason why I am posting ;)
VBGamer45 this new update, what are the changes?
I installed it, clicked on the 'installed files', but it just went back to the packages page.
Also I don't see the RSS image on the board appearing.
The same happened with the previous version which is btw also v1.1 :)
Also uninstal does not work, nor removal of the mod other then trough FTP.
SMF 1.1.10
As Theme
TinyPortal 1.04b (sorry about that, love EZportal but I'm not alone in the decissions :))
Quote from: yared on November 09, 2009, 05:35:35 AM
Intresting this post above me about 'not being supported' anymore as it just got updated hence the reason why I am posting ;)
VBGamer45 this new update, what are the changes?
I installed it, clicked on the 'installed files', but it just went back to the packages page.
Also I don't see the RSS image on the board appearing.
The same happened with the previous version which is btw also v1.1 :)
Also uninstal does not work, nor removal of the mod other then trough FTP.
SMF 1.1.10
As Theme
TinyPortal 1.04b (sorry about that, love EZportal but I'm not alone in the decissions :))
That would be the RSS feed image mod different than the poster only appears on the default theme.
Updated for SMF 2.0 RC2
what i'ad to do to add a cron... i know that is moove cronrss.php to somewhere but i don't know where
A cron is done though your website control panel.
i know... but can you tell me how i add a cron job?
Do a search on google. I do not know how to add one via a control panel.
@vbgamer,
did you take lokk to my post?
How to set up it to update once for every day?
It seems we only can set up the interval to be between 30-60mins;
Even if you set up the interval to be 36600-mins, the mod will still update hourly.
Quote from: drroot on November 14, 2009, 07:45:08 PM
How to set up it to update once for every day?
It seems we only can set up the interval to be between 30-60mins;
Even if you set up the interval to be 36600-mins, the mod will still update hourly.
That's odd. Thats the time I've set it to and it does it per day, but I'll look into it for you since it seems a problem a few people have had.
Quote from: c-ron on October 16, 2009, 07:43:31 PM
The option for 'Mark as read' is checked for all of my RSS feeds, but new news items still shows up in my user's 'Unread' list (?action=unread). However, they don't show for me. How can I make it so these messages never appear on anyone's unread list?
I have the same problem, anybody knows how to solve it? :-[
I had a mysterious problem with RSS Feedposter after using it successfully for over a year. On November 5,2009 messages stopped feeding but not completely. Every couple of days a feed message would get through. The forum error pages numbered into the thousands. I had tried changing several configuration options with no change. Just now I changed the feed download option to "curl" from "all" and nearly all my feed boards (15) have new messages in less than 10 minutes. In addition the forum suddenly runs far faster!
Quote from: OneActivist on November 25, 2009, 03:12:43 PM
I had a mysterious problem with RSS Feedposter after using it successfully for over a year. On November 5,2009 messages stopped feeding but not completely. Every couple of days a feed message would get through. The forum error pages numbered into the thousands. I had tried changing several configuration options with no change. Just now I changed the feed download option to "curl" from "all" and nearly all my feed boards (15) have new messages in less than 10 minutes. In addition the forum suddenly runs far faster!
What version? Curl is probably the best option. And if you are using cron jobs that is the best bet.
I'd appreciate some help with this.
I've installed it and set up some feeds, but nothing is happening.
I have checked and fsockopen and fopen are active on my server, but cURL isn't
..so I have set the feeder to retrive using fsock open.
Is this right or do I need curl working anyway?
If so, how do I enable curl in cpanel?
Thanks in advance for any help :)
And it seems not work well for html formated feed.
Great mod, If it still worked for me, oddly after i installed it, I worked for the first post & never worked again, I've tried uninstalling and reinstalling, I couldn't ever get it to work again, I'm suprized not much people have made a mod like this..
any idea what could be wrong thanks. :}
How do I set the cron jobs up in cpanel for this??
How to cronjob in cpanel (http://www.google.com/search?rlz=1C1GGLS_enUS347US347&sourceid=chrome&ie=UTF-8&q=cronjob+in+cpanel+howto)
OutDated ???
How & Why ?
Can i use this ,?
When i enter Cronrss.php
Quote
Notice: Undefined variable: scripturl in /vhosts/lol/html/bb/Themes/default/languages/Modifications.english.php on line 14
Notice: Undefined variable: scripturl in /vhosts/lol/html/bb/Themes/default/languages/Modifications.english.php on line 14
Fatal error: Call to undefined function db_query() in /vhosts/lol/html/bb/Sources/twitter.php on line 553
These Errors Are Eating My Log :(
And i don't have cpanel to make cron i think this may work using .sh file ?
In last two weeks – approximately – I experienced problems with this plug-in I successfully use very long time
Most noticing error on some don't working rss which I checked (trough edit feed) give me a next result when I try to exit from them - Unable to download the feed.
That rss work but for because some to me unknown error it simply don't want to feed them into my forum. I lead for minimum 3 years and I have approximately 30 different feed which has been working good – till now – Now some of them simply don't want to work – without some obvious reason.
I didn't installed some new plug-in but I regularly update smf and I am now on 1.1.11
Any ideas how to solve all this will be appreciated
I can't remember when I install it, but will uninstalling and again installing solve problem? – Will my feeds will be again there or I must again fill them all? I will like to solve problem without to much trouble – that is idea – but ok – I am here to listen and to do what I need to do.
Thanks in advance
Spel
Check the forum error log for any relevant errors.
Next try to copy the feed url to your address bar of your browser and see if the feed displays.
1. When I put new rss feed into forum I already che3ck them – I work with already check rss feeds – and yes – I have try several time that same thing – to check is it feed working.
2. I don't have any errors into my logs – I check my forum every day and I will notice something like that – not even one error connected to that – in fact errors are very rare in there
My feeds are being retrieved just fine, but some characters are being stripped from the URLs, especially ampersands (&). This makes it so that the links do not work for the user to visit the origin page. Any ideas?
Great mod, thanks!
BTW, I don't know if anyone is interested or not, but I integrated the scheduling of the update with SMF's Scheduled Tasks in SMF2.0 RC1.2 by doing the following:
In the database I ran this query:
INSERT INTO {db_prefix}scheduled_tasks
(time_offset, time_regularity, time_unit, disabled, task)
VALUES ('0', '6', 'h', '0', 'update_feedbots')
in $themedir/default/languages/ManageScheduledTasks.english.php I added these two lines at the end of the file before the last php closing bracket:
$txt['scheduled_task_update_feedbots'] = 'Update Feedbots';
$txt['scheduled_task_desc_update_feedbots'] = 'Makes the feedbots go look for new items in their feeds';
in $sourcedir/ScheduledTasks.php I added these lines to the end of the file before the last php closing bracket:
function scheduled_update_feedbots()
{
global $smcFunc, $sourcedir;
// For the rss functions
if (isset($smcFunc))
require_once($sourcedir . '/Subs-RSS2.php');
else
require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
// Return for the log...
return true;
}
I'm sure some of this stuff is not in the "appropriate" places, but it works perfectly on my forum. I am NOT recommending that anyone else do this. I'm just putting this out there for anyone else that might be thinking along the same lines or if someone wants to integrate into scheduled tasks as part of the mod. I don't have direct access to my server so I have a hard time setting up chron jobs. This way is much easier for me to manage.
Great LP! I like that alot will add it shortly!
Weeellll, hold off on that a bit. I discovered that there is a problem with some info not getting to Subs-Post.php when I am not logged in. I'll see if I can figure that part out and will get back to you.
hmm That shouldn't affect it though cause that code is the same code used in the cron and your not logged in with the cron
I don't have time to test it at the moment, but I think if you add an 'ip' item to the $posterOptions array in Subs-RSS2.php (I will use 127.0.0.1), then it should work. That is why it is failing as a scheduled task, Subs-Post is not getting a "poster_ip". I don't really understand why. It will run just fine if I check the box and hit Run Now in the Scheduled Tasks area but errors out otherwise.
hmm that would explain a lot and why some people can't get it running.
OK, I made changes to this section of Subs-RSS2.php:
$topicOptions = array(
'id' => 0,
'board' => $feed['ID_BOARD'],
'poll' => null,
'lock_mode' => $feed['locked'],
'sticky_mode' => null,
'mark_as_read' => false,
);
$posterOptions = array(
'id' => $feed['ID_MEMBER'],
'name' => $feed['postername'],
'email' => '',
'ip' => '127.0.0.1',
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
);
I added the 'ip' line in the $posterOptions array. I also set the value for 'mark_as_read' to false, because when it is set to true it causes another error.
The 'mark_as_read' error comes from this code in Subs-Post.php:
if (!empty($topicOptions['mark_as_read']) && !$user_info['is_guest'])
{
// Since it's likely they *read* it before replying, let's try an UPDATE first.
if (!$new_topic)
{
$smcFunc['db_query']('', '
UPDATE {db_prefix}log_topics
SET id_msg = {int:id_msg} + 1
WHERE id_member = {int:current_member}
AND id_topic = {int:id_topic}',
array(
'current_member' => $user_info['id'],
'id_msg' => $msgOptions['id'],
'id_topic' => $topicOptions['id'],
)
);
$flag = $smcFunc['db_affected_rows']() != 0;
}
if (empty($flag))
{
$smcFunc['db_insert']('replace',
'{db_prefix}log_topics',
array('id_topic' => 'int', 'id_member' => 'int', 'id_msg' => 'int'),
array($topicOptions['id'], $user_info['id'], $msgOptions['id'] + 1),
array('id_topic', 'id_member')
);
}
}
The thing to notice there is the $user_info['id'] that is used in two places. That is not something that is passed from Subs-RSS2.php, so if it is run as a scheduled task or chron job there won't be any "user_info". I'm not sure how to fix this other than turning off the mark_as_read flag. Any ideas there?
Quote from: LP on December 09, 2009, 01:05:13 PM
My feeds are being retrieved just fine, but some characters are being stripped from the URLs, especially ampersands (&). This makes it so that the links do not work for the user to visit the origin page. Any ideas?
Great mod, thanks!
BTW, in trying to fix this problem, I have determined that there is a problem with the version of libxml2 that is installed on my host. As I do not have control over this, and they are unlikely to do anything about it, I put a workaround in the Subs-RSS2.php file to correct for ampersands, greater-than, and less-than:
$feeddata = GetRSSData($feed['feedurl']);
if ($feeddata != false)
{
$feeddata = str_replace('>','>',str_replace('<','<',str_replace('&','&',$feeddata)));
New guy to RSS and php here
Can someone tell me what a fake cron job is? Do I need to click that for the RSS feed to work?
Rick
2.1
Big Thanks to LP for this release for bug fixes and scheduled tasks support
!Fixed two bugs with feeds not being posted if run by cron job. IP Address
was required and mark_read needed to be false in order to work correctly
+Added task to scheduled task area for SMF 2.0
this mod is imply great, i love all your mods...u are awesome man!!!
Quote from: KirkhamsEbooks on December 13, 2009, 12:51:43 AM
New guy to RSS and php here
Can someone tell me what a fake cron job is? Do I need to click that for the RSS feed to work?
Rick
A fake cron job basiclly runs when the page is loaded and checks if the feed bots are needed to be updated. We recommend using a real cron job or for SMF 2.0 using scheduled tasks instead.
vbgamer, i've just tried your mod but, when the bot writes the message, it's full of unidentified tags, such as Div etc...and all the message is bad formatted...why?
see this topic for example
http://www.postimage.org/image.php?v=PqaFsH9
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.postimage.org%2Fimage.php%3Fv%3DPqaFsH9&hash=024cdc55f0bdc2eecd5ec53d579756595ee9f8eb)
That feed contains html which caused that formatting to occur
and what do to to make a correct formatted post?
scimmiotto, make sure you have activated the "HTML Enabled" checkbox in the "Edit Feed" dialog. If that is not the problem, make sure that the member you have chosen to post the feed is an Administrator for your forum, as only Administrators are allowed to post html (they can use the html bbc tag).
the HTML is enabled, and my newsbot is also administrator...but there's this error yet...where can i enable html in groups?
Help plz, see how the bot writes up the posts:
http://ingegneria.bebnet.org/index.php?topic=428.msg1304;boardseen#new
scimmiotto, try replacing your Subs-RSS.php and Subs-RSS2.php files in your Sources directory with these that I have attached. I had a similar problem and fixed it with some edits. I thought they were problems related to one particular feed I was using, perhaps the same problem appears in other feeds as well.
After you replace the files you will need to empty your forum's file cache (Admin > Maintenance > Forum Maintenance > Empty the file cache) before you try it.
i'll try tnx.
Actually i use a NewsBot with admin privileges...must i activate the basics html tags in board and topic? or that settings are related to normal users?
tnx :)
nothing yet :(
http://ingegneria.bebnet.org/index.php?topic=436.msg1358#new (http://ingegneria.bebnet.org/index.php?topic=436.msg1358#new)
You have removed guest access to that board, so I cannot see what is happening.
Edit: Ah, I see you have just removed the topics so that your links no longer work.
scimmiotto, this is what the feed http://feeds.feedburner.com/edilio looks like on my forum using the files I gave you:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi247.photobucket.com%2Falbums%2Fgg150%2Fqwerty322%2Fsystem%2FScreenShot013.png&hash=f481c357231fab2b0e7ac5816a11fd4003eed53b)
http://i247.photobucket.com/albums/gg150/qwerty322/system/ScreenShot013.png
There are some characters that do not show correctly because my forum uses ISO-8859-1 instead of UTF-8. I am currently working on a way to fix that on my forum. The important thing is that the HTML is working correctly.
i dunno why it doesn't work on my forum...i've made the following:
i've created a newsbot giving it administrator group
i've inserted the edilio feed (what link do u use for edilio?), and enabled html on his feed
but it doen's work....
p.s. i've encountered worng caracters as in your post...is there any way to fix this at least? tnx for your support.
Quote from: scimmiotto on December 15, 2009, 04:33:59 PM
i dunno why it doesn't work on my forum...i've made the following:
i've created a newsbot giving it administrator group
i've inserted the edilio feed (what link do u use for edilio?), and enabled html on his feed
but it doen's work....
p.s. i've encountered worng caracters as in your post...is there any way to fix this at least? tnx for your support.
Have you enabled basic HTML in posts (Admin > Forum > Posts and Topics > Bulletin Board Code) ? And made sure the "html" tag is enabled in the checklist below?
I made some more changes to the Subs-RSS.php and Subs-RSS2.php files to help with bad characters for my forum. See if they help any on yours.
EDIT: This is the link I used for Edilio:
http://feeds.feedburner.com/edilio
Thx Vbgamer
But
This Grabs Only A Title And A Link To Source
I Wana Grab Full Article
What Shoul I DO ?
In my case all the feed I'm getting is summarized, instead being complete. The feed comes from a wordpress based blog, and all the options there are turned to "feed complete" instead of summarized.
Which could be the problem?
This mod only fetches the title and description and link from the post
Quote from: vbgamer45 on December 17, 2009, 08:59:26 AM
This mod only fetches the title and description and link from the post
Is there a mod that fetches the same way this does, but the complete post?
Complete post would be hard to do. You would have to new another request then parse the page and that would be custom for each feed/page
Have recently upgraded from SMF 1.1.11 to 2.0 RC2 and have reinstalled several mods that are supposedly compatible with 2.0 RC2...
Have reinstalled new version of RSS Feed Poster, but am very confused as to why the cron daemon would report this error in the email it sends me at each run (hourly), why it would attempt to execute Sources/twitter.php is beyond me, twitter.php has a seperate compatibility issue that I will be taking up with it's author after I finish this post...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Frjventure.com%2Fimages%2Fsmfhelpticket24.png&hash=3e27eb4a112b28fc1cca763ce40c9c86d66bba9e)
Make sure you are passing it to cronrss2.php in the cron
Twitter mod might be injecting into the files used for SMF but I would check the cron job is pointed to the smf2 version
Howdy,
I've been trying to use this mod as well in SMF 1.1.11. I'm also having the html code issue. http://dragstory.com/forum/index.php/board,15.0.html
Is there anything I can do to fix this? I've got the html enabled and I'm the poster and forum admin.
Thanks,
Mark
Quote from: Mark Walter on December 19, 2009, 11:01:57 AM
Howdy,
I've been trying to use this mod as well in SMF 1.1.11. I'm also having the html code issue. http://dragstory.com/forum/index.php/board,15.0.html
Is there anything I can do to fix this? I've got the html enabled and I'm the poster and forum admin.
Thanks,
Mark
Mark,
Make backup copies of the Subs-RSS.php and Subs-RSS2.php files in your Source directory and then try the attached versions instead. I have gotten HTML working and cleaned up some of the special characters for my forum and it might work on yours as well. You may need to clear your file cache after uploading the new versions before it will work properly.
Are you using smf 1.1.11 or 2.0?
You would use Subs-RSS.php for SMF 1.1.x
Ok...still no change, or do have have to wait for a new feed to post to see if it worked?
Yeah you would need to wait for a new feed.
OK, anyway to force it or do I need to be patient? :o
Is there a way to make it not link to the feed page, i just need it to post when i update twitter and i do not need a link to go to my twitter page
Quote from: Mark Walter on December 19, 2009, 04:29:15 PM
OK, anyway to force it or do I need to be patient? :o
You could delete the entries in the feedbot_log table in your database, then hit the chronrss page. It will make new posts that duplicate your old feed posts, but they will (hopefully) be fixed.
Are you talking about the button on the setup page?
Update, when I try to run croncss.php, I get the following error: Fatal error: Function name must be a string in /hsphere/local/home/j-angel2/dragstory.com/forum/Sources/Subs-RSS.php on line 266
Quote from: Mark Walter on December 19, 2009, 07:37:57 PM
Update, when I try to run croncss.php, I get the following error: Fatal error: Function name must be a string in /hsphere/local/home/j-angel2/dragstory.com/forum/Sources/Subs-RSS.php on line 266
Ahh, yes, that would be because I am a freaking idiot and pasted over something that I should not have.
Give this a try instead.
Well I wouldn't say your an idiot! This just pulled in some new feeds and they are looking good! Thanks!!
I am getting this (Hacking attempt... ) when I run the the cronrss.php page. Is that normal?
Quote from: Mark Walter on December 20, 2009, 12:04:40 AM
I am getting this (Hacking attempt... ) when I run the the cronrss.php page. Is that normal?
Not that I know of. It doesn't really necessarily mean that there is a hacking attempt, though.
Well, we will see how it all works out. The feeds it pulled in where void of the html code, so that appears to be working now. Not sure when the others will update. Thanks again!
I will let you know later today.
OK Thank
There Is Another Mod
RSS Feeder That i Think It Grabs Full Articles
Is It A Remake Of This ?
LP, how far back in time will the bot go to grab feeds?
Is there a way to make it not post the url?
Quote from: Mark Walter on December 20, 2009, 07:18:13 AM
LP, how far back in time will the bot go to grab feeds?
As far as I know, it will go back and grab as many feed entries as are available in the feed. Usually the feed itself is cut off at about ten entries or less. If you have a bunch of older entries in the feed (check by opening the feed URL in firefox), you should be able to retrieve them with the feedbot by setting the number of items to retrieve higher in the feed's feedbot settings.
Well, something isn't right. I've cleared the cach from the database. It has pulled in on 2 categories, but not on several others. Any ideas?
LP, still having problems making this work. It pulled in a few feeds initially, then hasn't done anything since. I dumped the cache out of the data base, still nothing. Any ideas or suggestions?
Thanks,
Mark
What I'm getting is an error when I execute the cronrss.php file. It says 'Hacking Attempt...' If I'm reading the code correctly, it's actually not executing the file because it sees this as an attempt at hacking.
OK, I've managed to hack and slash the code enough to get nearly all of the special characters taken care of with the exception of the ampersand which comes in like this & Any ideas what line of code I'll need to replace that?
File attached
Quote from: Mark Walter on December 22, 2009, 12:18:10 AM
OK, I've managed to hack and slash the code enough to get nearly all of the special characters taken care of with the exception of the ampersand which comes in like this & Any ideas what line of code I'll need to replace that?
File attached
So this version of the file does not give the "Hacking Attempt" error? The only thing you changed that would affect that is that you removed the latest "official" edits to the mod (adding the 127.0.0.1 ip address and changing "mark_as_read" to true).
Nope, still getting that...actually what I did was try to blend the 2 files together. I didn't add the ip address, not sure why you'd want a loop back anyways, or did I change the mark as read to true. Not sure where those got changed.
I really know little about php coding, so it was truly hacking and slashing and happenstance at best. I took Vb as my language course at school, so I do have an understanding of coding in general.
It still doesn't look for files on it's own (I'm not sure if I have it configured properly). I have to run the cronrss file to get things pulled in...and it needs additional characters stripped/replaced such as the ampersand. I did try my hand at coding those out. I failed! :o
But, for the most part, it does work. ;D
Quote from: Mark Walter on December 23, 2009, 04:36:46 PMI didn't add the ip address, not sure why you'd want a loop back anyways, or did I change the mark as read to true.
Look back a couple of pages in this thread and you'll see why the ip address was placed in there.
I have an idea why the error might be happening, but I don't have time to change anything right now. I also don't have an SMF 1.x installation to play with and test it out.
If you find time to work on it, I'll be more than happy to test it for you! ;D
Quote from: vbgamer45 on January 11, 2007, 10:01:17 PM
Did you setup a cron job and point it to http://www.yourforum.com/cronrss.php
Or use the fake cron job option on the settings page of the Feed Poster
i am using the cronjob when using using it there is an error
/bin/sh: http://host-2-post.co.cc/forum/cronrss.php
: No such file or directory
Yeah that is not a valid php cron job
Should be something like
/usr/bin/php /home/username/myscript.php
is possible to dont post the title in the body post but just in Topic title ?
Possible but would require you to modify the code no setting at this time.
Quote from: vbgamer45 on January 14, 2010, 12:03:42 AM
Possible but would require you to modify the code no setting at this time.
which file i should modify ? and what ?
Would be found in sources/Subs-RSS.php you would have to find where it is adding the title to the body in that code
how do I know if this is working?
You would see posts on your forum in the board that you wanted.
there is a way to get all the article ?
No there isn't it posts whatever is in the feed that they have.
Sites don't like you reposting their entire articles either.
Quote from: vbgamer45 on January 15, 2010, 09:27:48 AM
You would see posts on your forum in the board that you wanted.
ok not seeing that... I have fopen turned on.. just double checked...
Do you have a cron job setup?
It also uses either curl or fscokopen
I have to set up a cron job? I thought that the mod just did it for me?
I did nothing more than install the mod, activate a couple rss feeds and made sure that fopen was on.
do I need to do more?
by the way I am using smf 1.1.11
Yeah should setup a php cron job to point to the cronrss.php file otherwise feeds will never be posted.
that explains a lot lol
ty vb :D
Quote from: Harvester on January 15, 2010, 10:19:25 PM
that explains a lot lol
ty vb :D
Yea you should be fine once you get that puppy pointed to correct file properly, I'm getting ready to update to latest version, but mine's been running great for several weeks now... gotta make sure you use the cron job's backoffice pointing utility to make sure it finds the correct file without any problems, each host's cron system is not the same setup, but if you don't get the path correct it will be a major headache, trust me.
ok I am in business now! Working great! :D
ONe question tho...
is there any way I can have a line of text added to the end of each post the feed poster makes? Id like to be able to do that somehow if possible.
also, is there any problem with set a feeds update to longer periods of time... such as 1440 or 2880 minutes? (24 and 48 hours) does it make the server work any harder or anythhing like that?
Doesn't cause any problems. Remember it also only checks when ever you have the cron job scheduled to run.
Quote from: Harvester on January 17, 2010, 12:26:09 AM
also, is there any problem with set a feeds update to longer periods of time... such as 1440 or 2880 minutes? (24 and 48 hours) does it make the server work any harder or anythhing like that?
I've got mine set to update all feeds hourly at the top of the hour and only occasionally get a bandwidth spike, depends on how many new posts it finds and I have quite a few feeds set up...
Here is a minutes old snapshot of the stats covering my own bandwidth usage month to date, keep in mind that this chart covers my entire domain, of which, my SMF Forums are a small subsection and if you can read it, I rarely even approach 1/2 of my total monthly allotment...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rjventure.com%2Fimages%2Fsmfusagetip019.png&hash=6fc0b714ac332ba202811eedaad9963c2f805b66)
Every hour is a good idea to have them checked for feeds it is a simple query to checks if the feed needs to be updated if so it fetches the latest feeds
Quote from: vbgamer45 on January 17, 2010, 10:04:10 AM
Every hour is a good idea to have them checked for feeds it is a simple query to checks if the feed needs to be updated if so it fetches the latest feeds
Yea now if I can get a pesky minor problem with interference in the operation of the cron job by two other modules that I've got installed, the Twitter and Facebook Publisher and SMF Arcade, I'm getting error msg's in the status email that the cron daemon sends me upon completing its task, however it is not causing any functionality disruptions or SMF errors that I am aware of in any of the mods... the authors are looking into it hopefully to addressed relatively soon
I get error message whenever I try to add a feed.
XML error: not well-formed (invalid token) at line 141
I am using SMF 1.1.1..
What is the feed url that you are trying to use?
I am trying to get news from osnews.com also the fsockopen is enabled on my site.
It fetched the latest news when I checked the "Use fake Cron jobs" option but then it never run and gave me latest news.
Other question where I can download the latest version of this MOD? I mean THE Latest.
That latest version of the mod is from the mod site.
Try using a real cron job instead read a couple posts back
What is the full url that you are using so we can see if it is well formed.
Here is the URL:
http://www.osnews.com/files/recent.xml
That feed looks ok valid in firefox
Yes but the MOD is not fetching any latest news from that URL
Try using another method other than fsockopen and use cron jobs
when i run the cron job I get error "404 not found"
Quote from: technica on January 19, 2010, 10:42:27 AM
when i run the cron job I get error "404 not found"
I have set "All" for methods. do i need to specifically select the method from drop down options?
Yeah I would try other other ones instead. All just uses the first one that might work.
when i run the cron job I get error "404 not found"
What are you using for the cron job?
No, I mean, when running the cron job file from firefox manually, it gives me error "404"
Also about the one setup in the my control panel I have setting that just sends me email whenever cron job is run, and I get error that says no such file exists.
You tried running http://www.yourforum.com/cronrss.php?
yes thats true
Then you are probably missing a file from the mod Are you using SMF 2.0?
No friend I am using SMF 1.1.11
REdownload the mod copy cronrss.php to your root folder of your forum.
Done that, but still the same error.
Can you give me files names that should get uploaded with this mod with directory structure?
I can check whether all the files from the mod are on server or not?
You can check from the modsite using modparse or extracting the zip. Also check permission is good on cronrss.php should be 755
You got it right mate, the problem was with file permission, the MOD is working very well now.
As with all others, I also do want to know how can I stop increasing the post count for the poster due to this MOD and the overall Topic Numbers for the forum?
For stats you can't unless the board doesn't count posts
ok THANKS I appreciate your help.
Glad you got it going now!
is there any way I can have a line of text added to the end of each post the feed poster makes? Id like to be able to do that somehow if possible.
Possible But you would need to modify Sources/Subs-RSS.PHP
Quote from: vbgamer45 on January 20, 2010, 12:03:26 AM
Possible But you would need to modify Sources/Subs-RSS.PHP
I figured Id have to modify something but dont know what to modify or what code t o modify with. Any chance I can get a hand with this, please?
Is there a reason why it would double post?
Quote from: siklife on January 21, 2010, 11:55:28 PM
Is there a reason why it would double post?
Sometimes the feed entry changes ever so slightly (like the people that run the site fix a typo in a feed entry) and it gets posted again because it detects that it is "different" (which it is, in fact).
LP that is a good reason forget that could occur if the feed is modified since it is doing a hash of the feed to check if is new or not.
how to config this mod ? there is any guides for it. :D
VB
Some of my feeds format very nicely and other look like crap I have HTML off as I thought that may be it but its not... Any thoughts ?
Here are a few examples.
This one shows the whole post
http://www.radiocentre.ca/forum/index.php?topic=76.0
This one shows a snippet then a link
http://www.radiocentre.ca/forum/index.php?topic=79.0
Then this one again shows the whole thing ,which I don't want as I would rather have them go to the link of the original author
http://www.radiocentre.ca/forum/index.php?topic=74.0
Ultimatley is there a way to
Have the headline
Have a snippet
A Picture (if there is one associated with the story)
Then the link
When you have a moment please sir.
Joe
It depends on what each feed has. Some give a snippet others may give you more.
So no way to make all the links uniform then sir?
i saw this mod has no suport anymore. As i trust the author, i am asking if is secure to install this mod on version 1.1.11
thanks
The mod is secure mainly put as unsupported since requires cron jobs for 1.1.x and many people don't know how to set it up
what does this error means ?
Erro XML: not well-formed (invalid token) na linha 4
i think the error cames from here;
function startElement2($parser, $name, $attrs)
{
global $depth;
$depth[$parser]++;
}
thanks
hey is there a way to disable it from posting a link to the full rss feed link at the bottom of the post?
Not at this time
Quote from: vbgamer45 on February 11, 2010, 11:03:15 PM
Not at this time
yes there is:
remove from Subs-RSS.php
break;
case "LINK":
$context['feeditems'][$feedcount]['link'] .= $data;
Yeah but no configuration option yet
hey question is there a way to have a feed posted in 2 boards as atm i've got 2 feeds setup going into 2 different boards and there the same rss feed but it's only posting to one board?
I don't believe so it checks to make sure the feed is unique if it is not unique it won't post
Quote from: vbgamer45 on February 12, 2010, 12:23:18 AM
I don't believe so it checks to make sure the feed is unique if it is not unique it won't post
isn't there a way to disable that? (remove that bit of code) as i really need to post my rss feeds into multiple boards...
and also it is the post or the rss feed it checks as if it's the feed can't i just use feedburner on the url then i have 2 different feeds?
It checks the post if it is duplicated based on the feed information.
What would be a good reason to have the same feed posted in two differenent boards?
Quote from: vbgamer45 on February 12, 2010, 10:38:07 AM
It checks the post if it is duplicated based on the feed information.
can that bit of code not be taken out or would the script/bot just post the same post over and over again?
Quote from: vbgamer45 on February 12, 2010, 10:38:07 AM
What would be a good reason to have the same feed posted in two differenent boards?
many reasons... isn't there anyway to do it?
http://www.rlslog.net/category/applications/ebook/feed/
seems to do everything i need/want :)
MOD installed well. no errors !! Server is OK
feeds that i am trying to get..
1-http://feeds.feedburner.com/TecnologiaOnline.xml
2-http://feeds.destakes.com/destakes/canal/desporto.xml
Nothing happens. no errors, no posts... :(
any idea ?
Quote from: playdiune on February 13, 2010, 01:33:32 PM
MOD installed well. no errors !! Server is OK
feeds that i am trying to get..
1-http://feeds.feedburner.com/TecnologiaOnline.xml
2-http://feeds.destakes.com/destakes/canal/desporto.xml
Nothing happens. no errors, no posts... :(
any idea ?
Administration Center » Scheduled Tasks
then click the tick next to 'RSS Feeder' and click run
server administration center or forum administration center ?
pleaaaase help me- i dont see where is the tick RSS FEED to click and then click RUN
( using version 1.1.11 )
i am going crazy...
There is no scheduled task for SMF 1.1.x you need to manually create a cron job
Is not suficient check the fake cron job box ?
could someone writte here a simple and default cron job for this mod ? and the basic steps to make it work, please ?
Check a couple posts back i think someone did it it
ok ok
i made a cron job on my server to run every hour and pointed to http://www.new-digital.net/cronrss.php
i received this email;
/bin/sh: http://www.new-digital.net/cronrss.php: No such file or directory
what does it means ?
That's not a valid cron cmd you need to call php with the script directory or do
wget http://www.new-digital.net/cronrss.php
now i got this with wget ;
Quote--2010-02-13 13:30:01-- http://www.new-digital.net/cronrss.phpResolving www.new-digital.net... 66.147.244.182Connecting to www.new-digital.net|66.147.244.182|:80... connected.HTTP request sent, awaiting response... 200 OKLength: unspecified [text/html]Saving to: `cronrss.php' 0K 1.52M=0s 2010-02-13 13:30:04 (1.52 MB/s) - `cronrss.php' saved [22]
but no posts on forum...
and now i have two files saved on my root server named;
cronrss.php
cronrss.php.1
and they have inside just one line " Configure feed poster "
vbgamer... dont forget me.... :(
sorry for this, but when i cant do something that i intent to do, i got crazy ! :)
here is my situation and i please aks for a little atention;
My configured URL feeds
http://feeds.destakes.com/destakes/canal/tecnologia
http://feeds.destakes.com/destakes/canal/desporto
http://feeds.destakes.com/destakes/canal/negocios
I have feed activated and HTML deactivated !I chose download feed with fsockopen.
On my server, i have a cron job activated to work every hour, like this;
wget http://www.new-digital.net/cronrss.php
On my forum log, i get no errors. everytime the cronjob works i get an email like this;
QuoteResolving www.new-digital.net... 66.147.244.182Connecting to www.new-digital.net|66.147.244.182|:80... connected.HTTP request sent, awaiting response... 200 OKLength: unspecified [text/html]Saving to: `cronrss.php' 0K 1.61M=0s 2010-02-13 17:53:02 (1.61 MB/s) - `cronrss.php' saved [22]
The file "cronrss.php" is saved, not in public_html, but on root server and when i check this file, it always has just one line;
FEED POSTER CONFIGURATION
Could someone please helpme on this ?!?!
wel... i found the mod was working :) the problem was on portuguese feeds i coul need.... they are almost all incompatible.
i gave up this mod :)
thank you all
I've just installed this mod and have a few basic questions.
Under the "number of items to import each update" option, what should I put here? I want it to import all new items in the feed whenever there are updates. But, I don't want it to duplicate any items either. So, do I put 10? That is the max items my feed is set for.
What does the HTML enabled option do? I have that checkmarked, but when my feed imported it was all in raw html. How do I get it to parse the html?
So far, everything else worked just fine.
It checks for duplicate items so you can make it that max items as high as you want in your case.
HTML option does not strip html if the feed contains it in the body.
OK, so how do I get it to display the feed without all of the HTML code showing up?
Another thing.... The feed is not updating for me. If I manually put the hash url in the address bar and run it it will update, but it is not doing it automatically.
Read over the posts above setting up a cron job
OMG I've read through like 10 pages of this crazy thread. I wish there was a quick link somewhere on setting up a cron job!!
rogue3ky
Your hosting company should have a tutorial on their site, if you are using CPANEL there is a cronjob icon and on there is the info.
This should help
http://www.dansoftaustralia.net/smfshop_wiki/Bank_Interest
not the bank intrest though just how to?
Updated for SMF 2.0 RC3
Note: For SMF 2.0 this mod has a built in scheduled task.
Prior to RC3 everything was working properly; but after upgrading from RC2 to RC3, the RSS Feeder has started creating double posts; this morning it created 4 duplicates even.
I have no idea on how to start troubleshooting this issue. I completely uninstalled it, downloaded the package updated for RC3 and re-installed; but it still does the same thing.
Any suggestions?
Thanks!
GM
Excuse for my English
At me the coding utf-8
From a site where rss the coding windows-1251
There is an error:
XML error: not well-formed (invalid token) at line 4
How it to eliminate? :-\
The site does not have good xml. So the site needs to be fixed in order for the feeds to work.
This mod used to work for me until I updated to SMF 2.0 RC3. I have all the same feeds it just will not post any new feeds. Fsockopen is working fine.
Any ideas??
Is there some code I can alter that will stop the feeds from disabling themselves?
What I did for now in ScheduledTasks.php was change the database query (enable = 1 instead of enable = 0) within the if ($rss_data->error()) statement, rather than muck around with the code. It seems that if it can't find a new item in an RSS feed, it disables the feed. (I did not trace the code back far enough to see when/how/where the error is generated.) There are some RSS sources I use that post only occasionally, or don't stick to a regular schedule, and these are the ones that are getting disabled.
I'll see if there are any other ill effects after this change. If not, I may keep it this way.
Your mod says :
This is an outdated mod that is no longer supported by its author. Use at your own risk
All in red... is that true?
Hi all,
I have installed this mod on smf 1.1.11 and has no installation error.
I want to publish a rss of giveawayoftheday.com with its feed:
http://www.giveawayoftheday.com/feed/
can anyone guide me how to do?
I have also checked Use fake Cron jobs. Update every 30 mins & number of items to import = 1
Please let me know where I am doing something wrong....
I am getting this error in error log:
8: Undefined offset: 1
File: /home/xxx/public_html/Sources/Subs-RSS.php
Line: 387
any issues with any settings?
How is a mod that has been updated to SMF 2.0 RC3 considered "outdated mod that is no longer supported by its author"? Or is that a mistake and it is safe to use?
It has been updated to SMF 2.0 RC3. I do not offer support for it though.
For those running on a windows box, call the following file however often you like with your task scheduler to simulate cron. Make sure to edit the file with your url on line 6.
Enjoy :)
ISO-8859-9 (Turkish) character problem in post and thread
how do fix problem ?
Whats the problem what happens?
Forum Language: ISO-8859-9
Thread and post character problem.
Error image:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi42.tinypic.com%2Fwc1gxs.jpg&hash=8fa38a4d8eac5ed32028f6e85567e144582cf1f2)
Hello there.
Just installed this mod on fresh 1.1.11 version, which i use as a test forum.
Installation was succesfully, and feeds forking fine with fake cron jobs.
However, i wanted to edit feeds, and got this error: (on edit or delete feeds)
Method Not Implemented
GET to /test/index.php not supported.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
So, what am i doing wrong?
My host has enabled fsockopen,fopen, curl php function, so that is not problem.
Regards.
It is an issue with mod_security options are disable it. Or edit rss feed code to change ;id= to &id=
Hm, how can i fix it?
I cant edit rss feed or delete it.
Also i would like to know if there is a way to increase number of letters in posts?
Thanks for your help vbgamer.
Check this or contact host
http://www.simplemachines.org/community/index.php?topic=34270.0
Thanks for your answer, ive sent mail to host support, and i hope that they can fix that.
Regards.
I sometimes get weird characters in my feed posts. I've tried turning HTML both on and off and still have issues with the output. You can look through some of them if you'd like, they can be found here:
http://www.bulletproofnerds.com/smf/index.php/board,31.0.html
It's like the HTML isn't supported at all cause the code never works right. But then when you set it to plain text you get weird characters like ' turn into weird symbols. I have examples of both in the topic I pasted above. Please help!
Quote from: vbgamer45 on April 19, 2010, 01:14:38 PM
It is an issue with mod_security options are disable it. Or edit rss feed code to change ;id= to &id=
Hello vbgamer.
My host tested some settings and they said that its not problem with mod_security.
Can you say me where can i edit rss feed code to change it to &id= ? I find that code in FeedPoster.template.php, but im not shore is there some other file that have to be edited?
Regards.
I am using RC3.
In RC3 I have scheduled task set to run every 24 hours.
I have some confusion.
In the add feed option what is "Update every x minutes" mean?
Does it mean that it will updaye every x minutes on its own?
x in my case is set to 30 minutes.
Or I have to set scheduled task to run every 30 minutes?
If you have it update every 30 minutes your scheduled task also needs to be 30 minutes which ever number is the least.
Thank you sir.
One more query
cronrss.php is only used in 1.1.11 version or does it have any importance in RC3?
What is the use of this in RC3 :
Use fake Cron jobs. Checks if feeds need to be updated on each page load. ?
cronrss.php is for smf 1.1.x
Use cronjobs over fake cron jobs.
so i can safely disable that checkbox in my RC3 as it has no function?
yup
Dear sir,
I constantly get this error:
http://www.giveaway365.com/index.php?action=feedsadmin;sa=editfeed2
8: Undefined offset: 29
File: /home/xxx/public_html/Sources/Subs-RSS2.php
Line: 142
what would be the problem?
Bad feed probably
I have a suggestion...
Theare are lot of feeds which are updated as "&"
Example:
"Candid, Clever & Cost-Effective: Review & Giveaway: A Big, Big Dream "
Is there any way to change "&" to a space when it is posted by the mod?
If HTML is enabled... the output comes with html tags in topic subject something like <b> ... </b> etc...
Quote from: giveaway365.com on May 10, 2010, 03:38:25 AM
I have a suggestion...
Theare are lot of feeds which are updated as "&"
Example:
"Candid, Clever & Cost-Effective: Review & Giveaway: A Big, Big Dream "
Is there any way to change "&" to a space when it is posted by the mod?
If HTML is enabled... the output comes with html tags in topic subject something like <b> ... </b> etc...
Yeah, I'm having the same issue...it looks terrible too!
Bump.
Nobody there anymore?
Mod is not supported
Hoping someone who uses this mod figures/figured it out. I spend a good deal of time daily editing topics to fix the above.
Quote from: chrishicks on May 17, 2010, 07:48:11 AM
Hoping someone who uses this mod figures/figured it out. I spend a good deal of time daily editing topics to fix the above.
Agree once again. I hate having to prune these lists as well as keep the duplicates out. Hopefully this will be seen by somebody who can figure out the fix for it???
Is there a way to make the feed poster automatically add
[html] [/html]
tags around the incoming feed?
Quote from: Plutuss on May 21, 2010, 09:16:08 AM
Is there a way to make the feed poster automatically add
[html] [/html]
tags around the incoming feed?
as far as i know you can't with this mod but you can with this one:
http://custom.simplemachines.org/mods/index.php?mod=1590
How stable is this mod running on 1.1.11 ?
Very stable.
thanks , installing now ...
Any way to assign a message icon to each feed ?
No
Ok kool, found a work around ...
What are the recommended settings... Cron job enabled and select curl ??
Yeah that works best or fscokopen if you have it enabled.
Quote from: vbgamer45 on May 22, 2010, 12:15:47 PM
Yeah that works best or fscokopen if you have it enabled.
Whats the diff .. sorry to ask im sure it was already stated .. can you point me to what each does. or how it works
And will i have to wait a min of 30 the see the first feed come in ?
Just different ways to fetch the data.
They all do the same thing but some hosts may have fsockopen disabled others might not have curl etc.
Time it takes depends on when you have cron set to run.
ok, i see mine keep resetting to 30 mins if i put in anything lower ..
Does All pull the entire article ?
Where can i see an example of a feed this mod pulls ?
It can only pull what is found in the feed so depends if the feed has the full article or not.
ok thanks .. waiting for a feed to come in ... should be able to pull feeds automatically
Quote from: mdrcracing on January 30, 2009, 01:24:42 PM
Also any images that is within the feed, it doesn't post. Is there anyway to change either one of these settings?
For those that are still trying to get this to work, I'll do what I can to help ya out, since I finally got mine working..
Thanks for any help on my topics.
I am trying the module out, mostly works but images do not get posted, is that part of what you got working ?
smf 1.1.11
default theme
Greetings!
My Rss Feed Poster is not posting on the forums like it should be!
a. Does the poster have to be a real member
b. does the cron job have to be setup with a specific url?
c. Does HTML have to be enabled?
d. Do I have to enable it on a board?
I have a feed; http://feeds.feedburner.com/garfield-5.xml and I have a picture of the settings I have. (accessed from configuration area)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fgarfieldp.com%2Ffeed.jpg&hash=ddb401e0f68c7c6cfea2ec6fe4a37fce628677e3)
That's a bad feed url should be
http://feeds.feedburner.com/garfield-5?format=xml
Since it needs to be RSS
A cron job should be setup for best results
still not working! Am I supposed to wait the 4 hours I set for the cron job? or is there something missing in a code?
Got some free time and fixed many many feed posting bugs so it should work better than ever now!
2.2
!Fixed next time check for Feeds
!Made sure update time on feed is changed when feeds are updated
!Better feed loop processing
how to upgrade? uninstall 2.1 and install 2.2?
That would be the best bet.
Quote from: vbgamer45 on June 22, 2010, 10:20:23 PM
Got some free time and fixed many many feed posting bugs so it should work better than ever now!
Next time you are playing around in the code; how hard would it be to add a "run now" button in the admin area to avoid the time waiting around to see if a feed is going to load or not?
JayR
Quote from: vbgamer45 on June 22, 2010, 10:20:23 PM
Got some free time and fixed many many feed posting bugs so it should work better than ever now!
I tried 2.1, it ran one time and then never ran again, I am trying 2.2, put in two standard xml feeds, set it for 30 minutes, waited 4 hours, nothing.
There does not appear to be any thing to trouble shoot, it should run and it don't; no indications as to why not.
Should it raise an alarm during the install if there is something in my system it does not like ?
Do you have any kinda script I can run to force it to make a run to see what happens? At this point I do not know if it is simply never being triggered, or if it is being triggered and failing to do the import.
jayr
Delete the old feeds from 2.1 then try to add them again.
Quote from: vbgamer45 on June 24, 2010, 12:54:13 AM
Delete the old feeds from 2.1 then try to add them again.
That is what I did, still not responding in any way that I can tell. To check that my feeds are valid I put in RSS Feeder, and it pulls in those feeds just fine.
jayr
What SMF version are you using?
Quote from: vbgamer45 on June 24, 2010, 08:08:20 AM
What SMF version are you using?
SMF 2.0 RC3 - RSS Feed Poster 2.2,RSS Feeder 1.1.4, Downloads System Pro 1.0.17.1, SMF Classifieds 1.3.5, SMF Gallery Pro 3.0.2, SimpleDesk - Integrated Helpdesk for Simple Machines Forum 1.0 Felidae, Aeva Media 1.1b, Ultimate Profile 0.9, Google Analytics Code 1.1, Twitter and Facebook Publisher mod 2.4, Stop Spammer 2.3.7, SMF Links 2.2, Sitemap 2.1.2, AjaxChat Integration 3.2.1, Ad Managment 2.3.6
FWIW a run button would be a great feature
There are characters in this mode error.Please help me.
I don't understand
I'm Turkish.Sorry.There is an error with Turkish characters. It shows '?' instead of 'ı', 'İ', 'ğ', 'ş', 'Ş'.
Convert the rss feed tables to UTF8 in phpmyadmin
how to?
Use phpmyadmin to find the feed tables then change the table coalition to utf8 under table options
hello!
anyone know how to enable the post to are not html?
eg automatically publish a post when I get so
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi48.tinypic.com%2F2i1icn6.jpg&hash=19119cfe869fe2a42272557447d0cefe71026fe5)
so instead of going out
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi45.tinypic.com%2F346t4lg.jpg&hash=45017f9107611910796b72e4d31f33b858326fb0)
thanks...
Havent' been able to figure that out I tried putting tags around it didn't work.
Quote from: vbgamer45 on June 24, 2010, 08:08:20 AM
What SMF version are you using?
If you can give me the URL of a known good xml source I will set up a test forum and try to to use 2.2 again, however at this point it does not appear to be working on my system.
jayr
Try this feed http://mods.mybboard.net/syndication/latest-submissions
I have problem after upgrade this mod. In error log see "8: Undefined offset: 1" in Subs-RSS2.php. Line 407.
I am trying to uninstall this mode but I can't remove it from scheduled tasks. How to remove the cron jobs that it set?
I notice that this was asked early on in the thread, but never answered (so far as I can tell):
How hard would it be to, uh, mod the mod so that it posts feed updates as posts to a single specified thread, instead of multiple threads?
Possible to do would require php coding to do so.
although i know a bit of php, this is way outside my scope. oh well! thanks for the response.
Hi Everyone,
I searched and searched, but NOBODY seems to be having the problem I'm having with this AWESOME Mod. Other than this issue, my SMS 1.1.11 with Feed Poster 2.1 is working PERFECTLY.
I'd LOVE to leave the HTML ON (it looks AWESOME, with photos and everything), but it comes into the site's message WITHOUT the required tags in order to display HTML properly in the message. I'm having to manually go in to each message and add the tags, and that sort of defeats the purpose of having a Bot add news items as posts.
Can anyone suggest something simple I can do to automate this, or fix this somehow?
Thanks so much in advance for your kind assistance!
Take Care,
Erik
I am having the same problem! thanks quadrabay! I am trying to get it so it posts the comic of the day rss but it gives me all this nonsense.
Hi GarfieldP,
You can fix it manually if you like by simply adding (Left Bracket)html and (Right Bracket, Slash) html to the beginning and end of the HTML code you'd like to correct. Also, you have to enable HTML in permissions, and the garbagey code will magically transform into beautiful posts. (the board won't show the actual brackets...)
I'd LOVE a way to either add these two tags automatically, or some other (hopefully simple) way to accomplish this.
Good Luck,
Erik
thanks man! I really appreciate it! I am also interested in a automatic tag adder
I was wondering if you could add a feature to embed the RSS feed into a iframe so it displays the page where it came from, that would be much better to represent the RSS feed as a whole and be able to see the width/height of it.
Probably not something I would do
Quote from: quadrabay on July 17, 2010, 01:45:36 PM
Hi Everyone,
I searched and searched, but NOBODY seems to be having the problem I'm having with this AWESOME Mod. Other than this issue, my SMS 1.1.11 with Feed Poster 2.1 is working PERFECTLY.
I'd LOVE to leave the HTML ON (it looks AWESOME, with photos and everything), but it comes into the site's message WITHOUT the required tags in order to display HTML properly in the message. I'm having to manually go in to each message and add the tags, and that sort of defeats the purpose of having a Bot add news items as posts.
Can anyone suggest something simple I can do to automate this, or fix this somehow?
Thanks so much in advance for your kind assistance!
Take Care,
Erik
Just installed this Mod and like it a lot, but I'm having the same issue as quadrabay.
(SMF 2.0 RC3)The HTML comes through as raw code so each post must be edited to insert the html tags before it displays correctly. For one or two feeds that's not a huge deal, but for three or more it starts to be a bit of work.
Is there a fix that can be applied to resolve this?
I've un-checked the 'HTML Enabled' for now to see how that looks.
Thanks... Ken.
Check quadrabay post a couple posts up
Quote from: vbgamer45 on July 22, 2010, 01:03:29 PM
Check quadrabay post a couple posts up
Sorry if I'm not understanding the post, but I'm already doing that... adding the html tags manually after the feed is posted.
EDIT: Spelling.
When you add a feed if I get the error:
XML error: mismatched tag at line 20
The functions fsockopen, fopen, curl are enabled.
Nor does the cronjobs.
Help Please!
That's a bad feed not proper xml so it can't be used.
Thanks for the responses VBGamer,
I'm wondering if there is any part of your Mod, a template (or something) that could simply be edited to both add the HTML tags before and after HTML RSS Posts, as well as change the way the posts look coming in a bit.
I tried AutoBBC to add the tags "automagically" to all my postings on a test board, and it failed. Obviously, Feed Poster must bypass my user posting settings. Right now I've added a BBC button for the HTML tags, so at least now I only need to select the code and hit one button, then save - lather, rinse, repeat.
Any ideas or help you could offer would be very appreciated!
Thanks for the amazing SMF MOD!
Take Care,
Erik
Check the Subs-RSS.php that's the code that creates the post in there
I installed rss feed poster 2.2 yesterday. I am having two problems showing up. Yesterday, the initial feeds posted like this:
SportsChicago Cubs pitcher Carlos Zambrano is expected to rejoin the team during next road trip
« on: July 23, 2010, 10:48:07 PM »
Chicago Cubs pitcher Carlos Zambrano is expected to rejoin the team during next road trip
<a href="http://api.tweetmeme.com/share?url=http://sports.espn.go.com/chicago/mlb/news/story?id=5404538&campaign=rss&source=ESPNHeadlines&service=bit.ly&source=espn"><img style="padding-left:10px;" align="right" border="0" style="border:none;" src="http://api.tweetmeme.com/imagebutton.gif?url=http://sports.espn.go.com/chicago/mlb/news/story?id=5404538&campaign=rss&source=ESPNHeadlines" height="49" width="41" /></a>Lou Piniella said Chicago Cubs pitcher Carlos Zambrano is expected to rejoin the team during next road trip.
http://sports.espn.go.com/chicago/mlb/news/story?id=5404538&campaign=rss&source=ESPNHeadlines
After the initial feeds were posted, no others have been updated/added. I don't know how to check to see if fsockopen is open. Yesterday, I had ALL selected in the drop-down box. When I checked the feeds and nothing updated, I tried fscock and fsockopen. The feeds I'm running are: http://sports.espn.go.com/espn/rss/news and http://rss.cnn.com/rss/edition.rss.
I am just learning, so please use basic instructions. You all are very knowledgeable about PHP, HTML, etc. and leave us poor noobs completely lost with some of the explanations. Thank you.
Do you have a cron job setup?
If by that you mean checking the box, then yes. Otherwise, I am not sure what you mean.
Settings
Use fake Cron jobs. Checks if feeds need to be updated on each page load.
you have to set up a cron job in cpanel
Fatcow uses control panel. I searched for cron job in their knowledge base to see where I could find it and set it. It did not find anything. Where would it be mostly to be located? The RSS feeds work on the main site. They just don't work in my SMF site.
I'm using this mod since e few weeks and it seems that the topics opened by the bot are not counted! Any idea why and how to fix this?
Are not counted in the post count?
I don't know about the posts, because there are hundred of posts everyday. But I can see that the topics as numbers are not counted. I have created normal users to be used as bots and in their profiles the number of posts and topics is there.
Ok, maybe I found the problem. I see now that I use RSS Feed Poster 1.1. I should upgrade the mod.
I should only uninstall (not delete) the current one and then install the new version, right?!
That could be it. I recommend upgrading.
I'm not sure I'm using the correct command in creating a cron job. lynx -dump 'http://www.jamesanthis.com/cronrss.php' >/dev/null 2>&1
Does this look correct?
No it doesn't needs to run php to execute the cronrss file
Could you give an example of command? I'm on cpanel 11.25.0
Something like
/usr/local/bin/php -q/home/lynlloyd/public_html/thegreatgolfsite/blog/api/rss.php
Thanks for this super mod. It is running flawlessly in my forum. Very, very nice!!!
all it needs is something to add html tags
Thanks vbgamer45, got the command right, now all is working well. I agree with Garfieldp, html tags would be nice. Nice mod. ;D
Looks like we're piling on so...
Me +3 on the html tags. 8)
I 'ADD FEED' and fill out the fields and press the Add Feed button and takes me to the forums pages and i go back to the Feed Config. and nothings saved....
What SMF version? Any errors in the error log?
I'm almost embarrassed to ask this because I feel I should have pin-pointed it by searching. Maybe I'm just entering too much information in the search, which is why I'm finding everything but what applies to this situation. :)
I'm helping a member with her site and this error shows up repeatedly
fsockopen() [<a href='function.fsockopen'>function.fsockopen</a>]: unable to connect to http:80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
and refers to line 382 of the Subs-RSS2.php:
$fp = fsockopen($url_array['host'], 80, $errno, $errstr, 30);
index.php?action=admin;area=smileys
and
index.php?action=help
I'd aure appreciate any help.
I followed all of the instructions, but now what do I do? I can't find anything in the Admin section that will let me choose a feed.
Thanks,
Andrew
Check your language settings should be set to just english under server settings i think.
There will be a link added called feed configuration
My language setting is english. I'm sorry, I am a n00b. Where would the link to feed configuration be?
In the admin area near themes and layout in the menu area
I only see this: (https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fs3.amazonaws.com%2Fawesome_screenshot%2F3018%3FAWSAccessKeyId%3D0R7FMW7AXRVCYMAPTPR2%26amp%3BExpires%3D1281229826%26amp%3BSignature%3DR5LcUqu21FcoG64rYPkSi9bkjj4%253D&hash=51a622756d0e63928f80dde789e8fb473c02a7b5)
http://awesomescreenshot.com/0912bucb]http://awesomescreenshot.com/0912bucb]http://awesomescreenshot.com/0912bucb (http://awesomescreenshot.com/0912bucb)
Looks like a language issue. Under server settings make sure language is set to just english and not english utf8.
Just a hopeful bump:
http://www.simplemachines.org/community/index.php?topic=141776.msg2733757#msg2733757 (http://www.simplemachines.org/community/index.php?topic=141776.msg2733757#msg2733757)
I would set the mod to use only curl instead of fscokopen looks like a server host issue
Thanks so much; I'll let her know. :)
how are you doing on that auto html tags on each posts vbgamer? I am really interested in solution
Quote from: GarfieldP on August 24, 2010, 07:33:01 PM
how are you doing on that auto html tags on each posts vbgamer? I am really interested in solution
Released an update uncommented them out.
what do you mean? I am sorry for my confusion ???
Uncommented out support for html tags so should add the html tag to the posts I don't think it ever worked though when I tried since I think only admins can post html
so you couldnt get the admin to add html tags automatically huh? Maybe I will have to make a program for this
It adds the html tags automatticly to the feeds not sure if it would help had it in the past but never worked.
yah, I dont think it did anything :P
I have installed the mod, but can't get it to post.
I have tried:
- using "admin" as the poster
- using another user as a poster
- unchecking "html enabled"
- changing the forum in which it is supposed to post
- selecting "use fake cron jobs"
- using "curl" as the download method instead of all
The feed is fine, and I can post in the forum where I told the mod to.
Any assistance would be much appreciated
do you have an instruction doc for setup of your rss feeder mod. your mod was recommended to me by gbsothere. i was using Liams.
I am also wondering if there is a way to auto remove ALL links and the text associated with those links in posts that are auto feed via your rss feeder mod? thx.
Do not have any docs yet. There is no way to remove links from posts.
i think i just need to find content that doesnt have loads of links to affiliate offers in them in an effort to avoid my issue.
Very nice mod, but by adding http://eu.gran-turismo.com/gb/rss/1.0/news.xml I get an error when submitting:
An Error Has Occurred!
XML error: Undeclared entity error at line 435
Also when adding feeds, I get the error:
http://www.xxx.com/index.php?action=feedsadmin;sa=addfeed2
Undefined offset: 33
File: /home/xxx/Sources/Subs-RSS2.php
Line: 142
And the same when I edit a RSS:
http://www.xxx.com/index.php?action=feedsadmin;sa=editfeed2
Undefined offset: 33
File: /home/xxx/Sources/Subs-RSS2.php
Line: 142
However, the mod still seems to work, only not with the http://eu.gran-turismo.com/gb/rss/1.0/news.xml that can't be added.
That feed looks odd looks like a badly formatted feed I can't even view in firefox I just see blank
http://eu.gran-turismo.com/gb/rss/1.0/news.xml
Does work for me in Firefox 3.6.8
EDIT: Seems it only works now and then.
Well, for now I just used the US rss link. But what about the errors in my log?
Any suggestions for my problem?
I have installed the mod, but can't get it to post.
I have tried:
using "admin" as the poster
using another user as a poster
unchecking "html enabled"
changing the forum in which it is supposed to post
selecting "use fake cron jobs"
using "curl" as the download method instead of all
The feed is fine, and I can post in the forum where I told the mod to.
Try a real cron job instead
How do I do that? Just uncheck the use fake cron jobs box?
Google on how to setup a cron job for php then point to the cron url for the feed poster
Dear VBgamer45,
Thank you for your efforts creating this plugin. Unfortunately no matter I try, I couldn't get it work. I am using SMF 2.0 RC2 with no other mods installed, except this one. I've installed the plugin with the builtin package installer of SMF admin interface.
I tried to read the posts of last 6 months, but I couldn't find an answer. Unfortunately I don't have access to CPanel, but I've checked with a test.php whether curl or fsockopen are enabled or not, and I think they are on. ( Test site results: http://bit.ly/cGIsFk )
So, I see there ise scheduled task in the admin area, I set it for 30 minutes. After that, I've added RSS links to "Feed Poster Configuration" and set them 30 minutes either. I've changed my settings, and everytime I change the setting, I hit the run the task at the admin area to gather RSS posts, but no luck.
As far I understand the fake cron job setting is not necessary for SMF2. So any kind of method should work.
Where am I making a mistake? My forum is in Turkish UTF8.
Thank you very much for your help.
Forgive my NUB question. Do I need to subscribe to a feed via a feed reader before I can use this mod effectively? I just downloaded it and installed it. I haven't set up any feeds yet. I just don't wanna screw something up.
Just grab the feed url and have it entered into the mod.
Kool, thats what I did, how long does it usually take for the bot to start posting, and is there a way to speed that up?
I still couldn't find a solution. Everything seems fine, but no posts are added...
I just turned on fake cron job and made a bunch of bots and mine are posting. Awesome mod! This saves me LOADS of time getting content on my forum.
My error is this:
8: Undefined offset: 27
File: /home2/cpunatio/public_html/forum/Sources/Subs-RSS.php
Line: 143
any suggestions?
what is your smf version? is it smf 2.0 or 1.1
Quote from: tRu3_sKiTz0 on August 31, 2010, 11:22:05 PM
I just turned on fake cron job and made a bunch of bots and mine are posting. Awesome mod! This saves me LOADS of time getting content on my forum.
2.0rc3 with my own variation of the curve theme. Here check it out if you like:
www.usgrantdiscussions.com
I will be changing the color scheme integrating it with our other website. This was just recently "Launched" as is and once I am comfortable with the general layout, I will begin the merger.
Anyway, you see that I have four boards that are RSSbots only. Read only also, I still have to go in and clean up the posts but these were all posted last night and this morning with just 5 simple bots posting topics. This mod is exactly what I needed.
SMF: 1.1.11
Mod Version: 2.2.1
HTML Tag Workaround: http://custom.simplemachines.org/mods/index.php?mod=411
I keep seeing people talking about the HTML tags not working, well, why no one suggested this is beyond me. Anyway, my bots in a VIP group and with the suggested mod I assigned that group permission to use the BBC HTML tag so as far as HTML issues go this should fix any problems people are having with display issues. I'm still waiting on my first feed post to come through so I have to admit I don't even know if this will solve the HTML issues.
Anyway this is what my setup looks like...
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.eojmarket.com%2FNonForumStuff%2Fimages%2Frss1.png&hash=cb594d230e412910fae5bd1c0da3bf3a030f99be)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.eojmarket.com%2FNonForumStuff%2Fimages%2Frss2.png&hash=5c228fccfba5b81eac23c4adae126e38a2852d77)
If my cron is set up right it should run every 30 minutes of every day of every hr etc.
30 * * * * * /usr/bin/php /home/<REMOVED>/public_html/cronrss.php
From what I read the cron should be set up to run the same interval as the feed you have in admin.
With that said my one and only feed as of now should be set up right, with that said though does that mean any other feeds I add need to run every half hr like the current feed and cron does / is supposed to ?
Anyway, it's been about an hr sicne I set everything up and I have yet to see a feed post, best I can tell I have everything set up right so if it takes time for the first one to come in then I guess all I can do at this point is just wait some more.
Edit: Ok, so it's alittle past 3:30am right now and I got this cron email timed 3:30 in my inbox so it seems that something is right but not everything.
Set-Cookie: PHPSESSID=bd7ccb54809bc82d0c53bbee0fb569d8; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Content-type: text/html
Feed Poster Configuration
So everything appears to be working ok but I haven't seen a post yet in the specified board... it's late now and I've been missing some sleep so I'm crashing for the night. Hopefully when I wake up later I will have a feed post or more but if I don't I will be sure to re-visit this thread.
Edit 2: Thought I'd check something before crashing... http://www.eojmarket.com/php_info.php
Going by this it seems that I shouldnt be having any issues...
allow_url_fopen On On
and...
cURL support enabled
cURL Information libcurl/7.19.4 OpenSSL/0.9.8b zlib/1.2.3 libidn/0.6.5
Edit 3: Ok, so I've gone through something like 20 cron jobs (every half hr) sicne I set this up last night all sending me emails like below and I have yet to see a single feed post. AFAIK I have done everything right including setting up the cron job so whatever's wrong is beyond me...
Set-Cookie: PHPSESSID=7be97530c8841e7ed5f3cdeea268f760; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Content-type: text/html
Feed Poster Configuration
Try using fsockopen as download method. Also what is the cron job look like?
MoreBloodWine posted an update that should fix your issue with the feed url.
RSS Feed Poster 2.3
!Fixed a bug handling the query string in the fsockopen request call
!Fixed bug in handling of headers in fsockopen request for the feed.
Will try the new version and update accordingly but as said before my cron looks like this...
0,30 * * * * /usr/bin/php /home/<removed>/public_html/cronrss.php
The emails from the job are being sent to me like this...
Set-Cookie: PHPSESSID=12129c7bf9f8498c2ba048e98a70dbe0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Content-type: text/html
Feed Poster Configuration
Anyway, what would be literally the best DL option to use, also, no comment on my HTML fix or what should be one anyway... seriously surprised no one siuggested it before.
Edit: Went ahead and set cURL as my doanload mnethod since it's also what I use on my generator site, that said, here's hoping it works now. I know nothigns prfect but it seems like with every new patch or something comes a small new hiccup.
Edit: Ok, just turned 8:30pm shoulda had a post but nothing... as for my setup, please read my entire reply on page 88 at the bottom, it's the same as it was before except the method is nor cURL instead of All.
Looked closer at the feed http://feeds.feedburner.com/NaughtyDog?format=xml
And it is not an RSS feed but an atom based which this mod currently does not support
I installed this mod on SMF 1.1.11 using default theme. No installation errors, and in the mod admin screen, it gives me my cronrss URL.
http://www.myforums.com/test/cronrss.php
However, when i paste this given address in my Firefox browser it gives me this error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Is that an indication of a problem? Will this cause my real cron job to not work or screw up later on?
EDIT: I checked the cronrss.php file permission and it was set to 066 by default, which i changed to 755.
I then accessed the link again and this time it showed me this message: Feed Poster Configuration
I hope this mod will start working now?
EDIT 2: Yep, it's working. :D
Permission issue on cronrss.php chmod it to 755
Done that already and it's working. :)
But my error log shows 3 similar errors below:
http://www.myforums.com/index.php?action=feedsadmin;sa=addfeed2
8: Undefined offset: 23
File: /user/forum/public_html/Sources/Subs-RSS.php
Line: 150
Quote from: vbgamer45 on September 03, 2010, 10:45:04 PM
Looked closer at the feed http://feeds.feedburner.com/NaughtyDog?format=xml
And it is not an RSS feed but an atom based which this mod currently does not support
Figures ;-/
Probably shouldnt even ask given past experiences with similar subjects but I'm guessing it never will or least not any time soon ?
Sucks to because I went through all the trouble of making sure this was set up right including my Cron job which from what I gathered of 20 or so pages I read is something some people faily to even try and just go straight to hey VB hows this done.
Might be possible have to see how much different the formats are and if i could combine them into one.
Quote from: vbgamer45 on September 04, 2010, 07:02:03 PM
Might be possible have to see how much different the formats are and if i could combine them into one.
For arguments sake lets say no, would you consider a seperate mod for Atom feeds ?
This way if people want to post feeds from different hosts or whatever you want to call them they can by using two mods assuming you cant find a combination solution.
Well if anything I would combine them both because it is one less mod to manage and to update and since they work in similar methods fetching xml and parsing it.
What is the max time between feeds to be posted? I want to only have it pull once a week.
It installed perfect and has been working great by the way!! I just set it last night to only update every 7200 minutes. Will this work or are there certain parameters it has?
That will work there are no time limits.
Thanks VB for the quick response. I enjoy your mod, it works perfectly.
Glad you enjoy it!
Hi,
When try add feed see error "XML error: syntax error at line 1"
Whats wrong?
That means the feed is corrupted and unable to be added fault of the feed site.
Quote from: vbgamer45 on September 11, 2010, 10:27:45 AM
That means the feed is corrupted and unable to be added fault of the feed site.
Try 6 feeds and or this error or error "XML error: not well-formed (invalid token) at line 419"
They probablly all corrupted you can try viewing the feed in firefox if gives error it is bad feed
All feeds in chrome work fine. Find one feed what can add, but dont work. In error log see this error message
Quotehttp://www.mojportal.com.hr/forum/index.php?pretty;action=feedsadmin&sa=editfeed2
8: Undefined offset: 24
Datoteka: /home/myusername/public_html/forum/Sources/Subs-RSS2.php
Line: 149
What are the feed urls that you are using?
Using RSS of my wordpress site ( RSS feed (http://www.mojportal.com.hr/feed/) - this in my signature ), and 6 other web portals.
That's an atom based feed not supported by this mod.
Khm .... all sites is atom? How can see that?
http://www.jutarnji.hr/feed
http://www.vecernji.hr/rss/
http://www.livingstone-magazine.com/feed
http://www.teklic.hr/feed
http://www.mojportal.com.hr/rss
Most of them are xmlns:atom
http://www.vecernji.hr/rss/ looks ok
When try add Vecernji.hr feed see error message XML error: syntax error at line 1
In old version all feeds work fine (dont remember version), but after upgrade no :(
http://www.mojportal.com.hr/forum/rss-vijesti/
I wish you could do full articles with this mod, I know it's possible because there's anoher mod here at SMF which imports articles and pictures in full. It just doesnt grab videos.
I could I just don't feel right about doing it because it is scraping content. While RSS feeds is what the site allows.
nice,
how to identify which link this mod supports
It supports RSS links that are non atom based
hi
I have installed the mod, and apply this hack :
replaced this
// Create the Post
$msg_title = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_body = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
for this
$msg_title_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = iconv("UTF-8", "ISO-8859-1", $msg_title_); //// NEW added Code
$msg_body_ = $func['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
$msg_body = iconv("UTF-8", "ISO-8859-1", $msg_body_); //// NEW added Code
I've had several errors chronologically within hours
any of those errors came before me above hack (I think it was by clicking the html selected in admin panel)
The final major problem has been the CRASH of the database,
I have not touched anything else on the forum!
"I can do?
Any ideas?
Is it really caused by the mod?
Quote
8: Undefined offset: 24
Archivo: xxxxxxxxxxxxxxx/html/foro/Sources/Subs-RSS.php
Línea: 150
Quote
Error en la Base de Datos: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'puentes' naturales en la Luna en imágenes tomadas por una cámara de alta resoluc' at line 4
Archivo: xxxxxxxxxxxxhtml/foro/Sources/Subs-Post.php
Línea: 1535
Quote
Error en la Base de Datos: Table './pr7/smf_messages' is marked as crashed and last (automatic?) repair failed
Archivo: xxxxxxxx/html/foro/Sources/BoardIndex.php
Línea: 86
Thanks, working fine.
If the site need log in then, will it post as usual..?
Yes it will post as normal
Thanks for the ultimate mod...
Now it creates thread retaining Title and Heading of original article, it will only post the content when it is allowed by the original site.. i guess its like that. Have i understood the thing correctly..?
Thanks
It will only post what is in the feed.
How do i come to know what the feed contains...
sorry but i didn't get it..
Visit the feed url and see what is in it. The mod takes the title and the description
Hey vb, check your PM's... I sent you something the other day you might be interested in ;-)
Using SMF 1.1.11 here. No matter which RSS feed I add, it simply doesn't post anything. There was this one time when it did post something in the beginning, but that was it.
What feed url? And what download method and are you using the latest version?
1) I've tried just about any feed, from bbc to you name it.
2) I've set download method to "All"...
3) I just downloaded (yesterday) the one on the mod-page of this site.
4) There was this one time it did post something, and that was when I selected the "fake cron" thing, and select save settings, that's when it suddenly posted one new article. That's it.
I would check your error log in SMF for any relevant errors and maybe try a real cron instead
Hi Everyone,
Has anyone discovered a way of getting the html tags to post properly (and automatically) to imported Feed Poster messages yet? I've seen a little banter about it, and the 2.3 update (which is NOT making this happen as predicted...) and I also tried the html permission mod, to no avail.
If someone does have a workaround, solution, fix, mod, or ANYTHING...PLEASE let us know!
Thanks a mil'!
Erik
PS: Even with the frustration of the html tags not working, this mod is still AMAZINGLY COOL! As always, thank you VBGamer, and especially for keeping with us in this thread!
I think I solved the problem, restore the database, etc. ...
I will not anymore click the option of the HTML version.
I am convinced that setting it smashed my message table in a SQL error, as a random code injection, which caused the crack.
good and interesting mod, but monitor with that said
Hey all,
Just installed this mod and set it up to do a fake cron job since I don't really understand how they work. It grabbed the latest article from the feed, but since the first article it grabbed it has not updated any since. What do I do to fix this?
Yep, same thing happened to me ^^^^^
Running 1.1
Error message:
8: Undefined offset: 21
File: /home/thenoss/public_html/Sources/Subs-RSS.php
Line: 150
Any ideas?
Quote from: thenoss on September 24, 2010, 07:33:30 AM
Yep, same thing happened to me ^^^^^
Running 1.1
Error message:
8: Undefined offset: 21
File: /home/thenoss/public_html/Sources/Subs-RSS.php
Line: 150
Any ideas?
Do you mean 1.1.11? If so then we are running the same version. I have also checked my forum error logs and have that same error, not sure what it is or how to fix it. Together comrade, we have find the bolshevik answer!
What feed urls are you using?
http://jayalyssawiens.blogspot.com/feeds/posts/default?alt=rss
is the feed url I have setup, just a standard blogspot.
Does not work with blogspot feeds. They atom based and not standard RSS.
What about wordpress?
http://nazareneblogs.org/pastorscott/?feed=rss
That should work fine that is RSS
Hmmm, that one does not work either, not sure whats going on.
http://www.edmonton1stchurch.com/forums/cronrss.php
Visiting that url reads as a hacking attempt, thought it might help.
Hacking attempt...
INSERT INTO `edmchurch_forums`.smf_messages
(ID_BOARD, ID_TOPIC, ID_MEMBER, subject, body, posterName, posterEmail, posterTime,
posterIP, smileysEnabled, modifiedName, icon)
VALUES (8, 0, 17, SUBSTRING('Devotional on Proverbs
', 1, 255), SUBSTRING('[b]Devotional on Proverbs
[/b]
[html]Do you want fries with that? Proverbs 29: If you let people treat you like a doormat, you'll be quite forgotten in the end. Not long ago we stopped off at a fast food restaurant for a quick burger. I was taken with the quiet confidence and good nature of the ... http://nazareneblogs.org/pastorscott/2010/09/24/devotional-on-proverbs-31/ [/html]', 1, 65534), SUBSTRING('FeedBot', 1, 255), SUBSTRING('[email protected]', 1, 255), 1285363716,
SUBSTRING('127.0.0.1', 1, 255), 1, '', SUBSTRING('xx', 1, 16))
File: /home/.pele/edmchurch/edmonton1stchurch.com/forums/Sources/Subs-Post.php
Line: 1535
Any ideas?
Correction, error is not stopping the feed, it appears to be working, at least for the the first update.
Quote from: Editor321 on September 24, 2010, 08:29:58 AM
Do you mean 1.1.11? If so then we are running the same version. I have also checked my forum error logs and have that same error, not sure what it is or how to fix it. Together comrade, we have find the bolshevik answer!
Oops, yeah that's what I meant!
I was so happy when it posted the first article.. but now that it wont post any more after that, I'm extremely :'(:'(
Well things were going well, I was visiting the cronrss.php daily in my browser to initiate the updates but now for whatever reason it sees this as a hacking attempt.
The only thing that has changed is I got moved between servers and had to change where the theme directory was and such. Would this cause any issues with this hack? I've tried uninstalling and reinstalling the package with no changes.
Ideas?
I get an Internal Server Error if I try to go to cronrss.php through my browser. Wtf :/
Quote from: thenoss on September 27, 2010, 06:07:27 PM
I get an Internal Server Error if I try to go to cronrss.php through my browser. Wtf :/
You need to change the file permissions to 755 on the file
Oh woops.
Well going to it through the browser doesn't seem to do anything at all, whereas creating a new feed at least gives that forum Sub error...
Quote from: thenoss on September 27, 2010, 08:49:30 PM
Oh woops.
Well going to it through the browser doesn't seem to do anything at all, whereas creating a new feed at least gives that forum Sub error...
Wait no scratch that... it actually did post it when I went to it through the browser.. :O
Quote from: Editor321 on September 27, 2010, 05:51:06 PM
Well things were going well, I was visiting the cronrss.php daily in my browser to initiate the updates but now for whatever reason it sees this as a hacking attempt.
The only thing that has changed is I got moved between servers and had to change where the theme directory was and such. Would this cause any issues with this hack? I've tried uninstalling and reinstalling the package with no changes.
Ideas?
Did you add any new feeds?
I noticed some feeds for some reason count as a "Hacking attempt"
But oh man this is a pain.. going to the cronrss.php manually everyday wouldn't work for me, I need to be constant 30 mins.
:( Dammit :/
Sorry for cluttering up the thread... but this is weird:
It now appears to be posting the feeds every 30 minutes without me having to do it manually... but the feeds are old posts, and they keep getting older as they post.. :S
EDIT:
The links in the posts seemed to work too.. I just tried removing the feeds and putting them back in but now the links in the feed posts don't work.. weird
EDIT:
Okay, now the links work but it's again back to going back in time with the posts..
This is messed up
It will go back in time till it catches up completely to what is in the feed
Oh.. really, alright.
Well it's caught up now... but could I remove the threads it has posted so far?
Would that make it post them again or does removing them have no effect on the feed?
Quote from: thenoss on September 27, 2010, 09:13:01 PM
Did you add any new feeds?
I noticed some feeds for some reason count as a "Hacking attempt"
But oh man this is a pain.. going to the cronrss.php manually everyday wouldn't work for me, I need to be constant 30 mins.
:( Dammit :/
Nope, no new feeds.
Quote from: thenoss on September 29, 2010, 05:00:55 AM
Well it's caught up now... but could I remove the threads it has posted so far?
Would that make it post them again or does removing them have no effect on the feed?
Removing the topics have no effect
This is excellent ! Thanks.
Now I just need to hunt down some good feeds with a reasonable amount of content
Hello,
My hoster doesn't allow fopen, curl or any other include in HTML.
But I can use a url that they gave me for using one of they're servers to include.
The url looks like this:
http://include.hoster.nl/include.php?url=http://url.to.the.include
Can anyone tell to me how to use this?
Wow that is a lot of restrictions by the host not sue how you can call that url without one of those functions
Anyone know how to get a you tube rss feed to work. Have tried several times but it will not pick up.
I assume I need to have "HTML Enabled" enabled ?
It won't post or won't post the embeded code?
Wond do anything ! I can get any feeds posted
RSS Feed I am adding is -
http://gdata.youtube.com/feeds/base/videos?q=xxxxxxxxxx&client=ytapi-youtube-search&v=2
Where xxxxxxxxxx is the query
Yeah that's an atom based feed does not currently work
OK thanks. Anyone know how to pull a RSS feed from youtube ?
OK I have sorted it - and very proud too as I am very new to PHP (I'm an ASP hardcore !). With a little code change in 1 file and 1 simple MOD install -
1. Install the You Tube MOD found http://custom.simplemachines.org/mods/index.php?mod=936 (http://custom.simplemachines.org/mods/index.php?mod=936)
2. In subs-rss2.php (found in your sources directory), look for the following code -
$msg_body = $smcFunc['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
and replace it with
$pos = strpos($context['feeditems'][$i]['link'],'youtube.com');
if ($pos === false) {
$msg_body = $smcFunc['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'])), ENT_QUOTES);
} else {
$msg_body = $smcFunc['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['description'] . "\n\n" . $context['feeditems'][$i]['link'] : strip_tags($context['feeditems'][$i]['description'] . "\n\n[youtube]" . $context['feeditems'][$i]['link'] . "[/youtube]")), ENT_QUOTES);
}
3. Using http://www.referd.info build your YouTube RSS feed and add to your feeds as normal
I have the mod setup and have use this RSS feed URL on an older RSS feed mod. I am wanting to go with this mod to pull full articles from the feed.
The url I am using is http://www.tennessean.com/apps/pbcs.dll/section?Category=ashlandcity01&template=rss_gd&mime=xml
Is this consider a Atom feed? I have read thru some of the post and read that ATOM feeds are not supported.
Thanks!!
Yes it is xmlns:atom="http://www.w3.org/2005/Atom">
Alot of times if you use view soruce on the feed itself it will say ATOM somewhere in it... not sure if this is for all ATOM feeds but it is for the ones I've looked at so far.
Help ! I'm getting strange characters in my posts. For example -
Feed shows = £25 per room per night at selected Days Inn hotels
I get = £25 per room per night at selected Days Inn hotels
or
Feed shows = Moscow's World Trade Center
I Get = Moscow’s World Trade Center
or
Feed shows = Currently operating under administrative regulations called "Norma Oficial Mexicana
I get = Currently operating under administrative regulations called “Norma Oficial Mexicana
I know it's all to do which special characters, but what can I do about it ?
Im sure that the mod Pretty Urls has stoped RSS Feed Poster from working
Antbody using these 2 mods together
Anyone ?
Well it doesn't work, unless I run cronrss.php manually......
However, I'm wondering how I need to edit this mod to show the full rss feed instead of only the few lines it does... its useless to me like this...... any ideas?
You can't. It only show what is inside the feed. If the full content is not in the feed it will not be shown.
I am getting this error:
XML error: Not well-formed (invalid token) at line 1
How do I feed the news to a forum?
That's an invalid feed or the feed is not formatted correctly
How do I create the feed? I enable the feed in the admin section. Now how do I create say a feed from the forum:
http://www.bbiclan.com/forum/index.php?board=1.0
I am a complete newbie at this and am going crazy for 2 weeks trying to figure out where I am going wrong here. Any help would be more than greatly appreciated...
That board would be impossible since you can't view it as a guest.
this is the error i am getting:
8: Undefined index: smfrssposter_admin
File: /home/_____/public_html/tortrooper/Sources/Subs.php
Line: 2781
any help wouldbe appreciated
That's a missing language string. Check that your language files have that entry in the modifications.yourlanguage.php
have what entry?
also where is that file?
Copy the text from themes/default/modifications.english.php
To your modifications.yourlanguage.php file
Quote from: vbgamer45 on October 25, 2010, 08:51:20 PM
Copy the text from themes/default/modifications.english.php
To your modifications.yourlanguage.php file
i use the english one as default since its an english board.
i got it working, but now how do I get it to post full text off an RSS feed
You can only get what ever is in the feed if is it not in the feed it won't get it.
will feedburner work as a url or is that the wrong format
Quote from: Mairek on October 25, 2010, 09:07:32 PM
will feedburner work as a url or is that the wrong format
Feedburner will work so long as the feed it's leeching from isnt ATOM based.
Despite ticking each feed with "Mark as read", they are marked as new posts
Any suggestions ?
Quote from: endomorph on November 02, 2010, 12:54:56 PM
Despite ticking each feed with "Mark as read", they are marked as new posts
Any suggestions ?
I never really understood how that option worked myself since whenever I had it ticked everything was still marked unread.
Yeah it is broke going to be removed. When I first added it I thought the createpost option would make it marked as read for all but it turns it is only for the topic creator so in this case the user who the feed is being under.
Quote from: vbgamer45 on November 02, 2010, 10:44:06 PM
Yeah it is broke going to be removed. When I first added it I thought the createpost option would make it marked as read for all but it turns it is only for the topic creator so in this case the user who the feed is being under.
I wouldnt say remove it just yet because the option itself makes sense for those that like to check for unread posts but want to ignore RSS posts. If it can be made to work I would personally like to see it stay.
Requires way too many queries to make it work so I don't see it happening. Basically you would need insert a record in the viewed logs for each member and for large forums that would be crazy.
Quote from: vbgamer45 on November 02, 2010, 10:47:57 PM
Requires way too many queries to make it work so I don't see it happening. Basically you would need insert a record in the viewed logs for each member and for large forums that would be crazy.
Still, was a nice idea though...
Is it possible add option to post all feed items into a single topic (instead of seperate topics)?
Not at the moment
My idea is to not show posts from the category that I put all the feeds in on the unread page.
Anyone have any ideas where the SQL is for the unread topics page ?
Quote from: buhaychat.com on January 15, 2007, 02:27:13 PM
Installed fine, but I keep getting .. "Unable to download the feed. "
Does that mean the php sockets isn't enabled on my host?
It means that you have to check with your ISP/hosting service and have them open the sockets for you. If they won't then transfer to a IPS/hosting service that opens them by default for you.
Quote from: vbgamer45 on October 20, 2010, 06:01:44 PM
That board would be impossible since you can't view it as a guest.
Okay, now I have corrected the guest viewing isue....
Lets say I want to feed this board to say Facebook.
The Board url is: http://www.bbiclan.com/forum/index.php?board=1.0
How do I get feedburner to feed that to: http://www.facebook.com/pages/Body-Bags-Included-Clan-Fan-Page/149224221787491?v=wall
Great mod.
One issue - getting the following error:
"XML error: SYSTEM or PUBLIC, the URI is missing at line 1"
W3C feed validation service checks out ok : h__p://validator.w3.org/feed/check.cgi?url=http%3A%2F%2Fwww.eurotekpodcasts.com%2FEurotekpodcasts%2FPodcast%2Frss.xml
What feed fetch method are you using ALL? Curl, fsockopen, fopen
I saw a similar report at http://www.vbulletin.com/forum/project.php?issueid=20509 which seems like it is a curl issue that I need to add a user agent have to duplicate check the feed code.
I have the feed download method set to All
Thanks in advance for any help
at the moment feed posts urls like this
http://www.xxxxxxxxx.org/movies/1591728-terminator-3-rise-machines-2003-720p-bluray-dts-x264-esir.html
and image links like
Image: http://images.xxxxxxx.com/movies/covers/5682_front.jpg
Would it be possible to get them to embed like so
click here (http://www.xxxxxxxxx.org/movies/1591728-terminator-3-rise-machines-2003-720p-bluray-dts-x264-esir.html)
and rap image links with img tags
if not i think it would be a good idea for the next version (if there is one planned).
This mod is WAY too buggy. Sometimes it works, sometimes it doesn't. I could post manually using much less time than I've spent trying to work around the issues this mod experiences. It needs more testing to make sure it always works. It was a good idea though.
Anybody know of a forum posting bot that doesn't require modification of the forum? That would be much better. It could just login the old fashioned way and make its post.
The idea of the mod is great, but i installed it two times and after two months still nothing was posted. :( I used many RSS urls. :(
Would you consider adding an option to have the bot update the news instead of a board?
Quote from: arvixe on November 20, 2010, 03:07:21 AM
Would you consider adding an option to have the bot update the news instead of a board?
No
Everything installed fine with no errors. Then I set up a new feed. I just dont see the feed anywhere?
Is there a step that I am missing?
Quote from: SheCanPlay.org on November 22, 2010, 02:10:52 PM
Everything installed fine with no errors. Then I set up a new feed. I just dont see the feed anywhere?
Is there a step that I am missing?
This mod has numerous issues. It is unlikely to work for you if it doesn't work from the beginning.
Quote from: qwasty on November 22, 2010, 06:06:10 PM
Quote from: SheCanPlay.org on November 22, 2010, 02:10:52 PM
Everything installed fine with no errors. Then I set up a new feed. I just dont see the feed anywhere?
Is there a step that I am missing?
This mod has numerous issues. It is unlikely to work for you if it doesn't work from the beginning.
Well it works fine for me, so you must be doing something wrong...
Since SMF if perfectly capable of being posted to without the need for modifying its code, I think this mod is the wrong approach. What we need is a bot that can login to the forum as a regular user, with the usual permissions, without any risk of unexpected or non-functioning behavior.
Yep! Working fine now. I just had to wait for it to grab some feeds.
vbgamer45,
I assume that posts by this mod do not increase the forum stats for topics / posts ?
I think they would increase stats since it is a post.
Quote from: endomorph on November 26, 2010, 03:28:58 AM
vbgamer45,
I assume that posts by this mod do not increase the forum stats for topics / posts ?
They do.
Even in forum history ? Not on mine.
Have a look at
http://www.timesharetalk.co.uk/index.php?action=stats (shows 3 new topics today)
Now look the posts that have been started today (By Newshound) -
http://www.timesharetalk.co.uk/index.php?action=unread;all;start=0
And yes the forum settings are set to increase post count and I have run maintenance to re-count too.
Any ideas ?
OK found the problem. The mod does not seem to update smf_log_activity. So it does update the member stats, not the forum stats.
Any chance of getting some code to fix this ?
I'm having trouble...
If I want to change the number of minutes and save, it doesn't save that number.
What number are you entering and what SMF version?
Quote from: vbgamer45 on November 27, 2010, 11:19:13 AM
What number are you entering and what SMF version?
I am entering the number ´5´ and my SMF version is 2.0 RC4.
I see what I did I have code in there if anything less than every 30 minutes it defaults to 30 minutes.
Quote from: vbgamer45 on November 27, 2010, 11:56:53 AM
I see what I did I have code in there if anything less than every 30 minutes it defaults to 30 minutes.
...tip for the next version: add it as extra information under the option.
Yeah surprised I had it that high I thought did around 15 minutes or so mainly sanity checks so someone doesn't put on their board every minute.
Quote from: endomorph on November 27, 2010, 02:48:08 AM
OK found the problem. The mod does not seem to update smf_log_activity. So it does update the member stats, not the forum stats.
Any chance of getting some code to fix this ?
Any idea on this ?
Haven't looked at it. I am surprised though that the createpost function doesn't take care of that.
In theory it should. I have looked through the code and just after inserting the post it runs the update -
if ($new_topic)
{
$smcFunc['db_insert']('',
'{db_prefix}topics',
array(
'id_board' => 'int', 'id_member_started' => 'int', 'id_member_updated' => 'int', 'id_first_msg' => 'int',
'id_last_msg' => 'int', 'locked' => 'int', 'is_sticky' => 'int', 'num_views' => 'int',
'id_poll' => 'int', 'unapproved_posts' => 'int', 'approved' => 'int',
),
array(
$topicOptions['board'], $posterOptions['id'], $posterOptions['id'], $msgOptions['id'],
$msgOptions['id'], $topicOptions['lock_mode'] === null ? 0 : $topicOptions['lock_mode'], $topicOptions['sticky_mode'] === null ? 0 : $topicOptions['sticky_mode'], 0,
$topicOptions['poll'] === null ? 0 : $topicOptions['poll'], $msgOptions['approved'] ? 0 : 1, $msgOptions['approved'],
),
array('id_topic')
);
$topicOptions['id'] = $smcFunc['db_insert_id']('{db_prefix}topics', 'id_topic');
// The topic couldn't be created for some reason.
if (empty($topicOptions['id']))
{
// We should delete the post that did work, though...
$smcFunc['db_query']('', '
DELETE FROM {db_prefix}messages
WHERE id_msg = {int:id_msg}',
array(
'id_msg' => $msgOptions['id'],
)
);
return false;
}
// Fix the message with the topic.
$smcFunc['db_query']('', '
UPDATE {db_prefix}messages
SET id_topic = {int:id_topic}
WHERE id_msg = {int:id_msg}',
array(
'id_topic' => $topicOptions['id'],
'id_msg' => $msgOptions['id'],
)
);
// There's been a new topic AND a new post today.
trackStats(array('topics' => '+', 'posts' => '+'));
updateStats('topic', true);
updateStats('subject', $topicOptions['id'], $msgOptions['subject']);
But my php is not good enough to see if everything is correct. and in the right order
Doublechecked as well it should since the createpost function does call all the track stats code.
Can anyone else confirm if posts by this mod increases the stats in their forum history (Stats > Scroll to bottom of the page)
I am surprised that the forum maintenance re-count does not re-calculate this table too
Will this be looked into ?
By me no busy with other projects.
I get this error... XML error: not well-formed (invalid token) at line 251
That means the feed is invalid xml so it can not be processed
Everything else is reading the feed just fine.
http://www.othfans.com/feed/
Yeah but the php xml parsing see's an error in it so it can't continue
are the type of feeds u get posted (some just few text and a link, and some full feeds) site dependent or do i need some other program to display full feeds on to my site without ppl having to leave? i have some feeds that give full display but no pics just html tags and code along with text. anyone here know what im missing here? thanks
It is dependent on the feed on what shows up.
New massive update!
3.0
+Now records how many posts a feed has made
+Added message icon setting to a feed bot
+Added footer append setting to a feed bot
+Added support for ATOM based feeds
+Added source link to the end of the feed
+Updated the feed list layout. Now has checkboxes to delete feed and alternate style rows
!Fixed special characters that were inserted into posts for older php versions
Good to hear, just got done installing... will reply back with any errors.
Quote from: vbgamer45 on December 22, 2010, 10:35:20 PM
New massive update!
3.0
+Now records how many posts a feed has made
+Added message icon setting to a feed bot
+Added footer append setting to a feed bot
+Added support for ATOM based feeds
+Added source link to the end of the feed
+Updated the feed list layout. Now has checkboxes to delete feed and alternate style rows
!Fixed special characters that were inserted into posts for older php versions
Got this with SMF RC4
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Tried uploading through admin section as well as through FTP. Thanks.
Quote from: arvixe on December 23, 2010, 12:11:02 AM
Got this with SMF RC4
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.
Tried uploading through admin section as well as through FTP. Thanks.
Fixed redownload the mod
When i installed I got this when i accessed it in the admin menu.
Unknown column 'total_posts' in 'field list'
File: /home/superbes/public_html/forum/Sources/FeedPoster2.php
Line: 57
Quote from: Surf3rDud3 on December 23, 2010, 11:56:30 PM
When i installed I got this when i accessed it in the admin menu.
Unknown column 'total_posts' in 'field list'
File: /home/superbes/public_html/forum/Sources/FeedPoster2.php
Line: 57
Did you install it manually? Looks like you had the feed poster installed before but it should auto upgrade from package manager.
You will need to run this query on your database
ALTER TABLE smf_feedbot ADD total_posts int(10) unsigned NOT NULL default '0'
Hello vbgamer45,
I have problem with czech characters.
RSS feed poster:
?achy Grand Master Chess
correctly:
Šachy Grand Master Chess
RSS feed poster:
Cesta za dobrodru?stv
correctly:
Filipova dobrodružství - Na stopě rodinným pokladů
Can you fix it?
Thank you for your answer.
MaXi
Quote from: MaXiForum.cz on December 27, 2010, 02:57:30 PM
Hello vbgamer45,
I have problem with czech characters.
RSS feed poster:
?achy Grand Master Chess
correctly:
Šachy Grand Master Chess
RSS feed poster:
Cesta za dobrodru?stv
correctly:
Filipova dobrodružství - Na stopě rodinným pokladů
Can you fix it?
Thank you for your answer.
MaXi
Probably RSS feed poster doesn't support UTF-8 characters, or even worser, your forum doesn't.
Probably :(
And how can I fix it? :)
Quote from: MaXiForum.cz on December 27, 2010, 03:34:43 PM
Probably :(
And how can I fix it? :)
Install a UTF-8 language (if you haven't already; big change you have if the characters look like that) and convert your database to UTF-8 (Admin > Maintenance > Database)
I have my forum in UTF8 :-)
And this mod too :)
Ou yes :)
Thank you ;)
vbgamer45 help me please...
I don't think I can don't know enough about utf8 issues and I think it is an issue with the xml parsing function in php has to have the right character set defined. I have it set up as one of the ISO standard ones.
Hey VB, did you get that condensed bug PM I sent you the other day ? I suppose I could have sent this question via PM but I don't wana fill up your inbox ne more than I already have heh.
Quote from: vbgamer45 on December 27, 2010, 06:47:55 PM
I don't think I can don't know enough about utf8 issues and I think it is an issue with the xml parsing function in php has to have the right character set defined. I have it set up as one of the ISO standard ones.
Hmm :(
I tried RSS Feed Poster on all czech servers what I know and the same end...
Czech characters are not supported :(
vbgamer45 check this for example there:
http://www.stahuj.centrum.cz/direct/rss/stahuj-novinky-hry_a_zabava.xml
(big company)
Can someone please help me! I really need too get this working but for some reason i get this error :(
Table 'an01033408395132.smf_feedbot' doesn't exist
File: /home/content/a/n/0/an0nymoushelp/html/forums/Sources/FeedPoster.php
Line: 57
Thanks in advance!!
You have to install the database tables run the install script in the root directory of your forum.
Quote from: vbgamer45 on December 30, 2010, 05:43:04 PM
You have to install the database tables run the install script in the root directory of your forum.
I'm sorry i'm fairly new too this. Could you please explain a bit more on how to do this.
I've read this http://docs.simplemachines.org/index.php?topic=402 and searched for a long time on this but i can't find anything. I no it's not hard but i am just very confused, i really don't want too screw anything els up. Any help and i would appreciate it lots! Thanks.
EDIT: Figured It out..
Quote from: MaXiForum.cz on December 28, 2010, 11:16:20 AM
I tried RSS Feed Poster on all czech servers what I know and the same end...
Czech characters are not supported :(
vbgamer45 check this for example there:
http://www.stahuj.centrum.cz/direct/rss/stahuj-novinky-hry_a_zabava.xml
(big company)
vbgamer45 UP
Check it ...
Thank you
@ MaXiForum.cz
i dont know about your language but we have problems with characters in greek too. So one thing i found out is that all data should always be treated like utf8 or like iso in all files. One different setting and everything is messed up.
So maybe you can change in this mod the settings "ISO-8859-1" to "UTF-8" or "utf8" and see what happens
you can find that in file Subs-RSS.php (1 hits) Line 208: $xml_parser = xml_parser_create("ISO-8859-1");
and in file Subs-RSS2.php (1 hits) Line 207: $xml_parser = xml_parser_create("ISO-8859-1");
I am no expert but that might help (maybe editing just one of those files would be enough, not sure)
Very nice man!
UTF-8 works!!!
Thank you! :)
I'm getting the following error on my SMF 2.0RC4 forum when trying to add another feed:
XML error: not well-formed (invalid token) at line 2587
I have quite a few feeds from the same domain ~ all of them working. Just can't add these two I have.
1. Is there a limit to how many feeds we can add?
2. They are set to use fake cron job & update every 30 minutes. Is this too much for the mod with 14 feeds already added?
If there were a problem with the feed itself, all the feeds would fail. They all come from the same place.
Any insight?
Thanks for your help & a great mod,
Sylvia
i need too add about 5 feeds but only one of my feeds worked and all the rest gives me this error
XML error: Not well-formed (invalid token) at line 1
any help is well appreciated!
Thanks
That error can't be fixed that means feed is not well formed for system to pick it up.
There is no way to figure it out you have to test and see if error or not.
hmm well i just added my final feed to it when it then it refreshed the page and now this happened! http://www.simplemachines.org/community/index.php?topic=415566.0
What can i do to get my forum back i need it up asap! Please please help me..
EDIT: Thankfully after hours of work Bigguy fixed the issue for me :) you should really fix this problem before it happens to anyone els though. Because i really don't want to install it if this is going to happen again.
Facebook Feeder is reading and writing my feeds but this RSS Feed Poster does not...
XML error: Not well-formed (invalid token) at line 8
Any solution?
can with this mod..see a full post(i think that i use rss feed from other type of forums)..and without a link to it?
This mod does not fetch full post.
I'm getting html codes in the feed posts. Anyway to correct this? Using administrator user as poster, have html (2.0rc4) turned on in bbc config.
Quote from: Saftek on January 20, 2011, 06:38:36 PM
I'm getting html codes in the feed posts. Anyway to correct this? Using administrator user as poster, have html (2.0rc4) turned on in bbc config.
Try turning off HTML Enabled for the feed, VB doesnt have true HTML support added yet (HTML bbc tag). Thats one of a few small features I'm still waiting on to be added.
Could somebody please post a bunch of compatible feeds, feeds that work properly with the HTML option
Thanks
Quote from: larryhyman on January 22, 2011, 12:53:54 PM
Could somebody please post a bunch of compatible feeds, feeds that work properly with the HTML option
Thanks
I point to my above reply... until VB adds the HTML support html enabled wont do a darn thing for ANY feed.
Quote from: MoreBloodWine on January 22, 2011, 03:55:21 PM
Quote from: larryhyman on January 22, 2011, 12:53:54 PM
Could somebody please post a bunch of compatible feeds, feeds that work properly with the HTML option
Thanks
I point to my above reply... until VB adds the HTML support html enabled wont do a darn thing for ANY feed.
Looks like vbgames is losing his skills...
Quote from: Simple Series team on January 22, 2011, 04:45:48 PM
Quote from: MoreBloodWine on January 22, 2011, 03:55:21 PM
Quote from: larryhyman on January 22, 2011, 12:53:54 PM
Could somebody please post a bunch of compatible feeds, feeds that work properly with the HTML option
Thanks
I point to my above reply... until VB adds the HTML support html enabled wont do a darn thing for ANY feed.
Looks like vbgames is losing his skills...
Yeah I'm sure it has nothing to do with time or whether he even wants to do it or not. ::)
Quote from: IchBin™ on January 22, 2011, 06:51:56 PM
Quote from: Simple Series team on January 22, 2011, 04:45:48 PM
Quote from: MoreBloodWine on January 22, 2011, 03:55:21 PM
Quote from: larryhyman on January 22, 2011, 12:53:54 PM
Could somebody please post a bunch of compatible feeds, feeds that work properly with the HTML option
Thanks
I point to my above reply... until VB adds the HTML support html enabled wont do a darn thing for ANY feed.
Looks like vbgames is losing his skills...
Yeah I'm sure it has nothing to do with time or whether he even wants to do it or not. ::)
Well as far as I'm concerned, I never said anything other than the obvious... I respect VB and his time.
As for wanting to do it, it more or less comes down to a need, when he has the free time of course since some of the edits I paid for are still "pending".
But again, I'm in no rush but as to what others think, thats on them.
Well I wasn't responding to you MoreBloodWine. My response was to the person who was claiming VB was "losing his skills".
Quote from: IchBin™ on January 22, 2011, 07:44:19 PM
Well I wasn't responding to you MoreBloodWine. My response was to the person who was claiming VB was "losing his skills".
I wouldnt say that he's losing his skills but maybe getting a bit tired of all the back n forth on his mods... I think he has something like 8 of them but either way msot of this stuff he does in his free time so really there's not much anyone can do but wait which yes can be frustrating at times.
I installed this wonderfull mod. But now when i loaded my cron job it says no file found. But the file i there.
And when i run the url of the cron i get this
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
File permission issue on cronrss.php change to 755
Ok i did that. thank you. i will tell if it work.
Now when running the file it said this.
QuoteNotice: Undefined index: show_download in /home/xxxx/public_html/Sources/TPSubs.php on line 201
Feed Poster Configuration
Ignore it not related to feed poster
Thank you, it works now.
When i edit feed, Message Icon dropdown is blank. How do i fix that? SMF 1.1.12
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimm.io%2Fmedia%2F3k%2F3k6A.png&hash=ac131ba510418278045af9e271fdbd0c60fc8037)
Is it the same when you add a feed?
Tested on my test site I can see the icons on edit feed page.
Are you using any custom message icons or the standard ones from SMF.
Quote from: vbgamer45 on January 23, 2011, 11:59:19 AM
Is it the same when you add a feed?
yes.
QuoteAre you using any custom message icons or the standard ones from SMF.
I tryed both.
OK I am getting this error
Table 'djnice1_smf1.smf_feedbot' doesn't exist
File: /home/djnice1/public_html/4mydjs.com/smf/Sources/FeedPoster.php
Line: 57
Any idea how to fix this?
Run the install again or grab the install.php files and run it in the root directory of your forum.
How do I do that? I had to manually install it because I'm not using the default theme
Quote from: snyperthugs on January 23, 2011, 12:55:42 PM
How do I do that? I had to manually install it because I'm not using the default theme
You dont have to install it manually.
OK I reinstalled it, then I setup a feed, and it came up saying "Hacking attempt... " and wont go back
OK nevermind, I got it working now. Thanks for the fast response too
Quote from: Owdy ツ on January 23, 2011, 11:30:46 AM
When i edit feed, Message Icon dropdown is blank. How do i fix that? SMF 1.1.12
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimm.io%2Fmedia%2F3k%2F3k6A.png&hash=ac131ba510418278045af9e271fdbd0c60fc8037)
Related?
/index.php?action=feedsadmin;sa=editfeed2
8: Undefined index: msgicon
File: /var/www/vhosts/httpdocs/Sources/FeedPoster.php
Line: 275
Yes that is probably related haven't had time to look into yet.
EDIT: How did you install this version? Did you have an older version installed?
You might be missing the msgicon column in the feedbot table for the mod.
Quote from: vbgamer45 on January 25, 2011, 01:39:47 AM
EDIT: How did you install this version? Did you have an older version installed?
Via package manager. I might have had older version in past.
CREATE TABLE IF NOT EXISTS `smf_feedbot` (
`ID_FEED` mediumint(8) NOT NULL auto_increment,
`ID_BOARD` smallint(5) unsigned NOT NULL default '0',
`feedurl` tinytext NOT NULL,
`title` tinytext NOT NULL,
`enabled` tinyint(4) NOT NULL default '1',
`html` tinyint(4) NOT NULL default '1',
`postername` tinytext,
`ID_MEMBER` mediumint(8) unsigned default NULL,
`locked` tinyint(4) NOT NULL default '0',
`markasread` tinyint(4) NOT NULL default '0',
`articlelink` tinyint(4) NOT NULL default '0',
`topicprefix` tinytext,
`numbertoimport` smallint(5) NOT NULL default '1',
`importevery` smallint(5) NOT NULL default '180',
`updatetime` int(10) unsigned NOT NULL default '0',
`total_posts` int(10) unsigned NOT NULL default '0',
`footer` text,
`msgicon` varchar(50) default 'xx',
PRIMARY KEY (`ID_FEED`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=3 ;
edit:
i uninstalled, deleted those tables, reinstalled. Didnt help.
edit2: okay, this posts blank posts, source:
[b][/b]
[html][/html]
Source: [url=http://www.mediuutiset.fi/uutisarkisto/article566987.ece?s=r&wtm=mediuutiset/-25012011][/url]
Subject is blank.
Feed is this: http://www.mediuutiset.fi/rss.xml
Hmm your feed table looks fine has msgicon column will need to look into the other parts
Why it posts blank posts?
Check error log first to see if anything is getting logged
Only thing what it creates error lg is
8: Undefined index: msgicon
Tiedosto: /var/www/vhosts/httpdocs/alyvuoto/Sources/FeedPoster.php
Rivi: 124
Source code when i edit feed:
<tr><td width="30%">Message Icon</td><td>
<select name="msgicon" id="msgicon" onchange="ChangeIconPic(this.value)">
</select>
<img id="iconPick" src="" alter="" />
<script language="JavaScript" type="text/javascript"><!-- // --><![CDATA[
// iconSelect
var selectIcons = new Array();
function ChangeIconPic(iconIndex)
{
document.frmfeed.iconPick.src = selectIcons[iconIndex];
}
ChangeIconPic("");
// ]]></script>
</td></tr>
For var selectIcons = new Array();
That is missing all the msgicons that are populated in that array in the code above.
Quote from: vbgamer45 on January 25, 2011, 12:56:06 PM
For var selectIcons = new Array();
That is missing all the msgicons that are populated in that array in the code above.
??
Have to look at it seems like it is not finding the message icons
Hi,
I'm running SMF 1.1.12 with RSS Feed Poster 3.0. It seems to work fine, but I do get some funny posts. They lack the title of the Feed. The topic just contains the Topic Prefix. The Rest looks like this
Quote(b)(/b)
Source: (url=http://glgnfz.blogspot.com/2010/12/ll-adventskalender-fragen-das_16.html)(/url)
I replaced the square brackets with round ones.
Am I doing anything wrong?
Quote from: Robotpirate on January 27, 2011, 04:13:20 AM
Hi,
I'm running SMF 1.1.12 with RSS Feed Poster 3.0. It seems to work fine, but I do get some funny posts. They lack the title of the Feed. The topic just contains the Topic Prefix. The Rest looks like this
Quote(b)(/b)
Source: (url=http://glgnfz.blogspot.com/2010/12/ll-adventskalender-fragen-das_16.html)(/url)
I replaced the square brackets with round ones.
Am I doing anything wrong?
I got same problem. Blank title, body is most empty like that
Quote from: Owdy ツ on January 27, 2011, 04:19:38 AM
I got same problem. Blank title, body is most empty like that
Well, I turned off "HTML Enabled". So I didn't expect much more in the body. But some posts contain parts of the RSS Feed, but only a few.
ok so i tried to get it to bring in feeds from apples PR and it worked a treat but i then tried adding the gizmodo feed and i get this error
XML error: SYSTEM or PUBLIC, the URI is missing at line 1
feed://gizmodo.com/index.xml
and when i try to do it with engadgets feed i get this
XML error: Not well-formed (invalid token) at line 1
feed://www.engadget.com/rss.xml
any ideas how to fix this? i have my cron job set up and have it set to all in the settings.
No way currently to fix I would need to write a custom xml parser to handle it.
Quote from: Owdy ツ on January 27, 2011, 04:19:38 AM
Quote from: Robotpirate on January 27, 2011, 04:13:20 AM
Hi,
I'm running SMF 1.1.12 with RSS Feed Poster 3.0. It seems to work fine, but I do get some funny posts. They lack the title of the Feed. The topic just contains the Topic Prefix. The Rest looks like this
Quote(b)(/b)
Source: (url=http://glgnfz.blogspot.com/2010/12/ll-adventskalender-fragen-das_16.html)(/url)
I replaced the square brackets with round ones.
Am I doing anything wrong?
I got same problem. Blank title, body is most empty like that
I tested some more. The problem appears if there is a "foreign" letter in the Title of the Blogpost, like äöüß and '
Make sure feed tables are utf8
This mod doesnt work with 1.1.12. That icon chooser is broken and it posts topics with blank subjects and bodys.
yeah i tried it again this morning and it whent through - only problem now is non of the topics are been marked as read
Quote from: vbgamer45 on January 28, 2011, 09:52:13 AM
Make sure feed tables are utf8
Thanks for the response. Everything on my smf install seems to be utf8.
btw: I kicked 5$ via paypal your way as a small thankyou for the software. I'm not that rich, so I can't really afford more.
I noticed one more thing: I usually have the forum running in german.utf8. If I switch the language to english, the output of cronrss.php is: "RSS Feed Poster not configured"
Is that okay?
Quote from: Owdy ツ on January 28, 2011, 09:54:50 AM
This mod doesnt work with 1.1.12. That icon chooser is broken and it posts topics with blank subjects and bodys.
I use 1.1.12 and have no problem with the icons.
Quote from: Robotpirate on January 28, 2011, 10:07:02 AM
Quote from: Owdy ツ on January 28, 2011, 09:54:50 AM
This mod doesnt work with 1.1.12. That icon chooser is broken and it posts topics with blank subjects and bodys.
I use 1.1.12 and have no problem with the icons.
Cool, but i do.
I have installed this mod on my site running 1.1.12 but have a few problems.
The install went fine so I set up a feed. With HTML disabled the feed imports fine albeit with HTML tags in the text.
If I enable HTML every time I run the cron script or use the fake cron job I get a page with "Hacking attempt .." and the feed content isn't imported. A view of the error log shows the SQL command to create the thread with the content and the HTML bbcode tags but this command is not processed.
I have enabled HTML in posts as well and if I post the content normally the thread posts fine. I've looked back through 15 or so pages in this thread but only one person has mentioned this and they say they fixed it without leaving any hint as to what they did :)
Any ideas ? Any help is appreciated.
I'm getting Hacking attempt... on my board and can't access anything on my board after installing mod.
How do you recover from this? I can't get to admin on my board to do anything
Resolved: I managed to login as another admin on a different browser and disabled the feed
I found the source of the error message. It's subs.php line 265 where the strings are cleaned and the query checked. I'm still no closer to being able to get the mod to post HTML feeds though :( Commenting out the whole check then produces an SQL error if your feed contains apostrophes it looks like
So the problem is apostrophes in the feed apparently. Anyone know how to either remove them or parse them differently. I've tried adding
@line 290 subs-RSS.php
$msg_body = str_replace("'", "\'", $msg_body)
To try and replace the apostrophe but this doesn't work. I've also tried jsut removing it with a set of empty quotes but I still get Hacking Attempt... when trying to post through the cron script. Interestingly though if I post the text in the error log manually it goes through fine and creates the post.
I'm interested in getting something like this mod working on my forum. I have 1.1.12 but nothing seems to be happening. I have windows setup and not linux so I was wondering what the best settings are for that. My host does fsocketopen and is set at php5. I'm not sure if FOpen works well with my host.
I tried all sort of different settings but am left with using fakecron and all types. Anything I might be missing? Thanks.
Is there any downsides using fake cron jobs via php ?
Just adds an extra time check on each page load to see if it should run the cron.
So its slows page load?
It could for a user if the feeds need to run at that time.
I dont get this. Yestyrday posts looked fine, today, missing [ html] tags. Html is enabled in feeds, whats wrong?
edit: seems poster should be admin to post html tags. Im quite sure poster wasnt admin yestyrday :D
No, still missing html tags. Poster is admin, html is enabled. It worked yestyrday, but not today.
Post body is this
<embed src="http://blip.tv/play/AYKh5CEC" type="application/x-shockwave-flash" width="480" height="350" allowscriptaccess="always" allowfullscreen="true"></embed>
<br />
(no further description available)<br />
should be
[html]
<embed src="http://blip.tv/play/AYKh5CEC" type="application/x-shockwave-flash" width="480" height="350" allowscriptaccess="always" allowfullscreen="true"></embed>
<br />
(no further description available)<br />[/html]
Should look like this: http://opensuse.fi/keskustelu/index.php?topic=4069.0
Edit: i used fake crons yestyrday, today actual cron. Could it be related?
Edit2: no, it cant be that. I just wonder what it is.
I use this mod on my forums and the feeds do work with the HTML option turned, however, it has created a lot of duplicates, is there any way I could remove all the duplicate Topics as they do have the exact subject.... ???
Thanks
It doesnt look like this version is friendly with Atom formatted feeds. I was getting a ton of blank posts with empty source URL's trying to use Atom 1.0 feeds, using Feedburner's "Convert Format" option to RSS 1.0 or 2.0 I am finally getting post content, still empty source URLs though and some wonky format issues. Feedburner doesnt completely "format" the feed to what you select, it only does some, so there is still Atom 1.0 stuff in the feed which this mod doesnt know what to do with. Pure RSS 1.0 and 2.0 feeds its fine with though.
For reference im using SMF 1.1.12 with the latest copy of FeedPoster on the SMF mod site.
The feed im working with is as follows: http://feeds.feedburner.com/worldofwarcraft/IFjr (which is currently set to fake RSS 2.0 formatting). The original RSS feed is here: http://us.battle.net/wow/en/feed/news
It could be that the feed you posted doesn't validate. Did you check that? Have you tried other Atom feeds?
@larryhyman, you should be able to just delete the topics like regular topics. There's no option built into the mod that I know of.
Blah, you are correct, its not a valid Atom 1.0 format...
This could be the issue a lot of others are having with similar experiences of blank posts and bad URLs.
Has anyone managed to get the HTML tags to work on this yet for 1.1.12 or a work around ?
thanks
New version posted changes
3.0.1
+Enable/disable multiple feeds from the main feed listing display dropdown
!Feeds are now imported in order they are in the xml file Oldest to Newest
!Fixed extra footer text shown in non html posts in SMF 2.0
Quote from: vbgamer45 on February 15, 2011, 09:59:38 PM
New version posted changes
3.0.1
+Enable/disable multiple feeds from the main feed listing display dropdown
!Feeds are now imported in order they are in the xml file Oldest to Newest
!Fixed extra footer text shown in non html posts in SMF 2.0
Good to know, Thx VB !
I get this error when running the cronrss.php
Undefined index: lang_locale in /Sources/Subs.php on line 866
SMF 1.1.13
CronRSS feed poster Version 3.0
http://forums.bs-raven.net/cronrss.php
Quote from: vbgamer45 on February 15, 2011, 09:59:38 PM
New version posted changes
3.0.1
+Enable/disable multiple feeds from the main feed listing display dropdown
!Feeds are now imported in order they are in the xml file Oldest to Newest
!Fixed extra footer text shown in non html posts in SMF 2.0
YES BUT IS THE HTML OPTION NOW FIXED FOR RC4 - RC5 ??????????????????????????????????????????????????????????
No the HTML option isn't functional yet but rest asured VB is working on it, or atleast I hope he is since it's a much requested feature.
I suggested to him about how he implement it which is as follows.
All HTML enabled feed would have the html BBC tag auto applied which means any user posting feeds would need to have the permission ability set to allow them to use it.
On that note, all VB should have to do is ad the appropriate code for the HTML bbc tag. Here in lies a problem though, he would have to write his own code for it since I don't think he can incorporate existing code from the HTML bbc tag mod.
Edit: Don't take my word for anything as I don't speak for VB but I can say that it is as previously stated a much requested feature, at least by me any way.
Quote from: larryhyman on February 20, 2011, 11:29:02 PM
Quote from: vbgamer45 on February 15, 2011, 09:59:38 PM
New version posted changes
3.0.1
+Enable/disable multiple feeds from the main feed listing display dropdown
!Feeds are now imported in order they are in the xml file Oldest to Newest
!Fixed extra footer text shown in non html posts in SMF 2.0
YES BUT IS THE HTML OPTION NOW FIXED FOR RC4 - RC5 ??????????????????????????????????????????????????????????
when i tried http://www.amigozone.com/cronrss.php
i got an 500 internal server error.. what to do?
EDIT: A topic was published using feed but it was too ugly.. full of links..
the original post includes youtube video. i thought the video will be published. :(
Is it possible to do another way of calling the /cronrss.php ? I have a SMF board which does not allow guests, if I am logged in and put the url into the browser, the RSS-Feeds are getting updated, if I do it over a Cron Job than the job is not working, because it does not have access to the forum and see the login page. ???
It shouldn't require guest access Are you using SMF 2.0?
Hi, no I am using SMF 1.1.13 , but this is possible the problem from other Users here in Thread why the Feeds are getting not updated.
Sorry I should add another information, I am not using a internal Server Cron Job, only an external free one https://www.cronjob.de/ and if the job starts from there, than the Job comes as a guest visitor and did not have access to the board.
Hmm that part shouldn't matter if it is a guest try logging out of your forum and running cronjob via your browser
I already did it in Private Mode from FF and via Portable Chrome, Opera .... than its working and I see the line "Feed Poster Configuration" but it is not working with an external call, crazy , really. Sorry that I steal your time.
It should work then. Sounds like it isn't setup right on the cron site to fetch a php page
Thanks for this mod. It has real potential. I just found this today and got it set up on 1.1.13 fairly quickly, but like others, the feeds I've created so far all contain HTML. Whether I check the enable HTML box or not, it seems to put the tags in there making it basically unreadable (since it's full of table tags).
I'm not sure I understand why this isn't working. I created a new account, added it to the administrator group so that it has full admin privileges, including the [ HTML ] bbc tag. Shouldn't this simply add that open and closing BBC tag around the post? If I manually add them, the posts come out perfectly, but obviously that defeats the purpose of this mod. Any ideas whats up with this feature? I've read the last 10 or so pages and I see several comments that VB hasn't set up this feature yet. If not, why is there a checkbox for it? If so, what am I doing wrong?
is there a way to have the topics automatically marked as read
Quote from: Robin1989 on March 18, 2011, 10:34:23 AM
is there a way to have the topics automatically marked as read
No
Quote from: acadiaforum.net on March 16, 2011, 03:59:55 PM
Thanks for this mod. It has real potential. I just found this today and got it set up on 1.1.13 fairly quickly, but like others, the feeds I've created so far all contain HTML. Whether I check the enable HTML box or not, it seems to put the tags in there making it basically unreadable (since it's full of table tags).
I'm not sure I understand why this isn't working. I created a new account, added it to the administrator group so that it has full admin privileges, including the [ HTML ] bbc tag. Shouldn't this simply add that open and closing BBC tag around the post? If I manually add them, the posts come out perfectly, but obviously that defeats the purpose of this mod. Any ideas whats up with this feature? I've read the last 10 or so pages and I see several comments that VB hasn't set up this feature yet. If not, why is there a checkbox for it? If so, what am I doing wrong?
This mod isnt working for me either I have tried again and again and again.
How isn't it working?
Quote from: acadiaforum.net on March 16, 2011, 03:59:55 PM
Thanks for this mod. It has real potential. I just found this today and got it set up on 1.1.13 fairly quickly, but like others, the feeds I've created so far all contain HTML. Whether I check the enable HTML box or not, it seems to put the tags in there making it basically unreadable (since it's full of table tags).
I'm not sure I understand why this isn't working. I created a new account, added it to the administrator group so that it has full admin privileges, including the [ HTML ] bbc tag. Shouldn't this simply add that open and closing BBC tag around the post? If I manually add them, the posts come out perfectly, but obviously that defeats the purpose of this mod. Any ideas whats up with this feature? I've read the last 10 or so pages and I see several comments that VB hasn't set up this feature yet. If not, why is there a checkbox for it? If so, what am I doing wrong?
This. I'm getting the same problem only on RC5.
Does anyone have a fix for the bbc not being added to the RSS feed?
How are you adding bbc code to the feed?
VB, I think he is editing the post after the feedposter posts it to his forum. I read that then tried it an it does work fine. I looked through the .php files and made a few modifications to the before and after post code. I kept getting an errant HTML tag in the wrong spot. So I replaced the original file with the supplied file and all is working fine as far as I can tell. More testing with rc5 seems to be good but need a few rss feeds with some heavy html in them to be sure it is actually working.
My feed poster user account had global moderator permissions and it wouldn't work. I added the administrator permissions to it and now the html works on both test forums.
http://forums.bs-raven.net/ravenwood/index.php/board,3.0.html (http://forums.bs-raven.net/ravenwood/index.php/board,3.0.html)
http://forums.bs-raven.net/OldWood/index.php/board,6.0.html (http://forums.bs-raven.net/OldWood/index.php/board,6.0.html)
Both are rc5 installs but the 1.1.3 still doesn't work...
Quote from: Quinn on March 25, 2011, 09:50:58 PM
VB, I think he is editing the post after the feedposter posts it to his forum. I read that then tried it an it does work fine.
Correct. One RSS feed works for me, but the other does not. It shows the <p>, etc. coding...I have to manually add html at the beginning and /html at the end just to make it look right.
http://awesomescreenshot.com/0b0a51g9f this is what the rss feed submits, no html tags in the comment.
http://awesomescreenshot.com/049a51k3a this is my other type of feed, which WORKS.
RSS Feed Settings for the one that does work: http://awesomescreenshot.com/043a51s41
RSS Feed Settings for the one that doesn't include HTML tags: http://awesomescreenshot.com/054a51ud3
Am I the only one with this problem :-X
Quote from: xMichael2008x on March 27, 2011, 02:35:06 PM
Am I the only one with this problem :-X
confirm that i have the same problem
i went to trace vb's codes and i found this in subs-rss2.php
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
$msg_body = trim($msg_body);
$msg_body = '[html]' . $msg_body . '[/html]';
the message body should have
[html] [/html]
at the beginning and end
i've enabled html codes in the setting and
i'm using admin account for poster so i should have the permission to use html bbc tag
but somehow they are not added to the post...
so far i don't have a solution yet, hoping vb can come up with one
Anyone have a fix to this troublesome problem that they would kindly share for free? ;D
I have everything setup and on 2 RC3, there is no errors, when I go to the cronrss.php file it just prints 'Feed Poster Configuration' to the screen, nothing is being imported!??
Quote from: ziycon on March 29, 2011, 06:48:08 PM
I have everything setup and on 2 RC3, there is no errors, when I go to the cronrss.php file it just prints 'Feed Poster Configuration' to the screen, nothing is being imported!??
This is all the script does 'Feed Poster Configuration' to confirm or show errors. If nothing is posted to the forum then something else is wrong. The feed poster account should have Administrator permissions and possibly global moderator too. I use those for my forums and it seems to work.
Got it sorted, it was related to the PHP function that was set to be used to pull in the feeds.
Ok, maybe it didn't work as expected. I'm using curl and when I first went to the URL http://..../cronrss.php it ran and posted 9 out of the 10 records in the rss feed, for some reason it didn't post the most recent one even though the feed was set to take upto 10 records.
I setup a cronjob after this and pointed it to the cronrss.php and have it running locally and I'm getting successfully run email notifications from the cronjob but nothing is being posted, if I go to the url for the cronrss.php file its show up the 'Feed Poster Configuration' message grand but no new records from the rss feed are being posted?
Uh-oh, got a "Hacking attempt" error when I enabled fake cron jobs via php.
Oddly, the error went away after it was able to get the latest feeds. I'm using this mod on 1.1.13. Am I doing something wrong?
Quote from: Eudemon369 on March 28, 2011, 10:39:08 PM
Quote from: xMichael2008x on March 27, 2011, 02:35:06 PM
Am I the only one with this problem :-X
confirm that i have the same problem
I'm also having the same problem when running this as a cron job, doesn't seem to be a problem if I run the cron PHP directly from a browser though.
Keep getting this error when I try to set up a bot
XML error: Not well-formed (invalid token) at line 1
I am running 1.1.13
The feed is not well formed so can't be loaded into the feed poster.
OK, regarding the HTML tag problem I think I have a solution although it's not pretty.
I've tested it quite a lot and the [ html ] tags are removed by some process between line 288 and line 311 when running as a proper CRON job, if you change it to [test] [/test] it works fine so it I wonder whether preparsecode() is behaving diffently under Unix CRON. Either way, if you use a placeholder like [test][/test] at line 288 and then use str_replace() just before the definition of $msgOptions on line 311 to swap out "test]" for "html]" it fixes the problem.
I did say it wasnt pretty :P
Thanks markdw, I'm going to give this a try.
Just for some clarification, I had recently come to the same conclusion. If I manually run the cron file in my browser, the HTML bbc code is added correctly, but it's taken out of the post if a real cron job runs the process (which is the point). I made similar changes (adding a [ B ]old tag in place of the html and it worked fine, so my guess is there's some security procedure in place somewhere in SMF that is intercepting that cronned message and removing the HTML bbc tag for security reasons.
Apologies everyone, I need to revoke my previous optimism, I left this running last night and it doesn't work. Putting in a placeholder and then replacing that works but only to the extent that the tags appear in the message with html source within them - you then need to edit/save the message for the tags to be parsed and the message rendered properly.
The problem has got to be with preparsecode() but I can't understand why that would work any differently under CRON, especially in such a specific way as to remove the HTML tags only (URL is fine).
The hunt goes on...
preparsecode() looks at the user id of the poster - under cron, this won't be an admin. Only admins can use the html bbcode, for anyone else it removes it.
Well, it sounded like a good idea, but that didn't work either. The HTML bbc tag is being stripped out after the script executes and before it gets posted, so SMF itself is removing it within preparsecode(). When mark's suggestion didn't work, I dug into the subs_post file and found the error (and a subsequent, even more convoluted, solution).
Here's what I had to do to get HTML tags to parse correctly in the rss feeds.
In Subs_RSS.php, find this line (mine was line 294)
$msg_body = '[ HTML ]' . $msg_body . '[ /HTML ] ';
and replace it with this:
$msg_body = '[HIDDENTAG]' . $msg_body . ' [/HIDDENTAG]';
Then in Subs_Post.php, find the HTML parsing 'if' loop (line 210-220) and add this code after it:
if (!$previewing && strpos($parts[$i], '[HIDDENTAG]') !== false)
{
$parts[$i] = preg_replace('~\[HIDDENTAG\](.+?)\[/HIDDENTAG\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
}
As arantor pointed out, the cron process does not pass the necessary credentials back to SMF to allow it to have the authority to use the HTML bbc code, regardless of what user you tell it to post under. So what I've done here is taken the chunk of code that normally runs if you DO have that permission for the HTML code and run it again if it finds an arbitrary tag (hiddentag in this example). The benefit here is that it finally allows the RSS poster to use html tags. The downside is that you're allowing anyone who happens to know that new tag to circumvent the security that SMF puts in place on the HTML tag. If you want to use it, copy the code from above, but replace "HIDDENTAG" with some obscure tag name of your choosing that won't be easily guessable and at least you add a measure of security through obscurity.
Quotebut replace "HIDDENTAG" with some obscure tag name of your choosing that won't be easily guessable and at least you add a measure of security through obscurity.
Right up until someone quotes the message.
No, the only time the hidden tag is used is between the RSS feed poster and the preparsecode() function in Subs_Post.php. Once it gets there and sees the unique string, it replaces it with the HTML bbc code before it get output to a browser. That hidden tag is never exposed or revealed to the website at all. In fact, you'll really never have to type it manually, so you can make it extremely convoluted. Once you place it in the two files above and insure they are identical, you'll never have to type it (or see it) again.
I'm doing it successfully on one of my forums now and regular users see only the HTML tag on quote.
not posting
Well I have had it set up for about 2 days now on a few feeds including the new york times however it has yet to create a post and yes the feeds are enabled
Are you using a cron job?
I've stumbled across this mod and I must say it's a great mod.
Few questions/concerns;
Would I have to run a cron job in order for my feeds to update or will the SMF2.0 scheduler suffice?
Also, how come the feeder doesn't post the most updated feed? For instance, 10 feeds on a page, but it only shows 9 and not the newest? Same when I chose 20, only posted 19 and not the newest.
Thanks.
Depends on how busy your site is. The SMF scheduler depends on someone visiting your site in order for it to run while cron will run every time and the time needed.
The feed mod will grab the oldest entries in the feed first then process the new ones. This is so older entries do not get posted before newer ones
Quote from: vbgamer45 on April 04, 2011, 09:12:20 PM
Are you using a cron job?
yes the real/default one
and when I visit the url it says
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 's choppersim deliver?[/html]
Source: [url=http://reviews.teamxbox.com' at line 4
File: /home/vol10/byethost16.com/b16_7438965/myfreshgames.cz.cc/htdocs/Sources/Subs-Post.php
Line: 1546
Hiya, hope someone can help here, I just got this after adding and editing those php files:
Database error:
Table 'chi1109308322638.smf_feedbot' doesn't exist
File: D:\Hosting\7692409\html\Sources\FeedPoster.php
Line: 57
what shall I do??
You have to copy and run the install php file to root directory of your forum and run via web browser.
Quote from: vbgamer45 on April 05, 2011, 12:21:41 AM
You have to copy and run the install php file to root directory of your forum and run via web browser.
I am very happy you are being so helpful :)
However, it's really my first time dealing with php files... i don't see a install file though, only a unistall file =)
It should be inside the zip file like feeedinstall.php
Quote from: vbgamer45 on April 05, 2011, 12:30:03 AM
It should be inside the zip file like feeedinstall.php
I am sorry, for some reason... there's no such file in the "RSSFeedPoster3.0.1" ....how come?
There should be not sure on the exact name but there is a file in there for database stuff check the package-info.xml for the exact name.
Quote from: vbgamer45 on April 05, 2011, 12:36:56 AM
There should be not sure on the exact name but there is a file in there for database stuff check the package-info.xml for the exact name.
... I cannot even open this package-info.xml file........... :'( :'( :'( :'( :'( :'(
Looked it run FeedPostersql.php for SMF 1.1.x FeedPostersql2.php For SMF 2.0.x
Quote from: vbgamer45 on April 05, 2011, 12:55:14 AM
Looked it run FeedPostersql.php for SMF 1.1.x FeedPostersql2.php For SMF 2.0.x
I did use FeedPostersql.php for my SMF1.1.x, i don't think I miss anything though
If you run in the root directory that should create all the database tables for you.
Quote from: vbgamer45 on April 05, 2011, 01:08:51 AM
If you run in the root directory that should create all the database tables for you.
That's what I hoped.......look...I am feeling helpless now...what should I do then?
Quote from: acadiaforum.net on April 04, 2011, 01:55:22 PM
As arantor pointed out, the cron process does not pass the necessary credentials back to SMF to allow it to have the authority to use the HTML bbc code, regardless of what user you tell it to post under. So what I've done here is taken the chunk of code that normally runs if you DO have that permission for the HTML code and run it again if it finds an arbitrary tag (hiddentag in this example). The benefit here is that it finally allows the RSS poster to use html tags. The downside is that you're allowing anyone who happens to know that new tag to circumvent the security that SMF puts in place on the HTML tag. If you want to use it, copy the code from above, but replace "HIDDENTAG" with some obscure tag name of your choosing that won't be easily guessable and at least you add a measure of security through obscurity.
Makes total sense, I'm testing this now. It seems crazy that posting HTML isn't controlled through the permissions system, that way we could create a custom permission set up for the feed poster...
Quote from: vbgamer45 on April 04, 2011, 10:06:54 PM
Depends on how busy your site is. The SMF scheduler depends on someone visiting your site in order for it to run while cron will run every time and the time needed.
The feed mod will grab the oldest entries in the feed first then process the new ones. This is so older entries do not get posted before newer ones
OK thanks, will set up a cron job then.
*EDIT* It is updating as expected now, but it still will not post the very newest feed - stops at the one below it. I'm testing with the http://feeds.bbci.co.uk/news/uk/rss.xml link, it stops at "Clegg: End 'who you know' culture" and doesn't post the last one?
It's also posting 2 of the same feeds as if they were new ones?
How can I make the feeds become "mark as read" when they're posted, as it just spams the "Recent Unread Topics" page.
Thanks.
Quote from: markdw on April 05, 2011, 04:06:26 AM
Makes total sense, I'm testing this now. It seems crazy that posting HTML isn't controlled through the permissions system, that way we could create a custom permission set up for the feed poster...
Well, technically it is, but with a cron job set up to create its own posts, you're sort of circumventing the permission system. I think if the author of this mod wanted to include this feature (at least in 1.1.x , not sure about 2.x), he would need to create a random hash mark (or have the user do it) and use that in place of the HTML bbc code. Then he'd need to also modify the Subs_post file as well and add that chunk of code with a check for that hash.
I've been successfully using this for 3 days now. It's perfect for the HTML formatted Ebay rss feeds I'm using.
when i point my browser to my cron php file im getting
Fatal error: Call to undefined function tp_loadtheme() in /home/goseafis/public_html/Sources/Load.php on line 1370
That's a problem hmm you might have to modify your load.php to check if in SSI or not or if that function exists. Sounds like a bug with tiny portal though that should be reported.
well it posted some posts but its not displaying the html properly its posting the code not the pictures etc
example below any way to fix it ?
<table border="0" cellpadding="8"><tr><td width="80px"><img border="0" src="http://thumbs4.ebaystatic.com/m/m5OAwl0sJ0eIs_ZsqDhr6HQ/80.jpg"></td><td><strong>£0.99</strong> (0 Bids)
End Date: Thursday Apr-07-2011 18:32:52 BST
Bid now | Add to watch list</td></tr></table>
and also what would i need to modify and how ?
stop working at all now.
no posting nothing.
Quote from: acadiaforum.net on April 06, 2011, 10:48:53 AM
Quote from: markdw on April 05, 2011, 04:06:26 AM
Makes total sense, I'm testing this now. It seems crazy that posting HTML isn't controlled through the permissions system, that way we could create a custom permission set up for the feed poster...
Well, technically it is, but with a cron job set up to create its own posts, you're sort of circumventing the permission system. I think if the author of this mod wanted to include this feature (at least in 1.1.x , not sure about 2.x), he would need to create a random hash mark (or have the user do it) and use that in place of the HTML bbc code. Then he'd need to also modify the Subs_post file as well and add that chunk of code with a check for that hash.
I've been successfully using this for 3 days now. It's perfect for the HTML formatted Ebay rss feeds I'm using.
Yup, has been posting for days now without any problems in that regard. Was just wondering if you have had any issues with this not posting the lastest couple of items on the feed? My site is reading two feeds and it refuses to post the last update for either one until something else is added to the feed above it.
It's also randomly double-posting items from a YouTube feed as if they were new items, but in fairness YouTube isn't great for RSS.
Not sure about the youtube thing but the not posting last feed is one of a few things I pointed out to VB which I'm hoping he can get to at some point.
Edit: Come think of it, the youtube thing could be the feed owner makin a minor change to it which tricks the mod in to think its new.
Quote from: markdw on April 11, 2011, 12:01:45 PM
Quote from: acadiaforum.net on April 06, 2011, 10:48:53 AM
Quote from: markdw on April 05, 2011, 04:06:26 AM
Makes total sense, I'm testing this now. It seems crazy that posting HTML isn't controlled through the permissions system, that way we could create a custom permission set up for the feed poster...
Well, technically it is, but with a cron job set up to create its own posts, you're sort of circumventing the permission system. I think if the author of this mod wanted to include this feature (at least in 1.1.x , not sure about 2.x), he would need to create a random hash mark (or have the user do it) and use that in place of the HTML bbc code. Then he'd need to also modify the Subs_post file as well and add that chunk of code with a check for that hash.
I've been successfully using this for 3 days now. It's perfect for the HTML formatted Ebay rss feeds I'm using.
Yup, has been posting for days now without any problems in that regard. Was just wondering if you have had any issues with this not posting the lastest couple of items on the feed? My site is reading two feeds and it refuses to post the last update for either one until something else is added to the feed above it.
It's also randomly double-posting items from a YouTube feed as if they were new items, but in fairness YouTube isn't great for RSS.
Nope, the youtube channel isnt being edited at all - but like I said YouTube's RSS format has caused me headaches in the past so I will get that parsed through yahoo pipes.
So is there idea of what is causing the "wont post last item" error?
RSS Feed Poster create new topics without content??
is there any complete sql syntax for converting html tags to smf bbcode?
Quote from: markdw on April 11, 2011, 12:01:45 PM
Yup, has been posting for days now without any problems in that regard. Was just wondering if you have had any issues with this not posting the lastest couple of items on the feed? My site is reading two feeds and it refuses to post the last update for either one until something else is added to the feed above it.
Any news on this problem?
Thanks.
I have seen many other posts in this title but nobody really gave an answer to Turkish encoding problem.
How do we change the character encoding of this?
It shows scrambled Turkish characters.
Here are more details about the problem:
When i change ISO-8859-1 to ISO-8859-9 in subs-rss.php ,
cronrss.php gives me these error... and it doesnt post anything anymore.
Warning: xml_parser_create() [function.xml-parser-create]: unsupported source encoding "ISO-8859-9" in /home/site/public_html/forum/Sources/Subs-RSS.php on line 210
Warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 225
Warning: xml_set_character_data_handler(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 226
Warning: xml_parse(): supplied argument is not a valid XML Parser resource in /home/site/public_html/orum/Sources/Subs-RSS.php on line 228
Warning: xml_parser_free(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 232
Also If somebody gives me all the texts, i can just translate it to Turkish.
Another excellent mod from VBGAMER! Thank You!
Quote from: ghostm on August 18, 2008, 10:36:05 AM
FOR TURKISH NON-UTF8 SITES
Install package from admin area and than open the file in package "Subs-RSS.PHP" or get it from "Sources" folder.
find this:
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;
after that copy and paste this:
# GLOBAL VARIABLES
$url = "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT";
//$url = "8859-9.txt";
$iso2utf = array();
$utf2iso = array();
# UNICODE MAPPING TABLE PARSING
function create_map($url){
global $iso2utf, $utf2iso;
$fl = @(file($url)) OR (die("cannot open file : $url\n"));
for ($i=0; $i<count($fl); $i++){
if($fl[$i][0] != '#' && trim($fl[$i])){
list($iso, $uni, $s, $desc) = split("\t",$fl[$i]);
$iso2utf[$iso] = $uni;
$utf2iso[$uni] = $iso;
}
}
}
# FINDING UNICODE LETTER'S DECIMAL ASCII VALUE
function uniord($c){
$ud = 0;
if (ord($c{0})>=0 && ord($c{0})<=127) $ud = $c{0};
if (ord($c{0})>=192 && ord($c{0})<=223) $ud = (ord($c{0})-192)*64 + (ord($c{1})-128);
if (ord($c{0})>=224 && ord($c{0})<=239) $ud = (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128);
if (ord($c{0})>=240 && ord($c{0})<=247) $ud = (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128);
if (ord($c{0})>=248 && ord($c{0})<=251) $ud = (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128);
if (ord($c{0})>=252 && ord($c{0})<=253) $ud = (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128);
if (ord($c{0})>=254 && ord($c{0})<=255) $ud = false; //error
return $ud;
}
# PARSING UNICODE STRING
function utf2iso($source) {
global $utf2iso;
$pos = 0;
$len = strlen ($source);
$encodedString = '';
while ($pos < $len) {
$is_ascii = false;
$asciiPos = ord (substr ($source, $pos, 1));
if(($asciiPos >= 240) && ($asciiPos <= 255)) {
// 4 chars representing one unicode character
$thisLetter = substr ($source, $pos, 4);
$thisLetterOrd = uniord($thisLetter);
$pos += 4;
}
else if(($asciiPos >= 224) && ($asciiPos <= 239)) {
// 3 chars representing one unicode character
$thisLetter = substr ($source, $pos, 3);
$thisLetterOrd = uniord($thisLetter);
$pos += 3;
}
else if(($asciiPos >= 192) && ($asciiPos <= 223)) {
// 2 chars representing one unicode character
$thisLetter = substr ($source, $pos, 2);
$thisLetterOrd = uniord($thisLetter);
$pos += 2;
}
else{
// 1 char (lower ascii)
$thisLetter = substr ($source, $pos, 1);
$thisLetterOrd = uniord($thisLetter);
$pos += 1;
$encodedString .= $thisLetterOrd;
$is_ascii = true;
}
if(!$is_ascii){
$hex = sprintf("%X", $thisLetterOrd);
if(strlen($hex)<4) for($t=strlen($hex);$t<4;$t++)$hex = "0".$hex;
$hex = "0x".$hex;
$hex = $utf2iso[$hex];
$hex = str_replace('0x','',$hex);
$dec = hexdec($hex);
$encodedString .= sprintf("%c", $dec);
}
}
return $encodedString;
}
# CREATING ISO2UTF & UTF2ISO MAPS
create_map($url);
find this:
/*
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
*/
before add:
$msg_body = utf2iso($msg_body);
$msg_title = utf2iso($msg_title);
let's upload this file. that's all. don't forget to run cronrss.php
i think you should get the the file "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT" to your root and remove the slash at Subs-RSS.php to get it from local.
Regards
Mr Selim
Is there an easier way to encode this to Turkish?
This post is from 2008. I dont even know if it works now.
or is there a way to encode wp rss in ISO-8859-9 instead of UTF?
Quote from: Klauser on March 03, 2011, 12:27:45 PM
Is it possible to do another way of calling the /cronrss.php ? I have a SMF board which does not allow guests, if I am logged in and put the url into the browser, the RSS-Feeds are getting updated, if I do it over a Cron Job than the job is not working, because it does not have access to the forum and see the login page. ???
I am now on an other pc, I put the Url into the browser and hit enter and I will be redirected to the login page of the SMF Board, after I am logged in, than I see that the FeedPoster is working. So that is why the External Cronjob Call is not working. My forum is totaly restricted, no public Areas, so there is the problem.
Quote from: acadiaforum.net on April 04, 2011, 01:55:22 PM
Well, it sounded like a good idea, but that didn't work either. The HTML bbc tag is being stripped out after the script executes and before it gets posted, so SMF itself is removing it within preparsecode(). When mark's suggestion didn't work, I dug into the subs_post file and found the error (and a subsequent, even more convoluted, solution).
Here's what I had to do to get HTML tags to parse correctly in the rss feeds.
In Subs_RSS.php, find this line (mine was line 294)
$msg_body = '[ HTML ]' . $msg_body . '[ /HTML ] ';
and replace it with this:
$msg_body = '[HIDDENTAG]' . $msg_body . ' [/HIDDENTAG]';
Then in Subs_Post.php, find the HTML parsing 'if' loop (line 210-220) and add this code after it:
if (!$previewing && strpos($parts[$i], '[HIDDENTAG]') !== false)
{
$parts[$i] = preg_replace('~\[HIDDENTAG\](.+?)\[/HIDDENTAG\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
}
As arantor pointed out, the cron process does not pass the necessary credentials back to SMF to allow it to have the authority to use the HTML bbc code, regardless of what user you tell it to post under. So what I've done here is taken the chunk of code that normally runs if you DO have that permission for the HTML code and run it again if it finds an arbitrary tag (hiddentag in this example). The benefit here is that it finally allows the RSS poster to use html tags. The downside is that you're allowing anyone who happens to know that new tag to circumvent the security that SMF puts in place on the HTML tag. If you want to use it, copy the code from above, but replace "HIDDENTAG" with some obscure tag name of your choosing that won't be easily guessable and at least you add a measure of security through obscurity.
That is excellent! worked really great - using - 1.1.13
Playboy, from a quick look at your errors it would appear that "ISO-8859-9" is not a supported encoding. Looking at the function on the PHP doc site it would appear that is the case as well.
http://www.php.net/xml_parser_create
QuoteIn PHP 5.0.0 and 5.0.1, the default output charset is ISO-8859-1, while in PHP 5.0.2 and upper is UTF-8. The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
Quote from: IchBin™ on April 18, 2011, 10:46:42 AM
Playboy, from a quick look at your errors it would appear that "ISO-8859-9" is not a supported encoding. Looking at the function on the PHP doc site it would appear that is the case as well.
http://www.php.net/xml_parser_create
QuoteIn PHP 5.0.0 and 5.0.1, the default output charset is ISO-8859-1, while in PHP 5.0.2 and upper is UTF-8. The supported encodings are ISO-8859-1, UTF-8 and US-ASCII.
So what should i do?
Is there a way to fix or edit it? Can anybody help me about this?
I've been using an old version of this mod for a long time, works great, cept for HTML entitities. EG:
QuoteRobotShop
a robotics distribution company,
headquartered in Québec, Canada,
and
representing over 200 manufacturers,
Does anyone know if the new version corrects this and decodes the entities please ?
Friendly support bump :)
Started using this mod and the feed has been working ok for the first few messages then I got a "Hacking Attempt" screen with this posted in the error log:
Hacking attempt...
INSERT INTO `xxxx_smf1`.smf_messages
(ID_BOARD, ID_TOPIC, ID_MEMBER, subject, body, posterName, posterEmail, posterTime,
posterIP, smileysEnabled, modifiedName, icon)
VALUES (61, 0, 122, SUBSTRING('ZZ9:First Episode of Hitchhiker's', 1, 255), SUBSTRING('[b]First Episode of Hitchhiker's[/b]
[html]<div class="field field-type-datetime field-field-date"> <div class="field-label">Date: </div> <div class="field-items"> <div class="field-item odd"> <span class="date-display-single">Tuesday, March 8, 2011 - <span class="date-display-start">22:30</span><span class="date-display-separator"> - </span><span class="date-display-end">23:00</span></span> </div> </div> </div> <p>The thirty-third anniversary of the first broadcast of the first episode of the first radio series, the first incarnation of Hitchhiker's.</p>[/html]
Source: [url=http://www.zz9.org/node/86]First Episode of Hitchhiker's[/url]', 1, 65534), SUBSTRING('RSSFeeder', 1, 255), SUBSTRING('[email protected]', 1, 255), 1304156252,
SUBSTRING('127.0.0.1', 1, 255), 1, '', SUBSTRING('hitchhike', 1, 16))
File: Subs-Post.php
Line: 1542
Any ideas on what is wrong or how I can fix it..
Thanks..
VALUES (61, 0, 122, SUBSTRING('ZZ9:First Episode of Hitchhiker's'
SMF thinks this is a form of SQL injection since it closes the string before it completes :)
Ahh thanks for that.
Just read this after finding running the cron page as guest posts without the HTML tags, which seemed to post this one.
I S'pose I'll just have to keep my eye on the logs for the odd malformed message and just manual edit the post afterwards to re-add the HTML tags.
Is this the feeder or SMF parsing thats getting caught out by the apostrophe?
Quote from: MrMorph on April 25, 2011, 07:43:46 AM
I've been using an old version of this mod for a long time, works great, cept for HTML entitities. EG:
QuoteRobotShop
a robotics distribution company,
headquartered in Québec, Canada,
and
representing over 200 manufacturers,
Does anyone know if the new version corrects this and decodes the entities please ?
B..bbb.b...b.bbb bump.
@oridyne: It's the parser's fault, it needs to use a tiny bit of addslashes() when posting the post :)
@above: SMF posts do not parse HTML codes.
Quote from: PLAYBOY on April 15, 2011, 06:53:29 PM
I have seen many other posts in this title but nobody really gave an answer to Turkish encoding problem.
How do we change the character encoding of this?
It shows scrambled Turkish characters.
Here are more details about the problem:
When i change ISO-8859-1 to ISO-8859-9 in subs-rss.php ,
cronrss.php gives me these error... and it doesnt post anything anymore.
Warning: xml_parser_create() [function.xml-parser-create]: unsupported source encoding "ISO-8859-9" in /home/site/public_html/forum/Sources/Subs-RSS.php on line 210
Warning: xml_set_element_handler(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 225
Warning: xml_set_character_data_handler(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 226
Warning: xml_parse(): supplied argument is not a valid XML Parser resource in /home/site/public_html/orum/Sources/Subs-RSS.php on line 228
Warning: xml_parser_free(): supplied argument is not a valid XML Parser resource in /home/site/public_html/forum/Sources/Subs-RSS.php on line 232
Also If somebody gives me all the texts, i can just translate it to Turkish.
Another excellent mod from VBGAMER! Thank You!
Quote from: PLAYBOY on April 15, 2011, 07:58:46 PM
Quote from: ghostm on August 18, 2008, 10:36:05 AM
FOR TURKISH NON-UTF8 SITES
Install package from admin area and than open the file in package "Subs-RSS.PHP" or get it from "Sources" folder.
find this:
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;
after that copy and paste this:
# GLOBAL VARIABLES
$url = "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT";
//$url = "8859-9.txt";
$iso2utf = array();
$utf2iso = array();
# UNICODE MAPPING TABLE PARSING
function create_map($url){
global $iso2utf, $utf2iso;
$fl = @(file($url)) OR (die("cannot open file : $url\n"));
for ($i=0; $i<count($fl); $i++){
if($fl[$i][0] != '#' && trim($fl[$i])){
list($iso, $uni, $s, $desc) = split("\t",$fl[$i]);
$iso2utf[$iso] = $uni;
$utf2iso[$uni] = $iso;
}
}
}
# FINDING UNICODE LETTER'S DECIMAL ASCII VALUE
function uniord($c){
$ud = 0;
if (ord($c{0})>=0 && ord($c{0})<=127) $ud = $c{0};
if (ord($c{0})>=192 && ord($c{0})<=223) $ud = (ord($c{0})-192)*64 + (ord($c{1})-128);
if (ord($c{0})>=224 && ord($c{0})<=239) $ud = (ord($c{0})-224)*4096 + (ord($c{1})-128)*64 + (ord($c{2})-128);
if (ord($c{0})>=240 && ord($c{0})<=247) $ud = (ord($c{0})-240)*262144 + (ord($c{1})-128)*4096 + (ord($c{2})-128)*64 + (ord($c{3})-128);
if (ord($c{0})>=248 && ord($c{0})<=251) $ud = (ord($c{0})-248)*16777216 + (ord($c{1})-128)*262144 + (ord($c{2})-128)*4096 + (ord($c{3})-128)*64 + (ord($c{4})-128);
if (ord($c{0})>=252 && ord($c{0})<=253) $ud = (ord($c{0})-252)*1073741824 + (ord($c{1})-128)*16777216 + (ord($c{2})-128)*262144 + (ord($c{3})-128)*4096 + (ord($c{4})-128)*64 + (ord($c{5})-128);
if (ord($c{0})>=254 && ord($c{0})<=255) $ud = false; //error
return $ud;
}
# PARSING UNICODE STRING
function utf2iso($source) {
global $utf2iso;
$pos = 0;
$len = strlen ($source);
$encodedString = '';
while ($pos < $len) {
$is_ascii = false;
$asciiPos = ord (substr ($source, $pos, 1));
if(($asciiPos >= 240) && ($asciiPos <= 255)) {
// 4 chars representing one unicode character
$thisLetter = substr ($source, $pos, 4);
$thisLetterOrd = uniord($thisLetter);
$pos += 4;
}
else if(($asciiPos >= 224) && ($asciiPos <= 239)) {
// 3 chars representing one unicode character
$thisLetter = substr ($source, $pos, 3);
$thisLetterOrd = uniord($thisLetter);
$pos += 3;
}
else if(($asciiPos >= 192) && ($asciiPos <= 223)) {
// 2 chars representing one unicode character
$thisLetter = substr ($source, $pos, 2);
$thisLetterOrd = uniord($thisLetter);
$pos += 2;
}
else{
// 1 char (lower ascii)
$thisLetter = substr ($source, $pos, 1);
$thisLetterOrd = uniord($thisLetter);
$pos += 1;
$encodedString .= $thisLetterOrd;
$is_ascii = true;
}
if(!$is_ascii){
$hex = sprintf("%X", $thisLetterOrd);
if(strlen($hex)<4) for($t=strlen($hex);$t<4;$t++)$hex = "0".$hex;
$hex = "0x".$hex;
$hex = $utf2iso[$hex];
$hex = str_replace('0x','',$hex);
$dec = hexdec($hex);
$encodedString .= sprintf("%c", $dec);
}
}
return $encodedString;
}
# CREATING ISO2UTF & UTF2ISO MAPS
create_map($url);
find this:
/*
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
*/
before add:
$msg_body = utf2iso($msg_body);
$msg_title = utf2iso($msg_title);
let's upload this file. that's all. don't forget to run cronrss.php
i think you should get the the file "http://www.unicode.org/Public/MAPPINGS/ISO8859/8859-9.TXT" to your root and remove the slash at Subs-RSS.php to get it from local.
Regards
Mr Selim
Is there an easier way to encode this to Turkish?
This post is from 2008. I dont even know if it works now.
or is there a way to encode wp rss in ISO-8859-9 instead of UTF?
Can anybody help me with this please?
Quote from: Yoshi2889 on May 01, 2011, 05:59:49 PM
@oridyne: It's the parser's fault, it needs to use a tiny bit of addslashes() when posting the post :)
Still being a novice with PHP is this something that can be done by adding some lines of code myself (if so what and where :) ) or does this need a wider fix?
Quote from: oridyne on May 02, 2011, 07:34:35 AM
Quote from: Yoshi2889 on May 01, 2011, 05:59:49 PM
@oridyne: It's the parser's fault, it needs to use a tiny bit of addslashes() when posting the post :)
Still being a novice with PHP is this something that can be done by adding some lines of code myself (if so what and where :) ) or does this need a wider fix?
I'll try to search up the code and to fix it :)
EDIT: Quickly searched the files and didn't find the code :-\
Gonna let vbgamer45 do that..
Quote from: Yoshi2889 on May 02, 2011, 02:35:07 PM
I'll try to search up the code and to fix it :)
EDIT: Quickly searched the files and didn't find the code :-\
Gonna let vbgamer45 do that..
Thanks for trying, I'll just wait for vbgamer45 to reply.
I set up some feeds and this is what comes onto my SMF 2.0 RC5 as a post.(screenshots)
I wonder if there is something I need to adjust? Im not very technical but if you can help me figure this out I would appreciate it. Thanks for your help.
Me site is canadiankayakanglers .com
Need a bit of help, this mod will not work with the following feed:
http://www.uoherald.com/rss.xml/archive/story
Something about an error on line 1, any help would be appreciated.
Thank you.
**EDIT**
Also just noticed these errors in the cronrss.php,
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 815
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 815
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 817
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 817
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 825
Strict Standards: strftime() [function.strftime]: It is not safe to rely on the system's timezone settings. Please use the date.timezone setting, the TZ environment variable or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'UTC' for 'GMT/0.0/no DST' instead in /***/******/Sources/Subs.php on line 825
Feed Poster Configuration
Hi I'm a newbie idiot to the forum but not to SMF.
Been using this mod for about six months and it was kind of working ok, apart from HTML not getting passed by the cron job, but I was living with that.
Recently I up-graded to the latest version and now it is refusing to post the last article in the feed, it will only ever post the second to last.
Does anyone have any ideas about this?
Does anyone know what you're supposed to see when you view the cronrss.php page? All I see is this:
Feed Poster Configuration
And it's not updating my feeds :(
If you see the message "Feed Poster Configuration" then the cronrss.php is working correctly.
Mine is still refusing to post the last article in the feed.
Quote from: Datahopa on June 01, 2011, 07:18:23 AM
If you see the message "Feed Poster Configuration" then the cronrss.php is working correctly.
Mine is still refusing to post the last article in the feed.
That must be the problem mine is having then, because there is one new post and it's not showing up.
Anyone can help? I'm using SMF 1.1.13 and running this Mod, I get the following when I install the Mod
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' height='1' src='the rss feeder link' at line 4
File: /home2/insidev5/public_html/forum/Sources/Subs-Post.php
Line: 1535
Any help would be great! I have read through the forum but i dont know where to start
lol this mod is a ton of rubbish.... doesnt work at all and wow... this is like the only rss mod for smf?!?!?! that sucks
Quote from: insiderdialogue on June 02, 2011, 12:37:21 AM
Anyone can help? I'm using SMF 1.1.13 and running this Mod, I get the following when I install the Mod
Database Error
You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '1' height='1' src='the rss feeder link' at line 4
File: /home2/insidev5/public_html/forum/Sources/Subs-Post.php
Line: 1535
Any help would be great! I have read through the forum but i dont know where to start
On one of the posts in this thread there is an updated Sub-RSS.php that fixed that for me, search for "modified sub" and see if you find it.
My current issues are that a) it doesn't grab the last post in the feed, and b) the cron job doesn't appear to be working, even though it runs, I have to manually visit the cronrss.php page to get it to go.
I got this posting the last article again, I reverted to V3.0, which I found at SMFHacks.com
3.0.2
!Changed where the preparse function is called hopefully shouldn't strip the html tags too soon.
!Added more escaping of quotes just in case to fix quote issue
Hi,
I'm still getting errors. Any help on this? apologies, i dont really have any progrmming knowlege
Fatal error: Function name must be a string in RRlink/Subs-RSS.php on line 315
Quote from: insiderdialogue on June 03, 2011, 01:03:21 AM
Hi,
I'm still getting errors. Any help on this? apologies, i dont really have any progrmming knowlege
Fatal error: Function name must be a string in RRlink/Subs-RSS.php on line 315
Made mistake in SMF 1.1.x posted a new update
Thanks alot :) Anyone got a easy solution to the HTML thing? My auto RSS poster posts with all the html tags. I already enabled the posting account to be administrator and the basic html to be enabled in the posts...
the posts looks as follows
Future iPhone software could provide dynamic, GPS-enabled calendar alerts and alarms that could identify a user's location and offer relevant information, such as estimated travel time.<br clear="both" style="clear: both;"/>
<br clear="both" style="clear: both;"/>
<a style='font-size: 10px; color: maroon;' href='http://www.pheedcontent.com/hostedMorselClick.php?hfmm=v3:210794bf5451a8a793478572cd05e8cb:5zKDlohafO3rYQja8RkYO9ZmIEB5VFUppAp0h67PMqEi6Sa7ujHSpLQ8fx9R6WkA5NiUbpSRsfZIlzM%3D'><img border='0' title='Add to Twitter' alt='Add to Twitter' src='http://images.pheedo.com/images/mm/twitter.png'/></a>
<br clear="both" style="clear: both;"/>
<a href="http://ads.pheedo.com/click.phdo?s=e19fcb867c9226718983001b0d422b6e&p=1"><img alt="" style="border: 0;" border="0" src="http://ads.pheedo.com/img.phdo?s=e19fcb867c9226718983001b0d422b6e&p=1"/></a>
<img alt="" height="0" width="0" border="0" style="display:none" src="http://segment-pixel.invitemedia.com
@ insiderdialogue
For a start it looks like the user or bot making the post hasn't made enough posts to post links, the http is broken to hxxp.
Many Thanks To Ozzie For Sorting This Mistake OF My Own Makeings Out...OZZIE Your A Diamond Geezer!
massive balls up on my site..help needed please.downloaded new version that was released today
Today at 01:17:54 AM
Latest Version:
3.0.2
and stupidly thought it would overwrite previous version now i have this error
QuoteFatal error: Cannot redeclare scheduled_update_feedbots() (previously declared in /home/psfightc/public_html/forum/Sources/ScheduledTasks.php:1656) in /home/psfightc/public_html/forum/Sources/ScheduledTasks.php on line 1714
thanks in advance....running smf version 2.0rc5
Norti :(
Thanks so much for updating this VBGamer :D Going to try out the new version now and see if I can get it working.
Quote from: Datahopa on June 03, 2011, 09:39:24 AM
@ insiderdialogue
For a start it looks like the user or bot making the post hasn't made enough posts to post links, the http is broken to hxxp.
How do you fix this? I'm having the same issue.
Edit to add the bot that is doing the posting has Admin permissions, so I don't know why the tags aren't working, they're enabled.
Cant get this working it was for a day then like a idiot i delete the mod by accident ever since iv not been able to get it going if somone can get it running again im happy to pay :) please if u can help pm
Do I need to uninstall the previous version first? I assume if I do I'll lose all the feeds I have setup.
Rick
No need to uninstall you can install on top of.
Awesome thanks
Rick
Uninstalling and removing, then reinstalling left my feeds intact so that's not a problem. The issues I'm seeing are:
1) HTML not being displayed properly even though the bot is an Admin. Also, disabling HTML for the feeds doesn't actually seem to disable the HTML, as after I disabled then and then ran the update again, the new feeds still had HTML in them.
2) My cron job isn't working for some reason, this is what I have set up:
/usr/bin/GET http://mywebsite.com/cronrss.php
This runs every 30 minutes (the feeds are set to check every 30 as well) and I have yet to see it actually cause the feeds to update. If I browse to the cronrss.php page they do update however. I know the CRON job is running because I'm emailed every time it goes (for debugging).
For #2 is GET the right command to excute that webscript? I seen people use WGET haven't seen just GET before.
Quote from: vbgamer45 on June 05, 2011, 10:52:20 AM
For #2 is GET the right command to excute that webscript? I seen people use WGET haven't seen just GET before.
I'll try WGET. I was just going off of what HostGator had in their support search, since before I tried this mod out I wasn't familiar with CRON Jobs. Now that you say it, WGET makes more sense :P
Is there a way I can put javascript in the footer of the feed? I'd like to use Clickbank ads specific to the topic.
Rick
Quote from: Wintaru on June 05, 2011, 03:40:34 PM
Quote from: vbgamer45 on June 05, 2011, 10:52:20 AM
For #2 is GET the right command to excute that webscript? I seen people use WGET haven't seen just GET before.
I'll try WGET. I was just going off of what HostGator had in their support search, since before I tried this mod out I wasn't familiar with CRON Jobs. Now that you say it, WGET makes more sense :P
wget is running, still not updating the feeds, but after visiting the cronrss.php in my browser they update. Strange.
When I was using this mod (ages back) in my cron job I used to change the directory first then run the php...kinda like :
cd /path/to/rssfeeder/cronjob/directory ; /usr/local/bin/php -f cronrss.php
It used to work like that anyway..
Quote from: KirkhamsEbooks on June 06, 2011, 04:21:12 AM
Is there a way I can put javascript in the footer of the feed? I'd like to use Clickbank ads specific to the topic.
Rick
Might be able to put it in the footer text area but I think it is filtered out.
What if I create an external js file?
Rick
That should work too I think that would be best
Quote from: KirkhamsEbooks on June 06, 2011, 04:21:12 AM
Is there a way I can put javascript in the footer of the feed? I'd like to use Clickbank ads specific to the topic.
Rick
So I played around using the sig file for my Admin since it was Admin that was going to do the rss posts. I couldn't get javascript or a js file to work but never let it be said I wasn't smart enough to get around my lack of intelligence, I came up with an iframe and placed the clickbank ads in a static html page. Upon testing the refresh of a post I discovered the ads still changed
If anyone has any suggestions how to improve this let me know
(html)
<object style="width:300%;height:300px" data="http://www.kirkhamsebooks.com/lawcb.htm" type="text/html" standby="Ebooks and Software by Kirkham"></object>
(/html) ) changed on purpose
Rick
Oops works with firefox but not ie any suggestions?
Rick
Little research and this did it for both ie and ff
[html]
<iframe src="http://www.kirkhamsebooks.com/lawcb.htm" width="300px" height="300px">
<ilayer src="http://www.kirkhamsebooks.com/lawcb.htm">
</ilayer>
</iframe>
[/html]
Can anybody find a solution to Turkish characters please?
<iframe src="http://www.kirkhamsebooks.com/lawcb.htm" width="468px" height="120px" scrolling="no">
<ilayer src="http://www.kirkhamsebooks.com/lawcb.htm">
</ilayer>
</iframe>
The footer is quoting the characters. Any suggestions around this? Already using [ html
Rick
I just checked and i use version 3.0.1 so does the upgrade fix these small issues i have please ? and how do i upgrade just over the top via ftp or uninstall old and upload new ?
The problem i have is things like ' and - or _ gives me some funny things here is two images showing you how it should be and what it places instead
The problem
http://imageshack.us/photo/my-images/28/probd.jpg/
how it should be
http://imageshack.us/photo/my-images/534/righttb.jpg/
any answers please
thanks for great mod too
Just install on top of it.
Quote from: vbgamer45 on June 09, 2011, 12:43:53 PM
Just install on top of it.
Will do thanks does it fix the small issues i posted please vbgamer45 ?
Might fix some of the ' issues
Question can we add more icons to the news feed selection ? standard,lamp,thumb up ect i added a RSS.gif in to the post folder but yet it doesn't show in the drop down list in Feed poster config area ?
how can i do this please
I think you would need to modify the RSS feed template to include it. I think I just go by the standard post icons
Quote from: vbgamer45 on June 09, 2011, 01:32:10 PM
I think I just go by the standard post icons
Ok will do thanks
Greetings,
Installed this mod (3.0.2a) without any problems in my 2.0 RC5 forum.
Added some rss feeds for posting, looked good too.
fsockopen, fopen, and curl are enabled.
But no posting on the forum at all...
Anyone an idea?
Tnx!
Do you have the scheduled task enabled or are you running it via a cron job
Quote from: vbgamer45 on June 11, 2011, 08:00:10 PM
Do you have the scheduled task enabled or are you running it via a cron job
'Use fake cron jobs' is enabled.
'Update every x minutes' in feed config is set at 30mins.
Woke up this morning ( yes, really ;) ) and there were some posts made at 1.03h and 7.01h. Every 6 hours?
The thing with fake cron jobs and scheduled task it requires some to visit your forum during that time.
If you use a real cron job it does not matter
Okay... I forget the fake cron jobs and scheduled tasks.
How do I add a real cron job then?
You have to setup with your hosting system and then point to the cronrss.php or cronrss2.php file depending on your SMF version.
Too rouch for me I guess...
Not that good with all that PHP stuff I'm afrait... ;)
I suppose every 360mins is the default setting? If yes, I can live with that.
Another question... If I want to change the layout of a post a lil, which file I have to edit? FeedPester2.template.php?
Of a post in the normal SMF? If so that's in display.template.php
No, I mean in the post which Feed Poster posts in an board.
That would be in Sources/Subs-RSS2.php that does the posting to the board etc
Anyone solved the HTML Tag issue other than manually input the HTML tags into each post?
Quote from: vbgamer45 on June 12, 2011, 10:08:42 AM
That would be in Sources/Subs-RSS2.php that does the posting to the board etc
Got it...
How do I add an extra <br /> into such a post?
It would depend on where you want it to appear.
In a post posted by Feed Poster you have:
the title
(white line)
Description text
Source: followed by the link
I would prefer an extra white line between the description text and the source/link...
Search for source in subs-rss2.php you should be able the code on that file
Ok...
Can manage that, tnx for your help!
rss feed poster successfully installed on 2.0 rc5 been trying to get it work for 2 weeks now with no success.
- cron job set up in cpanel using this command: wget -q http://gun-shine.com/cronrss.php
- when visiting http://gun-shine.com/cronrss.php get this message: "[an error occurred while processing this directive]"
- download method: all
- poster name: admin (shadowrun)
no updated posts, nothing is happening. Any help much appreSiated!
Haven't seen that error before.
I would try changing file permissions on that file to 755 and see if that works.
great thanks, that seems to have done the trick with 775. Feeds are still not being posted though
http://gun-shine.com/cronrss.php
now displaying "Feed Poster Configuration"
That is what should be displayed if it is ok check error logs and feeds to make sure they are ok.
tried to add a new feed - getting this error message when saving it:
"XML error: Undeclared entity warning at line 2781"
If that happens that means the xml feed is not well formed and can't be loaded into the Feed Poster
does the mod support page2rss.com feeds?
p.s back in an hour
The mod should support any well formed rss or atom based feeds
Great, its working. Is there an option to remove the source link from the feed post?
Probably a very stupid question, but...
What does in the cron job command the wget -q before the url stands for?
I am trying to get my feed poster to post on time and not week later could someone explain to me please why this happens
Every thursday a new post is made in my local paper i am trying to feed this to my forum so that its posted the same week but it never does, the feed i am trying to get to work is http://www.thetelegraphandargus.co.uk/sport/sportother/sport_other_indoor/snooker/rss/
The last post on my forum was last week and that was Cooper and Atkinson edge tense Bradford Pairs final but last thursday the Bedford hits form to earn pro pass and i want it to be on time with posting it seems to be a week behind all the time
I have the cron job checking for new posts twice a week but darn thing didnt post last one
hope this all makes sense lol anyone know whats going off please
thanks
Just installed the new update but now the feeds I have are broken here is an example of the post:
[ html]<strong>The worldwide venues for this weekend's Hunt For Gollum preview event</strong><p> <p style="text-align: center;"><img width="600" vspace="10" hspace="10" height="144" align="middle" alt="" src="/ffg_content/lotr-lcg/news/hfg-preview-event/lotrlcg-logo.png" /></p> <p><i>&ldquo;Together we sought for Gollum down the whole length of Wilderland, without hope, and without success.&quot;<br /> &nbsp;&nbsp;&nbsp;&nbsp; - Gandalf, Fellowship of the Ring</i></p> <p>The elusive creature known as Gollum is hiding at your friendly local game store, and June 10th-12th, the hunt is on....</p>[ /html]
Feed From: http://www.fantasyflightgames.com/edge_asp/edge_rss.asp (http://www.fantasyflightgames.com/edge_asp/edge_rss.asp)
Any Ideas? should I just uninstall and re-install the previous version?
Thanks for any help..
@snooks
same issue
Another issue: - feeds updated for the first 2 hours, but have not updated in the last 48 hours (nothing changed), however external feeds HAVE updated at least 10 times now, so its behind 10 posts if your with me, just decided to STOP working.
Also I would like to remove the 'feed source' link, is this possible?
The feed posts are being cut off at around 34 words, this makes no sense to me as its a FULL source feed, what am I doing wrong?
any suggestions or help much appreciated, everything is on hold here until this is resolved :)
Last post my feed made was 9th and it is always a week behind i have tried different posting options i can't figure it out lol
It isn't posting on mine either, the settings stayed the same the only difference between when it was working and now(not working) was I'm using SMF 2.0 gold instead of 1.1.13 (I've re-installed it via package manager), the feeds work fine on their own, going to the yourforum.com/cronrss.php shows "Feed Poster Configuration". cron job pointing to it via host, fake cron job and scheduled task all aren't making it post new updates either (I have it set to 30 minute update period on all 3 things), it has skipped the last 2 posts (1 from yesterday the other from 3 days ago)
I am now using the 'RSS Feeder' mod until this is resolved, it doesn't cut the messages off at 34 words
Quote from: tabletsdroid on June 14, 2011, 07:59:47 AM
I am now using the 'RSS Feeder' mod until this is resolved, it doesn't cut the messages off at 34 words
@ tabletsdroid, does it post on time ? great these feed posters but if they can't post on time its not good
thnx
you cant choose when feed poster, posts. But for the specific rss source im using, it does not cut out at 34 or so words like this '...' where there should be the remaining text - also it seems to grab way more posts.
I have been using this mod on RC5 with zero issues. Now i'm on a dedicated server and getting this
Click for my feed link (http://www.pitbull911.org/forum/.xml/?type=rss)
I can't seem to figure it out....
Error 403 - Forbidden
You tried to access a document for which you don't have privileges.
Any ideas?
When do you get the 403 error?
When I click on the "RSS" link at the bottom of the forum in the footer. I was half asleep when I posted here mis-remembering what your mod does, so now in my alert state I realize that it wouldn't be the issue at all. I'm wondering if it has to do with Pretty URLs.
Anything that tries to use that link is broken also, like my Twitter Feed.
Yeah that error looks like it is from another mod probably pretty urls.
@vbgamer45
Is there a way to remove the link source at the bottom of each post?
thanks
No one faces this issue? My only solution is doing it manually. Anyone has a betterway around it?
Quote from: insiderdialogue on June 12, 2011, 12:14:47 PM
Anyone solved the HTML Tag issue other than manually input the HTML tags into each post?
Is there something preventing this from posting the most recent item in the rss feed? It posts the older ones fine, but it will not post the most recent thing in the rss feed no matter how old the most recent thing is
@riou same problem
Any update on if its possible to remove the feed 'source link' ?
thanks
Quote from: riou on June 17, 2011, 01:01:19 AM
Is there something preventing this from posting the most recent item in the rss feed? It posts the older ones fine, but it will not post the most recent thing in the rss feed no matter how old the most recent thing is
This is my problem too, any ideas please vbgamer45 ?
Question when the feed posts on my forum it posts the brief description and link to the article however when I view the same feed with my reader I get pictures and everything. Is that as designed? Is their way to get full article when it posts like my reader does?
Empty title and empty article. Just "Source:" is posted.
Badly formated feed or problems with the mod?
smf 2.0 and feed poster 3.02a
Quote from: snooks on June 17, 2011, 02:39:27 AM
Quote from: riou on June 17, 2011, 01:01:19 AM
Is there something preventing this from posting the most recent item in the rss feed? It posts the older ones fine, but it will not post the most recent thing in the rss feed no matter how old the most recent thing is
This is my problem too, any ideas please vbgamer45 ?
Can i bump this please would really like to have this working nice :)
please vbgamer45 do you know what my problem is to this not posting on time.
thank you
I am using RSS Feed Poster, on some feeds there is no problem, however i use Feed Editor to create a News Feed for the site, and then use RSS Feed Poster to add each new item to a News Forum on the site.
I use HTML tags in Feed Editor to format the news item, and format each item with some minor HTML. RSS Feed Poster imports just fine, but displays the tags rather than formating the copy. Is there a setting or something that I can use to make RFP display the fomatted copy rather than the tags?
I use RSS2HTML script to create a summary that Simple Portal puts at the top of the home page and it displays the formatted html from the same source RSS feed.
You can click here (http://exreps.com/Forums/index.php) to see what I am talking about
Quote from: jay.clark on June 23, 2011, 02:24:17 PM
I am using RSS Feed Poster, on some feeds there is no problem, however i use Feed Editor to create a News Feed for the site, and then use RSS Feed Poster to add each new item to a News Forum on the site.
I use HTML tags in Feed Editor to format the news item, and format each item with some minor HTML. RSS Feed Poster imports just fine, but displays the tags rather than formating the copy. Is there a setting or something that I can use to make RFP display the fomatted copy rather than the tags?
I use RSS2HTML script to create a summary that Simple Portal puts at the top of the home page and it displays the formatted html from the same source RSS feed.
You can click here (http://exreps.com/Forums/index.php) to see what I am talking about
Only Admins can do html stuff in 2.0 series unfortunately, what I found is you can just edit the post and save and it will format it if your account is an Admin, it's some extra work but, eh maybe it gets changed in the future :P
Quote from: riou on June 23, 2011, 07:44:49 PM
Only Admins can do html stuff in 2.0 series unfortunately, what I found is you can just edit the post and save and it will format it if your account is an Admin, it's some extra work but, eh maybe it gets changed in the future :P
Whoa ...
I had expected something better than that from da Gamer.To me the whole point of putting RSS feeds into posts is to have additional content with minimal additional labor, ether by creating a feed as I have done, or by importing a feed.
Having to go in and "touch" each post seems kinda brain damaged. Especially since you have to have admin rights in order to create the link, and since
any user on my system can use HTML.
I will go try your cure, but I certainly hope for an upgrade or perhaps a pointer to another mod that does not have this feature.
Vegas Jay
Quote from: lazylivin on June 19, 2011, 02:35:56 AM
Question when the feed posts on my forum it posts the brief description and link to the article however when I view the same feed with my reader I get pictures and everything. Is that as designed? Is their way to get full article when it posts like my reader does?
Just a Bump. Thanks
Can it get attachments from other smf forums feeds as well?
Quote from: ukhalik2 on June 25, 2011, 06:51:16 PM
Can it get attachments from other smf forums feeds as well?
No it just can get what is in the feed itself
By any chance, has anyone come up with solutions to either the HTML or the "doesn't list the latest feed item" issues, yet?
I have the mod currently installed and the Feed Poster Configuration page was loading properly. Now it only loads the first half of the feed list. All options below and even SMF copyright info is missing. I believe there is a corrupted file and have reinstalled the mod with no success. Suggestions?
I've spent a lot of time trying to get this to work. Currently it pulls feeds and dumps them into posts without doing any translation... so there is a page of html code, no graphics and its impossible to read.
I'm sure there must be something I'm doing wrong, but I certainly can't find it... html is enabled in SMF and in this program... any ideas? And, no opening and saving the messages does not work... obviously that isn't an option in any event.
I too have been spending days trying to get this working properly. I am not sure if it's something with my forums' hosting or if it has something to do with the feed URL I am using. Could somebody help me find out the problem? I don't have the /cronrss.php file, so I am using the fake ones and selecting to use "all" with the "feed download method." Nothing is working...
This is the feed URL: http://news.google.com/news?ned=us&topic=t&output=rss
EDIT: Okay, this is weird. After attempting to use this URL for hours it just now started working properly...
EDIT 2: It seems to have quit working again. Nothing I do helps...
Hi,
My forum language is persian(utf8). when rss fedd poster post a rss, all of the post become like this:
"????????????"
?????
???????????????????????? ?????????????????? ????????? ????
How can I solve this problem?
Thanks
Hello everyone, I have use this feeds and so much appreciate the developers on this. I have a question on the AMOUNT informaiton it pulls from each feeds. I know from other feeds mods that you can add parameters to grab a few more lines of the feed. Is there a way to grab extras few lines of the feeds. For example, we are pulling feeds from a local newspaper. It grabs the first paragraph of the feeds. Then I put a source link of the feed.
I want to pull 2 paragraph in length of the feed. Is there a way to do that?
Thanks for a useful mod!
Would it be possible for the mod to understand pubDate-tag and put it into the body of the message or/and the subject? It would be very useful, especially for articles-feeds which may contain entries many months or even years from now...
This is a terrific mod that is working beautifully on my forum. The only problem is that the html in one of the feeds doesn't display properly, and all the post titles have question marks for some reason. I've tried to correct this by enabling and then disabling html, but that had no effect. What's causing the problem? I'm using 2.0R3.
Quote from: acadiaforum.net on April 04, 2011, 01:55:22 PM
Here's what I had to do to get HTML tags to parse correctly in the rss feeds.
In Subs_RSS.php, find this line (mine was line 294)
$msg_body = '[ HTML ]' . $msg_body . '[ /HTML ] ';
and replace it with this:
$msg_body = '[HIDDENTAG]' . $msg_body . ' [/HIDDENTAG]';
Then in Subs_Post.php, find the HTML parsing 'if' loop (line 210-220) and add this code after it:
if (!$previewing && strpos($parts[$i], '[HIDDENTAG]') !== false)
{
$parts[$i] = preg_replace('~\[HIDDENTAG\](.+?)\[/HIDDENTAG\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
}
First of all, I want to thank all of the people in these Forums who have the time and knowledge to figure all of this stuff out and help the rest of us. I have been indebted to your service many times over the past months. Thank you very much!
I was overjoyed when I found this solution, and subsequent reports that it worked well. I know just enough about PHP to stay out of trouble, and I can usually suss out what is going on in a basic sort of way and find problems of my own creation. This really looked like it would work. But I just.can't.get.it.to.work. The first line of code replaces the html tag with my (suitably obscure) hidden tag, as it should. But the second part of the mod does not replace the hidden tag with the html tag, leaving the hidden tag in place and visible in the message body.
"find the HTML parsing 'if' loop (line 210-220) and add this code after it" seems pretty clear, and I have tried inserting the new code at various places at and around the end of the 'if' loop with no success over the past week. It looks (to me) like it should work, but it doesn't. I'm not finding any error messages in any logs, either. ???
What am I missing?
SMF 1.1.14, host PHP version 5.3.6.
Regards,
Jim
Useful mod, thanks!
I am told, that the bug I found is not in the SMF, but that it should be fixed in this mod instead. Could you please look into it and fix the problem? http://www.simplemachines.org/community/index.php?topic=444972.0
Quote from: mikser on August 06, 2011, 02:43:51 PM
Useful mod, thanks!
I am told, that the bug I found is not in the SMF, but that it should be fixed in this mod instead. Could you please look into it and fix the problem? http://www.simplemachines.org/community/index.php?topic=444972.0
im getting this same issue on my topics.
i would really appreciate if you update the mod to do this conversion, so links and imgs can shown correct in topics.
i can make you a donation for your time spent to do that.
thank you very much, sir.
I guess everyone is on holiday.
i dont get why smfhacks is not working on this mod anymore.
its a really requested mod with no other like solutions, and im sure all people wanting this feature, like me, would be glad to pay for this mod (like some of the smfhacks' mods).
Pls, dont let it die.
I run into way too many issues and can't easily be solved plus I have about 50 other projects I am working on anytime and I actually mean 50.
Hi! I am trying to add this feed: http://www.smn.gov.ar/feeds/alertas.xml
Here an example content:
<?xml version="1.0" encoding="iso-8859-1"?><rss version="2.00"><title>Servicio Meteorológico Nacional | Alertas Meteorológicos</title>
<link>http://www.smn.gov.ar</link>
<description>Información Meteorológica actualizada las 24 horas</description>
<language>es</language>
<webMaster>[email protected]</webMaster>
<copyright>Copyright 2003 SMN | Todos los derechos reservados</copyright>
<channel><image>
<title>Servicio Meteorológico Nacional | Alertas Meteorológicas</title>
<url>http://www.smn.gov.ar/gifs/cab-smn.jpg</url>
<link>http://www.smn.gov.ar/</link></image>
<item>
<title>Alerta Meteorologica para: ESTE DE CHACO, CORRIENTES, NORTE DE ENTRE RíOS, NORTE Y CENTRO DE SANTA FE </title>
<link>http://www.smn.gov.ar/?mod=pron&id=51</link>
<description> PROBABLES TORMENTAS FUERTES </description>
</item></channel></rss>
I click the Add feed button and then it shows "XML error: not well-formed (invalid token) at line 1"
Any idea? can this be fixed on my side or I will have to ask smn.gov.ar people to fix the feed? :(
best regards! nice mod!
edit: here another one, issue in line 35 http://www.infobiker.com.ar/rss/rss_noticias.php
w3 validator shows nothing there...
edit2: will be trying the fix on #2192, someone have it working ok? any solution to that issue? (html codes as html entities inside html bbc tags)
Well it looks like #2192 works ok but half way... changing the tag to hiddentag do that html tags gets no converted to html entities... but then, it looks like the second code section do not works properly, and [hiddentag] is not converted back to [./html]... any idea how to fix that code to work properly?
it is the last if section here:
if (!$previewing && strpos($parts[$i], '[html]') !== false)
{
if (allowedTo('admin_forum'))
$parts[$i] = preg_replace('~\[html\](.+?)\[/html\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \' \', \' \' => \'  \', \'[\' => \'[\', \']\' => \']\')) . \'[/html]\'', $parts[$i]);
// We should edit them out, or else if an admin edits the message they will get shown...
else
{
while (strpos($parts[$i], '[html]') !== false)
$parts[$i] = preg_replace('~\[[/]?html\]~i', '', $parts[$i]);
}
}
if (!$previewing && strpos($parts[$i], '[HIDDENTAG]') !== false)
{
$parts[$i] = preg_replace('~\[HIDDENTAG\](.+?)\[/HIDDENTAG\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
}
Quote from: luuuciano on August 27, 2011, 12:18:27 PM
Well it looks like #2192 works ok but half way... changing the tag to hiddentag do that html tags gets no converted to html entities... but then, it looks like the second code section do not works properly, and [hiddentag] is not converted back to [./html]... any idea how to fix that code to work properly?
This has been an ongoing problem that several of us have been asking about. The author does not have time to fix it right now: http://www.simplemachines.org/community/index.php?topic=141776.msg3134234#msg3134234 .
Yep, I read what vbgamer said, but the fix suggested before seems to work (at least it looks logical)... I do not know it it is working on 1.1 and do not in 2.0?
There is no one with regex knowledge here to help on that line?
If we can not fix it (that issue)... how to use this mod properly?? is someone using it?
I agree that it looks logical. It does not work on 1.1.14, it behaves just as you described. M understanding is that it is a permissions issue that would take some time to sort out.
Anyway... the other issue of not posting the latest news of the feeds is worse... Guess Ill trying the another half dead rss feeder mod, lol
:)
The feeds are working fine on mine. I did get an error once that was similar to yours, but I re-enabled it a few days later and it worked. Sometimes it just doesn't seem to find anything to feed. I've got six feeds running right now.
Let us know what you find.
Quote from: GhostHunter on August 06, 2011, 01:32:05 PM
First of all, I want to thank all of the people in these Forums who have the time and knowledge to figure all of this stuff out and help the rest of us. I have been indebted to your service many times over the past months. Thank you very much!
I was overjoyed when I found this solution, and subsequent reports that it worked well. I know just enough about PHP to stay out of trouble, and I can usually suss out what is going on in a basic sort of way and find problems of my own creation. This really looked like it would work. But I just.can't.get.it.to.work. The first line of code replaces the html tag with my (suitably obscure) hidden tag, as it should. But the second part of the mod does not replace the hidden tag with the html tag, leaving the hidden tag in place and visible in the message body.
"find the HTML parsing 'if' loop (line 210-220) and add this code after it" seems pretty clear, and I have tried inserting the new code at various places at and around the end of the 'if' loop with no success over the past week. It looks (to me) like it should work, but it doesn't. I'm not finding any error messages in any logs, either. ???
What am I missing?
SMF 1.1.14, host PHP version 5.3.6.
Hmm, this should work fine in 1.1.x - just so you can see it in context, here's what I have for Subs-Post.php for lines 210-228, including the new chunk of code for the hidden tag replacement...
if (!$previewing && strpos($parts[$i], '[html]') !== false)
{
if (allowedTo('post_html'))
$parts[$i] = preg_replace('~\[html\](.+?)\[/html\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
// We should edit them out, or else if an admin edits the message they will get shown...
else
{
while (strpos($parts[$i], '[html]') !== false)
$parts[$i] = preg_replace('~\[[/]?html\]~i', '', $parts[$i]);
}
}
if (!$previewing && strpos($parts[$i], '[myHiddenTag]') !== false)
{
$parts[$i] = preg_replace('~\[myHiddenTag\](.+?)\[/myHiddenTag\]~ise', '\'[html]\' . strtr(un_htmlspecialchars(\'$1\'), array("\n" => \'\', \' \' => \' \')) . \'[/html]\'', $parts[$i]);
// We should edit them out, or else if an admin edits the message they will get shown...
}
// Let's look at the time tags...
What this does is look for [myHiddenTag] ... anything... [/myHiddenTag] and should replace it with the HTML ...anything... /HTML tags. make sure your closing tag matches whatever you put for the closing tag above. Otherwise, it should work perfectly (at least it does for me)
Ah, this is interesting. Me edit is the same as yours, EXCEPT:
At line 212 where you have:
if (allowedTo('post_html'))
Mine has this:
if (allowedTo('admin_forum'))
I have not been able to find yet when or why this was changed, but it is like this in the 1.1.14 full package. I've been patching up since 1.1.8, IIRC. Surely this is why it isn't working right for me, but I'm hesitant to change it without knowing knowing for sure the consequences.
Thanks for your help! :)
Jim
RSS Feed Poster 3.0.2 not working:
This is the error I am getting:
Template Parse Error!
There was a problem loading the /Themes/default/languages/FeedPoster.english.php template or language file. Please check the syntax and try again - remember, single quotes (') often have to be escaped with a slash (\). To see more specific error information from PHP, try accessing the file directly.
You may want to try to refresh this page or use the default theme.
syntax error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING
------------------------------------------------------------------------------------------------------------------
The mod installs without any errors reported during the install, it works the first time you use it and not again. below are the forum details.
I am running:
Powered by SMF 1.1.14 | SMF © 2006-2011, Simple Machines LLC
Protected by: Forum Firewall © 2010-2011
Bad Behavior has blocked 100 access attempts in the last 7 days.
MySQl version: 5.0.92-community
Apache version 2.2.15
PHP version 5.3.1
forum address: http://www.star-trekfan.com/
Cron Job Url: http://www.star-trekfan.com/cronrss.php
hey guys, im running smf 2.0 gold with simple portal 2.3. the module installed correctly. everything is proper and everything is set up correctly. no errors. i wait and wait and wait still no posts?
am i doing something wrong? appreciate the help.
Ok this is doing my head in now I started out with smf 1.1.5 and upgraded to 1.1.14 and still the RSS feed poster 3.2.0 only worked one time and never again, so I started a second board smf 2.0 http://www.star-trekfan.com/News/index.php and success the poster works using the fake cron job, as for my main site I found a unique solution using the EzPortal 0.5.1 by making RSS blocks for the forum boards I want the selected links to appear in. Ok I can't have poster bots but I still have the stories. The Hard part is I actually had the feeder working at one point but now my server host who hooked it up have suddenly taken a bit of amnesia on how to do that.
The odd thing about my situation was that at first it wasn't working, but later it started to work all by itself - I hadn't changed anything other than changing or re-entering some of the feeds I was trying to pull. My theory was that there was something not quite right WRT the mod on the site(s) I wanted feeds from. I'm using a real cron job that polls for feeds twice a day.
I would really be happy if it could be made to handle HTML correctly. With all the buzz about 2.0, I wonder if 1.1.x is becoming abandonware among the mod writers.
I don't know very much about code issues kinda new to that stuff, but there must be a way of making it work as I said my forum work with the feed poster mod but my server host did something so the real cron in my c-panel sent the signal to post, wish I knew what the heck they did. Iam hoping someone here knows the answer?
Quote from: luuuciano on August 27, 2011, 12:18:27 PM
Hi! I am trying to add this feed: http://www.smn.gov.ar/feeds/alertas.xml
Here an example content:
Here a workaround to that kind of issues... used http://chimpfeedr.com/ to "sanitize" the xml... lol
I have used it for this one http://www.infoclima.com/pronosticos/rss.asp?l=10
buuuuuut... nothing is done!
Is that the bug of not importing the latest item news? as that feed have just 1 news content... nothing is done... lol
When I use RSS Feed Poster (SMF 2.01 and RSS FP 3.0.2a) I get a lot of my feeds coming in like this:
Quote<p><strong><em>Text of speech presenting the Richard Dawkins Award on behalf of Atheist Alliance of America, Houston, 8th October 2011</em></strong></p>
<p><img src="http://c3012132.r32.cf0.rackcdn.com/111008CH%26RD-8374-2.jpg" width="550" /><br></p>
<p>Today I am called upon to honour a man whose name will be joined, in the history of our movement, with those of Bertrand Russell, Robert Ingersoll, Thomas Paine, David Hume.</p>
Is the rendering of the <p> and other elements fixable with a configuration setting?
I have "Enable
basic HTML in posts" checked and all BBC tags enabled as well. In the feed settings I have "HTML Enabled" checked.
How can I get the <p> and other tags to render properly (that is, as HTML and not as '<p>')?
There's still alot of bugs / things to be worked out I've been trying to get done for a while now but what it's doing is copying the HTML of a post which is one eof the original features I requested / paid for. It's been some time since I tried talkin to VB because I don't want to rush him and make him lose interest but I'll shoot him a PM and see where were at development wise.
Quote from: MrMike on October 10, 2011, 05:40:58 PM
When I use RSS Feed Poster (SMF 2.01 and RSS FP 3.0.2a) I get a lot of my feeds coming in like this:
Quote<p><strong><em>Text of speech presenting the Richard Dawkins Award on behalf of Atheist Alliance of America, Houston, 8th October 2011</em></strong></p>
<p><img src="http://c3012132.r32.cf0.rackcdn.com/111008CH%26RD-8374-2.jpg" width="550" /><br></p>
<p>Today I am called upon to honour a man whose name will be joined, in the history of our movement, with those of Bertrand Russell, Robert Ingersoll, Thomas Paine, David Hume.</p>
Is the rendering of the <p> and other elements fixable with a configuration setting?
I have "Enable basic HTML in posts" checked and all BBC tags enabled as well. In the feed settings I have "HTML Enabled" checked.
How can I get the <p> and other tags to render properly (that is, as HTML and not as '<p>')?
Thanks, I'll keep an eye out.
Quote from: Hardliner on July 04, 2011, 02:39:02 PM
I have the mod currently installed and the Feed Poster Configuration page was loading properly. Now it only loads the first half of the feed list. All options below and even SMF copyright info is missing. I believe there is a corrupted file and have reinstalled the mod with no success. Suggestions?
Any solutions to this? I have the same problem.
Quote from: bwakino on October 11, 2011, 01:31:38 AM
Quote from: Hardliner on July 04, 2011, 02:39:02 PM
I have the mod currently installed and the Feed Poster Configuration page was loading properly. Now it only loads the first half of the feed list. All options below and even SMF copyright info is missing. I believe there is a corrupted file and have reinstalled the mod with no success. Suggestions?
Check your forum's error log fro related errors might be a code conflict.
Any solutions to this? I have the same problem.
Quote from: MoreBloodWine on October 10, 2011, 05:48:17 PMIt's been some time since I tried talkin to VB because I don't want to rush him and make him lose interest but I'll shoot him a PM and see where were at development wise.
I've been poking around in it so I may come up with some simple code to manage the html and tags.
Using 2.0.1 and trying to set up a feed using the Admin > Configuration > Feed Poster Configuration page and getting the following error: XML error: XML_ERR_NAME_REQUIRED at line 11
Here's the feed I'm trying to set up: http://www.facebook.com/feeds/page.php?id=34756197818&format=rss20
Any ideas?
Quote from: epseja on October 11, 2011, 01:44:06 PM
Using 2.0.1 and trying to set up a feed using the Admin > Configuration > Feed Poster Configuration page and getting the following error: XML error: XML_ERR_NAME_REQUIRED at line 11
Here's the feed I'm trying to set up: http://www.facebook.com/feeds/page.php?id=34756197818&format=rss20
Any ideas?
Malformed feed can't be read by the php parser.
Quote from: epseja on October 11, 2011, 01:44:06 PM
Here's the feed I'm trying to set up: http://www.facebook.com/feeds/page.php?id=34756197818&format=rss20
Any ideas?
Try "sanityzing" that feed using http://chimpfeedr.com/
Quote from: luuuciano on October 11, 2011, 03:56:02 PM
Quote from: epseja on October 11, 2011, 01:44:06 PM
Here's the feed I'm trying to set up: http://www.facebook.com/feeds/page.php?id=34756197818&format=rss20
Any ideas?
Try "sanityzing" that feed using http://chimpfeedr.com/
Wow! That worked. Thank you very much. Never heard of "sanitizing" a feed.
Will the Mail Chimp feed URL remain accessible indefinitely?
Quote from: epseja on October 11, 2011, 04:55:42 PM
Quote from: luuuciano on October 11, 2011, 03:56:02 PM
Quote from: epseja on October 11, 2011, 01:44:06 PM
Here's the feed I'm trying to set up: http://www.facebook.com/feeds/page.php?id=34756197818&format=rss20
Any ideas?
Try "sanityzing" that feed using http://chimpfeedr.com/
Wow! That worked. Thank you very much. Never heard of "sanitizing" a feed.
Me neither, just had to call it in some way (but I doubt to be the first using it).... the usual use is when a script clear/sanityze human inputs, etc...
BTW, you may want to send facebook a bug report about that
Quote from: epseja on October 11, 2011, 04:55:42 PM
Will the Mail Chimp feed URL remain accessible indefinitely?
I think so... at least until they go bankrupt, paid, changes policies, TOS or something
Outstanding mod, like usual!
Is it normal that the whole RSS isn't posted and only a part?
Or is that just because of the feed.
Yes that is normal since it only grabs what is in the feed
Hi,
I have issues with this mod, it wont fetch news from feeds that work? it fetched 1 feed from bbc tech, i changed it to every 30 minutes last night and insert 3 new feeds, there are new feeds on that but it wont fetch them
I had some issues with this mod that I couldn't resolve..I'm now using the RSS Feeder (http://custom.simplemachines.org/mods/index.php?mod=1590) mod which seems to work very well.
Quote from: snadge on October 25, 2011, 01:51:08 PM
Hi,
I have issues with this mod, it wont fetch news from feeds that work? it fetched 1 feed from bbc tech, i changed it to every 30 minutes last night and insert 3 new feeds, there are new feeds on that but it wont fetch them
Quote from: MrMike on October 25, 2011, 03:02:15 PM
I had some issues with this mod that I couldn't resolve..I'm now using the RSS Feeder (http://custom.simplemachines.org/mods/index.php?mod=1590) mod which seems to work very well.
Quote from: snadge on October 25, 2011, 01:51:08 PM
Hi,
I have issues with this mod, it wont fetch news from feeds that work? it fetched 1 feed from bbc tech, i changed it to every 30 minutes last night and insert 3 new feeds, there are new feeds on that but it wont fetch them
thanks MrMike I will give it a whirl
Quote from: snadge on October 25, 2011, 05:08:09 PMthanks MrMike I will give it a whirl
I modified mine so that it randomly picks a user from a special group of users and posts as them, changing each time it makes a post (it looks more natural that way).
Instead of 100 posts all by one user, you randomly get (for example) one post by user A, a post or 2 by User B, a post by user C, one from user A, one or two from user D, and so on.
I also have it randomly vary the post icon about 40% of the time as well.
Quote from: MrMike on October 25, 2011, 05:22:24 PM
Quote from: snadge on October 25, 2011, 05:08:09 PMthanks MrMike I will give it a whirl
I modified mine so that it randomly picks a user from a special group of users and posts as them, changing each time it makes a post (it looks more natural that way).
Instead of 100 posts all by one user, you randomly get (for example) one post by user A, a post or 2 by User B, a post by user C, one from user A, one or two from user D, and so on.
I also have it randomly vary the post icon about 40% of the time as well.
a most excellent tip!!! - makes forum look more active that it really is and helps bring in users
cheers for that 8)
that RSS Feed wont install on 2.0.1 :(
It should whats the error?
Quote from: vbgamer45 on October 25, 2011, 06:28:07 PM
It should whats the error?
hi VBgamer
it says
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.i deleted it, uploaded again and retried...?
sorry VBgamer
I removed your feeder as the thing didnt seem to do anything after working once? any ideas? this was on default settings
ichanged them (all 3 feeds) to 30 minute checks but nothing posted, i changed to 'check for update on all pages' and they all updated once and once only..?
even set on 30 minutes with new items after many hours it would not post
I think you have to emulate 2.0 RC4, if I recall correctly.
Quote from: snadge on October 25, 2011, 06:27:46 PM
that RSS Feed wont install on 2.0.1 :(
@ MrMike - i got it installed using emulation, not tried a feed yet but there are no options to choose icons or users at random? is this the correct feeder mod?
edit: i see you said you MODIFIED yours :( i dunno how... and it dont work like the other one and i cant just use ANY made up name like NewsBot
i want one that shows different users like yours...is there one? or could you supply a snippet with instructions on where to install it?
and why do these feeders ...well... not get any feeds on my website?
http://feeds.bbci.co.uk/news/technology/rss.xml
thanks
Quote from: snadge on October 25, 2011, 07:53:49 PM
i want one that shows different users like yours...is there one? or could you supply a snippet with instructions on where to install it?
EDIT: code removed due to possible bug, I'll repost this after tweaking it. Quote from: snadge on October 25, 2011, 07:53:49 PM
and why do these feeders ...well... not get any feeds on my website?
http://feeds.bbci.co.uk/news/technology/rss.xml (http://feeds.bbci.co.uk/news/technology/rss.xml)
I don't know, I can't help you there unfortunately.
ok i managed to get RSS Feed Poster 3.0.2 too work but now images are not posting correctly, instead of image i get
<img alt="Samson Meteor Mic 5" src="http://static.trustedreviews.com/94|000020c53|3bbd_orh95w140_IMG-0718s.jpg" />
The reason the mod wasnt working was because file permissions on the cron.php file were incorrect, i never touched it so dunno what happened there.. my host helped me sort it out.
thanks for you help... you make some great addons, I would make a donation for this addon if it could choose random users from a group i create and use random icons too...
EDIT: just seen your post MrMike... I will try that one aswell and try your code..many many thanks
EDIT 2: tried RSS Feedr 1.1.5 (without your mod code) - and it doesnt have option for how long to check and nor does it post immediatley after creating job
so dunno if its working or not without having to wait a few days...any ideas on how to force it to update?
...also do you know how to make it fetch the entire article? thanks MrMike
Quote from: snadge on October 26, 2011, 07:04:15 AM
EDIT 2: tried RSS Feedr 1.1.5 (without your mod code) - and it doesnt have option for how long to check and nor does it post immediatley after creating job
so dunno if its working or not without having to wait a few days...any ideas on how to force it to update?
Try turning the update time down to 5 minutes?
Quote from: snadge on October 26, 2011, 07:04:15 AM
...also do you know how to make it fetch the entire article? thanks MrMike
I believe that's detailed in the documentation.
Quote from: MrMike on October 26, 2011, 09:29:15 AM
Quote from: snadge on October 26, 2011, 07:04:15 AM
EDIT 2: tried RSS Feedr 1.1.5 (without your mod code) - and it doesnt have option for how long to check and nor does it post immediatley after creating job
so dunno if its working or not without having to wait a few days...any ideas on how to force it to update?
Try turning the update time down to 5 minutes?
Quote from: snadge on October 26, 2011, 07:04:15 AM
...also do you know how to make it fetch the entire article? thanks MrMike
I believe that's detailed in the documentation.
i will check documentation... this one displays images properly too...
there is no settings for duration at all on RSS FEEDER 1.1.5, so i cant set it to 5 minutes :(
i have your code saved...is it safe to use? and if so where you have numbers in the $rand_user_list do i replace these with usernames? or do the numbers represent the order of registreing users? (so user 1 would be me etc)
EDIT: there is no documentation with the mod or on the support page? (re: fetching whole document)
Quote from: snadge on October 26, 2011, 04:18:14 PM
there is no settings for duration at all on RSS FEEDER 1.1.5, so i cant set it to 5 minutes :(
Have you tried on the scheduled task setups?
rss feeder have no individual configuration (if I remember well)
Quote from: snadge on October 26, 2011, 04:18:14 PMi have your code saved...is it safe to use?
Use at your own risk, I can't make any guarantee as to its performance.
I once tried this Mod because of the perceived feature of posting at different time interval. I did configure different feeds to be updated at different time intervals but to my surprise, all the feeds are fetched at the same time. Any help here.
Depends on how you have it setup. The best way is to have a cron job check every minute to posts new feeds
Hi All,
This is probably a simple fix, but blowed if I can find it!
I am trying to add an atom feed and keep getting the following error:
XML error: XML_ERR_NAME_REQUIRED at line 10
After searching this thread and the wider net for the past 2 hours, thought I would ask the question, any ideas on what is causing it? Some info on Google suggests it is the '&format=atom10' at the end of the feed URL
Any help would be appreciated.
Cheers guys and gals!
Chris
That is a malformed feed that can not be imported since it is badly formed
Thx VB
Does that mean that there is no work around for this?
It will not work at all since the feed is not formed right.
Cheers VB. I think I will just insert a link to the page so it opens the feeds in the users browser.
Try this http://www.simplemachines.org/community/index.php?topic=141776.msg3182896#msg3182896
btw, wich feed is it? can you provide the link?
Hi luuuc....
It is another facebook feed.... http://www.facebook.com/feeds/page.php?id=113911801019&format=atom10
Will have a go at the sanityzing trick and see if that works
Cheers
Chris
Hi again luuuc,
Just letting you know that the sanityzing trick worked a treat! Thanks for the heads up mate.
Chris
Also wanted to express my gratitude for the "sanitizing" procedure published, works nicely and allowed me to integrate a lot of feeds that were rejected so far.
Rattler
Interesting wonder how that works that could be useful if I can include it.
I can hear the cogs turning over from here..... Will there be another update to this mod soon?
Would be great if you can include it vb, but you have an awesome mod regardless!
Thx mate.
Why in posts from RSS HTML isn't parsed? I checked "HTML Enabled" but this didn't help...
"Poster name" is from "Regular members" group
SMF 2.0.1
and here's RSS that I'm trying to use:
http://www.rockstargames.com/newswire/tag/grand-theft-auto.rss
I think I know why HTML isn't parsed. Mod changes
<p><br /></p><p>We are very proud to officially announce that <a href="http://www.rockstargames.com/V" target="_blank">Grand Theft Auto V</a> is in full development.<br /><br />Developed by series creator Rockstar North, Grand Theft Auto V heads to the city of Los Santos and surrounding hills, countryside and beaches in the largest and most ambitious game Rockstar has yet created.<br /><br />A bold new direction in open-world freedom, storytelling, mission-based gameplay and online multiplayer, Grand Theft Auto V focuses on the pursuit of the almighty dollar in a re-imagined, present day Southern California. <br /><br />Download <a href="http://www.rockstargames.com/downloads" target="_blank">Grand Theft Auto V logo desktops, backgrounds, avatars and icons</a> at the <a href="http://www.rockstargames.com/downloads" target="_blank">Rockstar Games Downloads</a> section.<br /><br /><strong>Previously:</strong><br /><a href="http://www.rockstargames.com/newswire/article/19461/grand-theft-auto-v-trailer.html" target="_blank">Grand Theft Auto V Trailer</a></p>
to
<p><br /></p><p>We are very proud to officially announce that <a href="http://www.rockstargames.com/V" target="_blank">Grand Theft Auto V</a> is in full development.<br /><br />Developed by series creator Rockstar North, Grand Theft Auto V heads to the city of Los Santos and surrounding hills, countryside and beaches in the largest and most ambitious game Rockstar has yet created.<br /><br />A bold new direction in open-world freedom, storytelling, mission-based gameplay and online multiplayer, Grand Theft Auto V focuses on the pursuit of the almighty dollar in a re-imagined, present day Southern California. <br /><br />Download <a href="http://www.rockstargames.com/downloads" target="_blank">Grand Theft Auto V logo desktops, backgrounds, avatars and icons</a> at the <a href="http://www.rockstargames.com/downloads" target="_blank">Rockstar Games Downloads</a> section.<br /><br /><strong>Previously:</strong><br /><a href="http://www.rockstargames.com/newswire/article/19461/grand-theft-auto-v-trailer.html" target="_blank">Grand Theft Auto V Trailer</a></p>
And that's why HTML tags aren't parsed... So what to do, to stop mod from changing <p> to <p >, <br /> to <br /> and so on... ?
Mod needs to put text from RSS, and don't change anything
Quote from: phantomm on November 22, 2011, 04:24:57 PM
And that's why HTML tags aren't parsed... So what to do, to stop mod from changing <p> to <p >, <br /> to <br /> and so on... ?
Mod needs to put text from RSS, and don't change anything
I'd guess that somewhere in the code it's probably calling htmlentities() or htmlspecialchars(). If that section was commented out or modified that might resolve this issue. Be aware that those functions are usually called to help sanitize incoming data, so be sure you know what you're doing before tinkering. :)
thanks for tip :)
I changed:
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
to
if ($feed['html'])
{
$msg_body = ($context['feeditems'][$i]['description']);
And now HTML is parsed correctly :D
Doing that you may say "its not parsed at all... it is added as it comes"
http://www.simplemachines.org/community/index.php?topic=141776.msg3146546#msg3146546
(edit2 on that post, etc)
Quote from: phantomm on November 23, 2011, 01:52:01 PM
I changed:
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
to
if ($feed['html'])
{
$msg_body = ($context['feeditems'][$i]['description']);
And now HTML is parsed correctly :D
Thanks, phantomm! This seems to work (SMF 1.1.15). I've been using it for several days, with no ill effects observed.
GH
@up, there's one error after this edit. In outgoing URLs from RSS there's always \ before ", but I can live with it because for me that's better than nothing...
User
strip_slashes() to clean up the data.
Quote from: phantomm on December 01, 2011, 05:00:29 AM
@up, there's one error after this edit. In outgoing URLs from RSS there's always \ before ", but I can live with it because for me that's better than nothing...
New info, on a feed today that had "quotation marks" in the text, they were replaced with &# number codes. It's a low volume feed, so it's no biggie to have to edit it.
Anyone solved the HTML Tag issue other than manually input the HTML tags into each post? I would really appreciate it, I been searching and searching, still nothing
Quote from: MrMike on December 01, 2011, 09:04:30 AM
User strip_slashes() to clean up the data.
Quote from: phantomm on December 01, 2011, 05:00:29 AM
@up, there's one error after this edit. In outgoing URLs from RSS there's always \ before ", but I can live with it because for me that's better than nothing...
how to use it? I'm not good at php... ;/
I think
strip_slashes($msg_body) would do it.
Quote from: phantomm on December 08, 2011, 03:56:37 PM
Quote from: MrMike on December 01, 2011, 09:04:30 AM
Use strip_slashes() to clean up the data.
Quote from: phantomm on December 01, 2011, 05:00:29 AM
@up, there's one error after this edit. In outgoing URLs from RSS there's always \ before ", but I can live with it because for me that's better than nothing...
how to use it? I'm not good at php... ;/
So is there a way to automatically add [ html] in the begining? and [/ html] at the end??
Quote from: snyperthugs on December 09, 2011, 01:31:41 PM
So is there a way to automatically add [ html] in the begining? and [/ html] at the end??
I would guess that you could probably add a bit of code like:
$msg_body = "[ html] $msg_body [/ html]";to do it.
Quote from: MrMike on December 09, 2011, 01:40:10 PM
Quote from: snyperthugs on December 09, 2011, 01:31:41 PM
So is there a way to automatically add [ html] in the begining? and [/ html] at the end??
I would guess that you could probably add a bit of code like:
$msg_body = "[ html] $msg_body [/ html]";
to do it.
Where? to what file? I thought that code was already in the mod?
Quote from: snyperthugs on December 09, 2011, 01:31:41 PM
So is there a way to automatically add [ html] in the begining? and [/ html] at the end??
yes, HTML tags are at beginning and at the end
@MrMike, thanks ;) I'll check this later :)
Quote from: phantomm on December 09, 2011, 02:20:56 PM
Quote from: snyperthugs on December 09, 2011, 01:31:41 PM
So is there a way to automatically add [ html] in the begining? and [/ html] at the end??
yes, HTML tags are at beginning and at the end
@MrMike, thanks ;) I'll check this later :)
They're not at the beginning and end of mine? I have to go through and manually do it everyday
And did you checked "Enable HTML" in settings (in RSS channel) ?
Yes, it is checked, but tstill dont work
When I try to add a new feed after I hit the Add Feed button i get this error...
XML error: Mismatched tag at line 21
Any idea where I should look to correct it?
So is it still not possible to have the [ html] tages automatically added? or I have to continue doing it manually
Quote from: phantomm on November 23, 2011, 01:52:01 PM
thanks for tip :)
I changed:
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
to
if ($feed['html'])
{
$msg_body = ($context['feeditems'][$i]['description']);
And now HTML is parsed correctly :D
What file are you editing???
Subs-RSS2.php
oh well thats why, Im using Subs-RSS.php Well if there something I can edit for this to work?? Do you think it might be the [html ] mod?? This is driving me stupid!.
I even added
Quote$msg_body = html_entity_decode($msg_body,ENT_QUOTES);
after
Quoteif ($feed['html'])
{
//echo "body: " . $context['feeditems'][$i]['description'];
$msg_body = $func['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
$msg_body = $func['htmltrim']($msg_body);
preparsecode($msg_body);
$msg_body = '' . $msg_body . '';
but now the crons dont work with it.
Can you include an avatar feature for the RSS feeds? Is this possible to do with some minor coding? If not please make it available in the next feature.
Thanks
I seem to be having an issue with this mod in that its not posting the article content at all. It shows the title, link, and thats it. Im not sure if its the feed or the mod or what because the feed shows up fine with RSS readers.
I tried using the feed directly and then pushing it through Feedburner with the same results...
http://feeds.feedburner.com/steampowered/CiUz
http://store.steampowered.com/feeds/news.xml
Currently using Feedposter 3.0.2a and SMF 2.0.1
I see why that feed is storing content in the content:encoded tag normally the mod just looks for the description tag and in this case the feed does not have it.
Thanks, got Feedburner to clean it up properly, but now im having to change what Phantomm was saying as its altering the html special characters for the post and its not formatting properly.
Leaving all the original code as is and just changing the following line in Subs-RSS2.php
$msg_body = $smcFunc['db_escape_string']($msg_body);
to
$msg_body = htmlspecialchars_decode($msg_body);
Will output the raw HTML properly into the post and not have the dilemma of superfluous "\".
I've actually worked mine through HTMLPurifier (http://htmlpurifier.org/) to remove any unwanted tags easily as well.
I know its probably not the best way to get this done, but it works for my needs at the moment.
I tried the above codes more than once, still nothing
OK this works
$msg_body = html_entity_decode($msg_body,ENT_QUOTES);
But only works for one feed, when I use the above code all of the other feeds stop working, but 1 feed still works, and html shows automatically. But without that code all feed work, but I have to manually go in an put [ html] and [ / html]
ANy ideas???
Hi
Just to let you know, this mod is not working properly, it is not updating every x minutes and not updating videos correctly, it is just showing source
I suggest using cron jobs for updating that works best instead of scheduled tasks
Hi
Thanks for your reply. Do I need to tick cron jobs option to update every 5 minutes
I would have it check every 2 minutes. The system only runs when it is needed so doesn't matter how often it is called via cron.
Hi
Thanks for you e.mail. I have added another feed url. It was not updating.
Just to clear, I add one feed url first and set the time for 5 min each and then tick fake cron. It added 10 topics [ because I entered 10 topics for each post], as we know every feed url will get new topics, so if we set time [ every 10 min] it will update immediately on our site [ like facebook rss graffati]
I also add another website feed url and set the time for 5 min [ this time there were no topics posted]
Could you please tell me how can I rectify this error.
Thanks
Hi
Sorry one more thing to mention, for the first feed url it still doesn't post anything after 5 min. Please reply
Dear Developer
Could you please reply for the above queries. As you told the system runs when it is needed. But how can update feed urls, because every feed urls gets new posts [ as we know we want to post that content or videos in our site first]
As I mentioned 2nd feed url it's been 1 hr but didn't post anything yet. Our only concern is if it update lately, we loos our visitors, like if it post today's content tomorrow, think it will take so much time to get latest update news, if I am correct
Could you please help or look or give suggestions
I would have to take a closer look but don't have the time at the moment.
Hi
Please look [ as we know rss graffati, facebook post recent videos or topics via our site feed url every 5 or 10 min or 20 min or 1 hr]
Please update this, as we should be thankful in providing good mods. Can u do this, i will pay 25 dollars?
Good mod, works fine.
Only some urls looks like < a href xxxxxxxxxxxxxxxxxxx>
Sometimes the urls are good like Read more.
How can i fix this?
Quote from: lifeguard81 on December 21, 2011, 01:29:31 AM
Good mod, works fine.
Only some urls looks like < a href xxxxxxxxxxxxxxxxxxx>
Sometimes the urls are good like Read more.
How can i fix this?
Thats the same question i been asking for about 2 years now, nobody knows how to fix that part of this mod.
That can occur if a url is cut off or not in the feed completely.
This mod was working well for the first two manual runs and then stopped working without even touching any of the setting!
Has this happened to anyone?
If so, what did you do to fix it, please help!
Quote from: shuban on December 30, 2011, 07:02:42 PM
This mod was working well for the first two manual runs and then stopped working without even touching any of the setting!
Has this happened to anyone?
If so, what did you do to fix it, please help!
I'm having the same problem.
Maybe I'm not getting it right, but is the following assumption correct? I either have to manually add a cron job that calls the "mydomain/smfforum/cronrss.php" or just load this cronrss-page once in a while to get the new posts? Right or wrong?
And what does "Use fake Cron jobs. Checks if feeds need to be updated on each page load." under configuration mean?
Regards
n0NAMe
Best bet is a real cron job that calls that file every minute.
If not SMF 2.0 there is a scheduled task or fake cron job which checks on each page load.
Got it to work, but is it possible to remove links that are found in those RSS feeds?
Quote from: vbgamer45 on January 03, 2012, 12:09:02 PM
Best bet is a real cron job that calls that file every minute.
If not SMF 2.0 there is a scheduled task or fake cron job which checks on each page load.
The forum is 1.1 and even if I check "fake cron job", it does not update the rss feeds. It only works, if I manually call cronrss.php. I checked the forum error log, but there is nothing. Any idea what could go wrong?
@shuban: How did you solve your problem?
The permission of the cronphp file must be set to 755, it was at 655 for some strange reason. Look it up in your index using filezilla, right click the cronphp file, you'll see permission settings. Click it and change the number to 755.
Great modification. :laugh:
VBgamer, could you confirm if this modification counts the new number of topics in the forum history (I'm using SMF 1.x)?
For some reason, it counts the number of posts made by chosen posting member, even after I unchecked:
Makes new replies and topics raise members' post counts.
So, technically, it shouldn't raise their post count, but it is - and as a result, members are getting upset.
Now, the main issue is that the new topics are not being counted in the overall posts and new topics in the forum history.
- What's also strange is that on the main board-index, the number of topics and the number of posts increases like it should - but, just not in the forum history :-\.
I have the latest version of this mod; is this an easy fix? Getting frustrated :( Anyone else experiencing this...?
Will pay 5 dollars (Paypal) for the first person to come-up with a valid fix...
Quote from: shuban on January 04, 2012, 01:43:52 PM
The permission of the cronphp file must be set to 755, it was at 655 for some strange reason. Look it up in your index using filezilla, right click the cronphp file, you'll see permission settings. Click it and change the number to 755.
I tried that, but it already was 755. I even changed it to 777 (which shouldn't be necessary because the file should not be written), but nothing changed. Feeds just don't load new entries. Any other ideas are welcome.
Hi, I have installed this mod but it does not appear to be working. Curl is already installed, I have added an RSS feed but It is not creating the threads. I also noticed that the cronrss.php is also broken: http://tennis-chat.com/cronrss.php
Any ideas?
Thanks
Your SSI.php has duplicate code causing an issue.
How could this happen? I never had any issues with SSI.php until I used this mod.
Can you suggest anything to resolve this issue? I would like to get this feature working.
Thanks
For my test forum it doesn't work properly.
It only generates posts after i did something in the rss feed poster configuration. Otherwise it does nothing.
The post also look bad. full if code like <img <fdkjsqfk <wj ... No images or something.
What should I do about this?
Thanks!
Quote from: jan.van.gent on January 12, 2012, 07:54:51 AM
For my test forum it doesn't work properly.
It only generates posts after i did something in the rss feed poster configuration. Otherwise it does nothing.
The post also look bad. full if code like <img <fdkjsqfk <wj ... No images or something.
What should I do about this?
Thanks!
It's because it's changing "<" into the html version rather than keeping it as the character. I found the fix after 20 minutes of searching this thread.
Quote from: n0NAMe on January 04, 2012, 08:12:05 AM
Quote from: vbgamer45 on January 03, 2012, 12:09:02 PM
Best bet is a real cron job that calls that file every minute.
If not SMF 2.0 there is a scheduled task or fake cron job which checks on each page load.
The forum is 1.1 and even if I check "fake cron job", it does not update the rss feeds. It only works, if I manually call cronrss.php. I checked the forum error log, but there is nothing. Any idea what could go wrong?
@shuban: How did you solve your problem?
What would the cron command look like if I wanted it to call that file every minute?
This is potentially one of the greatest mods out there. I would pay money to have this working properly. I love it when it works, but it seems to have a mind of its own when to post what rss updates.
Quote from: Dickstar on January 20, 2012, 09:13:58 AM
Quote from: n0NAMe on January 04, 2012, 08:12:05 AM
Quote from: vbgamer45 on January 03, 2012, 12:09:02 PM
Best bet is a real cron job that calls that file every minute.
If not SMF 2.0 there is a scheduled task or fake cron job which checks on each page load.
The forum is 1.1 and even if I check "fake cron job", it does not update the rss feeds. It only works, if I manually call cronrss.php. I checked the forum error log, but there is nothing. Any idea what could go wrong?
@shuban: How did you solve your problem?
What would the cron command look like if I wanted it to call that file every minute?
My cron job is called every 12 hours.
I would call the cron job every minute or two. There is no high penalty.
Quote from: vbgamer45 on January 20, 2012, 05:13:07 PM
I would call the cron job every minute or two. There is no high penalty.
True, but 12 hours is more sustainable because typically where you're getting ur feeds from will only update once or twice a day.
Just my opinion, take it for what it's worth, but I'd think that once per hour (or even every few hours) would be more than enough. Calling it every minute or so seems like overkill to me.
How else would the feeds run? If you have feed that checks every five minutes or every 15 needs to run often.
Who have a feed to check on 5 minutes... 1 minutes? 30? 60?
Came one..... think about that.......
or are you feeding a twitter about........ "linux" (just to say something)
Anyway..... this mod did not work for me... just keeped publishing 2nd item.... no news at all
will try later
Quote from: luuuciano on January 21, 2012, 03:40:38 AM
Who have a feed to check on 5 minutes... 1 minutes? 30? 60?
Came one..... think about that.......
or are you feeding a twitter about........ "linux" (just to say something)
Anyway..... this mod did not work for me... just keeped publishing 2nd item.... no news at all
will try later
Same here! It only published the second item for some reason. I thought it might have been my RSS feed, but it validated perfectly fine.
Any more information on this?
It took a bit of figuring out but i got this mod to work and its great
My site has curl on but i had to activate fopen by this i had to create a file using notepad.
Place allow_url_fopen = On inside the file. rename file to php.ini place file in root of folder that you wish to use that function and chmod to 644.
Struggled mostly with the cron job command but this is what worked for me
Note - When you visit the url
http://YOU DOMAIN/forum/cronrss.php
and get this message Feed Poster Configuration - then you have cracked it
You need the url not the webspace location (which makes sense as you want the cron job to call the url rather than you clicking the link) so this is what worked for me
/usr/bin/wget http://YOURDOMAIN/forum/cronrss.php
if you dont want an email with a report every time the job runs then add this after the command
>/dev/null 2>&1
one of these variations worked as well (cant remember which) but but it only seemed to work when i visited the feed url in a browser
php -q /public_html/domain.net/forum/cronrss.php
/usr/local/bin/php /public_html/domain.net/forum/cronrss.php
Topics being added twice a day on two forums - Thanks for a great mod
I had this installed a while back but I have no idea if it is doing anything or not. I never do anything with it myself, but my host back then or someone else may have. How do I find this out?
Check under RSS Feed Configuration and see if you have any feeds enabled.
I installed this mod on my SMF 2.0.2 forum over an hour ago, and here is my configuration data:
Feed Title: Google RSS Feed
Feed Url: http://news.google.com/news?cf=all&ned=us&hl=en&output=rss
Forum: [RSS Links] - Google
Message Icon: Standard
Poster Name: papabill
Topic Prefix: [Feed]
Update every x minutes: 5
Number of items to import each update: 50
Feed Enabled
Feed download method: All
However, even after over an hour, I still have no feeds coming into my forum.
Help??
Thanks
Do you have the scheduled task enabled? Under Tasks
Yessir, I do. In fact, I clicked the "Run Now" box and tried again. Still nothing.
Tried it again, and it seemed to work. Thanks
1:08pm edit
However, in some of the posts, I get this:<p><a href="http://movies.yahoo.com/photos/oscars-snubs-and-surprises-1327362196-slideshow/snubs-and-surprises-oscar-gallery-photo-1327353287.html"><img src="http://l.yimg.com/bt/api/res/1.2/uEVpJ2agzFYD7g4vmIXVwQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_ca/News/AccessHollywood/158873.jpg" width="130" height="86" alt="Melissa McCarthy in 'Bridesmaids,' 2011 -- Universal Pictures" align="left" title="Melissa McCarthy in 'Bridesmaids,' 2011 -- Universal Pictures" border="0" /></a>This morning the Academy of Motion Picture Arts and Sciences announced the nominations for this year's Oscars. When it comes to snubs and surprises, there was plenty to go around. Still, the favorites hung in: Clooney for best actor, Streep for best actress, and "The Artist," "The Descendants" and "Hugo" was "Huge-o" for best picture with eleven nominations.</p><br clear="all"/>
Sorry, no <CR> in the thing
Tried to uncheck HTML enabled, but I get this error:
An Error Has Occurred! Unable to download the feed.
Try each different method instead of ALL and see if it would work.
Quote from: vbgamer45 on January 24, 2012, 09:21:39 AM
Check under RSS Feed Configuration and see if you have any feeds enabled.
Thanks--where would I find this, though? I went looking for something in admin panel, couldn't find anything.
Finally got it to work. I set the Feed download method to fsock, and it seems to work properly now. Thanks
Quote from: Groovystar on January 24, 2012, 01:16:47 PM
Quote from: vbgamer45 on January 24, 2012, 09:21:39 AM
Check under RSS Feed Configuration and see if you have any feeds enabled.
Thanks--where would I find this, though? I went looking for something in admin panel, couldn't find anything.
Under Admin->Configuration->Feed Poster Configuration
Thanks....It just says this:
Quote
Feed Title Feed Url Poster Name Feed Status Options
Add Feed
Cron Job Url: http://warriorcatsrpg.com/cronrss.php
Settings
Use fake Cron jobs. Checks if feeds need to be updated on each page load.
So....I am taking it to mean we have never used this at all? I've seen RSS feeds of our site on google though.
Quote from: Groovystar on January 24, 2012, 01:37:24 PM
Thanks....It just says this:
Quote
Feed Title Feed Url Poster Name Feed Status Options
Add Feed
Cron Job Url: http://warriorcatsrpg.com/cronrss.php
Settings
Use fake Cron jobs. Checks if feeds need to be updated on each page load.
So....I am taking it to mean we have never used this at all? I've seen RSS feeds of our site on google though.
Dunno what to tell you about that. I know before I could set up ANY RSS feeds, I hadda click the "Add Feed" link.
Yeah there is no feed listed under that menu there, only the cron job thing.
So apparently I am not using this on my site. I tried to uninstall it and it will not allow me to uninstall the mod.
I get errors involving these files:
http://i251.photobucket.com/albums/gg308/wynnyelle/failed-uninstall-rss-feed-poster.jpg
Really not sure how to proceed from here, I do want to uninstall and remove, I have too much code clutter already :P
Well, the first error is likely because the package manager is not capable of fixing certain problems itself.
Perform the uninstall, ignoring the errors. Then find your index.php file (top level one) and remove this line:
'feedsadmin' => array('FeedPoster2.php', 'FeedsMain'),
Then in Sources/Admin.php, remove:
'feedsadmin' => array(
'label' => $txt['smfrssposter_admin'],
'file' => 'FeedPoster2.php',
'function' => 'FeedsMain',
'custom_url' => $scripturl . '?action=admin;area=feedsadmin;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(),
),
If you want to attach those two files, I'll do the edits for you - it should be safe to proceed to uninstall without those two edits being removed, too, because while they're in critical files, the edits should not materially affect anything.
Quote from: vbgamer45 on January 24, 2012, 12:59:09 PM
Do you have the scheduled task enabled? Under Tasks
I'm noticing that the thing is not updating as it is supposed to. The only posts in the topics are the ones I manually did yesterday evening, even though they are in the scheduled tasks, and they are configured to update every hour.
Wich feed url are you using?
Quote from: luuuciano on January 25, 2012, 11:20:21 AM
Wich feed url are you using?
Here are the urls I'm using:
http://rss.feedsportal.com/c/32752/f/517092/index.rss
http://www.cbn.com/news_rss.xml
http://pewforum.org/rssfeeds/news/rss.xml
http://rss.groups.yahoo.com/group/ColorComputer/rss
http://news.google.com/news?cf=all&ned=us&hl=en&output=rss
http://rss.weather.com/rss/national/rss_nwf_rss.xml?cm_ven=NWF&cm_cat=rss&par=NWF_rss
http://www.religionofjesuschrist.com/bible_topics.xml
http://www.worthynews.com/news-editor/scripts/rss-news.php?nr=8
http://www.abpnews.com/index2.php?option=ds-syndicate&version=1&feed_id=1
http://feeds2.feedburner.com/FocusOnTheFamilyDailyBroadcast
http://www.christianpost.com/services/rss/feed/
They all work when done manually.
Quote from: Arantor on January 25, 2012, 08:15:51 AM
Well, the first error is likely because the package manager is not capable of fixing certain problems itself.
Perform the uninstall, ignoring the errors. Then find your index.php file (top level one) and remove this line:
'feedsadmin' => array('FeedPoster2.php', 'FeedsMain'),
Then in Sources/Admin.php, remove:
'feedsadmin' => array(
'label' => $txt['smfrssposter_admin'],
'file' => 'FeedPoster2.php',
'function' => 'FeedsMain',
'custom_url' => $scripturl . '?action=admin;area=feedsadmin;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(),
),
If you want to attach those two files, I'll do the edits for you - it should be safe to proceed to uninstall without those two edits being removed, too, because while they're in critical files, the edits should not materially affect anything.
Thanks--I have uninstalled it.
...I was going to ask you to do the edits, but I believe i may have done them successfully on my own! I'm browsing around right now just to make sure...
Quote from: papabill on January 25, 2012, 08:21:18 AM
Quote from: vbgamer45 on January 24, 2012, 12:59:09 PM
Do you have the scheduled task enabled? Under Tasks
I'm noticing that the thing is not updating as it is supposed to. The only posts in the topics are the ones I manually did yesterday evening, even though they are in the scheduled tasks, and they are configured to update every hour.
have you set a cron job up on your servers control panel?
Quote from: aka Fusion on January 25, 2012, 03:28:38 PMhave you set a cron job up on your servers control panel?
My personal computer is my server. All I do is run the software, the way it is "out of the "box". Doesn't it set up it's own cron jobs?
No you need to specify the job and the command , not sure how you go about it with your setup but this does need a cron job set up to work
The cron will call that url at the times you tell it too, thats the way the feeds are gathered automatically
Quote from: aka Fusion on January 25, 2012, 04:47:34 PM
No you need to specify the job and the command , not sure how you go about it with your setup but this does need a cron job set up to work
The cron will call that url at the times you tell it too, thats the way the feeds are gathered automatically
Isn't that what the SMF Task Scheduler is for?
SMF Task Scheduler is basically a pseudo cron job. It will only run if someone or something is hitting SMF on your site. If there is absolutely zero activity on your site, the schedules tasks cannot run. That's the unfortunate part of PHP that cannot run a process to just listen. Processes are only run when something hits the code.
Quote from: IchBin™ on January 25, 2012, 05:06:26 PM
SMF Task Scheduler is basically a pseudo cron job. It will only run if someone or something is hitting SMF on your site. If there is absolutely zero activity on your site, the schedules tasks cannot run. That's the unfortunate part of PHP that cannot run a process to just listen. Processes are only run when something hits the code.
Well, I guess I'm SOL. I have absolutely no idea how to set up a cron job.
Thanks
What are you running as a personal server? Windows or Linux? Windows is pretty easy. Just google "Scheduled task" for your version of windows and you'll find a bunch of sites that show you how.
If you are running Linux then do a search on cronjob and you'll find out how do it. They are pretty easy to setup.
Quote from: IchBin™ on January 25, 2012, 06:22:43 PMWhat are you running as a personal server? Windows or Linux? Windows is pretty easy.
I'm running WinDoze XP, and I understand how to set up Scheduled tasks, but not how to set up cron jobs for SMF.
Cronjobs are only for linux. I'd imagine you could setup the same thing with a scheduled task on windows to get it to run the file to parse the rss feeds.
Quote from: IchBin™ on January 25, 2012, 10:40:54 PM
Cronjobs are only for linux. I'd imagine you could setup the same thing with a scheduled task on windows to get it to run the file to parse the rss feeds.
Well, as I said, I have absolutely no idea how to make a scheduled task cause the RSS to update.
I don't know this mod, but from watching the support topic every so often I think all you have to do is run the cronrss.php file. So just having PHP run the file should make it do what you need in a scheduled task. Wouldn't hurt to try eh?
Quote from: IchBin™ on January 25, 2012, 10:49:03 PM
I don't know this mod, but from watching the support topic every so often I think all you have to do is run the cronrss.php file. So just having PHP run the file should make it do what you need in a scheduled task. Wouldn't hurt to try eh?
Nope, all that happens is that Dreamweaver opens the file "cronrss.php" ready for modification. It does not "run" it at all.
You need to run it using the PHP executable in your server. PHP will not process unless it's run through the interpreter. I don't know where it's at on windows or what server you are running. You need to have a scheduled task use the PHP exe file run your cronrss.php file.
Google is your friend.
http://www.devx.com/DevX/Article/39900/1763/page/3
Thanks, I'm waiting now to see if I did it correctly.
Quote from: IchBin™ on January 25, 2012, 11:39:03 PM
Google is your friend.
http://www.devx.com/DevX/Article/39900/1763/page/3
Unless you're brain-dead and never learned HOW to use google :)
Edit @ 9:40
Evidently not. I followed their instructions (VERY simple), but no go
Sorry don't know how to help you at this point. If it were me, I'd put some log_error('Message here'); statements in the code and see if it was actually running. Your "message here" will show up in the SMF log.
Have you tried all the different options for grabing the feed? fopen, fsockopen, curl?
I finally got the whole thing uninstalled. Thank you!
Quote from: IchBin™ on January 26, 2012, 11:12:10 AM
Sorry don't know how to help you at this point. If it were me, I'd put some log_error('Message here'); statements in the code and see if it was actually running. Your "message here" will show up in the SMF log.
Have you tried all the different options for grabing the feed? fopen, fsockopen, curl?
I checked it this morning, and it seems to be working properly. Thanks.
hi can you help me with my rss feeder its not working for me at all i dont no what to do
Quote from: lufcwatson on January 27, 2012, 10:21:56 AM
hi can you help me with my rss feeder its not working for me at all i dont no what to do
Read the last 12 or so posts, it'll walk you through what to do. It is what I had to do, and it worked for me
If I have read all these posts correctly, no one has yet figured out why this mod won't feed in the first item? I have 10 items in my feed I'm using and have the RSS Feed Poster set to 10 but it is only bringing in items 2-10. It won't bring in item 1. Won't bring it in if I put 11 or 20 or whatever. It appears others have this same issue.
I hope someone smart figures that out. Not sure I can after going through the existing code and this long thread. I do appreciate some of the help and suggestions on other workings of this mod.
Quote from: djkimmel on January 28, 2012, 04:49:09 AM
If I have read all these posts correctly, no one has yet figured out why this mod won't feed in the first item? I have 10 items in my feed I'm using and have the RSS Feed Poster set to 10 but it is only bringing in items 2-10. It won't bring in item 1. Won't bring it in if I put 11 or 20 or whatever. It appears others have this same issue.
I hope someone smart figures that out. Not sure I can after going through the existing code and this long thread. I do appreciate some of the help and suggestions on other workings of this mod.
I have about 14 in my feed list, but of those, only 4 or 5 regularly update. It all depends on what you are getting feeds from, and the activity on the feed itself. I've got one that has updated only once, but that's not to say it won't have more later, depending on traffic. If you have got everything installed, got your feed list (and you know they are active) , got your scheduled task working, that's all it takes.
I have 10 items in my feed lists I'm retrieving. I have the mod set to get 10 items. It never grabs the very first item in the feed.
If all 10 items are new, it will create 9 new posts on my forum and not include the very first, newest item from the feed. I've tried it with several feeds and no matter how many items I set it to grab, it does not create a post from the very first item in the feed. I've tried it against a B2evo feed and a Wordpress feed. I used a several completely new feeds to test. I tried setting it to grab 14 items from a 10 item feed and it still only grabbed 9 not creating a post with the first feed item.
I looked at the code and I can't figure out why it does not include the final feed item. Seems like it should loop through every item without dropping any until it completes all items that are new. Just thought someone else might have figured out why it doesn't create a forum post from all new items including the newest one? Thanks.
Quote from: djkimmel on January 29, 2012, 03:48:51 PM
I have 10 items in my feed lists I'm retrieving. I have the mod set to get 10 items. It never grabs the very first item in the feed.
If all 10 items are new, it will create 9 new posts on my forum and not include the very first, newest item from the feed. I've tried it with several feeds and no matter how many items I set it to grab, it does not create a post from the very first item in the feed. I've tried it against a B2evo feed and a Wordpress feed. I used a several completely new feeds to test. I tried setting it to grab 14 items from a 10 item feed and it still only grabbed 9 not creating a post with the first feed item.
I looked at the code and I can't figure out why it does not include the final feed item. Seems like it should loop through every item without dropping any until it completes all items that are new. Just thought someone else might have figured out why it doesn't create a forum post from all new items including the newest one? Thanks.
My "quick fix" solution to that would be to CAREFULLY check out the URL of that feed. If it is all correct (I have always argued that I check them carefully, but nine times out of ten I miss something), then put some other feed in there that you don't particularly care about (one additional feed PLUS the original 10) and try again. I still see posts that are dated several days ago-topics that do not have very much activity.
If it picks up the "last 10" correctly, then it's definataly a coding issue.
I just tried a feedburner feed that has 10 new items in it. I created a new feed post to a new test board and set it to import 12 updates for some overkill. It only imported 9 into new threads. It did not import the latest item in the feed. Just like all the other ones I've tried. It appears others are having this problem with the mod. Maybe eventually this mod will be taken back up or my coding skills will catch up and I can figure out why it stops looping before it creates a new thread from the newest item in a feed? For now, I just won't get the very newest item in feeds into a thread automatically. A little annoying since I like to provide the latest news but not the end of the world. Thanks for trying to help.
has ANYBODY found a fix for the [htm l] [ / ht ml] tags? I have to go in everyday and manually place them there I am using smf 1.1.12
Will pay 10 dollars if someone can code this so that the mod actually obeys the specific boards permission where it states: Makes new replies and topics raise members' post counts.
This way, the user chosen to automatically post the feeds does not increase in their person post count!
AND, the posts that the member makes goes towards to total forum posts and topics in the forum history.
Send paypal email upon completion.
Quote from: snyperthugs on January 30, 2012, 01:39:24 AM
has ANYBODY found a fix for the [htm l] [ / ht ml] tags? I have to go in everyday and manually place them there I am using smf 1.1.12
I get those tags in my feeds by checking the tags in my new posts by having the 'HTML Enabled' box checked on the feeds I want it. I'm mostly using feeds that only have text and a link or two in them. I also changed the code to decode tags as suggested earlier in this thread and I'm careful which source feeds I will use. Mine are pretty limited.
I liked the other mod, where you can setup a non existen member to be the news poster... it was an interesting option I think
Quote from: luuuciano on January 30, 2012, 10:04:19 PM
I liked the other mod, where you can setup a non existen member to be the news poster... it was an interesting option I think
It bothers me how poorly these things are looked after. >:(
Quote from: djkimmel on January 30, 2012, 04:18:23 PM
Quote from: snyperthugs on January 30, 2012, 01:39:24 AM
has ANYBODY found a fix for the [htm l] [ / ht ml] tags? I have to go in everyday and manually place them there I am using smf 1.1.12
I get those tags in my feeds by checking the tags in my new posts by having the 'HTML Enabled' box checked on the feeds I want it. I'm mostly using feeds that only have text and a link or two in them. I also changed the code to decode tags as suggested earlier in this thread and I'm careful which source feeds I will use. Mine are pretty limited.
But when I altered the code like stated... none of my feeds work
Quote from: vbgamer45 on January 10, 2012, 05:06:21 PM
Your SSI.php has duplicate code causing an issue.
I have done some further testing with this and it appears that the cronrss.php file keeps giving an error for every function in the SSI.php.
I have made no changes within the SSI.php file or any other changes to this mod and it still have not worked for me.
Can you or anyone provide some feedback on how to get this working?
Perhaps you could post the results of your testing, maybe even show the errors you saw? That would help others to help you figure out the problem. Giving no information doesn't help at all though.
Quote from: snyperthugs on January 31, 2012, 01:37:12 AM
Quote from: djkimmel on January 30, 2012, 04:18:23 PM
Quote from: snyperthugs on January 30, 2012, 01:39:24 AM
has ANYBODY found a fix for the [htm l] [ / ht ml] tags? I have to go in everyday and manually place them there I am using smf 1.1.12
I get those tags in my feeds by checking the tags in my new posts by having the 'HTML Enabled' box checked on the feeds I want it. I'm mostly using feeds that only have text and a link or two in them. I also changed the code to decode tags as suggested earlier in this thread and I'm careful which source feeds I will use. Mine are pretty limited.
But when I altered the code like stated... none of my feeds work
I only made one change. In file /Sources/Subs-RSS.php, after line 295 I added one line of code:
$msg_body = html_entity_decode($msg_body,ENT_QUOTES);
I'm still using SMF 1.1.16 but I believe it appeared the same change would work in the version 2 of the same file if you find that line in the 'if ($feed['html'])' loop. I'm using feeds that don't have xml errors from trusted sources.
I've just set this up with smf 2.0.2, seems to be working about 90%.. Almost perfect! It installed fine, and I chmodded the cronrss.php file via ftp to 755, which I confirmed by directly accessing the file through my web browser. Then I set up a cron job via cp to go off every 2 minutes, actually fairly easy, just google 'run a php file using a cron job'. Next I added some bots with feeds, using admin accounts for posting, and then enabled html for admins. Next I used the fix from Sinistercat's earlier post on pg 115 replacing 'smcFunc db escape string' in Subs-RSS2.php, which solved the problem of the posts displaying incorrectly. Finally, and after a bit of confusion, (and please correct me if I'm wrong) I seem to have figured out the update times.. I set each bot's amount of items to get to 1, then set each bot's update times to roughly however often it's feed puts a new item up. Using the cron job calling every 2 minutes means that every 2 minutes the cronrss.php checks if there is a new item in each bot's feed then if so lets it post. The only thing is if say the bot updates every 60 mins and there is no new item in the feed, then I sometimes get a duplicate post, but meh no biggie, that's 1% of my remaining problem. So, after fruitlessly searching this thread backwards in time until my version of smf wasn't even dreamed of, I have to ask - Please can somebody tell me how to get the full feed posts to display? Why is it cut off? f I'm lucky I might get a picture in the first bit of feed displayed but not often. If the full post displayed this mod would be perfect!
Which feed are you using?
If the feed have not that information the mod can not guess it...
There is another mod... feeder? do not remember... that let you grab full contents, but you have to understand about regex's, etc
I've tried about 6 or 7 different feeds, ign, steam, g4tv, gametrailers, pcgaming.. i've been pulling feeds all day and have yet to have a video posted as well.. I've downloaded the other feed poster, but not sure if it's compatible with 2.0.2 and if I can install both mods at once..
edit: Guess maybe it is the feeds.. i've only been able to find one feed that will actually post a video and not just a link at gametrailers.com/rss/embeds.xml but it doesn't seem to work properly..
Quote from: shuban on January 30, 2012, 03:57:39 PM
Will pay 10 dollars if someone can code this so that the mod actually obeys the specific boards permission where it states: Makes new replies and topics raise members' post counts.
This way, the user chosen to automatically post the feeds does not increase in their person post count!
Did the first part for update.
RSS Feed Poster Update
3.0.3
!Fixed html characters posted in SMF 2.0 thanks to Sinistercat
!Do not increase post counts in boards that do not count posts
Quote from: vbgamer45 on January 31, 2012, 08:47:09 PM
RSS Feed Poster Update
3.0.3
!Fixed html characters posted in SMF 2.0 thanks to Sinistercat
!Do not increase post counts in boards that do not count posts
Without reinstalling the whole thing vbgamer45, could you tell me which file you made the edits in to fix the issue (!Do not increase post counts in boards that do not count posts)
Thank you.
I'm assuming it's in Subs-RSS.php, made some of the changes myself, let's see if it works.
WORKED
Now to fix the forum history stats
Anyone :)
Will 3.0.3 solve the non posting first item feed issue that a lot of people are complaining?
(you know, that thing it is called "news")
oh... maybe I should pay 10 for it............ (sorry, you worth it... just have to say it)
No update just includes item listed.
OK I just used the $msg_body = html_entity_decode($msg_body,ENT_QUOTES); and now the feeds dont work. unless i put it in the wrong place. If anybody want to help me with this email me djnicemobile @ gmail
Quote from: snyperthugs on February 02, 2012, 01:11:02 PM
OK I just used the $msg_body = html_entity_decode($msg_body,ENT_QUOTES); and now the feeds dont work. unless i put it in the wrong place. If anybody want to help me with this email me djnicemobile @ gmail
If you use SMF 2.0 I have that built into the latest update.
I dont know how to update the forum without messing up all of my mods
Open another thread, this one is related to 1 mod, not general smf support
Can anybody personally help me to get this working correctly on smf 1.1.12 .... or is it even possible to get the html tags to work correctly? I can even PayPal $5 to anybody who can successfully help me fix this. I once got it to ALMOST work but only 1 of my feeds was working with it. I want all of my feeds to work.. without having to manually edit each post twice a day.
SO I take it that its impossible with my version of smf?? I am lost
Perfect mod, but:
index.php?action=feedsadmin;sa=addfeed28: Undefined index: msgicon
file: www/forum/Sources/FeedPoster2.php
Строка: 122
seems thats because of empty message icon field:
http://go.tair.me/b1
Also imported rss post looks like "???? ??????????????" (question marks)
http://www.rudn.ru/rss.php - rss.
But rss is in utf-8. Whats the problem? I don't know where i should search.
forum itself in utf-8 also.
Well, this mod is awesome BUT (:() it's only showing a certain amount of characters in the post before it shows the ellipsis "..." and the post count of that member isn't going up now? o.o
Quote from: Heardy on February 16, 2012, 03:48:20 PM
Well, this mod is awesome BUT (:() it's only showing a certain amount of characters in the post before it shows the ellipsis "..." and the post count of that member isn't going up now? o.o
It depends on the board - some boards don't allow increasing post count.
Quote from: Liam_michael on February 16, 2012, 07:53:18 PM
Quote from: Heardy on February 16, 2012, 03:48:20 PM
Well, this mod is awesome BUT (:() it's only showing a certain amount of characters in the post before it shows the ellipsis "..." and the post count of that member isn't going up now? o.o
It depends on the board - some boards don't allow increasing post count.
I understand that but the board that I have set it up on does allow increasing post count.
Quote from: Heardy on February 16, 2012, 03:48:20 PM
Well, this mod is awesome BUT (:() it's only showing a certain amount of characters in the post before it shows the ellipsis "..." and the post count of that member isn't going up now? o.o
The feed might only continue a certain portion of data which is why it has the ...
Is there any way to allow it to select all the data?
Any chance to see any answer to my question?
http://www.simplemachines.org/community/index.php?topic=141776.msg3273735#msg3273735
Don't know much about utf8 other than tables must be utf8 and use utf8 functions.
but how to fix my issue?
Quote from: Heardy on February 16, 2012, 08:25:45 PM
Quote from: Liam_michael on February 16, 2012, 07:53:18 PM
Quote from: Heardy on February 16, 2012, 03:48:20 PM
Well, this mod is awesome BUT (:() it's only showing a certain amount of characters in the post before it shows the ellipsis "..." and the post count of that member isn't going up now? o.o
It depends on the board - some boards don't allow increasing post count.
I understand that but the board that I have set it up on does allow increasing post count.
Oh crap, I never knew since the board I chose has always prevented an increase in post count. I guess it's just another bug this mod has, definitely not perfectly written.
I want to get information from an RSS feed but only one category. It is updated daily and has several categories and I am only interested in one! In the RSS feed though the posts are each labeled with a CATEGORY label. Ideas?
Quote from: luper on February 18, 2012, 07:05:23 PM
I want to get information from an RSS feed but only one category. It is updated daily and has several categories and I am only interested in one! In the RSS feed though the posts are each labeled with a CATEGORY label. Ideas?
No current way to do it. See if you can pass a category id using the url or if the feed supports it that would limit what is shown.
As a few others have stated before, I'd really appreciate it if you could set the feed poster to post one feed into one topic. My board has few traffic and so all new topic summaries are now full of my rss bot. Normal user posts totally go unnoticed like this.
There is, in fact, the RSS Feeder Mod out there, which supposedly does exactly what I am wishing for. Unfortunately, the mod is outdated and doesn't work for 2.0.2.
soo...
May we hope for the RSS Feed "Poster" to actually post posts instead of topics in near future? :D
Quote from: go- on February 19, 2012, 12:25:07 PM
As a few others have stated before, I'd really appreciate it if you could set the feed poster to post one feed into one topic. My board has few traffic and so all new topic summaries are now full of my rss bot. Normal user posts totally go unnoticed like this.
There is, in fact, the RSS Feeder Mod out there, which supposedly does exactly what I am wishing for. Unfortunately, the mod is outdated and doesn't work for 2.0.2.
soo...
May we hope for the RSS Feed "Poster" to actually post posts instead of topics in near future? :D
Possibly if someone donates for it I could work. My main problem is I have many different projects that I work on all the time which leaves little room to work on additions and I try to focus on bug fixes.
Quote from: go- on February 19, 2012, 12:25:07 PM
As a few others have stated before, I'd really appreciate it if you could set the feed poster to post one feed into one topic. My board has few traffic and so all new topic summaries are now full of my rss bot. Normal user posts totally go unnoticed like this.
There is, in fact, the RSS Feeder Mod out there, which supposedly does exactly what I am wishing for. Unfortunately, the mod is outdated and doesn't work for 2.0.2.
soo...
May we hope for the RSS Feed "Poster" to actually post posts instead of topics in near future? :D
Even though it says it's not compatible for 2.0.2, it still can work, just change the package file for that it includes your version. It's very simple.
is it possible to keep the size of the picture posted from a rss feed to be a set size. I have my forum set to only post 600px width pictures, but the rss feed will have much bigger pics posted sometimes, ones that distort the width of the site. Anyway to modify a setting or anything?
Maybe ncode image resizer fits your needs?
Don't know if already mentioned, but in the version for SMF 1.1 I think I found a couple of errors:
In Subs-RSS.php, find:
$row['count_posts'] = $row2['count_posts'];
replace with:
$row['count_posts'] = $row2['countPosts'];
Same file find:
mysql_freeresult($request);
replace with:
mysql_free_result($request);
HTH
Quote from: emanuele on February 22, 2012, 05:06:37 AM
Don't know if already mentioned, but in the version for SMF 1.1 I think I found a couple of errors:
In Subs-RSS.php, find:
$row['count_posts'] = $row2['count_posts'];
replace with:
$row['count_posts'] = $row2['countPosts'];
Same file find:
mysql_freeresult($request);
replace with:
mysql_free_result($request);
HTH
Would do these changes do?
Sorry Liam_michael if I edited your post, there was a mistake in my previous post and I wanted to remove possible sources of confusion... ;)
Update
3.0.4
!Fixed countposts for SMF 1.1.x thanks to emanuele
Quote from: emanuele on February 22, 2012, 06:49:52 PM
Sorry Liam_michael if I edited your post, there was a mistake in my previous post and I wanted to remove possible sources of confusion... ;)
It's okay.
Quote from: vbgamer45 on February 22, 2012, 08:18:57 PM
Update
3.0.4
!Fixed countposts for SMF 1.1.x thanks to emanuele
vbgamer45, did you only change what emanuele showed in his post? I did it manually.
Yes that was only change made.
Hey buddies... I am almost frustrated with this mod. I am planning to start new forum.
And want to have rss feed from this link.
hxxp://maharashtratimes.indiatimes.com/rssfeeds/2429064.cms
But it posts something like.
? ? ??
? ?? ?? ? ?? ? ?? ? ?. ?? ?? ? ? ?? ? .
Source: ? ? ??
Someone please please help me.
Quote from: vbgamer45 on February 23, 2012, 10:52:22 PM
Yes that was only change made.
I do want to note that by making those changes, the user in which you've chosen to post these feeds increases their overall post count
even though you specifically stated that posts in that board are not to count in the user's overall statistics.
I've reverted back to what it was originally.
I think this mod is awesome. Works great, does what is expected.
One unintended outcome however is after I set it up I found out a lot of my users use the "New Posts" function of the board. So now when the visit and click for new posts they see all these NEWS FEEDS that I have set to drop into one NEWS forum.
Anyone know anyway around this?
Those are not news?
Do not post to much trash?
Why you post things no one wants to read and just complain about it?
Maybe they must get used to it?
Settle down tiger, I wasnt looking for a criticism.
Its an industry forum and they agree they like to see the latest news in the top forum but when they first log in and go to latest posts it might have 6 or so news items and they would rather see the latest member posts first.
Maybe I can mess with the latest post code to get it to exclude that category...
Can't you ignore that board or something? ???
Great mod, that's true!
One question tho`, is there a way to download the whole content of the article/blog post? We're running a blog too, and don't want to copy/paste each blogpost manually.
Thanks in advance.
Nevermind, it was blog related.
Quote from: Yoshi2889 on February 26, 2012, 05:16:57 AM
Can't you ignore that board or something? ???
Yeah, one of my users put the "News Bot" on Ignore and said that was working. But he also cant go up and read the news if he wanted then. Great suggestion though. Thanks.
Quote from: CableTool on February 26, 2012, 07:11:58 AM
Quote from: Yoshi2889 on February 26, 2012, 05:16:57 AM
Can't you ignore that board or something? ???
Yeah, one of my users put the "News Bot" on Ignore and said that was working. But he also cant go up and read the news if he wanted then. Great suggestion though. Thanks.
I mean, ignore that board in your "Don't-show-in-unread-posts" list. It's a feature that can be enabled somewhere, search for "Ignore board" in the Admin panel.
That still allows you to read the news, yet it doesn't show up in the unread posts list.
Although if you reply to it, it will get added to your unread replies list. So don't reply to it if you wanna keep it out of there ;)
Great feature, various searches in the Admin panel showed nothing though and I couldnt find it?!
Admin -> Forum -> Boards -> Settings
"Allow boards to be ignored"
;)
Brilliant.
THANK YOU!
I will Paypal $10 to anybody that can successfully help me get this mod working 100% I am STILL having to go in an put [ html] [ / html] If somebody can help me so I dont have to do this anymore I will gladly paypal $10
PLEASE HELP! :(
thanks in advance
It seems like this mod upon setting up a feed always reads from the bottom so it always posts older items first. I would like for this to read from the top down so that it will post the latest items. Is that possible?
Quote from: snyperthugs on February 26, 2012, 01:51:06 PM
I will Paypal $10 to anybody that can successfully help me get this mod working 100% I am STILL having to go in an put [ html] [ / html] If somebody can help me so I dont have to do this anymore I will gladly paypal $10
PLEASE HELP! :(
thanks in advance
Mine works fine, would you like me to upload my php files for this mod?
Quote from: Liam_michael on February 26, 2012, 10:48:50 PM
Quote from: snyperthugs on February 26, 2012, 01:51:06 PM
I will Paypal $10 to anybody that can successfully help me get this mod working 100% I am STILL having to go in an put [ html] [ / html] If somebody can help me so I dont have to do this anymore I will gladly paypal $10
PLEASE HELP! :(
thanks in advance
Mine works fine, would you like me to upload my php files for this mod?
What version of SMF are you using?
Quote from: Liam_michael on February 26, 2012, 10:48:50 PM
Quote from: snyperthugs on February 26, 2012, 01:51:06 PM
I will Paypal $10 to anybody that can successfully help me get this mod working 100% I am STILL having to go in an put [ html] [ / html] If somebody can help me so I dont have to do this anymore I will gladly paypal $10
PLEASE HELP! :(
thanks in advance
Mine works fine, would you like me to upload my php files for this mod?
WAIT, STOP!!!! :o
Seriously though, never exchange SMF files. This may break the installation of the person you are exchanging files with.
Also, if the same version is installed on both sides, the same edits are done and thus the same files are there already.
Quote from: go- on February 19, 2012, 12:25:07 PM
As a few others have stated before, I'd really appreciate it if you could set the feed poster to post one feed into one topic. My board has few traffic and so all new topic summaries are now full of my rss bot. Normal user posts totally go unnoticed like this.
There is, in fact, the RSS Feeder Mod out there, which supposedly does exactly what I am wishing for. Unfortunately, the mod is outdated and doesn't work for 2.0.2.
soo...
May we hope for the RSS Feed "Poster" to actually post posts instead of topics in near future? :D
I would donate $50 to have a version which had the option of posting to either one thread or one forum
I currently use this mod to post articles from my Wordpress site to my forum, and they warrant their own thread, but I also want to create a thread for Tweets from a group of people that should be posted in one topic. There will be high amounts of posts, so using one topic would be much better than 30 - 40 new threads being created per day
I would only pay this if the mod was made for the 1.1.x thread of SMF as well as 2.0.x too
Quote
I would donate $50 to have a version which had the option of posting to either one thread or one forum
The posting to one forum/board is built in already. In the admin area you select which board for the topics to be created in.
If I uploaded my php file, can somebody look at it? If they fix it so I dont have to add [ html ] [ / htm l] I would gladly paypal $5
Quote from: vbgamer45 on February 19, 2012, 03:31:25 PM
Quote from: go- on February 19, 2012, 12:25:07 PM
As a few others have stated before, I'd really appreciate it if you could set the feed poster to post one feed into one topic. My board has few traffic and so all new topic summaries are now full of my rss bot. Normal user posts totally go unnoticed like this.
There is, in fact, the RSS Feeder Mod out there, which supposedly does exactly what I am wishing for. Unfortunately, the mod is outdated and doesn't work for 2.0.2.
soo...
May we hope for the RSS Feed "Poster" to actually post posts instead of topics in near future? :D
Possibly if someone donates for it I could work. My main problem is I have many different projects that I work on all the time which leaves little room to work on additions and I try to focus on bug fixes.
Pleeeeeeeeeeeeease add this.
I am using this to do a feedpost of the top headlines on espn. There have been about 40 total and it has pulled about 16.
It is far behind what is shown on the site.
I have it configured as a curl checking every 10 minutes with a max of 10.
Any ideas why it wouldnt be updating with the site?
Somebody name a price, I will pay to have somebody personally help me to get this working without manually putting [ html ] [ / html ] in every single post
I had posted here already, but now I can't find my post....
I have installed this on my SMF 2.0.2. For the first few hours nothing happened, then, as I had set the item limit high, 25 items started coming through at once. This repeated every three hours, even though I had set it to check every ten minutes, but I thought, ok, 25 a time every 3 hours, we'll soon catch up to the latest items on the feed and hopefully then it will keep itself updated. But no, it got as far as the latest but one item and hasn't fed anything since. That was 31 hours ago.
It is set to All, with "use fake cron jobs" checked, and is currently at 6 items every 360 minutes, trying to keep as close to the defaults as practical. There should have been another three more recent items now, but nothing is coming through.
Also of the items which have come through, all the apostrophes are replaced with questions marks.
Please help as I'm getting to the point where I just want to uninstall it and be done, but it would be soooo useful for my site to have this working.
Thanks.
Great mod!
One question: how must be scheduled the cron job? Every hour? Every 3 o 4 hours? Your suggestion?
I would do it every minute. The system will check if it needs to pull feeds or not.
Quote from: vbgamer45 on March 05, 2012, 01:09:33 PM
I would do it every minute. The system will check if it needs to pull feeds or not.
It seems it worked, but the bot has imported only title of the article, not the body or part of it :(
Any suggestions?
Check error log. What is the link to the feed used?
Quote from: vbgamer45 on March 05, 2012, 01:24:49 PM
Check error log. What is the link to the feed used?
Probably, the error is the attached one. Sorry, i'm newbie of SMF :)
Quote from: vbgamer45 on March 05, 2012, 01:24:49 PM
Check error log. What is the link to the feed used?
Found this
http://www.doaitalia.it/index.php?action=admin;area=feedsadmin;sa=admin8
Undefined index: utf8File: /var/www/clients/client1/web16/web/forum/Sources/Subs-Post.php
Riga: 369
Maybe the problem is related to the charset? Both the websites, my forum and my blog that i would fetch with your plugin, uses UTF-8. Your mod does?
The feed i'm fetching is managed by Feedburner: feeds.feedburner.com/skyflash
Other question: i've noticed that the post counter of my bot user still is zero, but it has posted a message...
Quote from: vbgamer45 on March 05, 2012, 01:09:33 PM
I would do it every minute. The system will check if it needs to pull feeds or not.
If I see someone checking my feeds every 1 minute I will think on block him... lol
It doesn't check the feeds. It only grabs them according to your settings. But it runs the RSS Poster system to see if any feeds need to run.
Tried to add other feed. Managed by Feedburner and in UTF-8 too.
Same result :(
Please, look at the attachment
Pls, don't mind the issue related to "Publish" button. Was a my mistake.
Problem about missing content in the fetched post and message counter that doesn't move from 1, remains :(
Thank you for the support
I have tried everything but cannot get this mod to work
fsockopen is enabled
I set up the feeds and enabled them in the feed list
I have my cron setup pointing to cronrss.php, also tried the fake cron option.
I tried accessing the cronrss.php directly and nothing (blank Screen)
I am not getting any errors nor are any feeds being pulled in. I tried several different RSS feeds
I did get one error when I first installed the mod that the cronrss.php (file is writable by others) so I corrected that (chmod 755)
I am just sure where to look since I am not getting any errors.
Thanks in advance
Quote from: Liam_michael on February 25, 2012, 01:48:03 AM
Quote from: vbgamer45 on February 23, 2012, 10:52:22 PM
Yes that was only change made.
I do want to note that by making those changes, the user in which you've chosen to post these feeds increases their overall post count even though you specifically stated that posts in that board are not to count in the user's overall statistics.
I've reverted back to what it was originally.
How do you turn the post count back on for 2.0.2?
Any chance you can update this to work with atrom-based feeds? Nearly all Wordpress sites use them now. :(
It should work with atom based feeds
Quote from: vbgamer45 on March 12, 2012, 08:35:13 AM
It should work with atom based feeds
I get this error for like 9 out of 10 feeds I try to put in.
"XML error: syntax error at line 1"
The feeds validate fine at feedvalidator.org and look fine in my browser?
I'm using 2.2.2 btw.
I see other people have had the same issue. I think i found a fix. I just take the feed over to http://rssmix.com/ and create a new feed from the old one. The ones from RSS Mix seem to work fine. It's very easy, no account required or anything.
This mod is REALLY tempramental. Nearly every feed comes back with some kind of error like:
XML error: not well-formed (invalid token) at line XX
Feeds that validate fine and view fine in browsers. Some can be cleaned up by rehosting at RSSMix or Feedburner but not all. Really a pain.
It is all based on the php built in functions for handling xml we do not do any processing our selves if php has an issue the mod will say it is broken.
i have a problem: the mod connects to the feed (i've tried two, both my blogs) i set and collects the title but no body (text, pictures or anything... only an "empty" body"). You can see it in this section (http://www.doaitalia.it/notizie-dal-mondo-b19.0/)
Second problem: the messages counter of the user i set for fetching RSS (Bender, lol!) is permanently "blocked" on 0
The feeds i import are UTF-8 and both managed (as is my SMF-based forum) by feedburner:
http://feeds.feedburner.com/skyflash
http://www.gplusblog.it/feed/
Quote from: djkimmel on January 29, 2012, 03:48:51 PM
I have 10 items in my feed lists I'm retrieving. I have the mod set to get 10 items. It never grabs the very first item in the feed.
If all 10 items are new, it will create 9 new posts on my forum and not include the very first, newest item from the feed. I've tried it with several feeds and no matter how many items I set it to grab, it does not create a post from the very first item in the feed. I've tried it against a B2evo feed and a Wordpress feed. I used a several completely new feeds to test. I tried setting it to grab 14 items from a 10 item feed and it still only grabbed 9 not creating a post with the first feed item.
I looked at the code and I can't figure out why it does not include the final feed item. Seems like it should loop through every item without dropping any until it completes all items that are new. Just thought someone else might have figured out why it doesn't create a forum post from all new items including the newest one? Thanks.
Has anyone found a resolution to this problem? I have the same thing all my feeds grab everything apart from the very latest entry until a newer one comes along. It would be nice to find a fix for this as, with the help of various posts on here and updates from vbgamer, this is now mostly working Ok for me just this one issue left to resolve.
Hi All,
i broke my forum by adding this mod this evening :-[
I'm using 2.02
and after i installed i get this
Fatal error: Cannot redeclare scheduled_update_feedbots() (previously declared in /home2/forumtop/public_html/forum/Sources/ScheduledTasks.php:1646) in /home2/forumtop/public_html/forum/Sources/ScheduledTasks.php on line 1668
Take a peek at my forum http://forumtopsite.co.uk/forum/index.php
Can anyone help me?? Please get my forum back :-[
You have the mod installed twice in Sources/ScheduledTasks.php remove one instance of the scheduled_update_feedbots() function
Quote from: vbgamer45 on March 14, 2012, 04:42:09 PM
You have the mod installed twice in Sources/ScheduledTasks.php remove one instance of the scheduled_update_feedbots() function
Thanks vbgamer, have done that and site is back up to normal, I've uninstalled the mod, Do you think it will do it again if i try and reinsatll ??
Thanks for your Superquick reply ;D
If you removed the duplicate code already you should be ok with a reinstall.
Quote from: vbgamer45 on March 14, 2012, 04:49:36 PM
If you removed the duplicate code already you should be ok with a reinstall.
Ok will give it a go and let you know ;)
Thanks again buddy its been a pleasure :)
EDIT:
OK i've tried but get this error...
The file you are uploading already exists on the server. Please delete it first then try again.What file would that be?? 've already uninstalled it ?
Reinstall under package manager should already be there listed just not marked as installed.
Quote from: vbgamer45 on March 14, 2012, 05:01:02 PM
Reinstall under package manager should already be there listed just not marked as installed.
Thanks vbgamer, Have done it now and working fine, Keep up the great work with your Mods, They are the best ;D
Thanks again
Gerry
Glad to help! Enjoy the mods!
Quote from: vbgamer45 on March 14, 2012, 05:11:16 PM
Glad to help! Enjoy the mods!
VBgamer, will you ever fix the forum history so that the stats actually get added up?
Not on my list of things to work on at the moment so not likely.
Quote from: vbgamer45 on March 14, 2012, 05:23:49 PM
Not on my list of things to work on at the moment so not likely.
Would be nice if you did, I bet it's a real simple code... Anyway, I'll come back later.
I have looked into at the past no idea why it is not working.... uses the createpost function which should handle the history as well....
@vbgamer45
This version of the mod, import html img tags?
Haven't tried.
Quote from: vbgamer45 on March 14, 2012, 05:11:16 PM
Glad to help! Enjoy the mods!
Any news about the UTF-8 issue?
Has anyone figured out how to enable the post count for the feed poster using 2.0.2? Probably some simple edit.
Ok, since i've had some issues and thought i'd solved them along comes another :'(
I've downloaded and re-install this mod with a view to getting some feeds on my board
so today i try for a fake cron job and get this
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
any ideas?
i've allso set the time to get my first feed in 10 minutes so we'll see 8)
Chmod the cronrss.php file to 755 or 644
Thanks for the quick reply ;)
Ok i just get this white screen error
QuoteNotice: Undefined index: recent_topics in /home2/forumtop/public_html/forum/Sources/Subs.php on line 4273
Feed Poster Configuration
It had a referance to a twitter mod i was using so i deleted that and this is all i'm left with
But wait, i've just had a change,The Feed poster has actually started to add feeds ;D
So i'm well chuffed
Great mod, is there any way to get a feed to post into a topic rather than posting a new topic everytime. If not could be a possibility for future feature?
In my forum still not working well. It fetches ONLY title of rss feeds in want import, and it don't supports UTF-8
My feeds are managed by Feedburner (there's only one people in the world that don't puts its feeds in feedburner???), are UTF-8 and in italian and are perfect
Here is the section where i collect my feeds: http://www.doaitalia.it/notizie-dal-mondo-b19.0/
EVERY post has only title, some chars (UTF-8... i can't imagine, in 2012, a single site in the world that don't uses UTF-8...) are replaced by a "?" (because the mod don't manages UTF-8) and have no body. Only title.
I know this mod is a free mod and is developed by the author when he has time, but this is the fourth message on the same problem i post in this topic. And no one has never replied me :(
I gave up and uninstalled in the end as every feed item was 24 hours behind, which is no good for news items.
Sorry busy at the moment don't have time.
Quote from: Sabrinova on March 29, 2012, 11:17:57 AM
I gave up and uninstalled in the end as every feed item was 24 hours behind, which is no good for news items.
You may try this one
http://custom.simplemachines.org/mods/index.php?mod=1590
Maybe it works, maybe not, hehe
Quote from: luuuciano on March 29, 2012, 01:25:38 PM
Quote from: Sabrinova on March 29, 2012, 11:17:57 AM
I gave up and uninstalled in the end as every feed item was 24 hours behind, which is no good for news items.
You may try this one
http://custom.simplemachines.org/mods/index.php?mod=1590
Maybe it works, maybe not, hehe
Not compatible to 2.0.2 :(
Thanks anyway :)
We're good though. I wanted it to feed news items directly from my co-admin's blog to save her work, but she's happy enough posting them manually, so the feed isn't really necessary :)
Quote from: Skyflash on March 29, 2012, 01:37:41 PM
Not compatible to 2.0.2 :(
Well, who knows... maybe emulating rc4 do the trick
I have installed this on SMS 2.0.2 and everyting is enabled yet it hasn't added any feeds from over 5 sites in a week or so. Anything I am missing?
Quote from: backend on April 05, 2012, 09:47:58 AM
I have installed this on SMS 2.0.2 and everyting is enabled yet it hasn't added any feeds from over 5 sites in a week or so. Anything I am missing?
Are you working with cronjobs? Did you tried to run url in your browser?
How i can prevent RSS Feed Poster from post feeds without <description>?
Quote from: Fabiolas on April 05, 2012, 11:10:36 AM
Quote from: backend on April 05, 2012, 09:47:58 AM
I have installed this on SMS 2.0.2 and everyting is enabled yet it hasn't added any feeds from over 5 sites in a week or so. Anything I am missing?
Are you working with cronjobs? Did you tried to run url in your browser?
Not sure what cronjobs is?
I put the URL in my browser and got this:
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Oh god and now I can't access my entire forum!!!!! All I did was to enable the setting "Use fake Cron jobs. Checks if feeds need to be updated on each page load."
How can I fix this please????
I am getting this error and my entire forum is inaccessible!!!!!!!!!!!!!!!!!
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Can someone help me please?????????? how can I undo this????
Quote from: backend on April 05, 2012, 01:47:24 PM
I am getting this error and my entire forum is inaccessible!!!!!!!!!!!!!!!!!
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Can someone help me please?????????? how can I undo this????
What is your SMF version?
Quote from: backend on April 05, 2012, 01:47:24 PM
I am getting this error and my entire forum is inaccessible!!!!!!!!!!!!!!!!!
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Can someone help me please?????????? how can I undo this????
Quote from: backend on April 05, 2012, 01:47:24 PM
I am getting this error and my entire forum is inaccessible!!!!!!!!!!!!!!!!!
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Can someone help me please?????????? how can I undo this????
Quote from: backend on April 05, 2012, 01:47:24 PM
I am getting this error and my entire forum is inaccessible!!!!!!!!!!!!!!!!!
Fatal error: Call to undefined function: htmlspecialchars_decode() in /home/content/a/s/h/xxx/html/forum/Sources/Subs-RSS2.php on line 323
Can someone help me please?????????? how can I undo this????
You are running PHP4 still that function requires PHP5
How to prevent this mod from post duplicate content
This mod was design to generate an hash from title+description. But i figured-out that many rss feeds had gone crazy and my RSS Feed Poster started to create new posts without content or with minimum changes and under the same title. This is really not what we want when we are using pretty urls for example. And Google don't like duplicated content.
So, this change will generate an hash code just from title. So, it won't post duplicated titles again :)
Find(./Sources/Subs-RSS2.php):$itemhash = md5($context['feeditems'][$i]['title'] . $context['feeditems'][$i]['description']);
Replace with:$itemhash = md5($context['feeditems'][$i]['title']);
Mine is working great! The only thing I ask is that can I make it show the whole rss feed post. It only shows a piece then shows a direct link I got it from. Like for example I wanted to do game trailers. It won't even do the game trailer video, it just gives a link to it. Anyway I can make it do this?
Quote from: KuT on April 05, 2012, 08:10:32 PM
Mine is working great! The only thing I ask is that can I make it show the whole rss feed post. It only shows a piece then shows a direct link I got it from. Like for example I wanted to do game trailers. It won't even do the game trailer video, it just gives a link to it. Anyway I can make it do this?
Did you ever tried pipes from yahoo? :)
http://pipes.yahoo.com/pipes/
I have set a feed up correctly, I set it up from Feed Url, Filter, Pipe Output. Everything went ok. Now will it show the whole description? Thanks for the link btw
Quote from: KuT on April 05, 2012, 08:33:45 PM
I have set a feed up correctly, I set it up from Feed Url, Filter, Pipe Output. Everything went ok. Now will it show the whole description? Thanks for the link btw
I have attached one example. Hope you understand this :)
After this just run your pipe and get your rss url 8)
Thankyou sir!
Actually to be honest with you.. I don't know which ones to choose. Can you show me which ones to use, just show it will show the whole post.
It would be nice if this could also make posts as replies, instead of only new posts.
Quote from: KuT on April 05, 2012, 08:58:39 PM
Actually to be honest with you.. I don't know which ones to choose. Can you show me which ones to use, just show it will show the whole post.
Please view this tutorial: http://www.blackhatworld.com/blackhat-seo/blogging/157390-yahoo-pipe-tutorial-convert-rss-summary-rss-full-feed.html
After I made my pipe and put in the url the poster won't post anything :(
Quote from: KuT on April 08, 2012, 12:14:24 AM
After I made my pipe and put in the url the poster won't post anything :(
Can you share your pipe url?
http://pipes.yahoo.com/pipes/pipe.run?_id=b7625cff6a7fb4bf1e3cdd5c15e2f7a7&_render=rss
Quote from: djkimmel on January 29, 2012, 03:48:51 PM
I have 10 items in my feed lists I'm retrieving. I have the mod set to get 10 items. It never grabs the very first item in the feed.
If all 10 items are new, it will create 9 new posts on my forum and not include the very first, newest item from the feed. I've tried it with several feeds and no matter how many items I set it to grab, it does not create a post from the very first item in the feed. I've tried it against a B2evo feed and a Wordpress feed. I used a several completely new feeds to test. I tried setting it to grab 14 items from a 10 item feed and it still only grabbed 9 not creating a post with the first feed item.
Experiencing this exact symptom. Running 1.1.16. Had previously upgraded from an older version of Feed Poster. Any ideas?
Thank you!
Todd
No one knows... maybe it is a feature, lol
Quote from: RednecK1 on April 08, 2012, 05:42:09 PM
http://pipes.yahoo.com/pipes/pipe.run?_id=b7625cff6a7fb4bf1e3cdd5c15e2f7a7&_render=rss
If you look at your pipe url you only see titles and not description. So, if you have one feed without content this mod can't know what is the content :)
So, go to your pipe what try this:
Cut content from: <div class="story_body"> to: <div class="authorByline authorBylineLarge">
Quote from: toddwhitehead on April 09, 2012, 12:56:41 PM
Quote from: djkimmel on January 29, 2012, 03:48:51 PM
I have 10 items in my feed lists I'm retrieving. I have the mod set to get 10 items. It never grabs the very first item in the feed.
If all 10 items are new, it will create 9 new posts on my forum and not include the very first, newest item from the feed. I've tried it with several feeds and no matter how many items I set it to grab, it does not create a post from the very first item in the feed. I've tried it against a B2evo feed and a Wordpress feed. I used a several completely new feeds to test. I tried setting it to grab 14 items from a 10 item feed and it still only grabbed 9 not creating a post with the first feed item.
Experiencing this exact symptom. Running 1.1.16. Had previously upgraded from an older version of Feed Poster. Any ideas?
Thank you!
Todd
Did you experience this all the time in any version you tried?
How to fix: Update number of posts in users profile
Find in ./Sources/Subs-RSS2.php 'update_post_count' => $updatePostCount ,
Replace with: 'update_post_count' => 1 ,
Quote from: Fabiolas on April 14, 2012, 11:32:22 AM
How to fix: Update number of posts in users profile
Find in ./Sources/Subs-RSS2.php 'update_post_count' => $updatePostCount ,
Replace with: 'update_post_count' => 1 ,
Tried that along with recounting the forum stats but not working for me. Feed poster still at 0 posts.
Quote from: THE BRA1N on April 14, 2012, 07:49:13 PMTried that along with recounting the forum stats but not working for me. Feed poster still at 0 posts.
It will only work for new posts ;)
Quote from: Fabiolas on April 15, 2012, 06:24:03 AM
Quote from: THE BRA1N on April 14, 2012, 07:49:13 PMTried that along with recounting the forum stats but not working for me. Feed poster still at 0 posts.
It will only work for new posts ;)
Yep, it sure does! Thanks for that.
Anyone found a way to stop the duplicate posts yet? This is a great mod except that all the duplicate posts make is pretty much unusable. :(
It has duplicate post check built in based on the title and description does an md5 check as long as those don't change...
Quote from: vbgamer45 on April 18, 2012, 02:33:51 PM
It has duplicate post check built in based on the title and description does an md5 check as long as those don't change...
I know you said this, but it doesn't work. I still get dupes...exact dupes. And reading through this thread it seems other people do too.
Quote from: Fabiolas on April 05, 2012, 08:07:25 PM
How to prevent this mod from post duplicate content
This mod was design to generate an hash from title+description. But i figured-out that many rss feeds had gone crazy and my RSS Feed Poster started to create new posts without content or with minimum changes and under the same title. This is really not what we want when we are using pretty urls for example. And Google don't like duplicated content.
So, this change will generate an hash code just from title. So, it won't post duplicated titles again :)
Find(./Sources/Subs-RSS2.php):$itemhash = md5($context['feeditems'][$i]['title'] . $context['feeditems'][$i]['description']);
Replace with:$itemhash = md5($context['feeditems'][$i]['title']);
That made it worse. :(
Quote from: Drover on April 18, 2012, 03:19:16 PMThat made it worse. :(
Delete all posts and do this modification. After, please try again. It works here.
This thing is FABULOUS! Huge props. Running SMF 2.0.2
I've got two questions though... am testing it in my "test" forum copy....
1) I'd like all of the new RSS posts *NOT* to be marked "new". How do I do that? I mean, when people click the "Show unread posts since last visit" -- I want them to see only the "Human" posts -- not the new RSS posts that have arrived.
2) I'd like the new RSS posts *NOT* to show up "Recent Posts" list -- again, only "human" posts should show up there.
In other words, I have all the RSS feeds into their own "Category" and each RSS into their own "Board" -- nothing in that category or in those boards should ever be "new" or ever be in the "Recent Posts" summary on the "Home" Page
Any suggestions.... is that a tick box somewhere I'm missing --- or is that available as another mod :)
I have some problems with "à" characters.
It posts "� " instead of "à".
Quote from: Fabiolas on April 21, 2012, 08:44:08 AM
I have some problems with "à" characters.
It posts "� " instead of "à".
What SMF version are you running? Is your MYSQL databases set for UTF-8? Is your SMF also set for UTF-8 character set?
Quote from: chuck23322 on April 21, 2012, 08:45:58 AM
Quote from: Fabiolas on April 21, 2012, 08:44:08 AM
I have some problems with "à" characters.
It posts "� " instead of "à".
What SMF version are you running? Is your MYSQL databases set for UTF-8? Is your SMF also set for UTF-8 character set?
2.0.2.
Yes, everything is set for UTF-8 and i only have problems with that character.
Quote from: Fabiolas on April 21, 2012, 09:35:48 AM
Quote from: chuck23322 on April 21, 2012, 08:45:58 AM
Quote from: Fabiolas on April 21, 2012, 08:44:08 AM
I have some problems with "à" characters.
It posts "� " instead of "à".
What SMF version are you running? Is your MYSQL databases set for UTF-8? Is your SMF also set for UTF-8 character set?
2.0.2.
Yes, everything is set for UTF-8 and i only have problems with that character.
I'm stumped then. I guess you could modify the PHP to do a "search/replace" for the problem character. But that's above my skill level.
Quote from: chuck23322 on April 21, 2012, 09:53:50 AMI'm stumped then. I guess you could modify the PHP to do a "search/replace" for the problem character. But that's above my skill level.
I tried censured words but i got blank posts and i don't understand why.
Hope that someone can help fixing this :)
Quote from: Fabiolas on April 21, 2012, 09:56:27 AM
Quote from: chuck23322 on April 21, 2012, 09:53:50 AMI'm stumped then. I guess you could modify the PHP to do a "search/replace" for the problem character. But that's above my skill level.
I tried censured words but i got blank posts and i don't understand why.
Hope that someone can help fixing this :)
Ah! That would be a creative solution :) Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.
Quote from: chuck23322 on April 21, 2012, 10:00:37 AMAh! That would be a creative solution :) Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.
This problem is related to this mod and not with SMF. So, this is the best place to ask for some support.
So, if anyone knows how to prevent RSS Feed Poster from posting "� " instead of "à", it would be great!!
Quote from: Fabiolas on April 21, 2012, 01:51:02 PM
Quote from: chuck23322 on April 21, 2012, 10:00:37 AMAh! That would be a creative solution :) Hope somebody chimes in -- or you may want to start a thread on just that on the general support area.
This problem is related to this mod and not with SMF. So, this is the best place to ask for some support.
So, if anyone knows how to prevent RSS Feed Poster from posting "� " instead of "à", it would be great!!
i have the same problem with š,đ,č,ć,ž... :(
Sources/Subs-RSS2.php
// Process the XML
$xml_parser = xml_parser_create("ISO-8859-1");
Replace with
// Process the XML
$xml_parser = xml_parser_create("UTF-8");
Checked and works! :D
I already did it but RSS Feed Poster still posts "� " instead of "à".
I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post. Is there any cure?
Quote from: GarfieldP on April 23, 2012, 07:51:47 PM
I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post. Is there any cure?
What do you see in your posts source code? There is any url to images?
Quote from: Fabiolas on April 24, 2012, 02:13:26 PM
Quote from: GarfieldP on April 23, 2012, 07:51:47 PM
I am using this feed
http://www.arcamax.com/thefunnies/garfield/rss
but each time the picture does not show up in the post. Is there any cure?
What do you see in your posts source code? There is any url to images?
this is the code it posts
[b]Saturday, April 21, 2012[/b]
[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]
Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]
Quote from: GarfieldP on April 24, 2012, 03:28:39 PMthis is the code it posts
[b]Saturday, April 21, 2012[/b]
[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]
Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]
Why are you using feedburner and not the main link as feed?
http://www.arcamax.com/thefunnies/garfield/rss
Quote from: Fabiolas on April 24, 2012, 03:46:57 PM
Quote from: GarfieldP on April 24, 2012, 03:28:39 PMthis is the code it posts
[b]Saturday, April 21, 2012[/b]
[html]Garfield by Jim Davis for April 21, 2012<br /><p><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/0/di" border="0" ismap="true"></img></a><br/><br /><a href="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/da"><img src="http://feedads.g.doubleclick.net/~a/SNQSqySoGy6IqNefEODDsSMqi7w/1/di" border="0" ismap="true"></img></a></p><div class="feedflare"><br /><a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:F7zBnMyn0Lo" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?i=ggIi7Yzfpsk:gv37I7yOigk:V_sGLiPBpWU" border="0"></img></a> <a href="http://feeds.feedburner.com/~ff/uclick/garfield?a=ggIi7Yzfpsk:gv37I7yOigk:qj6IDK7rITs"><img src="http://feeds.feedburner.com/~ff/uclick/garfield?d=qj6IDK7rITs" border="0"></img></a><br /></div><img src="http://feeds.feedburner.com/~r/uclick/garfield/~4/ggIi7Yzfpsk" height="1" width="1"/>[/html]
Source: [url=http://feedproxy.google.com/~r/uclick/garfield/~3/ggIi7Yzfpsk/21]Saturday, April 21, 2012[/url]
Why are you using feedburner and not the main link as feed?
http://www.arcamax.com/thefunnies/garfield/rss
I just did but it still does not show an image. It only points to the url with the image.
You'll see if you actually read through this topic a bit that many people are trying to get the feature you are asking about. To allow the HTML to be parsed in the post so it will show the images and stuff. I think a few people have posted work arounds if you care to look.
Hey guys, its funny but i use a cms that have a plugin called rss autoreader..
this plugin can retrieve the complete feed item, and post it with all images and links and everything else.
if someone take a look at the plugin code, maybe it can help you to make this works in SMF.
the cms is called Hotaru, the plugin can be downloaded here http://forums.hotarucms.org/showthread.php?583-Autoreader-1-0-1
I'm a newbie. Where do I put the FeedPostersql2.php? It says "Code" on the mod page (http://custom.simplemachines.org/mods/index.php?mod=624) but I don't know what that means. I've done everything else on the mod page of instructions but I can't even find the control panel for the mod. Thanks.
First you should install it using the package manager if possible that will set it all up for you.
hi, i have a problem when in the feed there are break line before of descriprition the body of post is null for example:
this http://www.paraparlando.com/canicattini_bagni/ultima_seduta_della_legislatura_per_il_consiglio_comunale_approvato_il_rendiconto_2011_e_letta_la_relazione_del_sindaco_paolo_amenta_3515.0.html is the result of this feed:
http://www.comunedicanicattinibagni.it/web/feed/rss.html
i lost the images and body of feed why? how i can solve the problem please
Your problem is just blank posts?
is the the blank description
it doesn't post the descrition field of item generally, sometime it does ma generally not
why?
Depends on the feed and what type of feed
Quote from: vbgamer45 on May 08, 2012, 06:43:03 PM
Depends on the feed and what type of feed
what do you mean?
i want post this
http://www.comunedicanicattinibagni.it/web/feed/rss.html
but it take and post only the link and title but not the descrption
another problem is that it feed only ever 6 hours i try to change the minutes option in panel admin but nothing happened
it post feed at 19, 1, 7 , 13
what's happened? but the great problem is blank description
Quote from: elyparker on May 09, 2012, 02:51:38 AM
Quote from: vbgamer45 on May 08, 2012, 06:43:03 PM
Depends on the feed and what type of feed
what's happened? but the great problem is blank description
The
bigger problem, that is causing your issue, is that the plugin don't support (ridiculous, imho, in 2k years...) UTF-8 :(
Quote from: Skyflash on May 09, 2012, 02:57:54 AM
Quote from: elyparker on May 09, 2012, 02:51:38 AM
Quote from: vbgamer45 on May 08, 2012, 06:43:03 PM
Depends on the feed and what type of feed
what's happened? but the great problem is blank description
The bigger problem, that is causing your issue, is that the plugin don't support (ridiculous, imho, in 2k years...) UTF-8 :(
mmm
exist a workaround?
VB thanks for the excellent mod.
The only issue that I am having is, I have 8 feeds but only 3 actually post.
These feeds are from weather providers and they are beneficial to my area.
Here are the 3 that actually post.
http://rss.wunderground.com/auto/rss_full/FL/Panama_City.xml?units=english
http://rss.wunderground.com/auto/rss_full/FL/Pensacola.xml?units=english
http://rss.wunderground.com/auto/rss_full/FL/Okaloosa_Island.xml?units=english
Here are the five that do not post.
http://www.nhc.noaa.gov/xml/MIMATS.xml
http://www.nhc.noaa.gov/xml/TWDAT.xml
http://rss.wunderground.com/auto/rss_full/tropical/index.xml?basin=at
http://www.nhc.noaa.gov/xml/OFFNT4.xml
http://www.nhc.noaa.gov/index-at.xml
All settings are the same 360 check time and import 25
Feed Enable Checked
Html Enable Checked
Locked Topic Checked
I am stumped as to why the first 3 work and the other 5 don't.
Here is a link to the forum page.
http://www.panhandlepierfishing.com/forum/rss-feeds-(weather-warnings-etc-)/
Thanks for any insight on this.
SMF 2.02
Quote from: elyparker on May 09, 2012, 05:35:51 AM
exist a workaround?
For me has worked this:
Sources/Subs-RSS2.php
// Process the XML
$xml_parser = xml_parser_create("ISO-8859-1");
Replace with
// Process the XML
$xml_parser = xml_parser_create("UTF-8");
Ok, I think I'm really close on having this working well for me. (SMF 2.0.2 forum)
1) If I access from a web browser: http://forumname.com/forum/cronrss.php -- I get back "Feed Poster Configuration" -- and the feeds update.
2) If I use the "fake" cron job inside of SMF -- the feeds update.
WHAT ISN'T working right for me is setting up a REAL cron job. I've tried both (and variants) of the following:
wget -q http://forumname.com/forum/cronrss.php
php -q /home/username/forumname.com/forum/cronrss.php
What I get then is something very weird -- I get back the html for the main login page to my forum... (and of course, the RSS feeds don't update)...
Advice welcome... I really want/need to get this working via a real cron job.
q) Are there any other ways of "kicking off" the rss pull process?
q) Why would I be getting the "login" HTML when I wget or php the "cronrss.php" file from within the server itself?
For q?
Is your board disabled for guests
Quote from: vbgamer45 on May 12, 2012, 10:49:10 AM
For q?
Is your board disabled for guests
Yes, guests are disabled 100%.
Inside the cronrss.php file
Add this after <?php
$ssi_guest_access = true;
Quote from: vbgamer45 on May 12, 2012, 10:53:47 AM
Inside the cronrss.php file
Add this after <?php
$ssi_guest_access = true;
Volia! That works! -- Huge thanks! --- Now, Both the wget and php versions of a cron (a real cron) work fine with that addition...
I assume (ugh..) that I'm not otherwise compromising security of my site or adding guest access with it -- just that the script/PHP needed to be allowed to use the "guest" access.....
@Others:
For those wanting an RSS feed to "test" with -- that is of reasonable high volume -- here's two that I found -- I worked on getting my RSS stuff to work -- and these feeds provided me with plenty of "regular" updates.
The USGS has a "Earthquakes" in the last hour -- probably about 3-5 items come down each hour or so...
Earthquakes ATOM link -- http://earthquake.usgs.gov/earthquakes/catalogs/1hour-M0.xml
And Wikipedia has a RSS feed of EVERY change made (warning, danger will robinson, danger, danger) -- but it's pretty much guaranteed to have an update every time it's hit.... easily 100 items or more -- so turn it on/off as you need to, or limit the downloads :)
Wikipedia Edits -- http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=atom
Yes you are ok it i just allowing it for that script.
Almost there !
Some feeds have items that are "broke/missing" -- here's an example.. The SEC feed for "Apple" --
RSS Feed link: http://www.sec.gov/cgi-bin/browse-edgar?action=getcompany&CIK=0000320193&type=&dateb=&owner=include&start=0&count=40&output=atom
Looking at the raw feed data -- there is a "link" for each item
But in "RSS Feed Poster 3.0.4" -- as it is posted into the forum, the link doesn't work -- it's there... but it points to just "http:" and stops there...
Example entry: <entry>
<title>4 - Statement of changes in beneficial ownership of securities</title>
<link rel="alternate" type="text/html" href="http://www.sec.gov/Archives/edgar/data/320193/000118143112028878/0001181431-12-028878-index.htm"/>
<summary type="html">
<b>Filed:</b> 2012-05-09 <b>AccNo:</b> 0001181431-12-028878 <b>Size:</b> 23 KB
</summary>
<updated>2012-05-09T19:00:57-04:00</updated>
<category scheme="http://www.sec.gov/" label="form type" term="4"/>
<id>urn:tag:sec.gov,2008:accession-number=0001181431-12-028878</id>
</entry>
But the link for: "http://www.sec.gov/Archives/edgar/data/320193/000118143112028878/0001181431-12-028878-index.htm" -- is just "http:" -- in the post from the mod..
I using this mod in my forum: http://forum.mikonews.tk/ . Unfortunately I think, than RSS Feed Poster unsupport UTF-8 - I get "?" instead polish characters. Example: http://forum.mikonews.tk/aktualnosci/odbieraj-bezpatnie-ca-ofert-naziemnej-telewizji-cyfrowej!/ ; http://forum.mikonews.tk/aktualnosci/skatowa-swoj-konkubin/
Can you repair it?
Check a couple posts back some people did some changes for utf8
I don't know SMF very much. How can I check it?
It works til 19 February 2011 11:30( http://forum.mikonews.tk/aktualnosci/60/ )
I meant check a couple posts back inside this topic some people here posted a possible fix.
Thank you very much.
I don't know English very well, but I believe it will be works.
One more thing. Why it add only 1 post despite it's more?
PS Why isn't the parser version choose isn't in configuration?
The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?
Quote from: graaywolf on June 09, 2012, 12:04:09 PM
The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?
{Make sure,
first, that you are saying in the feed config, that you want more than 1 post to be pulled each time... The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
You're not alone on that one. I originally figured it was my complexity in scraping feeds, etc. But it turns out I was wrong -- certain feeds, just as a straight RSS feed into the SMF Mod -- also dropped an item.... the symptom was that the missing item would get posted when the feed got it's "next" item -- but of course, that item was missing until the next one showed up, etc, etc....
I can't give you an exact solution... and it certainly depends on your personal desire to get into the alternative "hack" (and it is a HUGE hack)...
But I've taken to Yahoo Pipes to do pre-processing of my RSS feeds before giving it to the SMF Mod.
For those feeds that are dropping a post, the Yahoo Pipes tool lets me do a "reverse" of the feed - therefore what was the TOP of the feed is now the BOTTOM - and the drop no longer is an issue to me -- no, it's not a fix :)
Granted, there's a learning curve for yahoo pipes. And the other issue is that the RSS SMF Mod doesn't like the & character in a URL link (Yahoo pipes RSS links always have a &) --so you also have to create a Tinyurl.com link to your Yahoo pipe...
so it ends up being... RSS -> Yahoo Pipe -> TinyURL --- and the TinyURL is what goes in your feed configuration.
Now, of course, I'm hacking a fix to the symptom, instead of finding the original problem and fixing that -- but that's what my skill set is, and Pipes has my intrigue because of all the other stuff I can do with it. I'm now "scraping" web pages of interest, and converting them to RSS feeds, that the SMF mod can pull in... So otherwise, I wouldn't "just" be using Yahoo pipes to 'fix' this issue -- but in the case of my feeds, it was easy enough to toss in a pipe operative saying "reverse" -- and volia, the problem of the missing post went away for me.
I have enabled this MOD and enabled a feed but it does not seem to be importing all the data in the feed.
Refer to the attached images.
The first image shows the feed that I have enabled. It is setup to update every 5 minutes and to import 10 items each update.
The second image shows that board that the feed is posting to. From this image, you can see that it is importing 2 items every 6 hours.
Can anyone suggest what could be causing this?
Quote from: mageguild on June 10, 2012, 04:13:52 AM
I have enabled this MOD and enabled a feed but it does not seem to be importing all the data in the feed.
Refer to the attached images.
The first image shows the feed that I have enabled. It is setup to update every 5 minutes and to import 10 items each update.
The second image shows that board that the feed is posting to. From this image, you can see that it is importing 2 items every 6 hours.
Can anyone suggest what could be causing this?
1) How are you running the RSS feeder -- eg, have you set up "true" Cron jobs, or are you using the "fake" cron job configuration?
a) If using true cron jobs, see if they really are running on whatever frequency you specified. Eg, if you cron every hour, but you set the feed to every 15 minutes, it's really every hour...
b) If using 'fake' cron jobs, remember, it only runs when somebody visits your site - so even if you said 15 minutes, if nobody visited for 5 hours, the next run would really be 5 hours later...
{The idea for both is that the time you specify between runs is really more of -- "if xx time has expired since the last time cronrss.php has been called, then go and update this RSS}
2) When you enter the RSS (the http://) im a regular web browser -- do you see the updates there? Until the actual HTTP// changes, there's nothing new to 'fetch'
3) Is it possible that your feed only had two updates each time? Eg, are you just seeing the 'reality' of what is actually changing?
For testing, you might want to set up a dummy board/forum and pull something really high-volume into it. Earlier in this thread, I suggested using the USGS Earthquake RSS and/or the Wikipedia topic updates RSS to accomplish it. That would give you an indication that you've got cron running right, and the # of posts that can be pulled is working, etc... you can always "disable" the test feeds at any time.... Read earlier in this thread for the URLs to those feeds...
There are more updates available in the RSS feed. The RSS feed itself is out of date and has only imported a few of the objects in the RSS feed.
I am using the Fake Cron method. How would I implement a 'true' cron to import my RSS feeds?
Not sure if this helps, but when I try to access the CronRSS URL (http://www.tennis-chat.com/cronrss.php), I get this error:
Fatal error: Cannot redeclare ssi_shutdown() (previously declared in /home/tbassett/webapps/tennischat/SSI.php:197) in /home/tbassett/webapps/tennischat/SSI.php on line 199
I have not made any changes to the SSI.php file and I have restored a new version of the SSI.php file. This has not helped.
Quote from: chuck23322 on June 10, 2012, 06:20:59 AM
Quote from: mageguild on June 10, 2012, 04:13:52 AM
I have enabled this MOD and enabled a feed but it does not seem to be importing all the data in the feed.
Refer to the attached images.
The first image shows the feed that I have enabled. It is setup to update every 5 minutes and to import 10 items each update.
The second image shows that board that the feed is posting to. From this image, you can see that it is importing 2 items every 6 hours.
Can anyone suggest what could be causing this?
1) How are you running the RSS feeder -- eg, have you set up "true" Cron jobs, or are you using the "fake" cron job configuration?
a) If using true cron jobs, see if they really are running on whatever frequency you specified. Eg, if you cron every hour, but you set the feed to every 15 minutes, it's really every hour...
b) If using 'fake' cron jobs, remember, it only runs when somebody visits your site - so even if you said 15 minutes, if nobody visited for 5 hours, the next run would really be 5 hours later...
{The idea for both is that the time you specify between runs is really more of -- "if xx time has expired since the last time cronrss.php has been called, then go and update this RSS}
2) When you enter the RSS (the http://) im a regular web browser -- do you see the updates there? Until the actual HTTP// changes, there's nothing new to 'fetch'
3) Is it possible that your feed only had two updates each time? Eg, are you just seeing the 'reality' of what is actually changing?
For testing, you might want to set up a dummy board/forum and pull something really high-volume into it. Earlier in this thread, I suggested using the USGS Earthquake RSS and/or the Wikipedia topic updates RSS to accomplish it. That would give you an indication that you've got cron running right, and the # of posts that can be pulled is working, etc... you can always "disable" the test feeds at any time.... Read earlier in this thread for the URLs to those feeds...
Quote from: chuck23322 on June 09, 2012, 01:23:10 PM
Quote from: graaywolf on June 09, 2012, 12:04:09 PM
The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?
{Make sure, first, that you are saying in the feed config, that you want more than 1 post to be pulled each time... The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
Did that it's posting 3 at a time... but once it catches up to the second to the last posts it stops, and doesn't post till another post is made then it posts the second to the last on only.
Quote from: graaywolf on June 10, 2012, 04:55:12 PM
Quote from: chuck23322 on June 09, 2012, 01:23:10 PM
Quote from: graaywolf on June 09, 2012, 12:04:09 PM
The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?
{Make sure, first, that you are saying in the feed config, that you want more than 1 post to be pulled each time... The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
Did that it's posting 3 at a time... but once it catches up to the second to the last posts it stops, and doesn't post till another post is made then it posts the second to the last on only.
Yup. Seen that as well on some of my feeds. I don't have an answer or solution. My fix, isn't a fix -- it is a really bad hack. I use Yahoo pipes and their "reverse" operator to reverse the order of the feed. Then the item being missed isn't the most recent one.
Could someone please tell me the code I need to input to get this load automatically twice a day at 12:00 AM/PM using a cron job?
I'm using puTTY to configure my server.
Explanation of cron:
Quote# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
I don't know what the file is for this mod but let's say it's call cron_rss.php
You'd then setup the cronjob command like this:
15 11,23 * * * /path/to/php_executable -f /path/to/your/cron_rss.php
This would run at 11:15 and 23:15 every day, month, and day of week.
Quote from: IchBin™ on July 02, 2012, 02:32:18 PM
Explanation of cron:
Quote# Example of job definition:
# .---------------- minute (0 - 59)
# | .------------- hour (0 - 23)
# | | .---------- day of month (1 - 31)
# | | | .------- month (1 - 12) OR jan,feb,mar,apr ...
# | | | | .---- day of week (0 - 6) (Sunday=0 or 7) OR sun,mon,tue,wed,thu,fri,sat
# | | | | |
# * * * * * command to be executed
I don't know what the file is for this mod but let's say it's call cron_rss.php
You'd then setup the cronjob command like this:
15 11,23 * * * /path/to/your/cron_rss.php
This would run at 11:15 and 23:15 every day, month, and day of week.
I know on my server, I had to do a->>>> wget -q /path/to/cron_rss.php
There's no on correct answer on the command itself -- this thread has several permutations -- depends on the hosting provider, etc.
bah... that reminded me I left out part of the command. php needs to run it, so php -f /path/to/cron_rss.php needs to be hit that way instead. wget doesn't make sense to me though chuck. lol I guess it depends on the host.
Quote from: IchBin™ on July 02, 2012, 02:39:09 PM
bah... that reminded me I left out part of the command. php needs to run it, so php -f /path/to/cron_rss.php needs to be hit that way instead. wget doesn't make sense to me though chuck. lol I guess it depends on the host.
Yea, I know. wget is how I had to get it working -- wget acts like a "browser" to the page, and somehow PHP kicks in. That's why I was alluding to there's "more than one way to skin the cat" -- the wget example, I got earlier in this thread. And it worked for me.
I install this mod, but after 12 o clock, it doenst do anything....
i set update every 60 minutes, but there are no new posts.
also, i create a new user, and group for this mod, but the postcount of this user doesnt work. it is alway 0 after post 44 messages
What can i do?
Excuse me for my english, i am from holland.
Quote from: lifeguard81 on July 03, 2012, 01:18:06 PM
I install this mod, but after 12 o clock, it doenst do anything....
i set update every 60 minutes, but there are no new posts.
also, i create a new user, and group for this mod, but the postcount of this user doesnt work. it is alway 0 after post 44 messages
What can i do?
Excuse me for my english, i am from holland.
My "user" never shows anything but 0. I think that is normal.
You haven't told us if you are using "cron", "fake cron", or manually running the http://forumname/forum/cron_rss.php
Earlier here I give some examples of RSS feeds (like the USGS or even WIKIPEDIA changes) -- they are helpful in getting things up and running since they are feeds with frequent changes... Once you get your testing done, then you can move on to lower-volume feeds.
If fake cron, it will only run when users come into your forum _AND_ the time has passed for the next run.
If using cron, (
preferred), have you set up the cron to "email" you so you can see any errors, etc? Are you sure your cron times are set correct?
If you are using a "scheduled task" -- then look at the task log.
Sadly, the HOW to set up cron is different all over the place -- so you will need to read much in this thread and try many different solutions if necessary.
Ok, chuck. Thanks for your answer.
But i cannot understand, why its working for a hole day, and after couple of hours it stops working :D
For some reason, apostrophes are coming up as question marks, how do I change this?
Quote from: Liam_michael on July 09, 2012, 04:50:58 PM
For some reason, apostrophes are coming up as question marks, how do I change this?
Possibly the character set being used by the add-on vs. the database character set. Look through the threads about changing that.
I'm betting you may be seeing the "back-quote" and "forward-quote" vs. a regular (simple vertical) quote mark -- the special ones convert poorly when there are differences in character sets involved.
Eg there are quotes that look like: \ others that look like / -- and then there's the regular quote something like |
I have another problem - a modification does not receive the newest entry only to the entry before it. For example - I have posts: 5, 4, 3, 2, 1, but on the forum there are only 4, 3, 2, 1. What to do?
Quote from: OldShaterhan on July 11, 2012, 10:16:15 AM
I have another problem - a modification does not receive the newest entry only to the entry before it. For example - I have posts: 5, 4, 3, 2, 1, but on the forum there are only 4, 3, 2, 1. What to do?
I don't know why the mod does that on some feeds and not others. My hack was to feed the "feed" into Yahoo pipes and use their "reverse" operator to change the order of the feed -- and that fixed it. At least the one dropped was the "oldest" item, not the newest.
{And, FYI, #5 will appear when #6 comes in, etc...}
http://www.simplemachines.org/community/index.php?topic=141776.msg3350405#msg3350405
I tried installing this. Feed was recognized but when I hit the cronjob url in my browser, nothing happens. I can't seem to get it to post anything.
Quote from: chovy on August 06, 2012, 02:48:33 AM
I tried installing this. Feed was recognized but when I hit the cronjob url in my browser, nothing happens. I can't seem to get it to post anything.
Four questions:
1) When you "hit the cronjob url in your browser" -- do you see "Feed Poster Configuration" ? {Log out of your forum, and do the test again}
2) Have you tried manually running it in scheduled tasks?
3) Do you allow "guests" to use your forum? Or must every member be registered and have a password?
4) Have you tried more than one feed? -- Say, try the USGS feed {into a dummy sub-board} -- http://earthquake.usgs.gov/earthquakes/catalogs/eqs1hour-M0.xml
Quote from: chuck23322 on August 06, 2012, 07:03:01 AM
Four questions:
1) When you "hit the cronjob url in your browser" -- do you see "Feed Poster Configuration" ? {Log out of your forum, and do the test again}
2) Have you tried manually running it in scheduled tasks?
3) Do you allow "guests" to use your forum? Or must every member be registered and have a password?
4) Have you tried more than one feed? -- Say, try the USGS feed {into a dummy sub-board} -- http://earthquake.usgs.gov/earthquakes/catalogs/eqs1hour-M0.xml
1) Yes, I see "Feed Poster Configuration" when I hit the cron url.
2) I did not try this, I only tried fake cron. That didn't work either.
3) No, I do not allow guests. However I did enter a username to post as in the feed configuration
4) No I have only tried one feed.
Quote from: chuck23322 on August 06, 2012, 07:03:01 AM
3) No, I do not allow guests. However I did enter a username to post as in the feed configuration
If you don't support guests (which I didn't, and it drove me crazy) -- see this info on the modification you must do.
http://www.simplemachines.org/community/index.php?topic=141776.msg3333090#msg3333090
How to get it to remove or otherwise convert the embedded HTML inside the RSS feed to either bb code (where applicable) or remove all together ?
The "enable html" doesn't appear to do much except catch the title. enabling/disabling "simple html" inside the forum also makes little difference.
Feed URL : http://news.google.com/news?hl=en&tok=cEAjN617gdb8iQC1aT4ffg&ds=n&pq=%22murphy+texas%22&cp=8&gs_id=ie&xhr=t&q=%22murphy,+texas%22&safe=off&gl=us&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&biw=1482&bih=949&um=1&ie=UTF-8&output=rss
Posting looks like : <table border="0" cellpadding="2" cellspacing="7" style="vertical-align:top;"><tr><td width="80" align="center" valign="top"><font style="font-size:85%;font-family:arial,sans-serif"></font></td><td valign="top" class="j"><font style="font-size:85%;font-family:arial,sans-serif"><br /><div style="padding-top:0.8em;"><img alt="" height="1" width="1" /></div><div class="lh"><a href="http://news.google.com/news/url?sa=t&fd=R&usg=AFQjCNEhNUYxwH_VsfjxDPdwMICQFBoXOw&url=http://www.cantonrep.com/life/weddings/x1062477557/Peirce-Fromholtz-wedding"><b>Peirce-Fromholtz wedding</b></a><br /><font size="-1"><b><font color="#6f6f6f">Canton Repository</font></b></font><br /><font size="-1">They reside in <b>Murphy, Texas</b>. Rachel Peirce of Katy, Texas and Kyle Fromholtz of North Canton, Ohio were married April 21, 2012 at The Milestone in Denton, Texas by the Rev. Randy Prouse. Parents of the bride are James and Nancy Peirce of Katy, Texas.</font><br /><font size="-1" class="p"></font><br /><font class="p" size="-1"><a class="p" href="http://news.google.com/news/more?gl=us&pz=1&ned=us&ncl=dZx6dHmB56URzvM"><nobr><b></b></nobr></a></font></div></font></td></tr></table>
MrWiz -- I don't think the RSS Feed Poster is that "intelligent" to make conversions from HTML -> BB code, etc. It's there to simply take the feed and post it. If it has HTML embedded in the "description" field, it posts it too.
You would likely need to see if the "feed" can be adjusted so that it outputs plain text instead {if that vendor offers it}....
Or you may be able to use "Yahoo Pipes" to do some conversions on the feed using RegEx -- I use Yahoo Pipes to do some work on my feeds -- but the scope of assisting with Yahoo Pipes is beyond what I can offer here.
Something like (on Yahoo Pipes) - Fetch Feed -> loop w/ regex against desc field to remove html -> Create Rss -> output pipe
http://networking.ringofsaturn.com/Web/removetags.php
http://www.pagecolumn.com/tool/all_about_html_tags.htm
Or you can search the Yahoo Pipes to see if somebody else has already created a pipe to remove HTML that you can modify/customize...
Perhaps somebody has a better answer. I tend to use Yahoo Pipes to be a brute-force tool since I'm needing to create RSS feeds from web pages, etc that don't provide RSS...
~Note: The Yahoo Pipes generates a RSS link that has special characters in it, and the feed poster doesn't like the link. For each of my Yahoo Pipes RSS feeds I use, I've created a "tinyurl.com" version of the Yahoo Pipes RSS link and that works fine.
After looking at the code, I am thinking a simple patch for this should work .. In the file Subs_RSS.php
Adding html_entity_decode() and strip_tags() to fix up the variable $rssdata at the end should clean it up ..
// Remove stupid headers.
do
{
$header .= fgets ($fp, 128 );
} while ( strpos($header, "\r\n\r\n" ) === false );
while (!feof($fp))
{
$rssdata .= fgets($fp, 128);
}
fclose($fp);
// Get rid of the stupid header information! Wish the function did it for me.
@$finalrss = $rssdata;
}
}
Just installed this, but cant figure how to get it to work.
Could someone post how to setup a cron job?
Also, when I go to the cronrss url ( http://political.antonovconsulting.com/cronrss.php ), I get an internal error
Thank you
Quote from: avguste on August 10, 2012, 08:00:20 PM
Just installed this, but cant figure how to get it to work.
Could someone post how to setup a cron job?
Also, when I go to the cronrss url ( http://political.antonovconsulting.com/cronrss.php ), I get an internal error
Thank you
Until you get the manual "cronrss.php" running -- the setting up a cron job won't work.
There's dozens of posts in this thread about the varying options available for a cron job.
But your first step needs to be getting the "cronrss.php" to return the "Feed Poster Configuration" answer (and see your first feed item posted)
Much later -- then you worry about whether to use cron, fake cron, or scheduled tasks.
how do I get the manual cronrss.php running ?
Quote from: avguste on August 10, 2012, 10:11:11 PM
how do I get the manual cronrss.php running ?
I don't know. But that's square #1 to start with. Suggest you re-try the instructions.
The error message 404 -- says you have things installed in the wrong place.
Go back and re-read their directions.
The Mod, I didn't write. I can't help you or others until you at least have it working with the original instructions.
The mod was installed using the package installer and everything seems to be well installed. Will see what happens when my host activates the fsockopen,fopen, or curl php function
Hmm. I just saw that the feed did pull articles as of this morning. The cronrss.php is still not working, but seems the feed is working
This may have been asked before but I can't find it ......Trying to configure the RSS Fee Poster 3.0.4
First question:Exactly What does Topic Prefix mean? can you give me an example?
And does it affect this error message?
XML error: Not well-formed (invalid token) at line 1
Quote from: antler on August 13, 2012, 02:45:16 PM
This may have been asked before but I can't find it ......Trying to configure the RSS Fee Poster 3.0.4
First question:Exactly What does Topic Prefix mean? can you give me an example?
And does it affect this error message?
XML error: Not well-formed (invalid token) at line 1
Are you getting that error when trying to save the feed ? -- If so, and it has special characters in it -- create a "tinyurl.com" equivalent version -- my Yahoo Pipe URLs aren't liked... so I give the RSS Feed the "tinyurl" version and it's happy again.
Topic Prefix is -- say a title comes across as:
"Pitcher McGruff tossed out by umpires"
And maybe you have another feed too... and it's got an article of
"Banana prices to soar soon"
They obviously may be coming from different sources. So you could do a "Topic Prefix" for each...
"{Sports News} - Pitcher McGruff tossed out by umpires"
"{Banana News} - Banana prices to soar soon"
You would use "{Sports News} -" as your topic prefix for the first feed, and {Banana News} - " as the topic prefix for the other.
...Chuck
Thanks, do you utilize the brackets or are you using them foer emphasis?
Quote from: antler on August 13, 2012, 03:16:41 PM
Thanks, do you utilize the brackets or are you using them foer emphasis?
Yea, I use them for emphasis -- not required.
And you have to be specific with spaces...
If you do a topic prefix of "RSSFeed" for example...
Then you get titles like: "RSSFeedBanana prices to soar soon"
So you have to put in the trailing space, etc yourself -- and of course, it's not obvious whether it's "RSSFeed" or "RSSFeed "
Heres a patch that (so far) removes the spurious HTML from postings. I hope its useful for someone else..
*** Subs-RSS copy.php Sat Aug 11 11:32:09 2012
--- Subs-RSS.php Sat Aug 11 21:05:12 2012
***************
*** 321,327 ****
if (!empty($feed['footer']))
$msg_body .= $func['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
!
$msg_title = mysql_escape_string($msg_title);
$msg_body = mysql_escape_string($msg_body);
--- 321,328 ----
if (!empty($feed['footer']))
$msg_body .= $func['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
! $msg_body = html_entity_decode($msg_body);
! $msg_body = strip_tags($msg_body);
$msg_title = mysql_escape_string($msg_title);
$msg_body = mysql_escape_string($msg_body);
***************
Has anyone encountered any issues running this mod and have httpBL installed also?
I can call the cron file no problem in my browser. When I set up the cron though I get this error.
Quote<br />
<b>Warning</b>: Missing argument 1 for httpBL_look_for_empty_ip(), called in /home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php on line 680 and defined in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>517</b><br />
<br />
<b>Notice</b>: Undefined variable: ip in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>519</b><br />
Which is regarding the httpBL mod, but what exactly is conflicting with it?
-Thanks
Quote from: Texan78 on August 15, 2012, 01:46:16 AM
Has anyone encountered any issues running this mod and have httpBL installed also?
I can call the cron file no problem in my browser. When I set up the cron though I get this error.
Quote<br />
<b>Warning</b>: Missing argument 1 for httpBL_look_for_empty_ip(), called in /home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php on line 680 and defined in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>517</b><br />
<br />
<b>Notice</b>: Undefined variable: ip in <b>/home4/mesquiu0/public_html/wxconnection/Sources/httpBL_Subs.php</b> on line <b>519</b><br />
Which is regarding the httpBL mod, but what exactly is conflicting with it?
-Thanks
That is an issue with the httpBL mod, with cronjobs running on forum
Quote from: riou on August 15, 2012, 12:02:39 PM
That is an issue with the httpBL mod, with cronjobs running on forum
Yes, I have established that already, but what exactly with that mod is causing the conflict with this mod?
Quote from: MrWizard on August 14, 2012, 01:09:57 PM
Heres a patch that (so far) removes the spurious HTML from postings. I hope its useful for someone else..
*** Subs-RSS copy.php Sat Aug 11 11:32:09 2012
--- Subs-RSS.php Sat Aug 11 21:05:12 2012
***************
*** 321,327 ****
if (!empty($feed['footer']))
$msg_body .= $func['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
!
$msg_title = mysql_escape_string($msg_title);
$msg_body = mysql_escape_string($msg_body);
--- 321,328 ----
if (!empty($feed['footer']))
$msg_body .= $func['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
! $msg_body = html_entity_decode($msg_body);
! $msg_body = strip_tags($msg_body);
$msg_title = mysql_escape_string($msg_title);
$msg_body = mysql_escape_string($msg_body);
***************
Can you provide a little more information about this as in Find, replace with, after add directions should they apply and what file this goes into. it says Subs-RSS.php from your post but I don't have that file, only Subs-RSS2.php. I am using the most currently release of this mod. Installed it yesterday and I am having the same HTML issues in some feeds as you're describing. So wanted to try this patch.
Also more info on the cron. When I ran it in the browser before it worked fine. Now when I run it I get the error below and nothing has changed except for setting up the cron to run. Sometimes it works right, sometimes it doesn't.
An Error Has Occurred!
The database value you're trying to insert does not exist: current_board
UPDATE: Here is some more info on the error above. Going into my log files I have this critical error.
http://www.wxconnection.com/cronrss.php
The database value you're trying to insert does not exist: current_board
Function: tiwtt_get_boards2
File: /home4/mesquiu0/public_html/wxconnection/Sources/Twitter/TwitterHooks.php
Line: 627
Why the cron is even conflicting with my twitter mod has me stumped.
This is line 615-627 which the last line 627 is the line they are referring to
function tiwtt_get_boards2($board=0){
global $smcFunc, $context, $board;
$req1 = $smcFunc['db_query']('', '
SELECT COUNT(*) AS total
FROM {db_prefix}boards
WHERE tweet_pubenable = {int:one} AND id_board = {string:current_board}',
array(
'one' => 1,
'current_board' => $board,
)
);
Any suggestions has to why this is occurring and conflicting with two separate mods? It was working first at first and nothing has changed.
-Thanks
hi
thanks for this mod
but this mod has problem in persian lang
when send a topic
Instead be written (سلام)
write (? ? ? ?)
how do i fix ?
Any information for my post above?
The RSS feed updates but not without errors from the cron, so I am not sure if the cron is updating it or if the mod is updating it.
I would really like to get this resolved before I launch the forum Sept 1st.
-Thanks
Hello
New SMF version and dis Mod.
Quotexxxxxxxxxx.de/cronrss.php
QuoteDatenbankfehler
Table 'db133126_58.sks_feedbot' doesn't exist
Datei: /kunden/XXXXXXXXXXX/kjno/drohnen/Sources/Subs-RSS2.php
Zeile: 176
Zurück
wot the problem hier?
Make sure you install the database tables if you installed manually you have to create them. Also works with MySQL only.
webseit down
Quote... Fatal error: Cannot redeclare scheduled_update_feedbots() (previously declared in /kunden/xxxxxxxxxxx/kjno/xxxxxxxxx/Sources/ScheduledTasks.php:1646) in /kunden/xxxxxxxxxxx/kjno/xxxxxxx/Sources/ScheduledTasks.php on line 1668
dis work -- > ScheduledTasks.php delate // ScheduledTasks.php~ rename to ScheduledTasks.php
really nice mod - I implemented it in my forum and it seems to run well
I've added two feeds which sends the results in two boards (ebay items (http://epica-forum.de/index.php?board=49.0) and blognews (http://epica-forum.de/index.php?board=50.0)).
Will see if the scheduled task will work in a few hours...
Inti31
Hello
how can you adjust the view to look like the feed?
who is with me is always empty and the source is http://
all post is so:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg641.imageshack.us%2Fimg641%2F3715%2Funbenanntagr.png&hash=daf3750a8052dc6c8f45077e0242355df0d3ef2a)
I searched through this topic but couldn't find anything quickly, is there any way to stop this mod from going back and pulling old news? It would be great if there was a "don't go further back than this date" option.
Quote from: mtxpert on September 14, 2012, 09:04:48 AM
I searched through this topic but couldn't find anything quickly, is there any way to stop this mod from going back and pulling old news? It would be great if there was a "don't go further back than this date" option.
No
Is there a paid version that supports this option? I like what it does, it's awesome just don't like that it's going back and pulling up olympics news from July :)
Not at the moment.
Hi Installed this mod Manually, when i acces http://forum.verenigdestaten.info/cronrss.php I only get this message ; "Feed Poster Configuration"
I Have SMF 2.0.2
What's the problem here?
No problem that is what you get what you visit that page. That page should only be called by a cron job
Hmm, ok. Where can I Find the settings? I have à Dutch forum.
In the admin area under Feed Poster Configuration
Tx , found it!
But,....
When I try to use it I get this message: XML error: Not well-formed (invalid token) at line 1
While my feed is http://verenigdestaten.info/feed (wordpress site) ...
Could you help me out?
PS. Feed validator says its a valid RSS feed.
Edit: When I try another feed , for example : http://content.usatoday.com/marketing/rss/rsstrans.aspx?feedId=news25
I get this error message: XML error: Mismatched tag at line 22
Edit 2 : Seems like alll feeds need to have the extension .rss? like: http://www.nu.nl/feeds/rss/tag/obama.rss That one works... But not all the feeds are like that (Esspecially the ones I want to use ;-( )
In a couple spots in this thread people posted a link to a site that will clean up a broken rss feed. use that feed on your rss feed to clean it up to use in the feed poster.
Quote from: vbgamer45 on September 22, 2012, 11:18:44 AM
In a couple spots in this thread people posted a link to a site that will clean up a broken rss feed. use that feed on your rss feed to clean it up to use in the feed poster.
Try to find that spots, but searching almost every page and still no result ;-(
btw. I Get this feed form my site which is accepted bij the mod: http://www.verenigdestaten.info/?feed=rss but there are no posts coming tru in my forum....
I just downloaded this. How do I upload this to my site? Thanks in advance.
Okay, I figured out to upload it through the FTP file manager. Now, how do I implement it?
Okay, ignore my uneducated ramblings. I realized how to download directly to my site.
Okay, I'm getting the same error message that others have noticed.
QuoteXML error: Not well-formed (invalid token) at line 1
This occurred when I tried to set up the feed. I don't know how to use html. Is there any way to fix this, that is relatively simply for an idiot to manage?
(I'm the idiot, in case you missed that.)
I have the same problem as wolfo, the only thing i get from feeds is a link to the article, not the article as I expected. Is that a RSS feed problem or is that the mod settings?
I had a question regading the links and images in the post.
The RSS Feed Poster is getting the images and urls in the post with my url forum info first, in this way:
http://www.desadaptados.net/%http://esmiperu.tumblr.com/post/33688961143%22
http://www.desadaptados.net/%22http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg%22
or
http://www.desadaptados.net/"http://esmiperu.tumblr.com/post/33688961143"
http://www.desadaptados.net/"http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg"
any idea where I can edit this?
Okay, I fixed this issue. No more error message. Now, to see if the feed actually works. Fingers crossed.
Hi everyone,
First of apologies at forehand, I don't know anything about php nor how to modify files for SMF, I went through all 132 pages here, but I don't understand half the posts here, its way above my knowledge. I downloaded and installed this great mod successfully on my site and inserted a RSS Feed link. By Accident I left the "Post HTML" function selected and the mod did try to download the first feed.
In the forum where it was set to post the feed I only saw [ html ] [ /html] So I thought I made a mistake and deleted the post as admin from the forum. I then went back into the mod setting and deselected the HTML posting. Since then the mod never worked again. It doesn't post at all even with "fake cronjobs" selected and "feed download method" selected to all. I have uninstalled the mod and reinstalled it several times but it still does not work.
Today I decided to try the mod on my localhost via xampp control. It installed fine and this time I did not select HTML posting, I inserted the rss feed link and after saving the new feed, it downloaded/posted the rss feeds in the correct forum. However it only posts the title of the thread and a link to the news feed. There's nothing else in there but a link.
In some posts, there's no thread title and then just a link to the rss news.
Did I damage some file on my site by deleting the first rss feed post (the [ html ] [ /html] one)? Or is there a file that doesn't get deleted when you uninstall? The reason I ask is because when I uninstall and then reinstall the previous feeds show up again.
Can somebody please help me? I would love to have rss feeds automatically posted, but for some reason I can't get it to work.
Thank you!
Martin
(My SMF is version 2.02. My site is www.internationalflyerz.co.za and my host is gridhost south africa.)
you will have to set up the regex to parse the feed if you want more than just the link to the original.
Thanks for the reply Kindred, but I have no idea what a "regex" is nor does the mod actually post on my online site, only on my localhost one.
The mod doesn't post anymore on my localhost either. I'm sure it's just me and not the mod. Looking at the screenshot, can anyone guide me in layman terms how to fix this or steer me in the right direction, please?
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi729.photobucket.com%2Falbums%2Fww296%2Fmuntu_pilut%2FScreenShot2012-10-31at120605AM.png&hash=1de7962e2b409988b5cd4bc359c1d7276c4f1829)
I suggest setting up a cron job if possible.
I have no idea what a cronjob is, as I stated before, I don't know anything about php. I have contacted my host and they tell me that fsockopen is available and access is via port 80, whatever that means.
Meanwhile on my localhost, the mod doesn't post rss feeds at all.
I found this somewhere on the net:
Quotelexhair:
Here's how you configure RSS Feed Poster on LP (This works for me on Segonax):
1. Install the mod package in SMF
2. Go to your Cron tab on your cPanel and create the following cron job:
Code:
curl -s -o /dev/null http://www.yourdomain.com/yoursmfdirectory/cronrss.php
That's it.
I've checked my cpanel, there's function for cronjob there. I will reinstall the mod later on again and then create that cronjob with the code that's in that quote.
If it all works, should I create a posting account with admin privileges so that the rss feed post can be done in html? Also if I select HTML will the original post then completely show instead of just a link to that news feed?
Thanks!
well, this mod http://custom.simplemachines.org/mods/index.php?mod=1590 uses the SMF maintenance scheduled tasks to handle imports...
In SMF 2.0 we do have a scheduled task that is setup for cron processing if it is enabled.
The mod is uninstalled, yet under Scheduled Tasks it shows "update feed_bots", is that a cronjob for the mod?
Ok I reinstalled the mod, assigned the following rss feed: http://feeds.24.com/Tagged/News/Topics/aviation/rss
I created a cronjob in my admin panel with this code: curl -s -o /dev/null http://internationalflyerz.co.za//cronrss.php/cronrss.php
I have a very long error log now in the cpanel, this is just one entry out many
Quote[Wed Oct 31 19:22:16 2012] [error] [client 199.21.99.105] File does not exist: /home/interna4/public_html/404.shtml
I'm really lost....Can anyone tell me what it is that I'm doing wrong, please?
Ok I don't know what I did, but the mod is now working!
Quote from: vbgamer45 on October 31, 2012, 12:47:00 PM
In SMF 2.0 we do have a scheduled task that is setup for cron processing if it is enabled.
Hi VBGamer
been using your great RSS mod for ages without any issues, i've now moved to a faster server and cant seem to get the feeds?
I get a white page error
QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
i've tried Uninstalling and re installing, nothing
Any ideas what it might be??
What page do you get that error on?
Sounds like a file permissions issue.
when i go to test it by running the cronrss.php
Ok yeah check file permissions on cronrss.php try either 755 or 644
Cheers will do, I've had to revert back to the old server whilst i sort another issue out with the new server, so will try when i reinstall ;)
Thanks for the quick reply I'll let you know how i get on, I have almost 100 Feeds using this mods and it works brilliant, This is by far one of the best mods for SMF :)
Well impressed, Cheers
Gerry
Quote from: vbgamer45 on November 02, 2012, 11:02:32 PM
Ok yeah check file permissions on cronrss.php try either 755 or 644
Hiya VBgamer
Just managed to get the forums online again on the new server have checked the Permissions on the cronrss.php it was on 0755 so i changed it to 0644 still no joy
Any ideas, I'll open up an FTP account and PM you the details if you could take a look for me, Normally by now i'd have at least 100 new posts on my feeds :-[
I just can't think what it could be :-[
Thanks
Gerry
I love this mod, however, there is one really big issue and that is that the mod fetches random or old feedposts.
This actually prevents me from using the mod though I can't have "old news" posted on my forum, it has to be fresh so to speak.
Is there a way to fix this issue? I only want the latest feedpost to be pulled from the feed.
I like this MOD so much. I found one issue. I used the API feed from Google. The RSSFeed mod posted all the videos but the videos don't appear. I have the AEVA Media MOD installed. I was expecting youtube videos would be posted.
The link to source of the video appears clickable but actually when you click it, it won't go to the Youtube original video source. Here's a sample link (http://tubagbohol.mikeligalig.com/index.php?topic=57471.0)
Any idea about this?
Quote from: distante on October 18, 2012, 07:23:50 PM
I had a question regading the links and images in the post.
The RSS Feed Poster is getting the images and urls in the post with my url forum info first, in this way:
http://www.desadaptados.net/%http://esmiperu.tumblr.com/post/33688961143%22
http://www.desadaptados.net/%22http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg%22
or
http://www.desadaptados.net/"http://esmiperu.tumblr.com/post/33688961143"
http://www.desadaptados.net/"http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg"
any idea where I can edit this?
my RSS feed poster seems to post randomly even though i state it to be done every 60 minutes
any advice?
Quote from: Robertjones6 on November 16, 2012, 11:40:38 AM
my RSS feed poster seems to post randomly even though i state it to be done every 60 minutes
any advice?
That is what the mod does.
Why is this problem not getting any attention?
I mean, who wants to post "news" that is 3 weeks old?
It posts whatever is in the rss feed
:(
Quote from: distante on November 12, 2012, 04:07:44 PM
Any idea about this?
Quote from: distante on October 18, 2012, 07:23:50 PM
I had a question regading the links and images in the post.
The RSS Feed Poster is getting the images and urls in the post with my url forum info first, in this way:
http://www.desadaptados.net/%http://esmiperu.tumblr.com/post/33688961143%22
http://www.desadaptados.net/%22http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg%22
or
http://www.desadaptados.net/"http://esmiperu.tumblr.com/post/33688961143"
http://www.desadaptados.net/"http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg"
any idea where I can edit this?
how can I post a full rss? rss link: http://na.leagueoflegends.com/board/external.php?forumids=9&type=RSS2
the rss only have a brief description
This mod will only pull what is found in the RSS feed.
Quote from: vbgamer45 on November 27, 2012, 01:48:19 AM
This mod will only pull what is found in the RSS feed.
but feedburner puts full article http://feeds.feedburner.com/leagueoflegends/ixWT
Quote from: Liam_michael on January 30, 2012, 03:57:39 PM
Will pay 10 dollars if someone can code this so that the mod actually obeys the specific boards permission where it states: Makes new replies and topics raise members' post counts.
This way, the user chosen to automatically post the feeds does not increase in their person post count!
AND, the posts that the member makes goes towards to total forum posts and topics in the forum history.
Send paypal email upon completion.
In the file "Source/Subs-RSS2.php"
find: global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings;
replace with: global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings,$user_info;
add these lines:
$user_info['posts']++;
updateMemberData($posterOptions['id'], array('posts' => '+'));
affter line: createPost($msgOptions, $topicOptions, $posterOptions);
in function UpdateRSSFeedBots()
Quote from: crobbe on November 11, 2012, 05:19:45 AM
I love this mod, however, there is one really big issue and that is that the mod fetches random or old feedposts.
This actually prevents me from using the mod though I can't have "old news" posted on my forum, it has to be fresh so to speak.
Is there a way to fix this issue? I only want the latest feedpost to be pulled from the feed.
Quote from: crobbe on November 25, 2012, 04:35:54 PM
Quote from: Robertjones6 on November 16, 2012, 11:40:38 AM
my RSS feed poster seems to post randomly even though i state it to be done every 60 minutes
any advice?
That is what the mod does.
Why is this problem not getting any attention?
I mean, who wants to post "news" that is 3 weeks old?
I'm also having this issue.
It's also not importing images.
Ok I make a Yahoo Pipe Rss feed, http://pipes.yahoo.com/pipes/pipe.info?_id=5ff44cfb7eba5462d543e10c8625229a
but the publication of the post does not show the content, only the title:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F1vywg.jpg&hash=00d8aaccaeeece0a5a391f6f3d067772be097a56)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F1vyxa.jpg&hash=2c24f13dc9a1c1137b6d7617acdd52bd5ea5b36e)
I need help :(
Is the rss feed url you are using http://pipes.yahoo.com/pipes/pipe.info?_id=5ff44cfb7eba5462d543e10c8625229a if so it doesn't look like it would work.
that is what i was looking for, i am a big fan of SMF, but due to lack of this MOD i was using VB. Thanks for Updating this MOD
Thanks glad you enjoy it!
I have a problem with the character ´, this is not shown well and replaced by the "?" how can i solved that?
Example:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F1w7Jp.jpg&hash=9e59cf275d430c21c35e51ebfedd85996ca80725)
vbgamer, how can I increase the number of posts to, say, 200 posts per update. Even if I input 200 feed items to be fetched, I am being limited to 25. There are RSS that offer 500 items. Is it possible to post 500 feed items per one update?
I added a limit in the code you would have to change it there or at the database level.
How to change it, vbgamer? Which part of the mod? Im using smf version 2.0.2
I get this error on my site when i try to delete a feed
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F16.jpg&hash=dc1425e302a1f67c50bf3fc6418b51d6ae0c0fea)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F13.jpg&hash=89b6bd1f4dba8e2612e1b48ca674f32875ef844f)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F14.jpg&hash=b55391ed50bdeeb3258c73135a6fdc9bdfdeeb52)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.rlgf.info%2F17.jpg&hash=6bd8e002f3b435f402ebd5e93b968f23f0096687)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.sbqg.info%2F19.jpg&hash=89f25dba014d830dd4240c0b33d6c05e813258df)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.ryzu.info%2F10.jpg&hash=36857f45c354d6cc6dcdf3920219b923d9df9ccd)
What error?
Why don't post the latest update from RSS?
vbgamer, i wish you could help me increase the number of feeds beyond 60. how shall i modify your mod?
Search the source files for 60 and change that number
Hi vbgamer, I already did that in subs-rss2.php. I changed it to 400 but still I am limited to 60.
Is there anything to change in the database? or somewhere else?
ok first off
its not posting any RSS feeds for me
2) when i go to http://www.yourforums.com/cronrss.php it says = Feed Poster Configuration
and when i use fake CRONs nothing happens no posts nothing
what is going on then when i take off CRON fakes it says
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/82/10158482/html/Sources/Subs-RSS2.php on line 435
Warning: fsockopen() [function.fsockopen]: unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/82/10158482/html/Sources/Subs-RSS2.php on line 435
Warning: fsockopen() [function.fsockopen]: php_network_getaddresses: getaddrinfo failed: Name or service not known in /home/content/82/10158482/html/Sources/Subs-RSS2.php on line 435
Warning: fsockopen() [function.fsockopen]: unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known) in /home/content/82/10158482/html/Sources/Subs-RSS2.php on line 435
Feed Poster Configuration
can someone please help me
1. is tied to your second issue.
2. Use a different method other than fsockopen to fetch the feeds and see what happens.
Quote from: vbgamer45 on December 10, 2012, 03:24:03 PM
1. is tied to your second issue.
2. Use a different method other than fsockopen to fetch the feeds and see what happens.
ok im using fsockopen with fake CRON job
all my feeds are enabled
i even went to SCHEDULED TASKS > Update RSS Feed Poster bots
and ran it from there nothing no RSS feeds or posts ??
am i still doing something wrong ??
don't use fsockopen option use the other options since it looks like it is denied from your error logs.
Quote from: vbgamer45 on December 10, 2012, 04:01:31 PM
don't use fsockopen option use the other options since it looks like it is denied from your error logs.
should i try "fopen" check = Use fake Cron jobs. Checks if feeds need to be updated on each page load.
so i checked the cron jobs also
there has to be something wrong i havent even got 1 RSS feed
here is a pic
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi49.tinypic.com%2F259hezt.jpg&hash=637d4b6a3c0e637bbce4ec50262f8ef85a04975b)
I think I see the problem!
Include http:// in your feed url
Quote from: vbgamer45 on December 10, 2012, 04:15:54 PM
I think I see the problem!
Include http:// in your feed url
i included the http://
now im getting this
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi48.tinypic.com%2F1dqp5.jpg&hash=895029ff56f458f5cbc851a3496cf5f6475f1ea1)
You have a malformed feed you would need to use a feed cleaner service to fix there are some free ones mentioned in this topic.
sorry but i checked through the thread where would i be able to get a feed cleaner service
i appreciate your support
Right here (https://www.google.com/search?q=feed+cleaner&rlz=1C1CHKZ_enUS441US441&aq=f&oq=feed+cleaner&aqs=chrome.0.57j0l3j62l2.3947&sugexp=chrome,mod=14&sourceid=chrome&ie=UTF-8#hl=en&safe=off&tbo=d&rlz=1C1CHKZ_enUS441US441&sclient=psy-ab&q=rss+feed+cleaner&oq=rss+feed+cleaner&gs_l=serp.3..0.7207.7886.0.8273.4.4.0.0.0.0.121.420.2j2.4.0.les%3B..0.0...1c.1.Y0d5lbsHoQA&pbx=1&bav=on.2,or.r_gc.r_pw.r_cp.r_qf.&fp=36762f2740cc01a2&bpcl=39843892&biw=1280&bih=909)
Hey i got the RSS to work thank you
but i have another problem now
how do i get RSS links , some website have it but when i click the RSS feed it wont take me to the link so i can copy it and paste it in my
RSS poster
is there any way to get RSS links from websites easier ??
and
one more thing why wont the whole RSS feed post ???? it only posts half of the RSS feed ???
help
Most rss feeds only provide a stub, work an excerpt of the content. They want you to visit the site to read the full item.
can someone answer me, how can I post the latest update RSS?
you will have to be much more specific with your questions if you want help....
the feed poster DOES post the latest content from the RSS feed.
Still no idea for the image problems? http://www.simplemachines.org/community/index.php?topic=141776.msg3423468#msg3423468
i have used this mod and i set up 2 feeds and thats it it wont let me setup any more feeds keeps coming up with an error on different lines
Depending on the error might be caused by the feed itself.
Okay, I just had the automatic update to 2.0.3 done over the Christmas holiday, Since then, my RSS Feed poster stop working. When I go into the package manager to re-install it, I get this, "You cannot download or install new packages because the Packages directory or one of the files in it are not writable!"
I have all of my permissions set to write. I went into my FTP manager and checked those permissions for the RSS and it shows that it's set to read and write. I don't have it inheriting any permissions, though. Ideas?
This mod is great, but is there a way to make it fetch contents of the "permalink" instead of only displaying the rss exerpt in the post?
It's an RSS feed poster. So it posts only what is in the RSS feed. If you want anything else you'll have to get something coded to work for you.
I have tried to install this and even changed to emulate version 2.0.2 this is the errors it comes up with.
After unzipping the files, I ftp the hole folder to the packages folder and then use SMF package installer.
Any suggestions????? Yes I did the upgrade on SMF 2.0.3 still shows 2.0.2 database
Ivan
http://ivanbennett.com/forum/index.php?action=admin;area=packages;sa=install2;package=rssfeedposter;pid=0Database Error: SQL logic error or missing database
near "NOT": syntax errorFile: /home/content/i/v/a/ivanb/html/forum/Packages/temp/FeedPostersql2.php
Line: 33
QL logic error or missing database
near "NOT": syntax error
File: /home/content/i/v/a/ivanb/html/forum/Packages/temp/FeedPostersql2.php
Line: 33
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.3, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php.
why are you unzipping and using ftp?
keep the package zipped and use the package uploader in the package manager
Quote from: Kindred on January 01, 2013, 07:29:40 AM
why are you unzipping and using ftp?
keep the package zipped and use the package uploader in the package manager
Ok I will try that.
Still the same..
1. Execute Modification ./Themes/default/languages/Modifications.english.php Test successful
2. Execute Modification ./Themes/default/languages/Modifications.english-utf8.php Skipping file
3. Execute Modification ./Themes/default/languages/ManageScheduledTasks.english.php Test successful
4. Execute Modification ./index.php Test successful
5. Execute Modification ./Sources/Admin.php Test successful
6. Execute Modification ./Sources/ScheduledTasks.php Test successful
7. Extract File ./Sources/FeedPoster2.php
8. Extract File ./Sources/Subs-RSS2.php
9. Extract File ./cronrss.php
10. Extract File ./Themes/default/FeedPoster2.template.php
11. Extract File ./Themes/default/languages/FeedPoster.english.php
12. Extract File ./Themes/default/languages/FeedPoster.english-utf8.php
13. Execute Code FeedPostersql2.php
SQL logic error or missing database
near "NOT": syntax error
File: /home/content/i/v/a/ivanb/html/forum/Packages/temp/FeedPostersql2.php
Line: 33
Note: It appears that your database may require an upgrade. Your forum's files are currently at version SMF 2.0.3, while your database is at version 2.0.2. The above error might possibly go away if you execute the latest version of upgrade.php.
Are you using MYSQL?
Any ideas guys? that was one of the mods I really needed on my forum.
so I can get EVDL news.
Thanks Ivan
http://ivanbennett.com/forum
At this time the mod only supports MySQL and not sql lite.
Quote from: vbgamer45 on January 02, 2013, 10:54:35 AM
At this time the mod only supports MySQL and not sql lite.
Is it possible to change SQL lite to MySQL doesn't that have to do with
my provider godaddy.com ??????? I don't know enough about this...
Ivan
Maybe ask in the general support area for SMF.
Hi,
at the moment we have some problems with the mod.
80% of the posts are normal, but 20% are empty.
You can see which feed he tried to get, but no title, no text, no link..nothing...and i don't know what i can do to fix it...
Pictures:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww7.pic-upload.de%2F21.01.13%2Fz1t4foqu2sj.jpg&hash=65b25536efaad1bef389451e2d555f7c42112263)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww7.pic-upload.de%2F21.01.13%2F68uucwf8xzec.jpg&hash=e305d4d46f7f48981bf6a3626d0dcf68f23d7dd1)
It's not limited to one feed, i think every feed had a few empty posts now...some more others less...
I'm using a Cron Job to update the feeds ( curl ) ...
Quote from: graaywolf on June 10, 2012, 04:55:12 PM
Quote from: chuck23322 on June 09, 2012, 01:23:10 PM
Quote from: graaywolf on June 09, 2012, 12:04:09 PM
The mod is working fine except it don't post the latest feed it only posts the second to the last post from the sites... How would i configure it to post the latest post from the other sites?
{Make sure, first, that you are saying in the feed config, that you want more than 1 post to be pulled each time... The system will not double-post -- it keeps a MD5 hash in the MySQL table of every post to make sure it doesn't double post -- so even if you say post 10 each time, if 9 of them have been posted before, it will post only the new 1, because there is no MD5 match to previous posts -- all my feeds say pull 15 posts -- I think that's the max}
Did that it's posting 3 at a time... but once it catches up to the second to the last posts it stops, and doesn't post till another post is made then it posts the second to the last on only.
I was able to solve this issue by remarking the following code line in Subs-RSS2.php:
$context['feeditems'] = array_reverse($context['feeditems']);
So now it looks like this:
// $context['feeditems'] = array_reverse($context['feeditems']);
Didn't notice any secondary effects from this modification so far.
--------------
However I have a different issue related with
à or
À character.
Whenever this character exists in the feed text
and the feed is html enabled, my post body gets broken and I just see something like this:
[ html ] some text ....
The same character in the post title doesn't break anything.
I've changed this code line too:
// $xml_parser = xml_parser_create("ISO-8859-1");
$xml_parser = xml_parser_create("UTF-8");
... which does not solve the
à or
À character issue but helps to better translate other characters.
Thanks for this great mod, works well apart from it won't show the images from the feed. Is it supposed to ?
At the moment I'm trying it out on my test site, and the feed I'm using contains images, and they show fine if I view it in a different reader, but when this mod makes a post I get a red X where the image should be. Here's an example http://cctestsite.info/forums/index.php?topic=113.0
It's adding my site address to the beginning of the image url and also adding a ' at the beginning and end of the image address, for some reason.like,
http://cctestsite.info/forums/'http://thumbs2.ebaystatic.com/m/mONz--7jvc7M_acULwhErSw/140.jpg'
instead of http://thumbs2.ebaystatic.com/m/mONz--7jvc7M_acULwhErSw/140.jpg
Any ideas on a workaround please?
I'll take that as a no then. :) It's a shame though, as this would be ideal if I could get the images working. :(
This is a nice mod however I am having a problem with one forum that has the latest version 2.0.4 installed with the latest version of this mod installed.
Basically, it's posting old news items instead of the latest news item.
I tried uninstalling and reinstalling, and even deleted the Feedbot MySQL tables and reinstalled. However it keeps just posting older news items. I also tried with two different feeds.
Does anyone have any idea what could cause this? Or know how to fully reset everything so that it will post the latest feeds and not old feeds?
Is there any settings option to import the whole article?
Quote from: Imago on April 02, 2013, 06:00:22 AM
Is there any settings option to import the whole article?
No it only imports what is in the feed
vbgamer45, any ideas on this issue please?
Quote from: lurkalot on February 20, 2013, 01:12:43 PM
Thanks for this great mod, works well apart from it won't show the images from the feed. Is it supposed to ?
At the moment I'm trying it out on my test site, and the feed I'm using contains images, and they show fine if I view it in a different reader, but when this mod makes a post I get a red X where the image should be. Here's an example http://cctestsite.info/forums/index.php?topic=113.0
It's adding my site address to the beginning of the image url and also adding a ' at the beginning and end of the image address, for some reason.like,
http://cctestsite.info/forums/'http://thumbs2.ebaystatic.com/m/mONz--7jvc7M_acULwhErSw/140.jpg'
instead of http://thumbs2.ebaystatic.com/m/mONz--7jvc7M_acULwhErSw/140.jpg
Any ideas on a workaround please?
Trying to create a facebook rss feed -> forum connection .. I'm getting the following message
XML error: XML_ERR_NAME_REQUIRED at line 9
I presume its the & in the URL doing it, but I can't figure out the right incantation of escape characters to get it to go through .. Any suggestions?
Feed URL is : http://www.facebook.com/feeds/page.php?format=rss20&id=445402052198255
do not bump the posts. You posted, then deleted your previous post and reposted the same thing.
Will be working on an update soon for Mr. Wizard for json.
Quote from: vbgamer45 on April 02, 2013, 09:10:34 AM
Quote from: Imago on April 02, 2013, 06:00:22 AM
Is there any settings option to import the whole article?
No it only imports what is in the feed
There is far more in the feed, actually, the whole post is in the feed, while we get only some snippet from it, like here
http://www.tenisnamasa.com/forum/news/xu-xin-struggled-against-yan-an-in-the-asian-cup-(videos)/msg8519/#new
See the difference with the old rss-feeder
http://www.tenisnamasa.com/forum/news/xu-xin-maze-was-not-physically-at-his-best-(video)/
I would need to see the feed url.
We only import the description/content field.
Works nice, but it doesnt post the last feed. For examle, if there are 10 feeds the feeder only posts 9.
QuoteBasically, it's posting old news items instead of the latest news item.
I have the same problem with feeds, its going backwards in time instead of feeding on the newest items....I'm now on Friday, 07 December 2012
Yes it posts the old feed items first.
aha ok thanks :D, at one item a day it should catch up in a years time ;D
ok great mod thanks, so much
You can change how many it updates at a time in the feed settings default is to import one at a time.
Quote from: vbgamer45 on April 18, 2013, 09:01:59 AM
I would need to see the feed url.
We only import the description/content field.
http://feeds.feedburner.com/tabletennista
Link is http://feeds.feedburner.com/tabletennista?format=xml
I do not currently parse content:encoded field just content in the feed poster.
Hi... quick question...
I have a feed URL like this http://www.site.com/tag/some-tag/feed
But I get a 'XML error: syntax error at line 1' when I try to add it.
I guess I need to add something to make it work??
I tried ?format=xml but it didn't work.
Any ideas?
The actual URL would be useful...
Sure: http://catholicyouthministry.com/feed/
Is that the feed you're trying to insert into this mod?
Yes :)
I'm not sure Atom feeds entirely work in the feed posters (there are three different kinds of 'RSS' feeds, RSS 0.9, RSS 2.0 and Atom)
Okay, thanks for clarifying :)
I'm having an encoding issue with this. I tried to fix it by making certain everything was encoded to UTF-8. However, it didn't fix the problem. Certain characters like quotes are being changed to question marks. They are question marks in the database so my assumption is it's being caused when this mod encodes the RSS data. Anything I can do to fix this?
Apologies, I've searched but couldn't find an answer. Is there any way to have the feeds posted as a thread reply instead of a new thread?
Quote from: JTVaughn on May 10, 2013, 01:36:21 PM
Apologies, I've searched but couldn't find an answer. Is there any way to have the feeds posted as a thread reply instead of a new thread?
Not at this time.
Okay, thanks! It would be a great feature.
I can build it for a custom development fee if needed.
How much would that cost? You can PM me if you'd rather keep it private.
I might be interested, but I need to actually make sure the current version works before I pay for enhancements.
what if the particular post come with image? will it still appear in the Topic?
Quote from: JTVaughn on May 10, 2013, 01:36:21 PM
Apologies, I've searched but couldn't find an answer. Is there any way to have the feeds posted as a thread reply instead of a new thread?
Heya. Thanks for the reply. I was looking around and I thought I saw something that mentioned it was a problem with the PHP encoder. Not sure if that's true or not but I do remember seeing it. I managed to get around the issue by using an online rss combiner that let me massage the data before I sent it. So, it's not that urgent for me now.
Cheers,
Michael
i tried it and got it working but it's not given "at least" half the story :(
example of the feed
(https://lh6.googleusercontent.com/ARUcvMSZTsNZ-UMPMlGEBjzztfhzkeo3Q3F8W72Ksio=w492-h222-no)
Update: i think some people are having similar issues .....(just read some parts of the comments) but is there any possible way to make it to display full text?
please i need another solution
while trying to add feed. i saw this issue
(https://lh6.googleusercontent.com/-1ZiX0lRwzRk/UZtQJJYwZXI/AAAAAAAACPM/BIXn3gQIUcg/w762-h190-no/Capture.PNG)
that appears to be a host problem with the database, not with the code...
Quote from: Kindred on May 21, 2013, 07:31:56 AM
that appears to be a host problem with the database, not with the code...
i have contacted them but it seems they didn't understand the problem .
please help me describe the REAL Problem so they can help me fix it :(
Could a memory limit for sql query normally the max sql query size might have to be increased
Gone away is not usually a memory limit, actually. If it's memory limited, you usually get a different error. Though if you're hitting the max size limit, you have an underconfigured server or stupidly long queries. (of the 1MB sort of length)
More likely it's just a long query that didn't respect quickly enough back to the PHP code.
Quote from: vbgamer45 on May 24, 2013, 09:49:11 AM
Could a memory limit for sql query normally the max sql query size might have to be increased
Quote from: Arantor on May 24, 2013, 10:04:10 AM
Gone away is not usually a memory limit, actually. If it's memory limited, you usually get a different error. Though if you're hitting the max size limit, you have an underconfigured server or stupidly long queries. (of the 1MB sort of length)
More likely it's just a long query that didn't respect quickly enough back to the PHP code.
how am i going to explain this to my hosting company "in a language they must understand" ?? or any way i can solve this issue on my own??
Back to the Topici saw this site ..http://fulltextrssfeed.com/ which helps to show all the contents inside a post( though i have added and still waiting to get a feed with the new rss url)
Now that i have succeeded in getting FULL CONTENTS instead of Half :P
My Question is :
1. is there anyway i can Twist the Header so i wouldn't be DUPLICATE CONTENTS on Search engine :(
2. Is there anyway i can create "no-follow" to some of the contents backlinks i fetch/fetched from feedposter???
Not easily would require you to modify the the mod a lot to to do that.
Quote from: vbgamer45 on May 26, 2013, 11:48:47 AM
Not easily would require you to modify the the mod a lot to to do that.
thanks for your feed (sorry if i am disturbing) but i have 2 BIG Suggestions....
1. can i pm you 2 of the sites that convert half Feed into FULL Contents?? maybe from there (if possible) you can trace some of codes to enable complete post
2. if it involves alot of resources or works to do such Mod, maybe you can attache a PRO Version of this mod..maybe "something" $20 .
the site that has been converting mine is under construction :( :( :( :(
Please consider if you can tell us the code and where to change/replace, i will do my best...
thanks a lot
Sorry at this time I do not have time to make changes.
please
i am getting so many "?" instead of " ' "
what will i do to stop it???
secondly, is there anyway to make the mod creates paragraph or breaks ? after some certain number of "full stop" ( . ) ??
Is there a way for the postcounts to increase with each rss post?
Post counts should auto increase unless the the forum does not count posts.
Quote from: vbgamer45 on June 20, 2013, 10:25:07 PM
Post counts should auto increase unless the the forum does not count posts.
The boards are set to count posts but the postcounts are not increasing.
bit of a strange error, but the feed poster is posting one item behind
so, instead of publishing the latest item in the RSS feed to the forum, it posts the last but one, which makes it hard to get things posted "up to the minute"
the feed is http://www.nsno.co.uk/feed/ which shows as a valid feed whenever I've checked it
Quote from: johnpaul2k2 on June 12, 2013, 02:23:47 PM
please
i am getting so many "?" instead of " ' "
what will i do to stop it???
secondly, is there anyway to make the mod creates paragraph or breaks ? after some certain number of "full stop" ( . ) ??
i have another issue friend,
my feeds are always come in every 6 hours ( 6am, 12pm, 6pm and 12 am) even though i set some of them 60 minutes, 30 minutes etc
any help or should i leave it like that?
Quote from: johnpaul2k2 on June 26, 2013, 02:37:40 AM
i have another issue friend,
my feeds are always come in every 6 hours ( 6am, 12pm, 6pm and 12 am) even though i set some of them 60 minutes, 30 minutes etc
any help or should i leave it like that?
you can change the frequency of the scheduled tasks in 2.0.4 which will fetch them more often, the default is six hourly
thanks :)
Great mod, I must say, but can someone give me a little direction? Couple questions...
The Feed Poster is working, but it's grabbing everything on the xml feed, EXCEPT the very top item...the very last feed (which is the one I need). Also, didn't happen before, but NOW it seems to be grabbing two at a time, even though I'm telling it to grab only one at a time.
Other question...what is the difference between the "Scheduled Task" Feedbot and the actual feed itself from the "Feed Poster Configuration." I've turned off the scheduled task, and the feed post still goes out and grabs the feed at the interval I specify. So, what's the purpose of the scheduled task?
i am experiencing duplicate contents in some of my boards :(
anyway to prevent this?
SOME ONE PLEASE HELP ME OUT....
I have install this mod and everything is working out properly leaving one issuse with tabel format
Whenever my RSS feed is consit of Table then it leave a space before it.Just check out the image attached to this.
My RSS: http://forum.techshristi.com/rss2.xml
MY Post: http://forum.techshristi.com/mba/a-project-report-on-traders-satisfaction-1190/
In aboce post you will find a space before the tabel.
this happen only when i have a table in the rss feed.Other wise everything is fine.
when i want add rss feed
XML : Not well-formed (invalid token)
what is the Problem !!
I have just installed the mod but i only see ??????????.
My SMF is in greek language.
mod Does not work
when i want add rss feed
" XML : Not well-formed (invalid token) "
what is the Problem
well, it would seem that the error tells you exactly what is wrong.
The XML you are trying to add is not well formed
Im having the same problem, the feed is posting articles but the post count isnt increasing
Also is it possible to post the whole article rather than just the first sentence
The poster only grabs what is in the feed description or content field of the feed itself
Quotebut the post count isnt increasing
The answer to this is?
Check settings to make sure your counting posts and that board allows post count
And they do, anyone who posts it increases just with this mod it doesn't
Might be a bug but I do not have time to look into right now.
Does anyone else who has more knowledge than me know why the post count doesnt increase when the mod posts articles? :-[
When I installed the mod and add url and poster. Then I click on Add Poster I receive an error:
XML error: not well-formed (invalid token) at line 1
Feed is invalid needs to be cleaned up before it can be used.
How can I force the MOD to update the feeds for all recent items upto the count selected?
I installed the MOD and the first feed I added put 1 post on the board, but I have gotten no posts from any of hte additional feeds.
You can try running the cron job now. Make sure the feeds are enabled.
mod Does not work
when i want add rss feed
" XML : Not well-formed (invalid token) "
what is the Problem
Problem is with the feed.
New update!
4.0
+New option to post a feed to an existing topic
+Added option to auto embed images from feeds using img tags
Yeay - got to try this tomorrow :)
Just updated to version 4, but my feeds have stopped working. Tried to add a new feed to test it with, and it's giving me a error,
"Parse error: syntax error, unexpected $end in /home2/xxxxxx/xxxx_xxx/cxtxxxx.info/forums/Sources/Subs-RSS2.php on line 882"
Quote from: lurkalot on October 08, 2013, 01:36:57 PM
Just updated to version 4, but my feeds have stopped working. Tried to add a new feed to test it with, and it's giving me a error,
"Parse error: syntax error, unexpected $end in /home2/xxxxxx/xxxx_xxx/cxtxxxx.info/forums/Sources/Subs-RSS2.php on line 882"
Just posted a new version with a fix.
Thank you, that fixed the error. Still can't get the images to show from my ebay feeds though.
Hello,
with the latest version my error with the Subs-RSS2.php is also gone.
Now i've this database message if i try to edit a feed
QuoteUnknown column 'topicid' in 'field list'
Datei: /users/xxx/www/Sources/FeedPoster2.php
Zeile: 360
I started with smf 2.05 (utf-8 settings) and the latest 3.xx version of this mod and it's updated now to 4.01
I think it doesn't matter, but i changed also 1 line in Subs-RSS2.php to solve the "problem" with empty feed entries (from this post (http://www.simplemachines.org/community/index.php?topic=141776.msg3482918#msg3482918))
// $xml_parser = xml_parser_create("ISO-8859-1");
$xml_parser = xml_parser_create("UTF-8");
Quote from: SilverBlue on October 09, 2013, 02:43:40 AM
Hello,
with the latest version my error with the Subs-RSS2.php is also gone.
Now i've this database message if i try to edit a feed
QuoteUnknown column 'topicid' in 'field list'
Datei: /users/xxx/www/Sources/FeedPoster2.php
Zeile: 360
I started with smf 2.05 (utf-8 settings) and the latest 3.xx version of this mod and it's updated now to 4.01
I think it doesn't matter, but i changed also 1 line in Subs-RSS2.php to solve the "problem" with empty feed entries (from this post (http://www.simplemachines.org/community/index.php?topic=141776.msg3482918#msg3482918))
// $xml_parser = xml_parser_create("ISO-8859-1");
$xml_parser = xml_parser_create("UTF-8");
Released update
4.0.2
!Fixed bug with editing feed in SMF 2.0.x
!Added support for json feeds to import into same topic id
I want to use a weather feed... that only has 1 item http://infoclima.com/pronosticos/rss.asp?l=10 , that gets updated everyday, etc...
http://www.xmlcheck.com/ says it is a valid xml file...
The feed is enabled... the fake cron shows Feed Cron Finished
But Feed Poster never import it... do I need to change something in the Feed Poster code maybe?
Here the feed content:
<?xml version="1.0" encoding="iso-8859-1" ?>
<rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Pronostico Córdoba, Argentina - Infoclima</title>
<link>http://www.infoclima.com</link>
<description>Infoclima RSS Feed</description>
<language>es-ar</language>
<copyright>Copyright ©2013, Infoclima</copyright>
<pubDate>Thu, 17 Oct 2013 09:41:47 GMT</pubDate>
<ttl>60</ttl>
<image>
<title>Infoclima</title>
<url>http://servicios.nuestroclima.com/m/ic110x60.gif</url>
<link>http://www.infoclima.com</link>
<description>El tiempo segun Infoclima</description>
</image>
<category>weather</category>
<item>
<guid isPermaLink="false">http://www.infoclima.com/pronosticos/argentina/cordoba/?l=10</guid>
<pubDate>Thu, 17 Oct 2013 09:41:47 GMT</pubDate>
<title>Pronóstico para Córdoba, Argentina. 17-OCT-2013</title>
<link>http://www.infoclima.com/pronosticos/argentina/cordoba/?l=10</link>
<description>Jueves: Nublado Parcial Máx. 31ºC / Mín. 19ºC.--- Viernes: Despejado Máx. 32ºC / Mín. 18ºC.--- Sábado: Nublado Máx. 32ºC / Mín. 18ºC.--- </description>
<content:encoded><p><b>Jueves 17: </b><img src="http://servicios.nuestroclima.com/m/ic/e1/2.gif" width="24" height="24" alt="Nublado Parcial" border="0"></img> Nublado Parcial <b>Máx.</b> 31ºC / <b>Mín.</b> 19ºC </p>
<p><b>Viernes 18: </b><img src="http://servicios.nuestroclima.com/m/ic/e1/1.gif" width="24" height="24" alt="Despejado" border="0"></img> Despejado <b>Máx.</b> 32ºC / <b>Mín.</b> 18ºC </p>
<p><b>Sábado 19: </b><img src="http://servicios.nuestroclima.com/m/ic/e1/3.gif" width="24" height="24" alt="Nublado" border="0"></img> Nublado <b>Máx.</b> 32ºC / <b>Mín.</b> 18ºC </p>
<p><a href="http://www.infoclima.com/pronosticos/argentina/cordoba/?l=10">Ver pronóstico extendido a 7 días</a></p></content:encoded>
</item>
</channel>
</rss>
Any advice?
The issue about Feed Poster starting from the 2nd item is still there? maybe it is that?
In this feed it will never import anything... lol
Hi,
Is there a help reference for the basic settings on this mod? I am unclear on what the topic ID setting is used for. Kindly advise.
Topic ID is used to post instead of a new topic to an existing topic instead.
I see, and "0" indicates a new topic?
Yes it does
Perfect. My settings are as in the image below. The Mod is currently pulling the oldest blog entry rather than the newest. Is this a setting that I am missing? I really appreciate your help.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.speakcommerce.com%2FCapture.JPG&hash=a011a76445cf15b0143e60da51c756e503897e6a)
That is how it works pulls in oldest first then goes to the newest to get all the entries in the feed.
I see, so eventually it will update all entries in a given feed. Do you suggest cron over fake?
Cron is the best way to go.
Thanks again,
When cron is selected and time is set within cron, what is the function of the minutes selected in admin? Is that setting then ignored? If not how do they interact?
I really appreciate your assistance!
Apologies if this has been asked already, but say I have a cron set to run every 3 hours. Under each feed, there is an additional setting "Update every x minutes" -- should that be left empty so it runs when the cron does?
I guess I'm not clear on how those two values would work together.
Thanks!!
The cron should run about every minute or every couple minutes. That way the update every x minutes is checked each time the cron job is run.
Thanks again,
What settings would you suggest (on the cron and admin side) to download once a day?
Cron should run very often every couple minutes I would suggest.
Thanks again,
One last Q. Is there a way to modify how many lines or characters are included in the resulting posts?
There is no way at this time to control how many characters/lines are included.
Quote from: ardvark on October 22, 2013, 11:04:44 AM
One last Q. Is there a way to modify how many lines or characters are included in the resulting posts?
You may try yahoo pipes to achieve that
http://pipes.yahoo.com/pipes/
Quote from: chuck23322 on May 12, 2012, 12:16:20 PM
Quote from: vbgamer45 on May 12, 2012, 10:53:47 AM
Inside the cronrss.php file
Add this after <?php
$ssi_guest_access = true;
Volia! That works! -- Huge thanks! --- Now, Both the wget and php versions of a cron (a real cron) work fine with that addition...
I assume (ugh..) that I'm not otherwise compromising security of my site or adding guest access with it -- just that the script/PHP needed to be allowed to use the "guest" access.....
@Others:
For those wanting an RSS feed to "test" with -- that is of reasonable high volume -- here's two that I found -- I worked on getting my RSS stuff to work -- and these feeds provided me with plenty of "regular" updates.
The USGS has a "Earthquakes" in the last hour -- probably about 3-5 items come down each hour or so...
Earthquakes ATOM link -- http://earthquake.usgs.gov/earthquakes/catalogs/1hour-M0.xml
And Wikipedia has a RSS feed of EVERY change made (warning, danger will robinson, danger, danger) -- but it's pretty much guaranteed to have an update every time it's hit.... easily 100 items or more -- so turn it on/off as you need to, or limit the downloads :)
Wikipedia Edits -- http://en.wikipedia.org/w/index.php?title=Special:RecentChanges&feed=atom
I can not get this mod to work at all. I have set up a feed with Earthquakes atom link and one with the Wiki edits for testing but no joy. I have set the update to every 5 minutes, number of items to update to 5. Set all options to any available combination. Am I missing something? In installed with no errors.
Quote from: Chaoticone on November 06, 2013, 05:56:24 PM
I can not get this mod to work at all. I have set up a feed with Earthquakes atom link and one with the Wiki edits for testing but no joy. I have set the update to every 5 minutes, number of items to update to 5. Set all options to any available combination. Am I missing something? In installed with no errors.
Just as a test, try. Admin > Maintenance > Scheduled Tasks. Look for "Update RSS Feed Poster bots" Tick the run now box, and then click the run now button. See if it posts.
Lurkalot, your great! That did give me new topics in the selected board. Sorry for my ignorance but what does this mean?
Thanks a million lurkalot! I changed the scheduled task from 6 hours to 1 minute and now its filling up fast. ;D I will try to set some actual feeds instead of test urls.
Is there some trick to getting the feed poster to actually grab images? I have the Autoembed images from RSS Feeds option checked, and there are clearly images in the feed I am using, yet no code is ever placed for images in the topic.
What is the feed? And how do they appear when posted
Can you add a link to that feed?
I am using just one, and it shows images
Feed link: https://robertsspaceindustries.com/comm-link/rss
no... I believe that this feed poster does NOT grab images.
ok... I think that this mod uses the description field, and not the content one...
I have images on description fields, and it works great
Try using yahoo feed pipes to change your content to description... or touching the mod code...
OOPS, SORRY!
My mistake... I was finally using RSS Feeder, as this one never posted the latest item (no news at all, just old news)
Ok turns out the previous feed just didn't reference images correctly. Other feeds seem to work fine.
I did notice, however, that there are definitely a few bugs. Some monstrosity when trying to grab an image:
<div class="template" data-href="[img]http://[img]http://i.imgur.com/kzmwxWQ.jpg[/img][/img]"><img src="[img]http://[img]http://i.imgur.com/kzmwxWQ.jpg[/img][/img]"/></div>
Also, it doesn't seem there is proper character escaping for single quotes. Anyone know where I can begin hunting to add this in?
Reference feed:
http://tormentrpg.tumblr.com/rss
(I used the very last article)
This is working good for me. I do see 3 small things I think are bugs but may be as intended. The first two are closely related i think so will cover them together. I will be using my forum to (among other things) promote YouTube channels. I have tested several different feeds such as subscriptionsnew, author, etc. They create a thumbnail and relevant information in a new topic as expected. However, clicking on the thumbnail takes the current page to the video (isn't opening in a new tab) and the source below has no address but does open in a new (about:blank) tab. Is there anyway I could change these two minor issues?
The 3rd minor is I use sidebar menus instead of drop downs when possible. While in the feeder list config. screen it doesn't display just right. Some of the configuration information is off to the right under a tower banner add (ad seller pro) making it impossible to get to the edit button. The workaround I use is to collapse the side menu so no big deal but worth mentioning I think.
Is there any way I could use this mod to generate the code I need to use in a banner? I have a banner ad (today's featured videos) with 8 thumbnails. I manually edit the links for the picture and shortcut which opens in a new tab. It would be really nice if they would update automatically when the channel uploads a new video. Maybe I can figure out the address for the latest upload image and link in YouTube instead of a particular video. I think I will get this one but open to advise or a sample.
Thanks
Hello,
I have a user who is assigned to BOTS group. I have set post moderation setting so that every post by members in BOTS groups is approved by before posting to respective board.
Currently, topics are auto posted. Why does the RSS Feed poster mod does not respect post moderation setting ?
Quote from: talktoanil on November 10, 2013, 03:49:57 AM
Hello,
I have a user who is assigned to BOTS group. I have set post moderation setting so that every post by members in BOTS groups is approved by before posting to respective board.
Currently, topics are auto posted. Why does the RSS Feed poster mod does not respect post moderation setting ?
Not built in yet.
Quote from: vbgamer45 on November 10, 2013, 09:35:50 AM
Quote from: talktoanil on November 10, 2013, 03:49:57 AM
Hello,
I have a user who is assigned to BOTS group. I have set post moderation setting so that every post by members in BOTS groups is approved by before posting to respective board.
Currently, topics are auto posted. Why does the RSS Feed poster mod does not respect post moderation setting ?
Not built in yet.
Will appreciate if it can be added in future releases. That will make a lot of sense.
Sure I can do custom development if needed $25 to get that featured added asap otherwise may or may not be added in a future update.
I think this was mentioned previously, with not real resolution.
It seems that the module never posts the latest entry in each and every feed that is added. Is there a way around this?
Haven't found the cause for it yet.
One Question, Why is this mod (RSS Feed Poster) isnt publishing the recent post from my pipe list?
My pipe: http://pipes.yahoo.com/pipes/pipe.info?_id=1f17ec0815ed701c270d2937911ba01b
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F5g3lH.png&hash=31217cd6ff93814a49271af9c6266df8df97f9a0)
Post List from my forum:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F5g3tQ.pngg&hash=3509eb78dceaf550d6099222d3d90731e9df7fef)
did you even both to read ANY of the preceding comments?
This mod having that "feature", to not show the latest 1 news... it is something that have to be written on the mod description?
Yes
Quote from: vbgamer45 on November 11, 2013, 10:01:11 AM
Sure I can do custom development if needed $25 to get that featured added asap otherwise may or may not be added in a future update.
No problems. However, i have few questions.
1. Like i said, I need it to support Topic moderation
2. What if the mod becomes incompatible with future SMF releases ? Will you update the mod in that case ?
3. I need to remove all the characters after certain text. e.g If you see a feed item from here http://feeds.feedburner.com/misalpav/VnhC , every item has a word "लेखनविषय::" at end. I want an option in mod settings which lets me specify such word per feed (URL) after which all the content will be ignored by mod before posting.
4. Sometimes when feed returns an Image, SOURCE is posted next to image...looks like that is an easy fix of adding <BR> tag before Source text.....just make sure that Source is always at bottom and next to image or content. See this http://imgur.com/PVpa6xp
5. Option to disable SOURCE which appears in posted item.
6. Payment options ??? I am OK with Google Wallet..I dont have a paypal account.
I'm having a couple of issues I was wondering if anyone could help me with...
first off, how do I get the RSS Poster to post every fetched feed into the same thread when I'm using Pretty URLs?
Secondly, how do I get it to post images from the feed, nothing I've done works so far?
Thanks
I have very strange problem with this mod. Im using Bulgarian language and doesnt use UTF-8.
When the bot post something its in understanding language, some kind of monkey language :D
What shoul I do to post in my language ?
can you add an option to add original source link not the url feed?
Is there a fix to make this mod get the latest news? Next to latest = old :(
Is there a fix to make links form YouTube Feeds open in a new tab? Clicking on the thumbnail or title opens the correct video but in the same tab........ navigates away from my forum.
Is there a fix for the source link when using YouTube feeds? It does open in a new tab but it's an about:blank tab. Grabbing a feed for this forum, the source link works as it should. It is the proper URL and it does open in a new tab.
Looking at the FeedPoster2.template.php I do no understand why clicking on the image or title doesn't open in a new tab. I see the target="_blank" bits of code but I'm no programmer. I can modify the post so that they open in a new tab but if I have to do this for every post it kind of eliminates the usefulness of this mod.
Using Vimeo feeds gives different results. Clicking on the thumbnail of the video or any link other than source opens the correct URL in the same tab navigating away from my forum. Clicking on the source link opens the correct url in a new tab.
I would gladly shell out a few bucks to get these issues sorted. Would be worth it to me if it would get the latest news and all links opened in a new tab.
SMF 2.0.6
RSS Feed Poster
Ad Seller Pro
Adk Rules Posts
Like Posts
Welcome Topic Mod
Yandex.Speller for SMF
Tagging System
Youtube Integration Mod (0.1)
SMF Links
Event Registration Mod for SMF2
I have this working again now that I am on a new host. But I have a question. I don't really know a lot about rss or xml so please bare with me.
Does this mod support only .xml links in it or does it also support .rss links? I want to add this but don't have an xml link and the owner of this feed at http://dialysisadvocates.com/, who is a member of my forums, doesn't understand what I am asking to help me: http://www.blogtalkradio.com/dialysisadvocates.rss
It supports rss links that link should work
Quote from: vbgamer45 on January 08, 2014, 01:14:53 AM
It supports rss links that link should work
Ah thank you! Thank you very much! That is good to know! :) Their next show comes out on Thursday the 9th so I will post if it works. :)
ummmm.... RSS=XML
The URL rarely indicates what the format of content will be provided; index.php never serves up PHP, it serves up HTML...
Is there a fix to make this mod get the latest news instead of next to latest?
If not, does anyone know of a mod that does?
No fix
Quote from: vbgamer45 on January 08, 2014, 02:09:26 PM
No fix
Not true anymore.
In file Subs-RSS2.php (so for SMF 2.x) I solved it by changing a condition at line 261 (at least in my text editor - please check by looking for "LESS THAN").
I attach the code containing the proper fix.
I have also added support for GUID field if anybody is interested...
<?php
/*
RSS Feed Poster
Version 3.1
by:vbgamer45
http://www.smfhacks.com
*/
if (!defined('SMF'))
die('Hacking attempt...');
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$tag_attrs = '';
$insideitem = false;
$depth = array();
function verify_rss_url($url)
{
global $txt, $modSettings, $depth;
// Rss Data storage
$finalrss = '';
$failed = true;
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'fopen')
{
$fp2 = @fopen($url, "r");
if ($fp2)
{
$failed = false;
$contents = '';
while (!feof($fp2))
{
$contents .= fread($fp2, 8192);
}
fclose($fp2);
$finalrss = $contents;
}
}
// Use Fsockopen
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'fsockopen')
{
if($failed == true)
{
$url_array = parse_url($url);
$fp = @fsockopen($url_array['host'], 80, $errno, $errstr, 30);
if (!$fp)
{
}
else
{
$failed = false;
$out = "GET " . $url_array['path'] . (@$url_array['query'] != '' ? '?' . $url_array['query'] : '') . " HTTP/1.1\r\n";
$out .= "Host: " . $url_array['host'] . "\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
$rssdata = '';
// Remove stupid headers.
$header = '';
do
{
$header .= fgets ($fp, 128 );
} while ( strpos($header, "\r\n\r\n" ) === false );
while (!feof($fp))
{
$rssdata .= fgets($fp, 128);
}
fclose($fp);
// Get rid of the stupid header information! Wish the function did it for me.
@$finalrss = $rssdata;
}
}
}
// Use cURL
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'curl')
{
if($failed == true)
{
if(function_exists("curl_init"))
{
$failed = false;
// Last but not least try cUrl
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// grab URL, and return output
$output = curl_exec($ch);
// close curl resource, and free up system resources
curl_close($ch);
return $output;
}
}
}
// XML Parser functions to verify the XML Feed
if($failed == false)
{
$depth = array();
$xml_parser = xml_parser_create();
xml_set_element_handler($xml_parser, "startElement2", "endElement2");
if (!xml_parse($xml_parser, $finalrss)) {
fatal_error(sprintf($txt['feedposter_err_xmlerror'],
xml_error_string(xml_get_error_code($xml_parser)),
xml_get_current_line_number($xml_parser)), false);
}
xml_parser_free($xml_parser);
}
else
{
// We were not able to download the feed :(
fatal_error($txt['feedposter_err_nodownload'], false);
}
}
function startElement2($parser, $name, $attrs)
{
global $depth;
@$depth[$parser]++;
}
function endElement2($parser, $name)
{
global $depth;
$depth[$parser]--;
}
function UpdateRSSFeedBots()
{
global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings;
// Load the language files
if (loadlanguage('FeedPoster') == false)
loadLanguage('FeedPoster', 'english');
// First get all the enabled bots
$context['feeds'] = array();
$request = $smcFunc['db_query']('', "
SELECT
ID_FEED, ID_BOARD, feedurl, title, postername, updatetime, enabled, html,
ID_MEMBER, locked, articlelink, topicprefix, numbertoimport, importevery,
msgicon, footer, id_topic
FROM {db_prefix}feedbot
WHERE enabled = 1 AND json = 0");
while ($row = $smcFunc['db_fetch_assoc']($request))
{
$request2 = $smcFunc['db_query']('', "
SELECT
count_posts
FROM {db_prefix}boards
WHERE ID_BOARD = ". $row['ID_BOARD']);
$row2 = $smcFunc['db_fetch_assoc']($request2);
$row['count_posts'] = $row2['count_posts'];
$context['feeds'][] = $row;
}
$smcFunc['db_free_result']($request);
// For the createPost function
require_once($sourcedir . '/Subs-Post.php');
// Check if a field expired
foreach ($context['feeds'] as $key => $feed)
{
$current_time = time();
// If the feedbot time to next import has expired
if ($current_time > $feed['updatetime'])
{
$feeddata = GetRSSData($feed['feedurl']);
if ($feeddata != false)
{
// Process the XML
$xml_parser = xml_parser_create("UTF-8"); // xml_parser_create("ISO-8859-1");
$context['feeditems'] = array();
$feedcount = 0;
$maxitemcount = $feed['numbertoimport'];
$tag = '';
$tag_attrs = '';
$insideitem = false;
$context['feeditems'][0] = array();
$context['feeditems'][0][] = array();
$context['feeditems'][0]['title'] = '';
$context['feeditems'][0]['description'] = '';
$context['feeditems'][0]['link'] = '';
xml_set_element_handler($xml_parser, "startElement1", "endElement1");
xml_set_character_data_handler($xml_parser, "characterData1");
if (!xml_parse($xml_parser, $feeddata))
{
// Error reading xml data
xml_parser_free($xml_parser);
}
else
{
// Data must be valid lets extra some information from it
// RSS Feeds are a list of items that might contain title, description, and link
// Free the xml parser memory
xml_parser_free($xml_parser);
$context['feeditems'] = array_reverse($context['feeditems']);
// Loop though all the items
$myfeedcount = 0;
//for ($i = 0; $i < ($feedcount); $i++) /* commented by marcozambi */
for ($i = 0; $i <= ($feedcount); $i++) /* Here was the mistake: using LESS or EQUAL THAN instead of strictly LESS THAN solves the issue */
{
if ($myfeedcount >= $maxitemcount)
{
if ($myfeedcount >= $maxitemcount)
{
continue;
}
// Check feed Log
// Generate the hash for the log
if(!isset($context['feeditems'][$i]['title']) || !isset($context['feeditems'][$i]['description']))
continue;
if(empty($context['feeditems'][$i]['title']) && empty($context['feeditems'][$i]['description']))
continue;
$itemhash = md5($context['feeditems'][$i]['title'] . $context['feeditems'][$i]['description']);
$request = $smcFunc['db_query']('', "
SELECT
feedtime
FROM {db_prefix}feedbot_log
WHERE feedhash = '$itemhash'");
$smcFunc['db_free_result']($request);
// If no has has found that means no duplicate entry
if ($smcFunc['db_affected_rows']() == 0)
{
// Create the Post
$msg_title = $smcFunc['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = trim($msg_title);
$msg_body = '';
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
if ($modSettings['rss_embedimages'])
{
$m= preg_match_all('!http://[a-z0-9\-\.\/]+\.(?:jpe?g|png|gif)!Ui' , $msg_body , $matches);
if ($m) {
$links=$matches[0];
for ($j=0;$j<$m;$j++) {
$msg_body=str_replace($links[$j],'[img]'.$links[$j].'[/img]',$msg_body);
}
}
}
$msg_body = trim($msg_body);
preparsecode($msg_body);
$msg_body = '[html]' . $msg_body . '[/html]';
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $txt['feedposter_source'] . "[url=" . $context['feeditems'][$i]['link'] . "]" . $msg_title ."[/url]", ENT_QUOTES);
if (!empty($feed['footer']))
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
else
{
if ($modSettings['rss_embedimages'])
{
$m= preg_match_all('!http://[a-z0-9\-\.\/]+\.(?:jpe?g|png|gif)!Ui' , $msg_body , $matches);
if ($m) {
$links=$matches[0];
for ($j=0;$j<$m;$j++) {
$msg_body=str_replace($links[$j],'[img]'.$links[$j].'[/img]',$msg_body);
}
}
}
$msg_body = $smcFunc['htmlspecialchars']( strip_tags($context['feeditems'][$i]['description']), ENT_QUOTES);
$msg_body = trim($msg_body);
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $txt['feedposter_source'] . "[url=" . $context['feeditems'][$i]['link'] . "]" . $msg_title ."[/url]", ENT_QUOTES);
if (!empty($feed['footer']))
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
$msg_title = htmlspecialchars_decode($msg_title);
$msg_body = htmlspecialchars_decode($msg_body);
$updatePostCount = (($feed['ID_MEMBER'] == 0) ? 0 : 1);
if ($feed['count_posts'] == 0)
$updatePostCount = 0;
$msgOptions = array(
'id' => 0,
'subject' => $feed['topicprefix'] . $msg_title,
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
'icon' => $feed['msgicon'],
'smileys_enabled' => 1,
'attachments' => array(),
);
$topicOptions = array(
'id' => $feed['id_topic'],
'board' => $feed['ID_BOARD'],
'poll' => null,
'lock_mode' => $feed['locked'],
'sticky_mode' => null,
'mark_as_read' => false,
);
$posterOptions = array(
'id' => $feed['ID_MEMBER'],
'name' => $feed['postername'],
'email' => '',
'ip' => '127.0.0.1',
'update_post_count' => $updatePostCount ,
);
createPost($msgOptions, $topicOptions, $posterOptions);
$topicID = 0;
if (isset($topicOptions['id']))
$topicID = $topicOptions['id'];
$msgID = 0;
if (isset($msgOptions['id']))
$msgID = $msgOptions['id'];
// Add Feed Log
$fid = $feed['ID_FEED'];
$ftime = time();
$smcFunc['db_query']('', "
INSERT INTO {db_prefix}feedbot_log
(ID_FEED, feedhash, feedtime, ID_TOPIC,ID_MSG)
VALUES
($fid,'$itemhash',$ftime,$topicID,$msgID)");
$smcFunc['db_query']('', "
UPDATE {db_prefix}feedbot
SET total_posts = total_posts + 1
WHERE ID_FEED = $fid
");
$myfeedcount++;
}
}
} // End valid XML check
} // End get feed data
// Set the RSS Feed Update time
$updatetime = time() + (60 * $feed['importevery']);
$smcFunc['db_query']('', "
UPDATE {db_prefix}feedbot
SET
updatetime = '$updatetime'
WHERE ID_FEED = " . $feed['ID_FEED']);
} // End expire check
} // End for each feed
}
function GetRSSData($url)
{
global $modSettings;
$url_array = parse_url($url);
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'fopen')
{
$fp2 = @fopen($url, "r");
if ($fp2)
{
$contents = '';
while (!feof($fp2))
{
$contents .= fread($fp2, 8192);
}
fclose($fp2);
return $contents;
}
}
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'fsockopen')
{
$fp = fsockopen($url_array['host'], 80, $errno, $errstr, 30);
if (!$fp)
{
}
else
{
$out = "GET " . $url_array['path'] . (@$url_array['query'] != '' ? '?' . $url_array['query'] : '') . " HTTP/1.1\r\n";
$out .= "Host: " . $url_array['host'] . "\r\n";
$out .= "Connection: Close\r\n\r\n";
fwrite($fp, $out);
$rssdata = '';
// Remove stupid headers.
$header = '';
do
{
$header .= fgets ($fp, 128 );
} while ( strpos($header, "\r\n\r\n" ) === false );
while (!feof($fp))
{
$rssdata .= fgets($fp, 128);
}
fclose($fp);
$finalrss = $rssdata;
return $finalrss;
}
}
if ($modSettings['rss_feedmethod'] == 'All' || $modSettings['rss_feedmethod'] == 'curl')
{
if(function_exists("curl_init"))
{
// Last but not least try cUrl
$ch = curl_init();
// set URL and other appropriate options
curl_setopt($ch, CURLOPT_URL, $url);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
// grab URL, and return output
$output = curl_exec($ch);
// close curl resource, and free up system resources
curl_close($ch);
return $output;
}
}
// Failure return false
return false;
}
function startElement1($parser, $name, $attrs)
{
global $insideitem, $tag, $tag_attrs;
if ($insideitem)
{
$tag = $name;
$tag_attrs = $attrs;
}
elseif ($name == "ITEM" || $name == "ENTRY")
{
$insideitem = true;
}
}
function endElement1($parser, $name)
{
global $insideitem, $tag, $feedcount, $context;
if ($name == "ITEM" || $name == "ENTRY")
{
$feedcount++;
$context['feeditems'][$feedcount] = array();
$context['feeditems'][$feedcount][] = array();
$context['feeditems'][$feedcount]['title'] = '';
$context['feeditems'][$feedcount]['description'] = '';
$context['feeditems'][$feedcount]['link'] = '';
$context['feeditems'][$feedcount]['guid'] = ''; //marcozambi
$insideitem = false;
$tag_attrs = '';
}
}
function characterData1($parser, $data)
{
global $insideitem, $tag, $feedcount, $context, $maxitemcount;
if ($insideitem)
{
switch ($tag)
{
case "TITLE":
$context['feeditems'][$feedcount]['title'] .= $data;
break;
case "DESCRIPTION":
$context['feeditems'][$feedcount]['description'] .= $data;
break;
case "SUMMARY":
$context['feeditems'][$feedcount]['description'] .= $data;
break;
case "CONTENT":
$context['feeditems'][$feedcount]['description'] .= $data;
break;
case "LINK":
$data = trim($data);
$context['feeditems'][$feedcount]['link'] .= $data;
IF (empty($data) && isset($tag_attrs['HREF']))
$context['feeditems'][$feedcount]['link'] .= $tag_attrs['HREF'];
break;
//marcozambi
case "GUID":
$data = trim($data);
$context['feeditems'][$feedcount]['guid'] .= $data;
break;
}
}
}
// disguises the curl using fake headers and a fake user agent.
function disguise_curl($url)
{
if(!function_exists("curl_init"))
return false;
$curl = curl_init();
// Setup headers - the same headers from Firefox version 2.0.0.6
// below was split up because the line was too long.
$header[0] = "Accept: text/xml,application/xml,application/xhtml+xml,";
$header[0] .= "text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5";
$header[] = "Cache-Control: max-age=0";
$header[] = "Connection: keep-alive";
$header[] = "Keep-Alive: 300";
$header[] = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7";
$header[] = "Accept-Language: en-us,en;q=0.5";
$header[] = "Pragma: "; // browsers keep this blank.
curl_setopt($curl, CURLOPT_URL, $url);
curl_setopt($curl, CURLOPT_USERAGENT, 'Mozilla');
curl_setopt($curl, CURLOPT_HTTPHEADER, $header);
curl_setopt($curl, CURLOPT_REFERER, '');
curl_setopt($curl, CURLOPT_ENCODING, 'gzip,deflate');
curl_setopt($curl, CURLOPT_AUTOREFERER, true);
curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
curl_setopt($curl, CURLOPT_TIMEOUT, 10);
curl_setopt($curl,CURLOPT_SSL_VERIFYPEER, FALSE);
$html = curl_exec($curl); // execute the curl command
$info = curl_getinfo($curl);
//print_R($info);
curl_close($curl); // close the connection
//echo "#$html#";
return $html; // and finally, return $html
}
function UpdateJSONFeedBots()
{
global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings;
// Load the language files
if (loadlanguage('FeedPoster') == false)
loadLanguage('FeedPoster', 'english');
// First get all the enabled bots
$context['feeds'] = array();
$request = $smcFunc['db_query']('', "
SELECT
ID_FEED, ID_BOARD, feedurl, title, postername, updatetime, enabled, html,
ID_MEMBER, locked, articlelink, topicprefix, numbertoimport, importevery,
msgicon, footer, id_topic
FROM {db_prefix}feedbot
WHERE enabled = 1 AND json = 1");
while ($row = $smcFunc['db_fetch_assoc']($request))
{
$request2 = $smcFunc['db_query']('', "
SELECT
count_posts
FROM {db_prefix}boards
WHERE ID_BOARD = ". $row['ID_BOARD']);
$row2 = $smcFunc['db_fetch_assoc']($request2);
$row['count_posts'] = $row2['count_posts'];
$context['feeds'][] = $row;
}
$smcFunc['db_free_result']($request);
// For the createPost function
require_once($sourcedir . '/Subs-Post.php');
require_once($sourcedir . '/Subs-Editor.php');
// Check if a field expired
foreach ($context['feeds'] as $key => $feed)
{
$current_time = time();
// If the feedbot time to next import has expired
if ($current_time > $feed['updatetime'])
{
$feeddata = disguise_curl($feed['feedurl']);
$json_feed_object = json_decode($feeddata);
$feedcount = 0;
$context['feeditems'] = array();
foreach ( $json_feed_object->entries as $entry )
{
// echo "<h2>{$entry->title}</h2>";
// $published = date("g:i A F j, Y", strtotime($entry->published));
// echo "<small>{$published}</small>";
//echo "<p>{$entry->content}</p>";
$context['feeditems'][$feedcount]['title'] = (string) $entry->title;
$context['feeditems'][$feedcount]['description'] = (string) $entry->content;
$context['feeditems'][$feedcount]['description'] = html_to_bbc($context['feeditems'][$feedcount]['description']);
$context['feeditems'][$feedcount]['link'] = (string) $entry->alternate;
$feedcount++;
}
if (!empty($feeddata))
{
// Process the XML
$maxitemcount = $feed['numbertoimport'];
$context['feeditems'] = array_reverse($context['feeditems']);
// Loop though all the items
$myfeedcount = 0;
for ($i = 0; $i < ($feedcount); $i++)
{
if ($myfeedcount >= $maxitemcount)
{
continue;
}
// Check feed Log
// Generate the hash for the log
if(!isset($context['feeditems'][$i]['title']) || !isset($context['feeditems'][$i]['description']))
continue;
if(empty($context['feeditems'][$i]['title']) && empty($context['feeditems'][$i]['description']))
continue;
$itemhash = md5($context['feeditems'][$i]['title'] . $context['feeditems'][$i]['description']);
$request = $smcFunc['db_query']('', "
SELECT
feedtime
FROM {db_prefix}feedbot_log
WHERE feedhash = '$itemhash'");
$smcFunc['db_free_result']($request);
// If no has has found that means no duplicate entry
if ($smcFunc['db_affected_rows']() == 0)
{
// Create the Post
$msg_title = $smcFunc['htmlspecialchars'](($feed['html'] ? $context['feeditems'][$i]['title'] : strip_tags($context['feeditems'][$i]['title'])), ENT_QUOTES);
$msg_title = trim($msg_title);
$msg_body = '';
if ($feed['html'])
{
$msg_body = $smcFunc['htmlspecialchars']($context['feeditems'][$i]['description'], ENT_QUOTES);
$msg_body = trim($msg_body);
preparsecode($msg_body);
$msg_body = '[html]' . $msg_body . '[/html]';
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $txt['feedposter_source'] . "[url=" . $context['feeditems'][$i]['link'] . "]" . $msg_title ."[/url]", ENT_QUOTES);
if (!empty($feed['footer']))
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
else
{
$msg_body = $smcFunc['htmlspecialchars']( strip_tags($context['feeditems'][$i]['description']), ENT_QUOTES);
$msg_body = trim($msg_body);
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $txt['feedposter_source'] . "[url=" . $context['feeditems'][$i]['link'] . "]" . $msg_title ."[/url]", ENT_QUOTES);
if (!empty($feed['footer']))
$msg_body .= $smcFunc['htmlspecialchars']("\n\n" . $feed['footer'], ENT_QUOTES);
}
$msg_title = htmlspecialchars_decode($msg_title);
$msg_body = htmlspecialchars_decode($msg_body);
$updatePostCount = (($feed['ID_MEMBER'] == 0) ? 0 : 1);
if ($feed['count_posts'] == 0)
$updatePostCount = 0;
$msgOptions = array(
'id' => 0,
'subject' => $feed['topicprefix'] . $msg_title,
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
'icon' => $feed['msgicon'],
'smileys_enabled' => 1,
'attachments' => array(),
);
$topicOptions = array(
'id' => $row['id_topic'],
'board' => $feed['ID_BOARD'],
'poll' => null,
'lock_mode' => $feed['locked'],
'sticky_mode' => null,
'mark_as_read' => false,
);
$posterOptions = array(
'id' => $feed['ID_MEMBER'],
'name' => $feed['postername'],
'email' => '',
'ip' => '127.0.0.1',
'update_post_count' => $updatePostCount ,
);
createPost($msgOptions, $topicOptions, $posterOptions);
$topicID = 0;
if (isset($topicOptions['id']))
$topicID = $topicOptions['id'];
$msgID = 0;
if (isset($msgOptions['id']))
$msgID = $msgOptions['id'];
// Add Feed Log
$fid = $feed['ID_FEED'];
$ftime = time();
$smcFunc['db_query']('', "
INSERT INTO {db_prefix}feedbot_log
(ID_FEED, feedhash, feedtime, ID_TOPIC,ID_MSG)
VALUES
($fid,'$itemhash',$ftime,$topicID,$msgID)");
$smcFunc['db_query']('', "
UPDATE {db_prefix}feedbot
SET total_posts = total_posts + 1
WHERE ID_FEED = $fid
");
$myfeedcount++;
}
}
} // End get feed data
// Set the RSS Feed Update time
$updatetime = time() + (60 * $feed['importevery']);
$smcFunc['db_query']('', "
UPDATE {db_prefix}feedbot
SET
updatetime = '$updatetime'
WHERE ID_FEED = " . $feed['ID_FEED']);
} // End expire check
} // End for each feed
}
?>
Thanks for fix are you using the guid for anything? I saw where it gets that information but doesn't seem to be doing anything with it.
4.1
!Fixed a bug not getting the latest RSS feed thanks to marcozambi
Quote from: marcozambi on February 17, 2014, 06:31:57 PM
Quote from: vbgamer45 on January 08, 2014, 02:09:26 PM
No fix
Not true anymore.
In file Subs-RSS2.php (so for SMF 2.x) I solved it by changing a condition at line 261 (at least in my text editor - please check by looking for "LESS THAN").
I attach the code containing the proper fix.
I have also added support for GUID field if anybody is interested...
Thanks! I will try it out in the next few days I hope. Is there a way to clear any cached feeder post. I played with all sorts of things in the past and if the feeder post had posted a topic (in a test board) it would not post it again (in the correct board). Can I create a new feed with the same URL, clear the forum Cache or anything else to fix this.
Is there anything I could do to make the Feed Poster Post in the opposite order? It may be the way I have the feeds their self set up. What I would really like to be able to do is set up a board for various YouTube Channels and have the feed poster start a new topic each time the channel post a new video. In the topic I would like any links created by the feed to open in a new tab. Right now it will start a new topic with the latest video uploaded (I think, still have to test). The only problem with setting it up now is that some of these channels have lots of videos posted in the past so the oldest video posted is now the latest topic posted by the feed poster. The order is inverted. I think I understand why this is. But, I'm looking for a way to trick it. At least long enough to get everything posted and up to date. I relies this can all get complicated. One idea I had was to set up a test board and a feed poster to populate it. Then (if I can) set up a second feed poster to get a feed from that board and post to the proper board. I am thinking that this would invert the posting order a second time (due to the nature of rss getting latest first) making them correct. If that would work the only other problem is getting the links in feed poster topics to open in a new tab.
I'm no programmer but I think I could get it all sorted with enough time. Time is just not something I have a lot of and would be willing to pay a reasonable amount to get these things sorted.
Thanks
I installed the latest and it does indeed get the latest feed so this is very good! :)
I modified the feed URL and the sorting is correct I think. I know YouTube will only push 25 videos at the time but I'm not sure yet if it will push older ones later, time will tell.
The post look good. The only problems I see now are with the links. Clicking on any link opens it in the current tab. I really wish they would open in a new tab and not push the viewer of away from my forum. The source code link refreshes the current tab with a error page being displayed. This may well be a problem with my feed. I am looking at YouTube's API demo right now in hopes of getting it sorted. If anyone is knowledgeable in the area of Feeds, in particular YouTube feeds I would be willing to pay for your time.
Thanks!
I got some of it sorted by messing with the feed URL. Now clicking on the source link (in the topic) the feed poster generates does open and in a new window. :) Clicking on the thumb nail or any other shortcut opens in the current tab at YouTube and moves away from my forum. Another thing is it will post the same topic multiple times. I'm sure this is caused by how the feed updates. It must include information that updates that I would not consider posting a new topic about (such as number of views). This is the feed I'm using now. ( http://www.youtube.com/rss/user/ChannelName/videos.rss ). I'm thinking I will need to build some kind of app to get the YouTube feeds, choose what information I want to post and have it generate a feed that feed poster will use. If anyone has any ideas or input I'd love to hear it.
Main handling of the RSS feed is in Sources/Subs-RSS.php there you can make changes if needed. But will depend on what information is passed in the feed.
Thanks! That is a big chunk of code. I'll look through it and see what I can find. I imagine I will want to figure out a way to edit the feed from YouTube. The way I want it to work is to post only when the channel uploads a video. I think the feed poster is doing exactly as it should, posting when the feed updates. I looked at YouTube's API demo briefly and I imagine I can come up with a solution if I ever get time to dig into it. If the feed from YouTube did not include rating and number of views I bet it would not post it multiple times. Those are the only two things I see changing between the original post and the ones following it to the same video. If I ever get it nailed down I'll post what I find here.
Quote from: vbgamer45 on February 18, 2014, 11:58:51 AM
Thanks for fix are you using the guid for anything? I saw where it gets that information but doesn't seem to be doing anything with it.
Not yet.
When I posted my correction to the loop's bug, I was thinking to use the GUID, if available, for the variable $itemhash.
This could be useful for avoiding the creation of new entry in a forum in case anything gets changed in the fields used now for creating the itemhash (title and description, if I am correct).
So, in case, I think it would be possible to changhe this
$itemhash = md5($context['feeditems'][$i]['title'] . $context['feeditems'][$i]['description']);
into this
$itemhash = md5($context['feeditems'][$i]['guid']);
or maybe just
$itemhash = $context['feeditems'][$i]['guid'];
Forum version: SMF 2.0.4
Current SMF version: SMF 2.0.7
RSS Feed Poster 3.0.1
I'm trying to import Amazon feeds, but half of them end up with messy code. Is there an edit a noob can do to help fix this?
Rick
Bump
No ideas?
No easy way to clean those up if it is html.
Is there some type of buffer or something I can adjust to allow more rss code in? I could be completely wrong being new at this, but perhaps that would keep it clean in the future?
Rick
I installed this mod and when I tried the rss feed url of my website "http://forum.officeadministration.info/cronrss.php" I am getting the below mentioned error.
Notice: Use of undefined constant _blank - assumed '_blank' in Sources/Subs.php on line 3918
Notice: Use of undefined constant _blank - assumed '_blank' Sources/Subs.php on line 4061
Feed Cron Finished
Please help in solving the above issue
Does it work? Do you have other mods installed?
Hi,
It's not working and I don't have any other mods installed other than tapatalk.
What feeed urls do you have
Also do you have a cron job enabled and SMF version.
Hi,
I am using the below mentioned feed url
"http://forum.officeadministration.info/cronrss.php
Cronjob is enabled in my SMF forum version
Forum version: SMF 2.0.7
Current SMF version: SMF 2.0.7
I have a problem:
I'm using Yahoo Pipes and works fine:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F8ma60.png&hash=43bce89ba1a53fa0661bc9c526ea716443583ee6)
Well, when an image has a tag <img> this makes "[ img ]" How can I avoid that?
My images may not be displayed.
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F8macI.png&hash=e7fa7ca9e24779c3d0b41dcb288bf77d57cc231a)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fpuu.sh%2F8makl.png&hash=3615a9947420f3fd293037f71d0f2e7739971595)
Sry for my bad english.
I have this installed on a real clean forum, its very temperamental. Same Rss work fine in the portal blocks with no problems.
If I make any changes it wont run the cron again on them, and you have to re- input the RSS.
Simple Machines Forum Version: 2.0.7
Installed Packages:
Welcome Topic Mod 2.2
SMFPacks Shoutbox 1.0.5
Add Facebook Like, Tweet, and Google +1 1.0.3a
Custom Copyright 1.0.4
Simple Audio Video Embedder 2.5.1
RSS Feed Poster 4.1
Profile Comments 2.1
SMF Staff Page 1.7
Back To The Index 0.4.1
Country Flags 2.1
Contact Page 3.2
Ad Managment 3.2
RSS Feed Poster Error:
When I try to add a feed (Checked the feed URL, it's valid) I get this XML eroror: XML error: SYSTEM or PUBLIC, the URI is missing at line 1
The feed needs to be cleaned or is invalid in that case since the mod checks for proper xml.
I am unable to get the image to display. the url the image is linking to is
Quotehttps://lethaldistribution.com/bbs/'http://lethaldistribution.com/store/12-small_default/511-womens-holster-shirt-blk-xl.jpg'
What it should be is
Quotehttp://lethaldistribution.com/store/12-small_default/511-womens-holster-shirt-blk-xl.jpg
What does the url look like in the feed itself.
Feed poster was working now it is not working i am using: RSS Feed Poster 4.1 any advice?
The site is: lowpricehosts.com
What feeds urls?
And how do you have it seutp cron job?
Thanks for the reply, bbc click rss feed url and others that work, yes cron job is set.
I really like this plugin but I am having some issues with it. If anyone knows of any quick fixes I can add to the source files for the plugin to fix my issues that would be amazing!
When posting from a feed it leaves the source url empty
for example:
Source: [url=]Topic pulled from Feed Source[/url]
is there something I can add to fix this?
Also, for some reason it doesn't NOT like feeds from any wordpress based websites. It gives me this error "XML error: syntax error at line 1" when trying to add a wordpress feed. I have to burn the feed through feedburner to get any wordpress feeds to work.
I think that's it. Any help you guys can give me would be awesome!! Thank you!!
What is the feed url?
I use the link property from the RSS/Atom feed as the source url
I have quite a few feeds set up..but I think it might be my google alert feed that's doing it.
If you have the link can see if it contains the link property.
I know this RSS feed isn't pulling the source links when it autoposts onto the forum..
http://fiftyshadesupdates.blogspot.com/feeds/posts/default
thanks!
Copy this file to your sources folder and let me know if it helps!
Quote from: vbgamer45 on March 31, 2014, 04:19:21 PM
No easy way to clean those up if it is html.
I turned off HTML in the feed that did the trick. The source led people to the complete article.
Rick
That would work in most cases as long as the tags are well coded in the html
I'm having trouble with this. I have a rss setup from a vbulletin forum I want to get rid of the source and instead have it setup so that it posts the complete article or the complete topic and get rid of the source on the bottom, how do i do that?
Source: Link
I would like to have iframe support to post the rss link as a iframe of the webpage.
I don't understand how that would work.
it would not... there is no GOOD way to do that
How do I add Reddit feeds? I'm trying to use: http://www.reddit.com/r/videos/.rss
But I keep getting this error: XML error: syntax error at line 1
How do I fix this?
Also how do I change the "Update every x minutes" to 1 minute or 30 seconds?
Every time I try to change the number to below 5 it just changes it back to 5 when I press edit.
You will need to use a third party tool to clean feed check though the posts in this topic on how to do it
Thanks, but how do I change the "Update every x minutes" to 1 minute or 30 seconds?
Every time I try to change the number to below 5 it just changes it back to 5 when I press edit.
you REALLY do not want every minute... actually, even every 5 mins is excessive and will pound the providing server
I honestly would do it once an hour. You can have the cron script run every minute that is fine. But fetching the feeds every 5 minute for changes seems like a lot.
I just really need an option to fetch for changes for less than 5 minutes. Even 4 minutes and 30 seconds would help me out a lot.
Why?
For a project I'm a working on that posts the latest RSS information from a website.
The more recent the information, the better.
So, it is someone else's website? In that case, you most certainly should not be pulling any more than once every 15 mins... Otherwise, you are going to hammer their servers.... If you pull more than once a min, you will basically be doing a denial of service attack on them
Yes it is someone elses website. It's Reddit.
Their rule says no more than 30 requests per minute so I think 1 RSS check per minute or every 45 seconds would be fine. :D
The idea for my project was to post the latest reddit links to my forum and I thought by using this mod I could do it.
Recently I have used this to fix some feed oddities http://feedsanitizer.appspot.com/
Thanks, now the error is gone but now the mod is not posting from the feed. Probably because it's giving me this error:
Over Quota This application is temporarily over its serving quota. Please try again later.
Here's the sanitized link: http://feedsanitizer.appspot.com/sanitize?url=http%3A%2F%2Fwww.reddit.com%2Fr%2Fvideos%2Fnew%2F.rss&format=rss
Actually, no... Because each RSS feed is dozens of requests in and of itself,
Hi,
I just installed the mod, in SMF 2.0.8, and I get this error once I have finished creating the first feed: "XML error: Undeclared entity error at line 9".
This is the forum:
http://forum.linuxvillage.org
How can I fix the error?
Thanks
You have to clean the feed. Check a couple posts back there should be some one with the same issue.
Now first let me apologise, I'm starting to go cross-eyed trying to search my problem :-\ If it's been covered and I somehow missed it, then I'd welcome being pointed to the right place (145 pages was an awful lot to trawl through!)
I've been using SMF2 for some years, and I'm pretty thrilled that I rarely had to seek help 8) Which means you guys are great, but it makes me look good :laugh:
So anyway, I added this mod today so that I can drag an RSS feed to a section on my forum (2.09) which basically contains my classified ads of junk I sell to fund the forum. I set up the feed settings to post into a section only I can see by way of a test.
It went ok, and other than the images not embedding, all the stuff was there as expected.
I then edited the feed to display in another part of the forum, but nothing happened. I double-checked the permissions of the board and they are fine, publicly visible with post permissions set at the minimum, ie normal members.
I figured it was somehow cached, so I uninstalled and deleted the mod and dropped the two tables I figured are holding the data, ie the Feedbot ones. Then I re-installed the mod, and added the feed as before.
But nothing shows up.
Could someone please do the online equivalent of slapping me with a large wet fish if I have missed something out, or suggest where I might find a log or somesuch that might hint at the problem?
With gratitude,
Graham
I experience the same thing, which is what makes the mod so hard to test and customize to your liking. Where are these logs stored if deleting the rows associated with the topics added still won't show up after activating cronrss manually.
Hi, to you feeds from Facebook pages work? To me not..
Do you have an example field that' isn't working?
For example this feed: https: //www.facebook.com/feeds/page.php?format=rss20&id=138035029010
(without space between : and // )
I don't receive new posts with rss :(
No idea... but, have you tried "sanitizing" it?
http://feedsanitizer.appspot.com/
Quote from: luuuciano on November 07, 2014, 01:44:26 PM
No idea... but, have you tried "sanitizing" it?
http://feedsanitizer.appspot.com/
Hi, thank you, now it seems work without problems! Now I have to sanitize 500-1000 links :S
Why with normal link doesn't work? is it for rss20
&id ? or not good feed rss of Facebook? :(
The problem is the rss content (it is not valid, etc), not the url... ask facebook to fix it, lol
BTW, why you have so many feeds? what is the idea/use you have?
Great mod but I have two small requests for the next version.
Is it possible to have the mod increment the post count when associating the feed being posted with an actual user account?
Right now, it does not increment which can confuse certain users looking at that user's profile.
The other request is to have an option to disable the source link from being posted for specific feeds as one feed that i'm using already has the source URL embedded in the message body.
Thanks
Hope you don't mind me requesting a feature but have the option for a feed to post to a specified thread as a reply
That might be possible just would have to add another setting to it for topic id.
Hi,
I've got this installed and configured feed correctly but the posting only posts 10 items a day no matter how many items the feed has. and only at a specific time. I've set the task to run every hour and also have a cron running. but none of the option is about to get the new items after it's reached 10 items.
The feed is working and it's sanitized. I can access it on the browser perfectly and I've set the feed to grab 5 items at a time.
I have set cpanel to send me emails on cron runs and I've been getting "Feed Cron Finished" but no more than 10 posts in a day.
I'd like to know what's limiting the posts?
Thanks
Hi,
I hope someone can help me. I can't get it to work in my Forum.
The Installation worked without any Errors.
I can add a Feed and it will pull some Items from the RSS Feed. But it doesn't Update.
I have set up a Cronjob: */2 * * * * wget -O - -q -t 1 http://domain.com/cronrss.php
I have also checked Use fake Cron jobs. and lowered the Scheduled Tasks "Update RSS Feed Poster bots" to 2 Minutes.
Even after i manually run the Scheduled Tasks or execute the php (Feed Cron Finished) it doesn't post any new Topics :-(
Any suggestions?
Regards Saboti
What's the feed url?
And is it enabled under feed settings
Hi vbgamer45,
the Feed URL is: http://pipes.yahoo.com/pipes/pipe.run?_id=257c9a136719c9a394eda4ee6eb558cb&_render=rss
and it's enabled under feed settings.
Since yesterday is has updated 2 new Entry's. But there are many more in the feed.
Is it possible for the source just just put the link instead of putting it inside a title?
eg.
Source: www.site.com/news/abc instead of [url=http://www.site.com/news/abc]The Headline..[/url]
You can modify the code to that I believe.
I'm trying to use this mod, but I'm having some troubles with the HTML. (4.1 on SMF 1.1.21)
When I chose "HTML Enabled" it puts the html bbc code before the post as it should, but then it converts all of the 'special characters'
[html]
<table border="0" cellpadding="2"
When I 'disable HTML... it doesnt put the html bbc code, but the special characters are no longer converted, it is inserted as it should be:
<table border="0" cellpadding="2"
What I need is:
[html]
<table border="0" cellpadding="2"
I also noticed when I save a feed initially, If I chose "enable html",when i click on edit feed, it says that html is disabled. I check enable it again, then it saves properly.
However it does the opposite if I create a feed initially and I tell it to disable html, when I edit it, it says it was enabled.
Any ideas?
Hello everyone, I have a problem on my end which i have been trying to install the package manully which was no problem but when i go to do the sql i get this:
FeedPostersql2.php i'm using install did not say anything on the other sql ?
everything else is in place and ready to go...not worried about the prefix i can change that once its done.
I'm using mysql version 5.5.43 within phpmyadmin, so any help would be great !! :)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fextraimago.com%2Fimages%2F2015%2F07%2F04%2F2015-07-03_22-41-19.jpg&hash=c11f7de94ebf1396ff29d04c6cd802c7bd77f014)
You are copying the php code in mysql sql field wont' work
You need to run this file on it's own copy to root/main directory of your forum then run it via the browser
Thanks vbgamer45 will try that thanks.
Is it possible for the RSS bot to post in a current topic instead of a new topic yet? I think I asked a year or 2 ago and it wasn't available then. Is this something that could ever be added, or is it impossible?
Not currently in the mod but could be built.
Quote from: vbgamer45 on September 13, 2015, 11:07:43 AM
Not currently in the mod but could be built.
That would be good. I'd happily donate if it sped up the process.
That would speed it up. I can get it done today.
4.2
+Added option to run a feed now to pull in the latest updates from the RSS Feed Poster Admin area.
+Added the next time the feed will update
+Feed title now clickable
+Adding to existing topic support made easier.
Ack... just installed, the forum did not report any issues, but now the forum is down... blank page :( turning on PHP debug doesn't help, still getting just a blank page...
Great, I will test it out later.
One question, probably answered but this is a big thread. How does "Update every x minutes" work in conjuction with the cron job? If the cron is set to update every 1 hour, and the feed is set to update every 360 minutes (for example), does one override the other?
Has anyone found a fix for the RSS only grabbing old Wordpress posts and ignoring the newest ones? Searched the thread and seen others had the same issue but doesn't seem to be a fix mentioned. For some reason the feed poster is grabbing a Wordpress post from months ago and ignoring the latest 5 posts. I've tried running the feed through Feedburner first, and it still wont import the latest post.
Edit: or is this a problem only with the first time it is run, and it'll grab the latest post next time it updates?
Edit 2: Just tested a YouTube feed and this one also didn't grab the latest video, but a much older one (ignoring at least 5 newer ones)
Quote from: JTVaughn on September 14, 2015, 03:12:43 AM
Great, I will test it out later.
One question, probably answered but this is a big thread. How does "Update every x minutes" work in conjuction with the cron job? If the cron is set to update every 1 hour, and the feed is set to update every 360 minutes (for example), does one override the other?
The cron job should be set to run as often as possible. Such as every 5 minutes or every minute.
Okay so it pulls from the latest page of the RSS, which seems to be 10 entries for most sites, so when you only select to update 5 at a time, it starts from the 10th and works upwards. That's why it's not starting from the most recent posts. Figured that one out.
But two other issues, which I see others have had:
Using this feedburner http://feeds.feedburner.com/Mzptv you can see the feed has images and full post (instead of excerpt), but the feed poster posts this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FX2zk79B.png&hash=b520f1febf6ab7a8a22584b53b34cffd4aac3e27)
Why isn't it showing the images and the full post? And why doesn't it like line breaks?
I checked that feed
When I view feed url I do not see images and data
http://feeds.feedburner.com/Mzptv?format=xml
When I click that xml link I can see images and the full posts? Confusing
Odd I am just seeing just text in firefox.
Quote from: vbgamer45 on September 14, 2015, 10:28:08 AM
Odd I am just seeing just text in firefox.
I have read elsewhere that Firefox doesn't display feeds correctly. If you check in another browser like Chrome you can see how it should look. Maybe this has affected your testing of the mod?
Images are in the "content" field? and this mod use "description"?
Quote from: luuuciano on September 14, 2015, 12:20:49 PM
Images are in the "content" field? and this mod use "description"?
That's what I think it is doing will need to do more tests but seems like it is using description over content:encoded
Quote from: JTVaughn on September 14, 2015, 09:08:07 AM
Okay so it pulls from the latest page of the RSS, which seems to be 10 entries for most sites, so when you only select to update 5 at a time, it starts from the 10th and works upwards. That's why it's not starting from the most recent posts. Figured that one out.
But two other issues, which I see others have had:
Using this feedburner http://feeds.feedburner.com/Mzptv you can see the feed has images and full post (instead of excerpt), but the feed poster posts this:
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FX2zk79B.png&hash=b520f1febf6ab7a8a22584b53b34cffd4aac3e27)
Why isn't it showing the images and the full post? And why doesn't it like line breaks?
Added support for content:encoded in the latest release. That should fix your issue.
Almost works. The full post showed up instead of excerpt, so that's great. And the formatting is in tact.
Problem is the images do not load. Seems to be too many tags or something.
Here's what code is generated for the image:
<p><img class="aligncenter size-full wp-image-18047" src="[img]http://www.mzp-tv.co.uk/wp-content/uploads/2015/08/empire3.jpg[/img]" alt="Star Wars - The Empire Strikes Back" width="475" height="150" /></p><br />
Oh, I had to turn OFF the "Autoembed images from RSS Feeds" setting, and now images work fine.
All looks good :) Only thing it's not doing is centre aligning the images like it does the text
Ah good to know so that setting gets in the way of html someetimes
Realised the problem with centre aligned images was with my feed, not the mod. Got it working now.
Last thing now, I think :D
The feed poster is posting both the short excerpt AND the full post from Wordpress RSS. The excerpt isn't in the RSS feed, so I don't know where it's scraping it from. Is there something in the code that's grabbing BOTH excerpt and full post, instead of either/or?
You also need an extra space after the topic prefix.
Also, is there a way to take the current topic title when posting in a current topic?
It would be nice an option in rss setup to select which one will use.... excerpt or full content
:-D
Quote from: luuuciano on September 15, 2015, 09:22:29 AM
It would be nice an option in rss setup to select which one will use.... excerpt or full content
:-D
4.2.1
+Added setting to either use the feed description or the content tag
One little formatting thing. The posts have all got double line spacing. So instead of
Line 1
Line 2
Line 3
It gets turned into
Line 1
Line 2
Line 3
This is because extra <br> tags are added between closing and opening <p> tags, like this:
</p><br /><p>
Is there a way to stop these <br>'s? Is it in your code, or a problem with how SMF formats it?
Ignore the above, solved in another thread :P
It was said before a few years ago that there was no way to approve posts before they went live on the forums, is this still true? I tried with an account on post moderation but the post went right through.
Quote from: JTVaughn on September 21, 2015, 09:19:08 AM
Ignore the above, solved in another thread :P
For reference: http://www.simplemachines.org/community/index.php?topic=539863.0
(might become handy for anyone else)
About approval, it's just a matter of adding
'approved' => 0,
To $msgOptions, before the call to createTopic (or is it createPost? :P )
Quote from: margarett on September 21, 2015, 09:36:18 AM
Quote from: JTVaughn on September 21, 2015, 09:19:08 AM
Ignore the above, solved in another thread :P
For reference: http://www.simplemachines.org/community/index.php?topic=539863.0
(might become handy for anyone else)
About approval, it's just a matter of adding
'approved' => 0,
To $msgOptions, before the call to createTopic (or is it createPost? :P )
Brilliant, works perfectly, thanks :)
Seeing as we're on fire now, I have another request :D Probably for margarett, though anyone else can jump in.
When using the "Topic ID (Optional used to add feed to existing topic)" option, is it possible to have the feed poster use the current topic ID title too, instead of using the feed post's title in its place? So for instance, if it were posting in this topic, it would use the current "Re: RSS Feed Poster" title.
Possible, yes for sure, everything (?) can be coded :P
Disclaimer: not looking at the code so I might be talking trash.
There should be a query already to determine if the topic exists before posting it. If not, it should :P
Either with the existing query or with a new one, it "just" needs to get the topic subject (by JOINing the messages table using the id_first_msg - again, if not already existing), append the default "Re:" prefix and stuff it in the post subject.
vbgamer will know better, but the only thing I can see in subs-RSS2 is:
$msgOptions = array(
'subject' => $feed['topicprefix'] . $msg_title,
I assume that's saying to make the subject of the post the title of the RSS post, with an optional topic prefix selected in the mod settings, nothing more complicated than that.
You would use $row['id_topic'] in your subject line to include the topic id in your case.
How/where do I add that in? tried replacing $msg_title with it, but that just ends up with (No Subject) for the post
@vbgamer, he wants to use the topic *subject*, not ID. So if you don't get the $row['subject'], the query itself needs to be edited
/me should really get the code in front :P
No more ideas?
Let's put that one on the backburner for the moment.
The next issue I'm seeing is with Wordpress feeds.
The feed poster is grabbing and displaying both the description and the content when posting on the forum, in any scenario. I think this is because Wordpress uses different names for both so that the Wordpress blog owner can set which to use for RSS feeds.
<description><![CDATA[This is the short excerpt version that is a truncated version of the full post]]></description>
<content:encoded><![CDATA[This is the full post blah blah blah]]></content:encoded>
When you feed this through feedburner, and then check the source, you can see the <description> is green, like it's been commented out, and it wont be included. Which is correct. So the feedburner version of the Wordpress RSS displays correctly, but when you grab this using the SMF feed poster, it displays both everything in the <description> AND <content:encoded> tags.
However, with most other blogs/news sites, their RSS only uses one or the other. So you view the source, and everything is in <description> tags, or everything is in <content:encoded> tags, rather than both being in the source.
What's needed is for the feed poster to be aware of both <description> and <content:encoded> being in the source, and knowing when to only grab one or the other, instead of both.
As always, appreciate the help!
Quote from: JTVaughn on September 22, 2015, 03:06:08 AM
No more ideas?
OK so I finally got the code in front :P
It is necessary to get a new query in order to get the topic's subject.
BTW, there's a bug in the code :P Line 828, it should be $feed['id_topic'], (and not $row) but this is not relevant for RSS ;)
I would suggest something like this: find
$msg_title = htmlspecialchars_decode($msg_title);
Replace with:
if (empty($feed['id_topic']))
$msg_title = htmlspecialchars_decode($msg_title);
else
{
$request_subject = $smcFunc['db_query']('', '
SELECT m.subject
FROM {db_prefix}topics as t
INNER JOIN {db_prefix}messages as m ON m.id_msg = t.id_first_msg
WHERE t.id_topic = {int:id_topic}
LIMIT 1',
array(
'id_topic' => $feed['id_topic'],
)
);
list($topic_title) = $smcFunc['db_fetch_row']($request_subject);
$smcFunc['db_free_result']($request_subject);
// If, for some reason, we can't have a subject, use the feed title
if (empty($topic_title))
$msg_title = htmlspecialchars_decode($msg_title);
else
$msg_title = $txt['response_prefix'] . $topic_title;
}
Warning: highly untested :P
Parse error: syntax error, unexpected ')' in Subs-RSS2.php on line 365
Sorry, I had an extra comma in the line before. Fixed it now (I hope :P )
Quote from: margarett on September 22, 2015, 09:33:16 AM
Sorry, I had an extra comma in the line before. Fixed it now (I hope :P )
It works :)
However, now the title of the RSS post has changed in the post itself. So instead of the blog post title at the top of the post, it says Re: Thread Title there too. It needs to use the topic subject as the subject, but keep the blog post in the post itself. I think it's this bit -
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
In the bold tags.
If you see what I mean.
Yeah, I see. Give me a second ;)
edit: Try this (you need to bring the edit a bit further down until $msgOptions)
$msg_title = htmlspecialchars_decode($msg_title);
if (!empty($feed['id_topic']))
{
$request_subject = $smcFunc['db_query']('', '
SELECT m.subject
FROM {db_prefix}topics as t
INNER JOIN {db_prefix}messages as m ON m.id_msg = t.id_first_msg
WHERE t.id_topic = {int:id_topic}
LIMIT 1',
array(
'id_topic' => $feed['id_topic'],
)
);
list($topic_title) = $smcFunc['db_fetch_row']($request_subject);
$smcFunc['db_free_result']($request_subject);
// If, for some reason, we can't have a subject, use the feed title
if (!empty($topic_title))
$msg_title2 = $txt['response_prefix'] . $topic_title;
}
$msg_body = htmlspecialchars_decode($msg_body);
$updatePostCount = (($feed['ID_MEMBER'] == 0) ? 0 : 1);
if ($feed['count_posts'] == 0)
$updatePostCount = 0;
$msgOptions = array(
'id' => 0,
'subject' => (!empty($msg_title2) ? $feed['topicprefix'] . $msg_title2 : $feed['topicprefix'] . $msg_title),
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
'icon' => $feed['msgicon'],
'smileys_enabled' => 1,
'attachments' => array(),
);
Parse error: syntax error, unexpected ')' in Subs-RSS2.php on line 364 ;)
Same extra comma as before. Dummy me >:(
Fixed now ;)
haha, okay great, it's all working now. Had to add back in the hacks for post moderated replies and <br /> removal, but other than that your code works perfectly.
Quote from: JTVaughn on September 22, 2015, 07:08:06 AM
Let's put that one on the backburner for the moment.
The next issue I'm seeing is with Wordpress feeds.
The feed poster is grabbing and displaying both the description and the content when posting on the forum, in any scenario. I think this is because Wordpress uses different names for both so that the Wordpress blog owner can set which to use for RSS feeds.
<description><![CDATA[This is the short excerpt version that is a truncated version of the full post]]></description>
<content:encoded><![CDATA[This is the full post blah blah blah]]></content:encoded>
When you feed this through feedburner, and then check the source, you can see the <description> is green, like it's been commented out, and it wont be included. Which is correct. So the feedburner version of the Wordpress RSS displays correctly, but when you grab this using the SMF feed poster, it displays both everything in the <description> AND <content:encoded> tags.
However, with most other blogs/news sites, their RSS only uses one or the other. So you view the source, and everything is in <description> tags, or everything is in <content:encoded> tags, rather than both being in the source.
What's needed is for the feed poster to be aware of both <description> and <content:encoded> being in the source, and knowing when to only grab one or the other, instead of both.
As always, appreciate the help!
Now just bumping this problem back to the front
That... You need vbgamer ;)
I did look into in the last update just couldn't get that part to work.
This blog post talks about a fix for the description/content problem. It's probably not of any use, but I thought I'd pass it on http://drew5.net/code/windows-phone-app-studio-part-2-rss-reader-fix/
This page talks about description/content under the "5.2.1 content:encoded" section http://www.rssboard.org/rss-profile
Just installed this mod...pretty neat the only problem i am having is duplicates...how do u prevent duplicates??
It should not post duplicates. It goes by the feed title and date as long as that is unique.
Well so far i have added an rss for local news, a different sites rss for national, and an rss on anjob specific topic and all of them from diff sites have duplicates...not sure whats going on
Not sure haven't seen that happened before...
yep just checked it again... i will pm links to screen shots, maybe its a setting, not sure....
Thanks installed it and no errors ut I set it up to 30 minutes and 1 post .. It worked.. now I have changed to 100 posts but no luck in last 2 hours yet.. will see how it goes by tomorrow..
What does it mean by Use fake Cron jobs?
And Use description instead of content fieldt? how would I know I need to enable this options.
Thanks in advance
Cron jobs should run every minute or couple minutes.
Fake cron jobs just run page load instead of a cron job.
Quote from: vbgamer45 on December 17, 2015, 12:55:18 PM
Cron jobs should run every minute or couple minutes.
Fake cron jobs just run page load instead of a cron job.
Thanks for the explanation.. and what about the Descritption instead of content bit?
Uses the short description instead of the full content option
thanks again vbgamer for the explanation.
Just to report back..
The feed poster is working fine however the images are not shown.. with Autoembed images from RSS Feeds Checked..
I checked the source that what I get
target='_blank' href='websiteadd/path'
img src='websiteadd/imagepath'
notice the ' messing the links.. If removed it works then..
I have unchecked now, see how it goes... will report back
fyi: I have removed the < >and tags
Hello. I'm testing the mod on my forum. I just finished setting it up and seems to work pretty fine.
What I think it would be a nice extra is the possibility of making a "summary" of the content, rather then posting the whole item from the feed. It shouldn't be too hard to code. It would be enough to add two options in the feed config:
1) Only post <title> and <link> elements
2) Select max length (in chars) to post from <description>
Please, think about it. That would be extremely useful when taking news from 3rd party sites.
My apologies for I am as thick as a 4 x4 Plank. I am trying to set up an RSS Feed on my website but am not sure how. In the Read me I see a link to cron jobs but that link site is for sale and I have no idea what or how to create a fake cron job. I would appreciate if somebody puts me on the right path. I have installed the Mod but that is as far as I got. For an example on this site there is an RSS icon. Its URL is : boinc.thesonntags.com/collatz/.
How do I set it up to read the news when it is published by them which might be infrequent but I would love to see it in my forum automatically when it is listed. Should the poster name be myself since I have no idea what is the name of the original posters name at their site. If I need a cron job, how is it done.?
Thanks for your time.
The postername can be yourself. So it looks like you posted the article.
If you are using SMF 2.0.x there is a scheduled task that you can enable to automaticlly check the rss feeds.
I have a question that hopefully someone can help me with. I have been using this mod for years now and it's been working as expected in that time. I do however notice a change and I'm not sure if it started when I upgraded from 1.1.21 to 2.0.11 or what because I only just discovered this within the last few days. I created a new user to post a new feed I added. The posts are made as they should be but the user never gets a post count increase so they will have say 10 feed posts but 0 posts made in their profile. To see if it was related to it being a newly created member I changed the poster to the one I had been using prior and ran a few feed lookups on that one real quick. Same issue. Posts are made but no increase in the count. At this point I started to experiment with account name vs displayed name(they are different in my case) thinking maybe there was a change in the mod because when I updated my forum I installed all the current versions of the mods because on my 1.1.21 forum they were pretty outdated. No change. Feeds post but no increase in count. I then deleted the feed and started over. Again, no change. Feeds post but no increase in count. The forum total count increases but not the user count. I can bring down the user post count by deleting duplicate feed posts so it's only related to the increase of count. I never noticed prior because the account I have been using has been in use for years so I really never paid close attention to the post count because that account has 1000's of posts. It was glaring however once I used a new account. And running a "recount statistics" in maintenance doesn't change the count either. Is there something else I can try that I'm overlooking?
Does the forum it posts to counts posts?
Yeah it's counting posts and topics it's just the user post for the feeds that don't count. An example of how this works would be:
Create a brand new board with 0 posts/topics and make sure the count posts box is checked. Create a new user with 0 posts. Set up a new feed on that user account and have 5 feeds posted. The totals change on the board to 5 topics/5 posts(as well as increase the forums total count by 5) but the user stays at 0 posts. The same post count issue will happen on any account I try including my admin account. I can also have a feed post in an older board with 1000's of posts and everything increases by 1 every time a feed post is made except for the user post count.
I really wish I had noticed this the moment it started so I could have a more definitive time of what changed on my forum for better troubleshooting. If there's anything you need such as a list of my installed mods on the off chance something is conflicting let me know.
I thought that counting the RSS posts for the user, or not, was a setting
Not setting it checks if the main forum has counting posts or not enabled.
VB, do you have any suggestions on things I could try to get the user post count working? I've gone through and checked every file edit and everything is there that's supposed to be so I'm not sure what else to look for.
Not at this time.
Hi to everybody.
Last week I installed this mod on my forum, but i see that it doesn't work properly.
I made two feed: in the first I setup the update every 30 minuts; in the second I setup the update every 10 minuts; but they both refresh every 6 hours.
I try to delete them and do other feed, but i have alvways the same problem.
This are my option:
Use fake Cron jobs. Checks if feeds need to be updated on each page load.
Autoembed images from RSS Feeds.
Use description instead of content field
Feed download method: ALL
What can I do?
thanks
Did you setup a cron job? If you setup a control job do it every 5 minutes or so.
Quote from: vbgamer45 on March 07, 2016, 09:53:19 AM
Did you setup a cron job? If you setup a control job do it every 5 minutes or so.
no, i didn't.
How can i setup it?
If you have cpanel there is a section for it there.
Check on google on how to setup a cron job.
ok, thanks.
I'll try
I can't quote feed post.
Is it normal?
hi!
I tried to setup this mod on my board but it's showing wrong characters..
example: "Dragões sofreram, em Paços de Ferreira, a 13ª derrota da temporada."
how can I fix it?
Great job :D Here I leave the translation to the Latin Spanish I hope will be helpful ;)
Regards!
Thanks for the translation
Hello All,
I have installed the mod RSS Feed Poster(version 4.2.1) and it is working well bar one issue. If the feeds include a link they do not work, when clicked they just open a new tab in the browser called about:blank
I am using SMF 2.0.11
The feed URL is https://www.google.com/alerts/feeds/08165373219290797405/15146823727046691509
an example of the feed content is;
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:idx="urn:atom-extension:indexing">
<id>
tag:google.com,2005:reader/user/08165373219290797405/state/com.google/alerts/15146823727046691509
</id>
<title>Google Alert - psoriasis</title>
<link href="https://www.google.com/alerts/feeds/08165373219290797405/15146823727046691509" rel="self"/>
<updated>2016-04-22T18:32:12Z</updated>
<entry>
<id>
tag:google.com,2013:googlealerts/feed:5273093838411379965
</id>
<title type="html">
Conversations in Treatment of Moderate to Severe <b>Psoriasis</b>
</title>
<link href="https://www.google.com/url?rct=j&sa=t&url=http://www.mycme.com/conversations-in-treatment-of-moderate-to-severe-psoriasis/activity/3920/&ct=ga&cd=CAIyHGEyOGJiMTlmOGMzMzM1ODc6Y28udWs6ZW46R0I&usg=AFQjCNEJQuIx8DP-8RtO6BewQViCJ_43yA"/>
<published>2016-04-22T18:32:12Z</published>
<updated>2016-04-22T18:32:12Z</updated>
<content type="html">
Opening with patient stories of their <b>psoriasis</b> burden, a set of compelling presentations will focus on helping dermatologists stay up-to-date with the ...
</content>
<author>
<name/>
</author>
</entry>
Any help or suggestions would be much appreciated.
Thanks in advance,
John
Do you have a link to a post where this happens on
Hi VBgamer45,
You can view the page at http://www.psoriasis-help.co.uk/forum/index.php?board=14.0
Thanks in advance for looking.
John
Saw that worked and one that didn't. Can post the rss feeds that you use for that board.
It is
http://www.google.com/alerts/feeds/08165373219290797405/15146823727046691509
Quote from: theraider on April 13, 2016, 06:57:01 AM
hi!
I tried to setup this mod on my board but it's showing wrong characters..
example: "Dragões sofreram, em Paços de Ferreira, a 13ª derrota da temporada."
how can I fix it?
Anyone?
Hello
i want to know about this mod that is it legal to use? or is there any effect of using this mod on seo or google ranking?
Quote from: engrz on May 02, 2016, 03:01:41 AM
Hello
i want to know about this mod that is it legal to use? or is there any effect of using this mod on seo or google ranking?
By using rss auto-posting, you're basically aggregating (duplicating) content so the more you use this, without adding custom "value" i.e your own original content to the mix, the more likelyhood google will keep pushing you down the ranks. Google is all about original content. Those of whom publish this, usually do better than copycats in rankings.
So it's legal, many sites have this feature but it's always an internal feature for members to use to keep upto date on news etc.
Another use of this modification is link building for SEO purposes.
If you run more than one site you can point this at the RSS of the other site to help out with inbound links.
Since most RSS feeds have there descriptions cut off, your not entirely copying the content and once users start replying your page content now differs from the source. Think of it like quoting a site.
Just don't get carried away, that may impact SEO.
So I tried using this with youtube and when it posts the link its all messed up and posts the link as http:///
How do I go about getting extra features added to this mod and paying for them?
Post in the help wanted forum. At this time I am not taking any SMF projects.
I am using this mod but the members i associate to the feed were reset to zero posts and staying on zero posts.
Any help please?
Make sure you check the update posts option if you want to increase their post count for the mod on new post
Thanks for the reply, where is that option as I can not see it??
I think it does it by default.
Still got the issue and cant see an option to enable or disable post increase??
It should auto do it. Unless the board doesn't count posts.
The member must exist.
I've had this same post count problem for months. I never could figure out why the count never increased.
my source link doesnt work, just shows this link about:blank
and a empty page
What feed is it from?
It uses the link element from the feed
this one http://feeds.feedburner.com/ScsSoftwaresBlog
I would use this link http://feeds.feedburner.com/ScsSoftwaresBlog?format=xml
how i would make bot to post if channel have new youtube video, i know this https://www.youtube.com/feeds/videos.xml?channel_id=XXXX but that doesnt link the actual video to post its posting?
Quote from: vbgamer45 on September 02, 2016, 01:49:46 PM
It should auto do it. Unless the board doesn't count posts.
The member must exist.
Member exists and still happening?
Any other ideas?
Hi,
First of all, amazing mod. We have considered donating, but it is not useful for us yet.
This is our site: basketamericano (coding UTF-8)
This is our forum: basketamericano/foro (coding CP1252 according to Chrome but if we look the code it looks like being ISO-8859-1). both are dot com but I can't post links.
We have made several modifactions to the xml parser function at the SUB_RSS2.php, but we still get strange texts. Any help?
Thank you.
I don't know enough about handing that encoding myself not sure. I maybe look into the php xml parser more
Quote from: basketamericano on September 20, 2016, 02:45:43 PM
Hi,
First of all, amazing mod. We have considered donating, but it is not useful for us yet.
This is our site: basketamericano (coding UTF-8)
This is our forum: basketamericano/foro (coding CP1252 according to Chrome but if we look the code it looks like being ISO-8859-1). both are dot com but I can't post links.
We have made several modifactions to the xml parser function at the SUB_RSS2.php, but we still get strange texts. Any help?
Thank you.
Any help on this? we have made several modifications without success.
Thank you.
Sorry I don't know much about that type of encoding.
The RSS feed poster isn't parsing data correctly.
Take a look here: http://testforum.innectis.net/general/(feed)-minecraft-snapshot-16w40a/msg29099/?topicseen#msg29099
The RSS snippet for this article is here: http://imgur.com/a/2leYD
parses fine for me, with images even....
however, your forum is members only, so we can't see the post
Quote from: Kindred on October 23, 2016, 08:50:02 AM
parses fine for me, with images even....
however, your forum is members only, so we can't see the post
Totally didn't think about that, you can see it now.
Looks like an html conversion issue not much can be done about that.
every time i install this it breaks my board
no errors on install
causes a 500 error
You may have to look into apache logs.
Could be a file permission issue.
Can you supply a changelog?
4.2.1
+Added setting to either use the feed description or the content tag
4.2
+Added option to run a feed now to pull in the latest updates from the RSS Feed Poster Admin area.
+Added the next time the feed will update
+Feed title now clickable
+Adding to exisitng topic support made easier.
4.1
!Fixed a bug not getting the latest RSS feed thanks to marcozambi
4.0.2
!Fixed bug with editing feed in SMF 2.0.x
!Added support for json feeds to import into same topic id
4.0
+New option to post a feed to an existing topic
+Added option to auto embed images from feeds using img tags
3.0.4
!Fixed countposts for SMF 1.1.x thanks to emanuele
3.0.3
!Fixed html characters posted in SMF 2.0 thanks to Sinistercat
!Do not increase post counts in boards that do not count posts
3.0.1
+Enable/disable multiple feeds from the main feed listing display dropdown
!Feeds are now imported in order they are in the xml file Oldest to Newest
!Fixed extra footer text shown in non html posts in SMF 2.0
3.0
+Now records how many posts a feed has made
+Added message icon setting to a feed bot
+Added footer append setting to a feed bot
+Added support for ATOM based feeds
+Added source link to the end of the feed
+Updated the feed list layout. Now has checkboxes to delete feed and alternate style rows
!Fixed special characters that were instered into posts for older php versions
2.2
!Fixed next time check for Feeds
!Made sure updateime on feed is changed when feeds are updated
!Better feed loop processing
2.1
Big Thanks to LP for this release for bug fixes and scheduled tasks support
!Fixed two bugs with feeds not being posted if run by cron job. IP Address was required and mark_read needed to be false in order to work correctly
+Added task to scheduled task area for SMF 2.0
1.1
+Added option to mark a feed as being read so it does not display in the unread posts.
+Added option to choose feed download method. Default is ALL but can be set to fopen,fsockopen,and curl
!Fake cron jobs only check once a minute
Sometimes up to four duplicate posts.
RSS Feed Poster 4.0 SMF 2.0.11 fake or real cron job
Any suggestions?
Rick
It depends on the subject line and body if something changes in either it will be reposted.
Quote from: vbgamer45 on May 03, 2017, 02:44:40 PM
It depends on the subject line and body if something changes in either it will be reposted.
I just added a <guid> tag to my feed to try to stop the duplicate content. Does RSS Feed Poster utilize <guid> tags?
Rick
I don't believe so. It is based on the subject/body uniquesness.
Quote from: vbgamer45 on May 06, 2017, 08:30:19 AM
I don't believe so. It is based on the subject/body uniquesness.
Well,
These are all the same
#WorkFromHomeIdeas Legit Flex Job Academy
Started by Admin
0 Replies
53 Views Last post May 04, 2017, 02:06:44 AM
by Admin
#WorkFromHomeIdeas Legit Flex Job Academy
Started by Admin
0 Replies
38 Views Last post May 03, 2017, 08:03:10 PM
by Admin
#WorkFromHomeIdeas Legit Flex Job Academy
Started by Admin
0 Replies
40 Views Last post May 03, 2017, 03:05:10 PM
by Admin
#WorkFromHomeIdeas Legit Flex Job Academy
http://mustc.us/index.php/board,1.0.html
Any suggestions?
May I suggest my research indicated the <guid> tag is pretty standard for preventing duplicates. Would you please consider that in your next version?
If you have any suggestions in the meantime that would be great.
Rick
Been using this mod for a very long time, and I've also installed a competitors rss poster before, I like this one better but man dude, wish you could figure out this duplicates issue or create a little maintenance section that will search for duplicates and remove them, it's pretty time consuming to get rid of them manually... on the up side, I love the way it translates graphics IF the originating site sets up their end correctly that is, for those that have trouble with translations from other sites you have to understand that if they set their end up poorly what you receive can be garbage, been doing rss a long time and a quality feed is hard to find on many sites whatever the source, if they even have it turned on at all, its sort of a dying aspect from the old days...
There's a great feed at a site that goes into the most active board at my site (also with the most number of duplicates, grin)... Glen Beck is a conservative journalist that I follow... do a google search on that name or "The Blaze"...
Hi guys,
It would be cool if this mod could retrieve full article and require approval of feeds before publicly viewable.
I think the mod posts the feed items under a user's profile. Just moderate that user?
Full article it depends on the feed. It only posts what is in the feed
Quote from: vbgamer45 on September 26, 2017, 07:58:42 AM
Full article it depends on the feed. It only posts what is in the feed
Hi vngamer45,
I'm using SMF 2.0.14, and now i want to use this mod RSS Feeder but now it seems it's only compatible with: 2.0 RC4
http://custom.simplemachines.org/mods/index.php?mod=1590
I didn't make that mod.
Quote from: Leonora on February 02, 2011, 12:25:01 PM
So the problem is apostrophes in the feed apparently. Anyone know how to either remove them or parse them differently. I've tried adding
@line 290 subs-RSS.php
$msg_body = str_replace("'", "\'", $msg_body)
To try and replace the apostrophe but this doesn't work. I've also tried jsut removing it with a set of empty quotes but I still get Hacking Attempt... when trying to post through the cron script. Interestingly though if I post the text in the error log manually it goes through fine and creates the post.
The quick and simple way around this without actually fixing the problem is to use the the word censor filter to convert ‘ and ’ back into apostrophes.
Hi guys,
I am running 2.0.15 and I installed your RSS feed poster mod. It is working perfectly as far as i can see, but i am getting an error now.
Apply Filter: Only show the error messages of this member delta5
Apply Filter: Only show the error messages of this IP address 74.189.97.35
Reverse chronological order of list Today at 09:54:48 PM
Apply Filter: Only show the error messages of this session 8c935fe1495fc52f6d6c17a74d2f5b5b
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URLhttps://www.fedupwithliberals.com/index.php?action=feedsadmin;sa=addfeed2Apply Filter: Only show the errors with the same message8: Resource ID#38 used as offset, casting to integer (38)Apply Filter: Only show the errors from this file File: /home/dlspl7k7drgr/public_html/Sources/Subs-RSS2.php
Line: 156
144: }
145:
146:
147: function startElement2($parser, $name, $attrs)
148: {
149: global $depth;
150: @$depth[$parser]++;
151: }
152:
153: function endElement2($parser, $name)
154: {
155: global $depth;
==>156: $depth[$parser]--;
157: }
158:
159: function UpdateRSSFeedBots()
160: {
161: global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings;
162:
163:
164: // Load the language files
165: if (loadlanguage('FeedPoster') == false)
166: loadLanguage('FeedPoster', 'english');
167:
168: // First get all the enabled bots
169: $context['feeds'] = array();
170: $request = $smcFunc['db_query']('', "
171: SELECT
172: ID_FEED, ID_BOARD, feedurl, title, postername, updatetime, enabled, html,
173: ID_MEMBER, locked, articlelink, topicprefix, numbertoimport, importevery,
174: msgicon, footer, id_topic
175:
I hope this is nothing serious, as this is a VERY cool mod..
The forum site is www.fedupwithliberals.com
It is very interesting mod although I saw 2 problems: first that at the moment select the user that wants to show the published does not post the created topics to that user (previously created) I do not know if it is an error or is done that way. And the second is in the log of errors I get every so often
fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
What I understand is something blocked from my hosting service, can it be? in any case the affected line is
$fp = fsockopen($url_array['host'], 80, $errno, $errstr, 30);
Finally it is rare for 2.0 RC4 will not present any other update being a pretty good mod in the idea.
Regards!
Quote
Apply Filter: Only show the error messages of this URLhttps://www.fedupwithliberals.com/index.php?action=feedsadmin;sa=addfeed2Apply Filter: Only show the errors with the same message8: Resource ID#38 used as offset,
That shouldn't affect anything just a warning message.
fsockopen(): unable to connect to :80 (php_network_getaddresses: getaddrinfo failed: Name or service not known)
Yes either invalid domain or issue with host blocking lookup of website domain
This mod works great! To see it in action, go to one of the news headline boards on www.fedupwithliberals.com. The mod is called "Petebot". Every 6 hrs it grabs a new headline and posts it as a regular poster would. Members can comment to it like a normal OP.
Glad you enjoy it.
I have been using RSS Feed Poster on one website successfully for a while.
I decided to add it to another website and it only works when updated manually.
Cron is set.
Also tried Fake Cron.
Also added a mod to reload the page that didn't help.
I tried every download method.
As noted it works when I fetch manually.
No errors.
I tried to read through all of the messages on this thread but haven't found an answer.
Any advice would be greatly appreciated.
What is the feed url?
Quote from: vbgamer45 on August 16, 2018, 05:31:54 PM
What is the feed url?
Thanks for the response!
There are several different feeds.
Here is one http://blog.cleveland.com/realtimenews/atom.xml
They post but only after I run manually.
I think I've figured it out... maintenance - scheduled tasks - update bots wasn't enabled
Although I'm confused... the bot update is now scheduled and the feeds are scheduled. What are the best entries so that there are no conflicts?
Either the task in SMF or the cron job has to be setup. But do not do both.
So pick either option
Hi guys.
Im getting an error from the rss mod.
Apply Filter: Only show the error messages of this member delta5
Apply Filter: Only show the error messages of this IP address 192.88.135.15
Reverse chronological order of list Today at 10:06:43 PM
Apply Filter: Only show the error messages of this session e4e453b2cad1bf7c0e32f23571545f1a
Apply Filter: Only show the errors of this type Type of error: General
Apply Filter: Only show the error messages of this URLhttps://www.fedupwithliberals.com/index.php?action=feedsadmin;sa=addfeed2Apply Filter: Only show the errors with the same message8: Resource ID#30 used as offset, casting to integer (30)Apply Filter: Only show the errors from this file File: /home/s7x1c79cv7ls/public_html/Sources/Subs-RSS2.php
Line: 156
144: }
145:
146:
147: function startElement2($parser, $name, $attrs)
148: {
149: global $depth;
150: @$depth[$parser]++;
151: }
152:
153: function endElement2($parser, $name)
154: {
155: global $depth;
==>156: $depth[$parser]--;
157: }
158:
159: function UpdateRSSFeedBots()
160: {
161: global $smcFunc, $txt, $context, $sourcedir, $tag_attrs, $feedcount, $smcFunc, $maxitemcount, $insideitem, $tag, $modSettings;
162:
163:
164: // Load the language files
165: if (loadlanguage('FeedPoster') == false)
166: loadLanguage('FeedPoster', 'english');
167:
168: // First get all the enabled bots
169: $context['feeds'] = array();
170: $request = $smcFunc['db_query']('', "
171: SELECT
172: ID_FEED, ID_BOARD, feedurl, title, postername, updatetime, enabled, html,
173: ID_MEMBER, locked, articlelink, topicprefix, numbertoimport, importevery,
174: msgicon, footer, id_topic
175:
Any ideas? The mod seems to be working normally.
Thanks
All the time or just when adding a feed?
It keeps coming back it seems
Is what i posted helping any?
That mainly looks like it appears when adding a new feed url.
i will clear the log and force the feeds to update.
ok cleared log and forced it to update. so far nothing in the log yet.
If it comes back again, i will post the error info.
The site is www.fedupwithliberals.com
so far, still working perfectly.
Yeah it looks like only on add feed and it depends on the feed.
Ok I will keep running it and keep you advised.
Hi. Is it possible to change the links of the feed? I would like to turn the links into affiliate links bij adding a code.
So when the link in the feed goes to http://www.google.com i would like to make it http://www.google.com/affiliateid=1
Not at the moment. You could do with a word censor in SMF or build something that checks SMF's output.
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
Hi, I have installed it on smf 2.0.15 . It's posting in the board but the source URL is not correct. The URL used is "http://" in all the feeds. I'm using fake cron job option. What is the difference between fake cron job and cron job. How to make it link back correctly to the source. Also is there an option to attach image as well from the feed.Also I see the post count of feed poster bot is not increasing.I have created a member specially for the feed posting.
The source url is from the feed itself. Use real cron jobs when you can those always run. Fake cron jobs only run when you have people visiting your site.
Yes the rss feed poster has an option to embed images.
Quote from: vbgamer45 on October 14, 2018, 11:13:31 AM
The source url is from the feed itself. Use real cron jobs when you can those always run. Fake cron jobs only run when you have people visiting your site.
Yes the rss feed poster has an option to embed images.
I tried using real cron job but still backlink URL to source is not correct.Also post count of Feed poster is not increasing.I checked source feed location and it's working correct but the RSS feed poster is not importing feeds correctly.Please help.
The source is found the feed url itself check the feed.
Hi,
I've used RSS Feed Poster in the distant past. Trying to use it now (SMF 2.0.15; PHP 7.0) -- but almost always get this error when trying to set up a new feed:
"XML error: XML_ERR_NAME_REQUIRED at line 1"
All fields are completed, when I see this... no special characters... known working rss feeds (Vienna)...
Any thoughts?
The xml feed is not well formed. The system expects a perfect xml feed with no errors.
Quote from: burro on November 19, 2018, 01:59:50 AM
Hi,
I've used RSS Feed Poster in the distant past. Trying to use it now (SMF 2.0.15; PHP 7.0) -- but almost always get this error when trying to set up a new feed:
"XML error: XML_ERR_NAME_REQUIRED at line 1"
All fields are completed, when I see this... no special characters... known working rss feeds (Vienna)...
Any thoughts?
Yep, been using this app for years, get use to it, locating quality feeds these days is a challenge, every site I visit I am constantly checking to see if rss is even available, when it is and the subject/theme might strike my audiences' fancy, I definitely check the quality of the feed, you will find out quickly that many webmasters have forgotten the true concept of social networking and are so freaked by the world's paranoia of privacy issues they don't bother enabling it...
One thing that is not made clear in the OP's post is that a feed url is different from the site you want to get the feeds from.
Let's take coindesk site for instance,
The website is: https://www.coindesk.com/
Feed url is: https://feeds.feedburner.com/CoinDesk
You will get errors when you put the website link instead.
How to get the feed url?
You can simply google it or from the page source of the site you want the feed from.
Use the CTRL+F keys and type rss. You will locate the code below in most websites:
<link rel="alternate" type="application/rss+xml" title="CoinDesk RSS Feed" href="https://feeds.feedburner.com/CoinDesk" />
Where the link after the href is the feed url. In the above example, https://feeds.feedburner.com/CoinDesk
is the feed url for coindesk.
Hope people will not complain of errors any longer :)
Thanks yes there is always different url than the site url itself.
Hi guys,
I'm using your mod on my forum and our members love it. Im having a problem though. Lately, links posted in the articles coming across are showing up garbled and not clickable. Some are ok. Any idea what might be causing this?
Thanks
Delta5
Would need to see the feed. It really depends on the html that is embeded in it.
I'm running feeds from 5 news sites.
Fox News, CNN, Breitbart, Judicial Watch, and GP.
You are welcome to check them out. If you need access to anything, just let me know. I would like to help.
Www.fedupwithliberals.com
Mainly want to see a thread with the issue. And then the exact feed url used.
https://www.fedupwithliberals.com/index.php?topic=8593.0
http://feeds.foxnews.com/foxnews/politics
I am not seeing any links in that content.
What settings do you have on the feed? are you trying to append a link to the story at the end of topic post?
https://www.fedupwithliberals.com/index.php?topic=8493.0
https://www.thegatewaypundit.com/feed/
https://www.fedupwithliberals.com/index.php?topic=8597.0
http://rss.cnn.com/rss/cnn_allpolitics.rss
My first post, the fox post, the source at the bottom would normally be a link.
I do have a question, in the settings for the mod, Do I need the "HTML enabled" checked? Not sure on that one.
You need it checked if the feed content has html inside it. Then will attempt to convert it.
5.0a
+Added support for SMF 2.1.x
Any idea what might cause a double post in one feed?
I added a new feed to my forum, and now each update gets double posted in one post.
https://www.fedupwithliberals.com/index.php?topic=11517.0
Do you have the feed url that generated that post?
sure do.
http://feeds.feedblitz.com/hedgeaccordingly&x=1
I just talked to the owner of that site. He says its probably his feed thats messed up. Please let me know what you think.
Thanks
Update
5.0.1
!Fixed feeds that have both content and description fields
Oh ok, sounds good. Thanks!
If I uninstall and install the new version, will I have to enter all the feed info again?
No
Update: I installed the new version and the doubling in each post seems to be fixed. Now the only problem I can see is thumbnails for things like LinkedIn, twitter, etc only show as blanks now. Not a biggie but looks odd.
Is there a way to block RSS feed posts from showing up under the recent posts button? A few members are complaining that they can't find member recent posts due to the flood of RSS posts.
I don't believe so. You would have to edit the recent topics code.
I don't know why they are crying. When a board icon changes color = new post...
Hi,
I have created a feed with me. Unfortunately, he repeatedly creates the last post several times.
whats the feed url
This is the feed.
https://www.htmlgames.com/rss/
Is there any news with the problem?
Same problem here - https://vacatureforum.nl/index.php
Topics are duplicated posted. Is there a solution for this?
if you parse the feed through feedburner, it doesn't seem to create duplicate posts. otherwise there's something making some posts seem new to the feed poster.
Ever since upgrading to SMF 2.0.17, the RSS Feed Poster mod keeps throwing errors. The feed is abc15.com/news/local-news.rss
Type of error: Undefined
8: Undefined index: utf8
/Sources/Subs.php
/Sources/Subs-Post.php
Line: 3875
Line: 303
Line: 302
Line: 300
Line: 298
Line: 296
Line: 288
Line: 280
Line: 278
etc...
Basically any code with $context['utf8']. What is causing this? Thanks.
Try this attached file copy to your sources folder and let me know if it fixes it.
Quote from: vbgamer45 on January 02, 2020, 06:41:32 PM
Try this attached file copy to your sources folder and let me know if it fixes it.
The errors still occur but with with different name than utf8.
8: Undefined index: server
8: Undefined index: name
/Sources/Subs.php
/Sources/Subs-Post.php
Thanks for looking into it.
Might be an SMF issue...
https://www.simplemachines.org/community/index.php?topic=571140.0
Quote from: vbgamer45 on January 03, 2020, 04:22:59 PM
Might be an SMF issue...
https://www.simplemachines.org/community/index.php?topic=571140.0
I will have to ignore the logs if there is no solution. :-[
Thank you.
would you please consider updating this and adding youtubes RSS feed compatibility please
Can you post an example of the feed. If it is RSS it should work.
Is there any way to limit which items are posted? Even something hack-y would do. I've got a feed with over 700 podcasts episodes, but I already have threads for all previous ones. I want RSS Feed Poster to add just the most recent and all future episodes.
You can let them post in a different forum that is hidden.
Move the new ones to your new board.
After old ones are done. Switch the feed poster to the board to post again normally without the extra board.
Quote from: vbgamer45 on June 09, 2020, 03:43:39 PM
You can let them post in a different forum that is hidden.
Move the new ones to your new board.
After old ones are done. Switch the feed poster to the board to post again normally without the extra board.
Thanks, that helped. I wasn't sure if it would remember if it had been posted in a different subform.
I have another question, though: what could be causing the Source link to be empty? The rss feed is here (http://feed.theskepticsguide.org/feed/sgu).
Doesn't seem like a link property is set in the items example
<item>
<title>The Skeptics Guide #733 - Jul 27 2019</title>
<description>
Whaddya Know: Beryllium; News Items: Telescope Protests, LightSail 2, Free Speech vs Professional Licensing, Autism Genetic, Bird Conspiracy; Who's That Noisy; Science or Fiction
</description>
<enclosure url="https://media.libsyn.com/media/skepticsguide/skepticast2019-07-27.mp3" length="43688016" type="audio/mpeg"/>
<pubDate>Sat, 27 Jul 2019 12:00:00 -0400</pubDate>
<guid>https://www.theskepticsguide.org/podcast/sgu/733</guid>
</item>
vbgamer, may I know the direct ending url of the admin settings area of this mod? It doesn't show up in the admin area.
index.php?action=admin;area=feedsadmin
thank you, vbgamer. Stay safe.
vbgamer, which part of the mod should I edit if I want the link source of the feed land on the homepage of the feed source website. Thanks.
The mod page (https://custom.simplemachines.org/mods/index.php?mod=624) and first post of this thread (https://www.simplemachines.org/community/index.php?topic=141776.0) contain an apparent deadlink (domain parking):
Quotehttp://www.yourforums.com/cronrss.php
Or is "yourforums.com" supposed to be a placeholder?
its a place holder for your forum domain
Ah, and the actual file is part of this mod, I see! Thanks!
Amazing mod, am going to try this week. Already downloaded.
sorry, to bother you, with my question, i dont have read the whole 155 Pages :D
is it possible to retrieve the RSS feed from a Reddit thread including the Pictures ?
and show them in a Posting in the Forum ?
if yes, maybe a link or if its in the thread, just a little guidance, which site....
i would appriciate it....
sorry for my english :)
stay safe and healthy my friends !
greets
andy
edit:
i dont find anything in this thread bout reddit and images
anyone found out, how to imported correctly ? or is it the format ?
i dont want em to import on 10min based, , so 1 day is okay, or 2 days....
It depends how the pictures are in the feed. I would try a feed link that has pictures and see what happens.
You can import based on what ever time you need doesn't have to be 10 minutes
i thought its maybe a Mod ive installed....
it will be formatted to: [IMG]https://.........
and its not ended, its like .jpg!thisIsWhatIMean!
so its not regonozed as a pic.....
I guess not it won't auto pickup pictures and change to tags.
is there any chance to get it work with reddit ? would be awesome.....
i mean witht hat "preview" Picture thingie....maybe with another mod like image converter or anything like that ? maybe anyon know ? :D
Possibly have to see if can do autolink image cocde to convert to bbc have to see
would be awesome !!!!
btw.... is it UTF-8 ?
cause i tried some of the stuff....and...on the XML it shows as "stars" but in the post its shows, something "else" cryptic :D or anything else.... or is it DB Style from my forum ?
could 10US$ make u feel better ? :D
as always....we all want it, one neet to get further (what a lost place)....i could go to Xenforo if i wanna pay for all...but its okay... :)
Quote from: Sectomy on September 25, 2020, 03:25:44 PM
could 10US$ make u feel better ? :D
as always....we all want it, one neet to get further (what a lost place)....i could go to Xenforo if i wanna pay for all...but its okay... :)
For the image linking? From reddit?
Character issue could be UTF8 make sure your SMF forum is set to UTF8
its set to ISo cause of german stuff...i think...
make it image appear and this funny "utf-8" icon stuff, i see em on the xml....
if yes.... hook me up :)
i dont know what is possible.... maybe extract postings ?(first one)
msg me....
Help!
the mod only publishes topics with short news texts?
:________________________________________________
I tried it and if it publishes many topics but they are all very short only 227 characters and the source and link of the web is that normal?
It depends what ever is in the feed.
This is https://www.bbc.com/mundo/temas/economia/index.xml
The feed itself only has short summaries
ok thanks, will you have a link that has feeds with longer topics to test?
I don't that would be a link that they would provide.
Version: 5.0.1
SMF: 2.1 RC3
php: PHP: 7.3.27
Feed download method: all
Testet with HTML Enabled on and off.
When the feed is posted, no url to the feed is outputted.
Source Code
<a href="//" ...
Only 2 // are output instead of the url
What is the feed you are using?
Atom
https://github.com/SimpleMachines/SMF2.1/commits/release-2.1.atom
@wintstar fixed the issue new update
6.0
!Fix broken link urls in atom based fields for SMF 2.0.x and SMF 2.1.x
!Set SMF scheduled task to check every two minutes new installs only
:) Works, great
Thanks @vbgamer45
I will post the german translation the next days
It should not be possible during the installation for version 2.1.* that the language file with the prefix utf-8 is inserted into the language folder. This could cause problems in the operation of the forum and associate that these *utf-8 files can still be used for 2.1.*
QuoteFeedPoster.english-utf8.php
No utf8.php files for SMF 2.1.x is that correct?
The utf-8 prefix in the name of the language file will be dropped in the upcoming version 2.1.
Good to know updated.
This ist for the language file Modifications.*.php
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Konfiguration';
// END RSS FeedPoster
The german language files:
Any difference 2.0 versus 2.1? files
Quote from: wintstar on February 19, 2021, 03:38:04 PM
The utf-8 prefix in the name of the language file will be dropped in the upcoming version 2.1.
2.1 has no utf-8 prefix and are stored utf.8.
2.0:
FeedPoster.german_informal
-utf8.php
FeedPoster.german
-utf8.php
2.1:
FeedPoster.german.php
FeedPoster.german_informal.php
any reason when I add a Feed URL it doesn't populate and the link comes up as fearasylum.com/rss.app/feeds/d5j8XVsFX5hGaIGP.xml
instead of the feed url: rss.app/feeds/d5j8XVsFX5hGaIGP.xml
tried inputting https://
kept throwing error.
Thanks
It needs to be a full url in order to work.
What error do you get and what link are you putting in?
Full URL: https://rss.app/feeds/d5j8XVsFX5hGaIGP.xml
Error: Illegal offset type
The feed worked on my test site no error.
What SMF version?
And do you have line number and file of the error message?
Quote from: vbgamer45 on October 18, 2021, 08:04:50 AMThe feed worked on my test site no error.
What SMF version?
And do you have line number and file of the error message?
Version Information:
Forum version: SMF 2.0.18
Current SMF version: SMF 2.0.18
---
just whenever I add..
Feed Title
Feed URL ect.
and select add feed.
goes to main page with that error in a small box and the feed doesn't get added. where would i found that other information you are requesting?
thanks for helping.
It would be in your forum's error log.
I was testing on SMF 2.0.18 as well
Quote from: vbgamer45 on October 18, 2021, 12:55:42 PMIt would be in your forum's error log.
I was testing on SMF 2.0.18 as well
error output.
Reverse chronological order of list Today at 12:21:38 PM
Apply Filter: Only show the error messages of this session 43b3ccea24951db200c354ac68159d04
Apply Filter: Only show the errors of this type Type of error: Critical
Apply Filter: Only show the error messages of this URL
https://fearasylum.com/index.php?action=feedsadmin;sa=addfeed2
Apply Filter: Only show the errors with the same message
Illegal offset type
Does it say a line number and filename?
Quote from: vbgamer45 on October 18, 2021, 01:25:58 PMDoes it say a line number and filename?
oh yeah forgot to add it my bad.
Apply Filter: Only show the error messages of this URL
https://fearasylum.com/index.php?action=feedsadmin;sa=addfeed2
Apply Filter: Only show the errors with the same message
8192: Required parameter $format follows optional parameter $show_today
Apply Filter: Only show the errors from this file
File: /fearasylum/Themes/default/languages/TPortal.english.php (eval?)
Line: 2553
would that be it?
That looks like a different error. Not from my mod.
What about the error that said "Illegal offset type"
Quote from: vbgamer45 on October 18, 2021, 01:53:36 PMThat looks like a different error. Not from my mod.
What about the error that said "Illegal offset type"
doesn't come up with any errors for that no line numbers or files.
hmm, i don't have much to go on unfortunately. what main settings of the mod do you have setup.
Quote from: vbgamer45 on October 18, 2021, 01:59:46 PMhmm, i don't have much to go on unfortunately. what main settings of the mod do you have setup.
all default settings - installed it and trying to add the feed - now it does allow the feed to be added if I take out the Https://
but the feed url when i hover shows - https://fearasylum.com/rss.app/feeds/d5j8XVsFX5hGaIGP.xml
That is strange. i guess just make sure https:// is lowercase when adding.
Quote from: vbgamer45 on October 18, 2021, 02:23:21 PMThat is strange. i guess just make sure https:// is lowercase when adding.
oh yeah, I made sure to lowercase it, and then throws that error again -.-
Apply Filter: Only show the error messages of this URL
https://fearasylum.com/index.php?action=feedsadmin;sa=bulkactions
Apply Filter: Only show the errors with the same message
2: Undefined array key "host"
Apply Filter: Only show the errors from this file
File: fearasylum/Sources/Subs-RSS2.php
Line: 522
Try for the feed method under settings to use cURl
Quote from: vbgamer45 on October 18, 2021, 02:30:53 PMTry for the feed method under settings to use cURl
updated to cURL and still same issue
Same error? Did you try to run the feed? Might be an issue with the host hard to say though.
Quote from: vbgamer45 on October 18, 2021, 02:38:58 PMSame error? Did you try to run the feed? Might be an issue with the host hard to say though.
yup, tried to run the feed and nothing happens.
Hi, is there any way to translate "Source" text? I think, there's should be such a simple function to translate this text, because I use Russian localization but "Source" text after each RSS post is still in English.
It should be added to the themes/default/languages/modifications.english.php
Quote from: vbgamer45 on November 10, 2021, 03:11:07 PMIt should be added to the themes/default/languages/modifications.english.php
Hmm, in this file I see only one string related to this plugin:
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';It seems I should manually add new strings there from somewhere else like FeedPoster.english.php. I think, this plugin strictly needs a localization interface. Like, I don't speak about localization itself, just give users a convenient way to add translations either in the plugin interface itself or on some third party platform for collective translations so that you could then add them in your dev version.
Make sure to always translate any text added to modifications.*.php in your languages folder.
Yes, wish translations can be shared easier. That is something I would like to see on the customize site one day.
Quote from: vbgamer45 on November 17, 2021, 01:29:35 PMMake sure to always translate any text added to modifications.*.php in your languages folder.
Yes, wish translations can be shared easier. That is something I would like to see on the customize site one day.
In fact, this doesn't work. What works: I copied FeedPoster.english-utf8.php, renamed it to FeedPoster.russian-utf8.php and added translation to this file. Only after this translations works. Any new strings in
modifications.russian.php, modifications.english.php, modifications.russian-utf8.php, modifications.english-utf8.php don't make any changes.
That's what vbgamer said.
Obviously, I you are using the utf8 versions, you need to update the utf8 modifications string file
Getting an error when I try to add a feed. When I click the add feed button I am taken to this error page. Not sure why it keeps doing it whenever I try to add this feed.
(https://cryptovestors.net/error.jpg)
Check your forum's error log first see if anything is logged.
Quote from: vbgamer45 on May 03, 2022, 09:00:18 PMCheck your forum's error log first see if anything is logged.
No errors in the log at all.
Quote from: vbgamer45 on May 03, 2022, 09:00:18 PMCheck your forum's error log first see if anything is logged.
Any other ideas why it might not be working. The logs are not showing any errors. The error page persists.
Try other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.
Quote from: vbgamer45 on May 04, 2022, 11:24:58 AMTry other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.
Thanks for replying. So, I tried a new feed and finally was able to produce an error in the logs. Also I checked with host and fopen, fsockopen and curl are all active.
[04-May-2022 11:34:32 America/New_York] PHP Fatal error: Uncaught TypeError: Illegal offset type in /home/cryptove/public_html/community/Sources/Subs-RSS2.php:162
Stack trace:
#0 [internal function]: startElement2()
#1 /home/cryptove/public_html/community/Sources/Subs-RSS2.php(141): xml_parse()
#2 /home/cryptove/public_html/community/Sources/FeedPoster2.php(171): verify_rss_url()
#3 /home/cryptove/public_html/community/Sources/FeedPoster2.php(42): AddFeed2()
#4 /home/cryptove/public_html/community/index.php(189): FeedsMain()
#5 {main}
thrown in /home/cryptove/public_html/community/Sources/Subs-RSS2.php on line 162
Quote from: vbgamer45 on May 04, 2022, 11:24:58 AMTry other feeds and see if they work. If not might be a php setting issue. Such as fopen urls not working, curl not installed, fsockopen dsiabled.
So I figured it out. The mod would not work with php 8.1. I downgraded to 7.4 and it works. Well at least I created a feed. Now to see if it actually will pull the feed in and post it to the site.
Ah,ok that was fatal error message? I haven't done any testing on 8.1
See if this attached file copied to sources folder works in 8.1
Quote from: vbgamer45 on May 04, 2022, 12:47:01 PMSee if this attached file copied to sources folder works in 8.1
Will give it a try after I get it running on 7.4. I did notice that the cron job is not running right. It is showing this:
/usr/local/cpanel/bin/jailshell: https://cryptovestors.net/community/cronrss.php: No such file or directory
I checked the directory and cronrss.php is showing in there. Any ideas?
Check that file permissions are correct on that file. That sometimes causes that issue.
You can also use the built SMF scheduled task for the cron. Two methods you can use.
Quote from: vbgamer45 on May 04, 2022, 01:58:07 PMCheck that file permissions are correct on that file. That sometimes causes that issue.
You can also use the built SMF scheduled task for the cron. Two methods you can use.
The permissions are set to 666 so no execute permissions. I am going to assume that it should be set differently.
Also, not familiar with how to use the built in SMF scheduled task.
Thanks,
Kevin
Found under Admin -> Maintenance -> Scheduled Tasks
Quote from: vbgamer45 on May 04, 2022, 02:49:43 PMFound under Admin -> Maintenance -> Scheduled Tasks
Found that. It was already selected as enabled. I check marked the run now and hit run now at bottom. However, I do not see any changes. No posts have been made at all. Also, I tried to update the permissions for the cronrss.php and it keeps giving same message that the file does not exist.
Quote from: vbgamer45 on May 04, 2022, 02:49:43 PMFound under Admin -> Maintenance -> Scheduled Tasks
Found that. It was already selected as enabled. I check marked the run now and hit run now at bottom. However, I do not see any changes. No posts have been made at all. Also, I tried to update the permissions for the cronrss.php and it keeps giving same message that the file does not exist. As of this morning even using the built in scheduled tasks nothing has posted from the feeds.
Also is it possible that because my forum is in a sub directory such as cryptovestors.net/community/ instead of the main root that this is causing an issue? Would this affect any commands that are supposed to run and would I need to change anything to reflect the location of my forum?
Sub directory doesn't matter my test forum is in a sub directory.
Quote from: vbgamer45 on May 05, 2022, 09:14:58 AMSub directory doesn't matter my test forum is in a sub directory.
Any other ideas on why it might not be working for me?
Hard to say whats the feel url?
Quote from: vbgamer45 on May 05, 2022, 09:32:10 AMHard to say whats the feel url?
I found a way around the issue. However, when I attempt to create a second feed I get this error now.
XML error: Not well-formed (invalid token) at line 1
I didn't change anything within your script at all to get it to work so that is not an issue. I simply used the fake cron job feature you had setup. This second error is separate.
XML error: Not well-formed (invalid token) at line 1
Means the feed contents itself are not well formed. It needs to be a well formed xml/rss/atom based feed.
Quote from: vbgamer45 on May 05, 2022, 10:01:20 AMXML error: Not well-formed (invalid token) at line 1
Means the feed contents itself are not well formed. It needs to be a well formed xml/rss/atom based feed.
So a feed issue not on my end. Thank you. I really appreciate it.
Yeah I forgot there is a site that fixes a bad feed mentioned somewhere in this thread.
Hello,
@vbgamer45 Is it need that Cronjobs active in my hosting for the mod work properly?
Can you help me about how set correctly it without cronjobs in my host?
Thank you and sorry for the inconveniences.
Not needed for SMF 2.0+ as there is a built in scheduled task
Has anyone seen this message before?
Board structure corrupt: unable to find parent board
I get that when I attempt to use the "run now" function
any ideas?
Check each of your RSS feed bots to make sure the board they are posting to still exists.
I did. The boards do exist
however, when I go into board itself under forum admin there is on an "A" in the drop down followed by two blank spaces
and if I go into categories there is only an "I" in the drop followed by two blank spaces
I would do forum maintenance and do find and repair errors. If it continues I would open a general SMF support topic.
I did that too.
No luck
Hi,
when i add feed, i have this error
"Fatal error: Uncaught TypeError: Illegal offset type in /htdocs/Sources/Subs-RSS2.php:162 Stack trace: #0 [internal function]: startElement2(Object(XMLParser), 'RSS', Array) #1 /htdocs/Sources/Subs-RSS2.php(141): xml_parse(Object(XMLParser), '<?xml version="...') #2 /htdocs/Sources/FeedPoster2.php(171): verify_rss_url('https://www.fra...') #3 /htdocs/Sources/FeedPoster2.php(42): AddFeed2() #4 /htdocs/index.php(191): FeedsMain() #5 {main} thrown in /htdocs/Sources/Subs-RSS2.php on line 162"
version php 8.0
smf version 2.1.3
thanks
Whats the feed url you are using?
i use
this:
https://www.france24.com/fr/france/rss
https://www.actualites-news-environnement.com/rss.php?Id=Climat
https://www.mediaterre.org/xml/topic,54.xml
New release
6.1
!Fixes for PHP 8.0
Hi,
I attach the french translation
;)
FeedPoster.french.php
Added the french translation.
Quote from: Mightymax44 on January 22, 2023, 01:44:06 PMHi,
when i add feed, i have this error
"Fatal error: Uncaught TypeError: Illegal offset type in /htdocs/Sources/Subs-RSS2.php:162 Stack trace: #0 [internal function]: startElement2(Object(XMLParser), 'RSS', Array) #1 /htdocs/Sources/Subs-RSS2.php(141): xml_parse(Object(XMLParser), '<?xml version="...') #2 /htdocs/Sources/FeedPoster2.php(171): verify_rss_url('https://www.fra...') #3 /htdocs/Sources/FeedPoster2.php(42): AddFeed2() #4 /htdocs/index.php(191): FeedsMain() #5 {main} thrown in /htdocs/Sources/Subs-RSS2.php on line 162"
version php 8.0
smf version 2.1.3
thanks
Hi,
I am getting this same error.
PHP 7.4
SMF 2.1.3
RSS Feed Poster 6.1
2023/04/03 01:07:12 [error] 52617#52617: *2612 FastCGI sent in stderr: "PHP message: PHP Fatal error: Uncaught Error: Call to
undefined function xml_parser_create() in /var/www/forums/Sources/Subs-RSS2.php:137
Stack trace:
#0 /var/www/forums/Sources/FeedPoster2.php(171): verify_rss_url()
#1 /var/www/forums/Sources/FeedPoster2.php(42): AddFeed2()
#2 /var/www/forums/index.php(193): FeedsMain()
#3 {main}
thrown in /var/www/forums/Sources/Subs-RSS2.php on line 137" while reading response header from upstream, client: 24.93.172.
45, server: forums.com, request: "POST /index.php?action=feedsadmin;sa=addfeed2 HTTP/1.1", upstream: "fastcgi://unix:/t
mp/php.socket:", host: "forums.com", referrer: "https://forums.com/index.php?action=admin;area=feedsadmin;sa=add
feed"
You need to install the php-xml module inside PHP
I dont know if this question was asked before
but is it possible to add an avatar to the rss feed poster?
I think if you choose an existing forum user that has an avatar as the poster it should work.
Quote from: vbgamer45 on July 27, 2023, 03:57:45 PMI think if you choose an existing forum user that has an avatar as the poster it should work.
that worked..thanks!!!
would you happen to know how to get the feed poster to stop adding in the bbc codes for youtube videos?
Source: 🔴 ABL LIVE: Jamie Foxx Returns, RFK Jr., DeSantis, No Pensions, Try That In A Small Town, and more! (https://www.youtube.com/watch?v=5lMJ5HrUGwI)I'm thinking if the [url= tag wasn't included the youtube video would embed just like any other and that's what I would like
thanks
Anyone have any ideas on this one?
it would be an awesome feature
thanks
I want a solution to the duplicate topics
I use ubuntu crontab to run https:// mydomain .com/cronrss.php
Quote from: bennasria on November 09, 2023, 08:06:00 AMI want a solution to the duplicate topics
I use ubuntu crontab to run https:// mydomain .com/cronrss.php
What you
want and what you'll
get may be two different things without a little more detail.
I have a problem: poster doesn't work automatically. When I launch process through forum task manager,it works and I see posts, but then it stops. It generates proceses in logs but don't post by its own. I tried various times in settings, default 360 min, 5 mins etc. What can be cause of this problem?
Could be an error in the feed if not proper xml check error log.
Could be feed not enough items to post.
I've discovered what was the cause of the problem: the next update feed time doesn't change until I run the feed manually. I just thought that it will be changed after I changed it in settings. Not so evident, would be helpful if the UI would be more informative about it.
It should update if you have a task in SMF's task manager or a cron job setup.
Quote from: vbgamer45 on November 16, 2023, 02:02:08 PMIt should update if you have a task in SMF's task manager or a cron job setup.
The task exist, and I see in logs that it's performed regularly, but it is seems that Feed update time updates only when the very update time comes, or I manually run the feed through plugin interface.
I've faced another bug. The plugin creates a lot of topics with the same name. After I delete some of them, the forum itself displayed as empty. But actually contains these topics. See in the attached video what happens after I delete duplicates. My RSS feed doesn't contain duplicates: https://strategycon.ru/category/news/feed
Another one video. That topics appeared again when I create some new topic in the forum. After I delete it, they disappeared again. You can see these the same topics RSS poster created, with the same title and text.
Also, I have continuous mistakes: Undefined array key "name". Sorry, the plugin is too much buggy now, I use it on a clean SMF 2.1.4 installation, on default theme only with css edits. I hope the bugs will be resolved.
Minor update.
6.1a
!Fixed on uninstall not deleting the scheduled task.
peki neden çekerken konu başlığı gelmiyor bunda herhangi bir ayarı varmı ??
Quote from: ramooo19 on November 21, 2024, 09:45:02 AMpeki neden çekerken konu başlığı gelmiyor bunda herhangi bir ayarı varmı ??
QuoteSo why doesn't the subject title appear when recording? is there any setting for this?
Please use English in this section. The Turkish language has it's own support section.
Hello everyone...
First, just a HUGE THANK YOU for this mod. By far, one of the best out there. Been testing with different feeds and is just awesome for the type of feeds it will capture, very nice.
Hoping someone has found a fix for this one; a image, png issue I'm having. Won't display in the post at all.
Tried the embed and download images setting's, no go.
Attaching the RSS feed script and how it displays in as an image. Any help would be appreciated. TY
(https://tristatesurvival.com/rssfeedcode.png)
(https://tristatesurvival.com/displayinpost.png)
Thank you,
BugginIn
What does it look like in the post source?
Quote from: vbgamer45 on November 24, 2024, 12:02:28 PMWhat does it look like in the post source?
Hmmm, not sure what your looking for. Where/what is that?
Thank you...
The source code of the html of the post with the issue were the image is broken.
Quote from: vbgamer45 on November 24, 2024, 11:48:04 PMThe source code of the html of the post with the issue were the image is broken.
OK, think this is what your looking for?
<item>
<title>Cincinnati's Nights of Lights</title>
<link>https://www.visitcincy.com/event/cincinnati%e2%80%99s-nights-of-lights/14411/</link>
<category><![CDATA[ Holiday Events ]]></category>
<category><![CDATA[ Festivals and Special Events ]]></category>
<category><![CDATA[ Family-Fun ]]></category>
<guid ispermalink="false">https://www.visitcincy.com/event/cincinnati%e2%80%99s-nights-of-lights/14411/</guid>
<pubDate>Mon, 25 Nov 2024 23:59:59 -0500</pubDate>
<description>
<![CDATA[
<img src='https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,h_100,q_75,w_150/v1/crm/cincyregion/1_B2D85494-D759-A950-87330FBF501BCFEC_b2dadfa6-9b06-9b40-f6a5da02c40ea153.png'/>
11/25/2024 to
01/05/2025
-
<div class="flex-shrink-0 flex flex-col relative items-end"> <div class="pt-0"> <div class="gizmo-bot-avatar flex h-8 w-8 items-center justify-center overflow-hidden rounded-full"> <div class="relative p-1 rounded-sm flex items-center justify-center bg-token-main-surface-primary text-token-text-primary h-8 w-8"> <p>Get ready to experience a beloved holiday tradition that brings the season's spirit to life during Cincinnati’s Nights of Light, just 40 minutes east of downtown Cincinnati! Watch as the night</p></div></div></div></div>
]]>
</description>
</item>
Almost but I meant the source code on your forum not the feed itself.
Quote from: vbgamer45 on November 25, 2024, 10:04:24 AMAlmost but I meant the source code on your forum not the feed itself.
Which file would that be? Using the mod RSS Feed Poster but not sure what source code your referring?
None of those. the html/source code of the chrismas carol post. I want to see what is broke in the html ie the broken image.
Quote from: vbgamer45 on November 25, 2024, 12:19:06 PMNone of those. the html/source code of the chrismas carol post. I want to see what is broke in the html ie the broken image.
Think I know what your looking for now, here you go:
<div class="post">
<div class="inner" data-msgid="6314" id="msg_6314">
<b>A Christmas Carol</b><br><br><img src="'https://assets.simpleviewinc.com/simpleview/image/upload/c_fill,h_100,q_75,w_150/v1/crm/cincyregion/A-Christmas-Carol_13BD9C04-5056-B3A8-4924A102E586140F_13be98ac-5056-b3a8-49c5cd397ebd5847.png'/"><br> <br> <br> <br> <br> <br> 11/22/2024 to<br> <br> <br> <br> <br> <br> <br> <br> 12/29/2024<br> <br> -<br> <p>The holiday story you love unfolds in spectacular fashion with a brand-new production specially designed for Moe and Jack's Place – The Rouse Theatre! In Charles Dickens' classic tale, Ebenezer</p><br>Source: <a href="https://www.visitcincy.com/event/a-christmas-carol/13719/" class="bbc_link" target="_blank" rel="noopener">A Christmas Carol</a>
</div>
</div>
Yes so i see what is going on now. it looks like the image added an extra " at the start of the url causing it to break.
The RSS feed itself was strange as it was using ' quotes instead of " that is normally used in html.
Quote from: vbgamer45 on November 26, 2024, 11:28:19 AMYes so i see what is going on now. it looks like the image added an extra " at the start of the url causing it to break.
The RSS feed itself was strange as it was using ' quotes instead of " that is normally used in html.
Ahh, I think I see what you mean. No way to fix it in the mod then?
Thank you,
Bugginin