Simple Machines Community Forum

Customizing SMF => Modifications and Packages => Topic started by: SMFHacks.com Team on January 11, 2007, 07:46:04 PM

Title: RSS Feed Poster
Post by: SMFHacks.com Team on January 11, 2007, 07:46:04 PM
Link to Mod (https://custom.simplemachines.org/mods/index.php?mod=624)



RSS Feed Poster

By vbgamer45 (http://custom.simplemachines.org/mods/index.php?action=profile;u=24876)


Compatibility
Works with SMF 2.1.x, SMF 2.0.x and SMF 1.1.x

Contributors
Version 3.0 paid for by MoreBloodWine (http://www.simplemachines.org/community/index.php?action=profile;u=42226)

Description
Allows you to add RSS Feed Posting Bots to your forum.
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 enabled


Support Links
SMF 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)

Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 07:57:16 PM
how do you do enable:

fsockopen php function
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 08:03:19 PM
how do you do enable:

fsockopen php function
You would have to contact your host if it is disabled.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 08:33:11 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 08:41:58 PM
let me uninstall it and reinstall it.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 08:45:29 PM
Quote
Database Error
Unknown column 'ID' in 'where clause'
File: /home/daboroe/public_html/community/smf/Sources/FeedPoster.php
Line: 369
same problem
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 08:47:43 PM
You need to redownload the mod again then install it.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 08:48:12 PM
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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 08:51:05 PM
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.
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 08:54:24 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 08:56:06 PM
Bah tinyportal is using the same function name.
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 08:58:05 PM
Bah tinyportal is using the same function name.

meaning what?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 08:58:39 PM
Ok fixed it to use another function name should work with tiny portal now.
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 08:59:08 PM
Ok fixed it to use another function name should work with tiny portal now.

redownload?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 08:59:26 PM
ok so i should be able to use it now iwthout that function on?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:00:36 PM
Ok fixed it to use another function name should work with tiny portal now.

redownload?
yes
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:01:01 PM
ok so i should be able to use it now iwthout that function on?
Nope fsockopen is required for getting the feeds
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:04:05 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:07:30 PM
Like I said you need the fsockopen function without that the mod will do nothing.
Title: Re: RSS Feed Poster
Post by: Mick. 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
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:14:07 PM
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?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:14:32 PM
you might need to upload the "new" Subs-RSS.php manually.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:16:32 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:21:34 PM
when i do that...it puts the rss feeds above everything else
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:24:13 PM
when i do that...it puts the rss feeds above everything else
I don't understand? When you do what?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:27:14 PM
what do the fake cron jobs do?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:27:59 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:29:05 PM
i did redownload it that is after the last update.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:31:48 PM
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
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 09:33:09 PM
Ok.  It uploaded just fine this time.  Now im trying to figure out how to make it work. Ill get back to ya later.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:41:05 PM
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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:52:41 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:55:25 PM
edited

i beleive it is working now sure
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 09:56:37 PM
Set the setting to post more items from the feed or add more rss feed bots.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 09:58:19 PM
it works
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 09:59:15 PM
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 10:06:58 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!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 10:15:52 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.
Title: Re: RSS Feed Poster
Post by: Xarcell on January 11, 2007, 10:16:41 PM
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.

Code: [Select]
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

Code: [Select]
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!
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 10:17:11 PM
One question tho'....  every time it updates and posts,does that count as a forum post?

Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 10:18:47 PM
Yes it does.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 10:23:43 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.
Title: Re: RSS Feed Poster
Post by: Mick. on January 11, 2007, 10:25:19 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 10:26:47 PM
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.
Code: [Select]
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
Title: Re: RSS Feed Poster
Post by: 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

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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 10:31:22 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 11, 2007, 10:34:57 PM
again how do you set it up so the post count overall does not increase or do we just re download it.
Title: Re: RSS Feed Poster
Post by: Daniel Marquard 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 11, 2007, 11:20:32 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.
Title: Re: RSS Feed Poster
Post by: 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.  :) 
Title: Re: RSS Feed Poster
Post by: Daniel Marquard on January 12, 2007, 12:36:02 AM
Is it disabled? Usally hosts disable it via php.ini and set a list of functions to disable.

So it's enabled by default?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 08:18:46 AM
no u have to go in and enable the feed when you edit it.
Title: Re: RSS Feed Poster
Post by: Xarcell on January 12, 2007, 09:21:58 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.
Title: Re: RSS Feed Poster
Post by: Xarcell on January 12, 2007, 09:25:27 AM
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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 10:00:36 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?

Edited
How do i shut the posting counts for the mod off

Thank you
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 10:39:58 AM
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?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 01:25:28 PM
how do i turn off the post counts for the mod again please sir?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 12, 2007, 01:27:21 PM
how do i turn off the post counts for the mod again please sir?

Open Sources/Subs-RSS.php

Find
Code: [Select]
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
Replace with
Code: [Select]
'update_post_count' => false;
Title: Re: RSS Feed Poster
Post by: 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. :)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 12, 2007, 01:33:10 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.
Title: Re: RSS Feed Poster
Post by: ankitcs on January 12, 2007, 01:43:19 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 12, 2007, 01:43:49 PM
For SMF 1.1.1 only.
Title: Re: RSS Feed Poster
Post by: bobby0408 on January 12, 2007, 01:49:39 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 12, 2007, 01:54:48 PM
Permissions shouldn't matter as it is not writing to any files.
Title: Re: RSS Feed Poster
Post by: bobby0408 on January 12, 2007, 02:03:53 PM
Permissions shouldn't matter as it is not writing to any files.

OK anything I can check?
Title: Re: RSS Feed Poster
Post by: Daniel Marquard on January 12, 2007, 04:07:25 PM
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...
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 04:36:59 PM
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
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 04:46:33 PM
how do i turn off the post counts for the mod again please sir?

Open Sources/Subs-RSS.php

Find
Code: [Select]
'update_post_count' => (($feed['ID_MEMBER'] == 0) ? 0 : 1),
Replace with
Code: [Select]
'update_post_count' => false;

i believe it is supposed to be a , not a ;

thanks

EDITED
It still does not work. Below is my Subs-RSS.php
Title: Re: RSS Feed Poster
Post by: Ryuoh on January 12, 2007, 06:03:58 PM
my host gives this example code for CURL (i cant use fsockopen either)

Code: [Select]
<?

$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";

?>
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 12, 2007, 09:50:12 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.
Title: Re: RSS Feed Poster
Post by: Xarcell on January 12, 2007, 10:11:01 PM
@ vbgamer45

Information on cURL
http://wiki.dreamhost.com/index.php/CURL

@ Bobby

Can you post a link to your cronfile/site?
Title: Re: RSS Feed Poster
Post by: ankitcs on January 12, 2007, 11:13:27 PM
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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 12, 2007, 11:21:12 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
Title: Re: RSS Feed Poster
Post by: 3nd3r on January 13, 2007, 10:52:51 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 13, 2007, 11:09:31 AM
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.
Title: Re: RSS Feed Poster
Post by: 3nd3r on January 13, 2007, 11:17:13 AM
Thanks for your quick answer.

Quote
Currently 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...

Quote
The 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.
Title: Re: RSS Feed Poster
Post by: 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!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 13, 2007, 01:46:21 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.
Title: Re: RSS Feed Poster
Post by: britmovie on January 13, 2007, 02:03:45 PM
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!
Title: Re: RSS Feed Poster
Post by: Jump1979man on January 13, 2007, 03:47:39 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 13, 2007, 03:49:09 PM
Whats the feed url you are using?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 13, 2007, 03:53:12 PM
jump try to use fake cron jobs
Title: Re: RSS Feed Poster
Post by: GC on January 13, 2007, 10:45:50 PM
I have fsockopen and I still get cronjob errors via e-mail:

PHP Warning:  fopen(http://www.lanwars.org/index.php?option=com_rss&amp;feed=RSS1.0&amp;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&amp;feed=RSS1.0&amp;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 &amp;
Title: Re: RSS Feed Poster
Post by: ankitcs on January 13, 2007, 11:06:17 PM
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.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 13, 2007, 11:13:44 PM
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.
Title: Re: RSS Feed Poster
Post by: ankitcs on January 13, 2007, 11:19:58 PM
I am not using TinyPortal.Could that be problem ?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 13, 2007, 11:21:20 PM
I am busy for a while so I will look into the issues some time after thrusday of next week.
Title: Re: RSS Feed Poster
Post by: ankitcs on January 13, 2007, 11:22:42 PM
OK.Its working now.But subject and Body is Blank.
Title: Re: RSS Feed Poster
Post by: GC on January 14, 2007, 12:55:40 AM
OK.Its working now.But subject and Body is Blank.

That happened once for me and after nothing at all!

Title: Re: RSS Feed Poster
Post by: ankitcs on January 14, 2007, 01:28:57 AM
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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 14, 2007, 05:47:13 AM
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?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 14, 2007, 07:10:38 AM
the first time it posts it will post something blank.
Title: Re: RSS Feed Poster
Post by: nolageek on January 14, 2007, 07:38:53 AM
I noticed that DaBoROE09, is that expected?
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 14, 2007, 09:10:02 AM
i thought he fixed that problem.
Title: Re: RSS Feed Poster
Post by: nolageek on January 14, 2007, 09:15:00 AM
I haven't gotten anything else either.
Title: Re: RSS Feed Poster
Post by: sipko on January 14, 2007, 10:30:27 AM
Thanks for creating this awesome and most useful mod!
Title: Re: RSS Feed Poster
Post by: Jump1979man on January 14, 2007, 11:32:51 AM
jump try to use fake cron jobs


tried fake cron jobs and that doesnt work either.
Title: Re: RSS Feed Poster
Post by: DaBoROE09 on January 14, 2007, 02:18:57 PM
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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: sipko on January 14, 2007, 04:11:16 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.
Title: Re: RSS Feed Poster
Post by: sipko on January 14, 2007, 04:50:53 PM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: beast24 on January 14, 2007, 09:33:02 PM
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 :)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 14, 2007, 09:34:55 PM
Might be able to limit the words, formatting maybe impove it.
Title: Re: RSS Feed Poster
Post by: beast24 on January 14, 2007, 09:51:18 PM
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: ankitcs on January 15, 2007, 05:15:02 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.
Title: Re: RSS Feed Poster
Post by: rsdworker on January 15, 2007, 05:34:03 AM
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
Title: Re: RSS Feed Poster
Post by: RvG on January 15, 2007, 12:11:34 PM
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 :(
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 15, 2007, 12:20:45 PM
Does not work for blogspot feeds. http://howtotieatievideo.blogspot.com/rss.xml

Since they are ATOM based.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 15, 2007, 03:04:32 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.
Title: Re: RSS Feed Poster
Post by: RvG on January 15, 2007, 03:17:50 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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 15, 2007, 03:27:10 PM
grrrrr  damn you, ATOM based feeds and a pox upon thy house!
Title: Re: RSS Feed Poster
Post by: GC on January 15, 2007, 04:39:20 PM
Could you please make this mod Atom accessable?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 15, 2007, 04:45:42 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?
Title: Re: RSS Feed Poster
Post by: RvG on January 16, 2007, 12:03:32 AM
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...
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 16, 2007, 12:14:13 AM
Url?
Title: Re: RSS Feed Poster
Post by: beast24 on January 16, 2007, 12:21:42 AM
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.
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 12:39:00 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 16, 2007, 12:41:47 AM
cUrl might I added basic support untested since i don't have it installed.
Title: Re: RSS Feed Poster
Post by: Jump1979man on January 16, 2007, 12:43:31 AM
mod has been updated and it now works however it continuously posts the same feed over and over.
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 12:44:46 AM
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...
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 16, 2007, 12:45:46 AM
Ports? It just connects to a website on port 80 of the website.
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 12:49:28 AM
Here is my host's reply:

Quote
If 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 ?

Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 01:02:46 AM
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...
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 01:13:21 AM
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...
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 01:23:25 AM
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! :)
Title: Re: RSS Feed Poster
Post by: nolageek on January 16, 2007, 02:04:07 AM
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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 16, 2007, 02:30:24 AM
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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: nolageek on January 16, 2007, 02:48:02 AM
Mine is only posting it once...  that's an odd error.
Title: Re: RSS Feed Poster
Post by: buhaychat.com on January 16, 2007, 02:57:43 AM
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?
Title: Re: RSS Feed Poster
Post by: nolageek on January 16, 2007, 03:52:56 AM
Ok, turning off HTML just has the link displays, I thought that would happen:

Code: [Select]
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?
Title: Re: RSS Feed Poster
Post by: Jump1979man on January 16, 2007, 11:17:32 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 16, 2007, 11:21:16 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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 16, 2007, 11:59:42 AM
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
Code: [Select]
<img src="http://blah.com/img.gif" width="100" alt="blah.com" />  with just
Code: [Select]
<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.
Title: Re: RSS Feed Poster
Post by: Jump1979man on January 16, 2007, 12:40:55 PM
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.....
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on January 16, 2007, 12:53:55 PM
anyway to get rid of the
Code: [Select]
&quot; from the feeds and convert them to " or just put them in quote sections i.e.
Code: [Select]
[ quote ][ /quote ]
Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 02:08:21 PM
It's not the entire post which is duplicated but just the title or subject line.
Title: Re: RSS Feed Poster
Post by: 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...

Title: Re: RSS Feed Poster
Post by: GC on January 16, 2007, 05:19:53 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 16, 2007, 05:35:46 PM
You can use any feed url but having odd characters like ; or & may cause problems.
Title: Re: RSS Feed Poster
Post by: GC on January 16, 2007, 05:52:50 PM
You can use any feed url but having odd characters like ; or & may cause problems.

Nope, the ; and & dont cause errors for me.
Title: Re: RSS Feed Poster
Post by: majo on January 16, 2007, 05:55:00 PM
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 :)

Title: Re: RSS Feed Poster
Post by: sanax on January 16, 2007, 06:12:44 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!
Title: Re: RSS Feed Poster
Post by: nolageek on January 17, 2007, 12:05:40 AM
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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 17, 2007, 03:52:19 AM
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. :(
Title: Re: RSS Feed Poster
Post by: sanax on January 17, 2007, 05:28:03 AM
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:

Quote
http://www.mydomain.net/cronrss.php

None of the above works though. Do I miss something?
Title: Re: RSS Feed Poster
Post by: BlueRidgeFireRescue on January 17, 2007, 09:33:07 AM
nolageek

what form feed are you using
Title: Re: RSS Feed Poster
Post by: nolageek on January 17, 2007, 11:10:11 AM
rss 2.0   both are being run through feedburner.
Title: Re: RSS Feed Poster
Post by: TheWrath! on January 17, 2007, 11:15:58 AM
i meant like what links... that end in .rss, .xml, or .rss.xml ?
Title: Re: RSS Feed Poster
Post by: nolageek on January 17, 2007, 01:26:33 PM
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.
Title: Re: RSS Feed Poster
Post by: TheWrath! on January 17, 2007, 04:41:30 PM
yes they do; what kind do u want like top stories, us news, et
Title: Re: RSS Feed Poster
Post by: L.G.S on January 17, 2007, 04:54:21 PM
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.
Title: Re: RSS Feed Poster
Post by: beast24 on January 17, 2007, 05:42:17 PM
^^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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 17, 2007, 05:44:41 PM
Feeds currently can not contain & in them. .xml is not required. They need to be RSS feeds.
Title: Re: RSS Feed Poster
Post by: L.G.S on January 17, 2007, 05:52:24 PM
alright thanks, will http://rss.news.yahoo.com/rss/tech work?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 17, 2007, 05:59:28 PM
alright thanks, will http://rss.news.yahoo.com/rss/tech work?
That looks good to go.
Title: Re: RSS Feed Poster
Post by: maxprofit on January 17, 2007, 09:03:15 PM
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

Title: Re: RSS Feed Poster
Post by: nolageek on January 17, 2007, 09:32:32 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...


Code: [Select]
Armani&#39;s velvets bring soft touch to MilanReuters India,&nbsp;India&nbsp;- 12 hours ago&quot;There&#39;s not much black today, it&#39;s true,&quot; said the designer, who stated &quot;Black is cool&quot; 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.
Title: Re: RSS Feed Poster
Post by: nolageek on January 18, 2007, 07:18:38 AM
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
Title: Re: RSS Feed Poster
Post by: L.G.S on January 18, 2007, 11:25:49 AM
Yeah problem here too, the feed seems to be posting the same news twice for me...
Title: Re: RSS Feed Poster
Post by: WhatsUp on January 18, 2007, 02:31:13 PM
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!
Title: Re: RSS Feed Poster
Post by: 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 ?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 18, 2007, 04:49:59 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.
Title: Re: RSS Feed Poster
Post by: GC on January 18, 2007, 04:54:29 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...


Code: [Select]
Armani's velvets bring soft touch to MilanReuters India,&nbsp;India&nbsp;- 12 hours ago&quot;There's not much black today, it's true,&quot; said the designer, who stated &quot;Black is cool&quot; 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
Title: Re: RSS Feed Poster
Post by: L.G.S on January 18, 2007, 04:55:58 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 ??
Title: Re: RSS Feed Poster
Post by: 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?

Title: Re: RSS Feed Poster
Post by: txt3rob on January 20, 2007, 09:26:27 PM
im getting
Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: sanax on January 20, 2007, 10:00:07 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...
Title: Re: RSS Feed Poster
Post by: maxprofit on January 20, 2007, 11:27:45 PM
 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 20, 2007, 11:34:40 PM
Make sure it is the url location not the path to the file.
Title: Re: RSS Feed Poster
Post by: sanax on January 20, 2007, 11:57:31 PM
I'm using the 'path' and not the 'URL'

I found the latter is not working though.
Title: Re: RSS Feed Poster
Post by: 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:

Quote
Fatal 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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: maxprofit on January 21, 2007, 10:19:54 AM
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
Title: Re: RSS Feed Poster
Post by: txt3rob on January 21, 2007, 11:09:42 AM
what can i do about it not installing to my board? version 1.1.1?
Title: Re: RSS Feed Poster
Post by: L.G.S on January 21, 2007, 11:45:49 AM
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
Title: Re: RSS Feed Poster
Post by: GetRank on January 21, 2007, 12:29:23 PM
working great with "use fake cron jobs" ;)
thanks
Title: Re: RSS Feed Poster
Post by: Ninoslav on January 21, 2007, 01:43:40 PM
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?

Title: Re: RSS Feed Poster
Post by: txt3rob on January 21, 2007, 05:19:26 PM

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
Title: Re: RSS Feed Poster
Post by: turkarea on January 21, 2007, 05:21:16 PM
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 ?
Title: Re: RSS Feed Poster
Post by: Niteblade on January 21, 2007, 05:55:45 PM
Nice mod, as usual.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Ninoslav on January 21, 2007, 09:15:42 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!
Title: Re: RSS Feed Poster
Post by: lexhair on January 21, 2007, 09:59:10 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).
Code: [Select]
#!/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.
Title: Re: RSS Feed Poster
Post by: webfan on January 22, 2007, 02:33:08 AM
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...
Title: Re: RSS Feed Poster
Post by: maxprofit on January 22, 2007, 08:14:30 AM

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   :)
Title: Re: RSS Feed Poster
Post by: 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:
Code: [Select]
<?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
Title: Re: RSS Feed Poster
Post by: maxprofit on January 22, 2007, 12:00:25 PM
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.

Title: Re: RSS Feed Poster
Post by: fir4t on January 22, 2007, 12:32:26 PM
What İs The Sql Query Code ? :S
Title: Re: RSS Feed Poster
Post by: Ninoslav on January 22, 2007, 01:10:11 PM
As a follow up to my post above, if you don't want to write a perl script, this php script should work:
Code: [Select]
<?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!
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Xarcell on January 22, 2007, 04:33:00 PM
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:

Quote
Fatal 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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Xarcell on January 22, 2007, 05:20:55 PM
Ya, I think that's a feature needed. It's flooding the unread topics area.
Title: Re: RSS Feed Poster
Post by: Asgard on January 22, 2007, 06:02:53 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
Title: Re: RSS Feed Poster
Post by: ketchup on January 23, 2007, 02:51:47 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 23, 2007, 08:52:28 AM
Create a folder called temp in the packages folder and make sure it is writable
Title: Re: RSS Feed Poster
Post by: L.G.S on January 23, 2007, 11:23:44 AM
any chance of knowing how to stop them from appearing in unread topics.. much be a way

any idea for this :(
Title: Re: RSS Feed Poster
Post by: ketchup on January 23, 2007, 11:35:03 AM
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  :-\
Title: Re: RSS Feed Poster
Post by: ketchup on January 23, 2007, 11:39:44 AM
Actually it takes me to this url

blahblahforums.com/forums/index.php?action=feedsadmin


which is just my board index  :-\
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 23, 2007, 11:40:09 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.
Title: Re: RSS Feed Poster
Post by: ketchup on January 23, 2007, 11:41:01 AM
so what should I do? it says it's installed and I can list the files and stuff
Title: Re: RSS Feed Poster
Post by: maxprofit on January 23, 2007, 12:42:15 PM
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
Title: Re: RSS Feed Poster
Post by: L.G.S on January 23, 2007, 02:14:04 PM
Yeah same with me, my members are also getting upset. This settings should be a basic option imo
Title: Re: RSS Feed Poster
Post by: ketchup on January 23, 2007, 02:34:11 PM
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
Title: Re: RSS Feed Poster
Post by: webfan on January 23, 2007, 03:03:02 PM
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?
Title: Re: RSS Feed Poster
Post by: maxprofit on January 23, 2007, 03:05:02 PM
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
Title: Re: RSS Feed Poster
Post by: L.G.S on January 23, 2007, 03:23:12 PM
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..
Title: Re: RSS Feed Poster
Post by: L.G.S on January 23, 2007, 03:26:55 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 23, 2007, 04:04:57 PM
Are you using the most recent version? At line 176 I get an empty line of that file.
Title: Re: RSS Feed Poster
Post by: L.G.S on January 23, 2007, 04:23:34 PM
Updated, still get the problems.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: tones_ie on January 23, 2007, 05:39:23 PM
@ 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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: mohoganybrwn on January 24, 2007, 12:26:52 AM
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?
Title: Re: RSS Feed Poster
Post by: webfan on January 24, 2007, 10:25:30 AM
Quote
Can 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
Title: Re: RSS Feed Poster
Post by: TheWrath! on January 24, 2007, 10:28:15 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
Title: Re: RSS Feed Poster
Post by: GC on January 24, 2007, 11:08:21 AM
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.
Title: Re: RSS Feed Poster
Post by: maxprofit on January 24, 2007, 11:13:00 AM
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?

Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 24, 2007, 11:57:54 AM
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.
Title: Re: RSS Feed Poster
Post by: L.G.S on January 24, 2007, 12:25:10 PM
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
Title: Re: RSS Feed Poster
Post by: Garick on January 24, 2007, 05:33:36 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 24, 2007, 05:46:37 PM
Have you tried copying the file to the packages folder and install from there?
Title: Re: RSS Feed Poster
Post by: Garick on January 24, 2007, 06:04:06 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 24, 2007, 06:07:22 PM
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.
Title: Re: RSS Feed Poster
Post by: Garick on January 24, 2007, 06:58:15 PM
thanks vbgamer, feeder is working like a charm :)
Title: Re: RSS Feed Poster
Post by: mohoganybrwn on January 24, 2007, 10:23:12 PM
Quote
Can 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... :(
Title: Re: RSS Feed Poster
Post by: lexhair on January 25, 2007, 09:06:43 AM
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.
Title: Re: RSS Feed Poster
Post by: L.G.S on January 25, 2007, 10:43:36 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 25, 2007, 10:57:46 AM
I don't know how to fix that.
I would remove the mod if it is causing problems.
Title: Re: RSS Feed Poster
Post by: webfan on January 26, 2007, 08:22:04 AM
Quote
fake cron job checks every page view if a feed has not been posted yet.
Mh. I changed
Code: [Select]
// RSS Feed Poster run fake cron job
if (!empty($modSettings['rss_fakecron']))
{

require_once($sourcedir . '/Subs-RSS.php');
UpdateRSSFeedBots();
}
to
Code: [Select]
// 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?

Title: Re: RSS Feed Poster
Post by: Enigma on January 26, 2007, 05:46:04 PM
Great mod. thanks.
Title: Re: RSS Feed Poster
Post by: mram48 on January 27, 2007, 03:16:22 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 27, 2007, 03:21:06 PM
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.
Title: Re: RSS Feed Poster
Post by: NineseveN on January 28, 2007, 02:59:27 AM
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...
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: maxprofit on January 28, 2007, 11:17:36 AM
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
Title: Re: RSS Feed Poster
Post by: crappyday on January 29, 2007, 09:46:19 AM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 29, 2007, 10:29:14 AM
Duplicate posts haven't figured out it should not be making them though.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: lexhair on January 29, 2007, 01:09:06 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.
Title: Re: RSS Feed Poster
Post by: crappyday on January 29, 2007, 01:37:32 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.
Title: Re: RSS Feed Poster
Post by: lexhair on January 29, 2007, 02:03:43 PM
What client does your host provide to allow you to administer your site?
Title: Re: RSS Feed Poster
Post by: ormuz on January 29, 2007, 04:02:48 PM
The posts are created with strange letters Like:

Mar&iacute;timo, but should be Marítimo

any ideias to solve this?
[/quote]
Title: Re: RSS Feed Poster
Post by: KGIII on January 29, 2007, 05:50:00 PM
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.
Title: Re: RSS Feed Poster
Post by: crappyday on January 30, 2007, 06:42:17 AM
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)
Title: Re: RSS Feed Poster
Post by: lexhair on January 30, 2007, 09:46:05 AM
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.
Title: Re: RSS Feed Poster
Post by: crazyclover on January 30, 2007, 03:33:00 PM
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
Title: Re: RSS Feed Poster
Post by: scoutz on February 01, 2007, 04:29:50 PM
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?
Title: Re: RSS Feed Poster
Post by: GC on February 01, 2007, 05:19:08 PM
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
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 05:17:14 PM
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)
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 05:33:22 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 03, 2007, 05:36:24 PM
You will have to extra them manually from the mods install .xml file then copy them to modifications.english.php
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 08:23:39 PM
I've done that but that space still spears in my admin panel and I have the following appearing above my forum.

Code: [Select]
// Begin RSS FeedPoster Text Strings $txt['smfrssposter_admin'] = 'Feed Poster Configuration'; // END RSS FeedPoster
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 03, 2007, 09:06:34 PM
Code: [Select]
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
That needs to be on its own line
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 09:44:30 PM
This is how it appears in my file.

Code: [Select]
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster

?>
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: nup on February 03, 2007, 09:55:21 PM
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.
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 10:08:48 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 03, 2007, 10:18:13 PM
Use this file instead
 
Title: Re: RSS Feed Poster
Post by: Uber Schwarz on February 03, 2007, 11:07:32 PM
Use this file instead
 
Thank you. After comparing my file with your file I seen there was two ?> tags in my file.
Title: Re: RSS Feed Poster
Post by: kdbhai on February 04, 2007, 04:03:06 AM
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"
Title: Re: RSS Feed Poster
Post by: ormuz on February 04, 2007, 11:11:40 AM
Who to solve the special characters problem (no english characters)...?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 04, 2007, 11:15:17 AM
I can't solve that problem.
Title: Re: RSS Feed Poster
Post by: nup on February 04, 2007, 11:43:19 AM
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.
Title: Re: RSS Feed Poster
Post by: Sven0 on February 05, 2007, 05:54:17 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 05, 2007, 06:12:41 PM
Thats not an rss feed url. You need get rss feed urls
Example:
http://digg.com/rss/index.xml
Title: Re: RSS Feed Poster
Post by: L.G.S on February 06, 2007, 04:59:24 PM
when will you try to sort the problem of double posting??
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 06, 2007, 05:13:19 PM
I am not working on that problem. I can't recreate it.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: L.G.S on February 07, 2007, 10:48:51 AM
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.
Title: Re: RSS Feed Poster
Post by: Enigma on February 08, 2007, 02:22:20 PM
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?
Title: Re: RSS Feed Poster
Post by: Fiery on February 08, 2007, 07:48:33 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 08, 2007, 07:52:31 PM
I don't know anything about that. I would need to see the feed url. It makes the post from the feed contents.
Title: Re: RSS Feed Poster
Post by: webfan on February 08, 2007, 08:25:12 PM
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
:)
Title: Re: RSS Feed Poster
Post by: 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)?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 09, 2007, 10:27:53 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
Title: Re: RSS Feed Poster
Post by: Enigma on February 09, 2007, 05:12:56 PM
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.
Title: Re: RSS Feed Poster
Post by: L.G.S on February 09, 2007, 07:14:57 PM
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?
Title: Re: RSS Feed Poster
Post by: crappyday on February 10, 2007, 10:32:29 AM
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.
Title: Re: RSS Feed Poster
Post by: 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

Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: tones_ie on February 11, 2007, 02:52:19 PM
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?  
Title: Re: RSS Feed Poster
Post by: L.G.S on February 11, 2007, 03:51:41 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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: iBrood on February 12, 2007, 12:57:09 AM
I'm having some trouble with this mod. Whe I run the cronrss.php file,I get

Code: [Select]
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?
Title: Re: RSS Feed Poster
Post by: L.G.S on February 12, 2007, 08:25:38 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 12, 2007, 09:45:43 AM
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.
Title: Re: RSS Feed Poster
Post by: cloudee1 on February 14, 2007, 01:21:27 PM
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 &lt;blahs&gt;. 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.
 
Title: Re: RSS Feed Poster
Post by: zizzjk on February 17, 2007, 04:19:42 PM
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/)
Title: Re: RSS Feed Poster
Post by: zizzjk on February 17, 2007, 05:41:17 PM
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
Title: Re: RSS Feed Poster
Post by: zizzjk on February 17, 2007, 05:57:07 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.
Title: Re: RSS Feed Poster
Post by: richiehale on February 17, 2007, 08:46:47 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 17, 2007, 09:20:22 PM
Using Fake Cron jobs? I would disable them and just use a normal cron job.
Title: Re: RSS Feed Poster
Post by: richiehale on February 17, 2007, 09:50:11 PM
how would i go about this ? as i can not getonto my forum?
 
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 17, 2007, 10:03:50 PM
umm. I would replace the index.php file with index.php~
Title: Re: RSS Feed Poster
Post by: zizzjk on February 17, 2007, 10:23:43 PM
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?
Title: Re: RSS Feed Poster
Post by: richiehale on February 18, 2007, 12:53:17 PM
umm. I would replace the index.php file with index.php~
tried it.. didnt work :(  
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 18, 2007, 01:01:53 PM
I not sure what else todo except look at the index.php and find the rss feed poster code and remove it if found.
Title: Re: RSS Feed Poster
Post by: tradenet on February 18, 2007, 05:27:32 PM
Any chance of supporting other feed formats eg. Atom?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 19, 2007, 03:27:29 PM
Maybe in the future but I am very busy at the moment and don't have time to work on these mods for free.
Title: Re: RSS Feed Poster
Post by: Enigma on February 22, 2007, 12:01:53 AM
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.
Title: Re: RSS Feed Poster
Post by: NativePages on February 23, 2007, 12:37:15 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 23, 2007, 12:45:06 AM
No it currently does not support atom based feeds.
Title: Re: RSS Feed Poster
Post by: NativePages on February 23, 2007, 09:38:30 AM
Thanks, VB. Hopefully someday!

NP
Title: Re: RSS Feed Poster
Post by: NativePages on February 24, 2007, 02:53:00 PM
Crud ... OK ... the feed poster is working the way it's supposed to, but I'm getting the following in my error logs:

Code: [Select]
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:

Code: [Select]
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:
Code: [Select]
$fp2 = fopen($url, "r");
Line 329:
Code: [Select]
$fp = fsockopen($url_array['host'], 80, $errno, $errstr, 30);
Line 354:
Code: [Select]
   $finalrss = $rss2[1];
Are these errors I need to worry about? If so what are the fixes??

Thanks in advance,
NativePages
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Niteblade on February 26, 2007, 11:11:47 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.
Title: Re: RSS Feed Poster
Post by: TheDarkie on February 27, 2007, 12:37:29 AM
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 =\
Title: Re: RSS Feed Poster
Post by: Buster.de on March 06, 2007, 10:24:24 PM
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.
Title: Re: RSS Feed Poster
Post by: 3nd3r on March 07, 2007, 05:20:13 AM
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
Title: Re: RSS Feed Poster
Post by: npereira on March 08, 2007, 09:01:12 AM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 08, 2007, 09:26:14 AM
Copy text strings from themes/default/langauages/modificaitons.english.php  to  themes/yourtheme/langauages/modificaitons.english.php  
Title: Re: RSS Feed Poster
Post by: npereira on March 08, 2007, 10:21:26 AM
Thanks that did it !
Title: Re: RSS Feed Poster
Post by: 3nd3r on March 12, 2007, 06:18:06 AM
Any idea about non-english characters?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 12, 2007, 07:45:33 AM
Currently not supported.
Title: Re: RSS Feed Poster
Post by: Buster.de on March 12, 2007, 08:23:07 AM
Attached Subs-RSS.php works for me with 2 features added:

Title: Re: RSS Feed Poster
Post by: kappen on March 12, 2007, 10:37:10 AM
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.
Title: Re: RSS Feed Poster
Post by: 3nd3r on March 12, 2007, 03:37:01 PM
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...
Title: Re: RSS Feed Poster
Post by: Buster.de on March 12, 2007, 04:06:36 PM
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)?
Title: Re: RSS Feed Poster
Post by: 3nd3r on March 12, 2007, 04:28:15 PM
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:
Code: [Select]
<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.
Title: Re: RSS Feed Poster
Post by: tsmalmbe on March 12, 2007, 06:11:22 PM
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:
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 12, 2007, 08:01:07 PM
Special characters are not supported such as non english characters.
Title: Re: RSS Feed Poster
Post by: Niteblade 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?
Title: Re: RSS Feed Poster
Post by: tsmalmbe on March 13, 2007, 05:46:17 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 13, 2007, 07:58:55 AM
I am not sure how to fix you would need to ask some other people.
Title: Re: RSS Feed Poster
Post by: tsmalmbe on March 13, 2007, 11:54:58 AM
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?
 
Title: Re: RSS Feed Poster
Post by: 3nd3r on March 13, 2007, 01:05:15 PM
To add  more light to my problem (hope help others too), I see this on error log:

Code: [Select]
.../index.php?action=feedsadmin;sa=admin

Can't load language file 'FeedPoster.spanish'.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 13, 2007, 05:55:46 PM
I will tell you will need to look at htmlspecialchars function i use that to strip invalid input on any entered information.
Title: Re: RSS Feed Poster
Post by: Niteblade on March 14, 2007, 12:17:30 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/
Title: Re: RSS Feed Poster
Post by: cybertelecom on March 16, 2007, 01:59:19 AM
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

 
Title: Re: RSS Feed Poster
Post by: cybertelecom on March 16, 2007, 02:31:34 AM
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
Title: Re: RSS Feed Poster
Post by: Gourgi on March 19, 2007, 04:54:56 AM
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 :)
Title: Re: RSS Feed Poster
Post by: NativePages on March 19, 2007, 10:26:36 PM
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
Title: Re: RSS Feed Poster
Post by: kivelo on March 20, 2007, 01:29:10 PM
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:

Code: [Select]
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:

Code: [Select]
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!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 20, 2007, 10:30:37 PM
User's wont see that erorr that error is a tricky one not sure how to fix it sometimes it occurs.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: voelspriet on March 22, 2007, 12:09:06 PM
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?
Title: Re: RSS Feed Poster
Post by: Metalstein on March 22, 2007, 05:18:10 PM
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
Title: Re: RSS Feed Poster
Post by: tsmalmbe on March 22, 2007, 06:15:16 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".
 
Title: Re: RSS Feed Poster
Post by: Metalstein on March 22, 2007, 07:39:23 PM
it's working fine? alright thank you.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Enigma on March 24, 2007, 11:12:03 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?
Title: Re: RSS Feed Poster
Post by: Freddy888 on March 25, 2007, 09:15:43 AM
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 :)
Title: Re: RSS Feed Poster
Post by: Matthew Schenker on March 25, 2007, 09:51:04 AM
Quote
What 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.shtml

Or some other varieties of "File does not exist."

My site is still down.
 
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 25, 2007, 10:07:26 AM
Remove this from index.php
Code: [Select]
// 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.
Title: Re: RSS Feed Poster
Post by: Matthew Schenker on March 25, 2007, 10:16:55 AM
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!
Title: Re: RSS Feed Poster
Post by: Freddy888 on March 25, 2007, 10:19:28 AM
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 :

Code: [Select]
// 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 25, 2007, 10:25:56 AM
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.
Title: Re: RSS Feed Poster
Post by: Freddy888 on March 25, 2007, 10:34:24 AM
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 :)
Title: Re: RSS Feed Poster
Post by: 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!
Title: Re: RSS Feed Poster
Post by: Enigma on March 25, 2007, 09:28:50 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.
Title: Re: RSS Feed Poster
Post by: vadewoyin on March 28, 2007, 12:35:38 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 28, 2007, 07:50:59 AM
It will slow down your board if you use fake cron jobs.
Title: Re: RSS Feed Poster
Post by: tsmalmbe on March 29, 2007, 05:39:25 PM
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
Title: Re: RSS Feed Poster
Post by: britmovie on March 30, 2007, 08:13:13 PM
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?
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: 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. :)
Title: Re: RSS Feed Poster
Post by: Enigma on April 03, 2007, 05:35:08 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!
Title: Re: RSS Feed Poster
Post by: subfighter on April 06, 2007, 11:32:30 PM
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?
Title: Re: RSS Feed Poster
Post by: NoFeaR / NFSMW on April 12, 2007, 10:18:54 PM
I'm getting this error. How do i fix it please???

Quote
An Error Has Occurred!
Unable to download the feed.
Title: Re: RSS Feed Poster
Post by: vol_freak on April 12, 2007, 11:45:19 PM
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
Title: Re: RSS Feed Poster
Post by: PrizeLive.com on April 12, 2007, 11:46:11 PM
Will this mod work with version 1.1 rc2?

My forum is www.moneytalkpro.com.
Title: Re: RSS Feed Poster
Post by: vol_freak on April 13, 2007, 12:33:24 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
Title: Re: RSS Feed Poster
Post by: NoFeaR / NFSMW on April 14, 2007, 12:25:46 PM
Unable to download the feed. Still getting this error. No one helped me yet. Please.
Title: Re: RSS Feed Poster
Post by: Shadow Queen on April 14, 2007, 03:28:55 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 14, 2007, 08:12:09 PM
Do you have a cron job running for the feed?
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 14, 2007, 09:34:25 PM
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... :)
Title: Re: RSS Feed Poster
Post by: Shadow Queen on April 14, 2007, 10:18:33 PM
Do you have a cron job running for the feed?
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...
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 14, 2007, 10:38:28 PM
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...
Title: Re: RSS Feed Poster
Post by: Shadow Queen on April 15, 2007, 12:56:30 AM
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
Title: Re: RSS Feed Poster
Post by: NoFeaR / NFSMW on April 15, 2007, 06:11:33 AM
Mine cant even download the feed. Is there a manual way to insert a feed??
Title: Re: RSS Feed Poster
Post by: Shadow Queen on April 15, 2007, 12:17:39 PM
Hit this http://YOUR_SITE_ADDRESS_HERE/cronrss.php under Feed Poster Configuration

Quote
Mine cant even download the feed.

Mine can't ether too
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 15, 2007, 01:12:27 PM
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...

Code: [Select]
[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...
Title: Re: RSS Feed Poster
Post by: Shadow Queen on April 16, 2007, 02:28:57 AM
Alright, Now I am getting lose here
Title: Re: RSS Feed Poster
Post by: tsmalmbe on April 16, 2007, 04:30:05 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.
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 16, 2007, 09:07:54 PM
can you post a feed you are trying to use and we can look at it...
Title: Re: RSS Feed Poster
Post by: Neobane on April 17, 2007, 09:06:19 AM
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:
Code: [Select]
iraq/SIG=xxxxxxxxx/* can this be done through the sites "Auto convert url" feature or through the news feed poster?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 17, 2007, 07:50:30 PM
That does not appear to be a valid rss url
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 17, 2007, 08:37:54 PM
That link is all kinds of wrong... :)
Title: Re: RSS Feed Poster
Post by: tsmalmbe on April 18, 2007, 04:15:54 AM
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?
Title: Re: RSS Feed Poster
Post by: mckenzb on April 18, 2007, 09:55:04 PM
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

Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 18, 2007, 11:10:55 PM
Currently it does not strip all html so that is the problem.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Shellius on April 20, 2007, 08:03:02 AM
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.



Title: Re: RSS Feed Poster - Where is the Configuration/Settings Page
Post by: pintobuck on April 20, 2007, 09:36:55 AM
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.
Title: Re: RSS Feed Poster
Post by: mckenzb on April 22, 2007, 11:31:55 PM
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.

Thanks for the help. I do appreciate it!!
Title: Re: RSS Feed Poster
Post by: ormuz on April 23, 2007, 08:40:29 AM
Is the problem with the no english caracters solved?
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 23, 2007, 11:36:21 AM
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.
Title: Re: RSS Feed Poster
Post by: L.G.S on April 25, 2007, 03:43:40 PM
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
Title: Re: RSS Feed Poster
Post by: MegaTinkerCoder on April 26, 2007, 07:38:28 PM
I got this working best with cron jobs. I had all kinds of problems using the [X] to fake cron jobs too...
Title: Re: RSS Feed Poster
Post by: husam on April 27, 2007, 04:54:26 AM
How can I manually install this on a custom theme via FTP?
Title: Re: RSS Feed Poster
Post by: kriskd on April 29, 2007, 06:47:01 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.
Title: Re: RSS Feed Poster
Post by: kriskd on April 30, 2007, 08:07:30 PM
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.  :-\
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 30, 2007, 08:37:52 PM
Started work on CURL thought it might work but I don't have CURL on my sever so I can't test it.
Title: Re: RSS Feed Poster
Post by: kriskd on April 30, 2007, 08:55:18 PM
I found this bit of code in Sub-RSS.php:

Code: [Select]
// 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?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: kriskd on April 30, 2007, 09:16:15 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.  :-\
Title: Re: RSS Feed Poster
Post by: FelixofMars on May 03, 2007, 04:39:23 AM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 03, 2007, 07:27:51 AM
Real cron jobs uses the same code as fake cron jobs to get the posts.
Title: Re: RSS Feed Poster
Post by: FelixofMars on May 03, 2007, 07:58:41 AM
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.
Title: Re: RSS Feed Poster
Post by: Chocobo on May 05, 2007, 05:19:06 AM
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

Title: Re: RSS Feed Poster
Post by: ufuk.exe on May 05, 2007, 12:47:24 PM
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:
I can't solve that problem.

However on SMFHACKS I found a posts where it said "remove your htmlspecialchars"

Code: [Select]
// 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!
Title: Re: RSS Feed Poster
Post by: MadKilla on May 06, 2007, 09:33:33 PM
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'
Title: Re: RSS Feed Poster
Post by: MadKilla on May 07, 2007, 11:52:45 AM
Bump.
Title: Re: RSS Feed Poster
Post by: MadKilla on May 08, 2007, 09:53:38 PM
Bump...
Title: Re: RSS Feed Poster
Post by: ufuk.exe on May 08, 2007, 11:19:03 PM
So, what's the problem? You can't run it or it doesn't work? What? Please stop bumping the thread every day.
Title: Re: RSS Feed Poster
Post by: farzad on May 09, 2007, 03:14:08 PM
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 ?

Title: Re: RSS Feed Poster
Post by: christicehurst on May 13, 2007, 09:54:17 AM
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!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 13, 2007, 10:38:23 AM
You need to use cron jobs then. It does it checks on every page load when that option is checked.
Title: Re: RSS Feed Poster
Post by: ufuk.exe on May 13, 2007, 11:06:03 AM
Does anyone know how to setup cron jobs on 1and1 hosting via SSH?
Title: Re: RSS Feed Poster
Post by: L.G.S on May 16, 2007, 04:45:25 PM
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

Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: L.G.S on May 17, 2007, 12:37:47 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?
Title: Re: RSS Feed Poster
Post by: husam on May 19, 2007, 03:49:32 AM
I get zis error:

http://img517.imageshack.us/img517/5990/untitledpy7.png


 ::)
Title: Re: RSS Feed Poster
Post by: sg707 on May 19, 2007, 11:31:38 AM
solved it myself  :)
Title: Re: RSS Feed Poster
Post by: husam on May 19, 2007, 04:14:54 PM
I get zis error:

http://img517.imageshack.us/img517/5990/untitledpy7.png
Title: Re: RSS Feed Poster
Post by: sg707 on May 19, 2007, 05:56:18 PM
I'm having trouble display images on following rss.

<description>&lt;img src="http://www.dilbert.com/comics/dilbert/archive/images/dilbert2007029327518.gif" border="0" /&gt;</description>

I think someone ask this earlier but didn't see any solutions for it.  Great Mod!!!!
Title: Re: RSS Feed Poster
Post by: L.G.S on May 20, 2007, 12:02:22 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 :(
Title: Re: RSS Feed Poster
Post by: tsmalmbe on May 21, 2007, 09:25:08 AM
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"

Code: [Select]
// 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 :)
Title: Re: RSS Feed Poster
Post by: Lemming on May 21, 2007, 03:57:38 PM
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...
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: husam on May 22, 2007, 01:12:50 AM
I get zis error:

http://img517.imageshack.us/img517/5990/untitledpy7.png

HELP HELP HELP HELP
Title: Re: RSS Feed Poster
Post by: husam on May 22, 2007, 01:36:23 AM
CAN SOMEONE TELL ME WHAT THE HELL IS THIS ERROR?

http://img517.imageshack.us/img517/5990/untitledpy7.png

it doesn't work!
Title: Re: RSS Feed Poster
Post by: L.G.S on May 22, 2007, 06:57:55 AM
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
Title: Re: RSS Feed Poster
Post by: Lemming on May 22, 2007, 09:49:48 AM
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)?
Title: Re: RSS Feed Poster
Post by: L.G.S on May 22, 2007, 12:59:41 PM
Got the exact same thing even after trying that ^^

/bin/sh: ruthlessintent.com/board/cronrss.php: No such file or directory
Title: Re: RSS Feed Poster
Post by: husam on May 22, 2007, 10:05:57 PM
CAN SOMEONE TELL ME WHAT THE HELL IS THIS ERROR?

http://img517.imageshack.us/img517/5990/untitledpy7.png

it doesn't work!
Title: Re: RSS Feed Poster
Post by: L.G.S on May 23, 2007, 04:37:32 AM
looks like the database part of the install didnt do it
Title: Re: RSS Feed Poster
Post by: husam on May 23, 2007, 10:52:12 PM
*removes mod*
Title: Re: RSS Feed Poster
Post by: jorgejorge on May 24, 2007, 06:34:42 AM
I have the 4 documents in my computer, what I have to do to set up it in my forum??

Thank you.
Title: Re: RSS Feed Poster
Post by: Apostaganha on May 25, 2007, 04:53:11 AM
unfortunately  most of the feeds doesnt work, only .xml :(
Title: Re: RSS Feed Poster
Post by: Pratt on May 25, 2007, 01:49:16 PM
I 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...
Title: Re: RSS Feed Poster
Post by: meepo88 on May 28, 2007, 12:51:09 PM
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.

;)
Title: Re: RSS Feed Poster
Post by: distortedice on May 30, 2007, 11:37:21 AM
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 ;)
Title: Re: RSS Feed Poster
Post by: distortedice on May 31, 2007, 10:26:55 AM
A day has gone by and my users are happily talking to a robot  ;D teeheehee  ;)
Title: Re: RSS Feed Poster
Post by: Sarge on June 01, 2007, 01:25:38 PM
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):

Code: [Select]
/*
   * @return string
   * @param string $url
   * @desc Return string content from a remote file
   * @author Luiz Miguel Axcar (lmaxcar@yahoo.com.br)
*/

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:

Code: [Select]
$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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 01, 2007, 07:14:51 PM
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
Title: Re: RSS Feed Poster
Post by: last19 on June 02, 2007, 02:58:49 PM
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

Title: Re: RSS Feed Poster
Post by: Sarge on June 02, 2007, 03:25:57 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.
Title: Re: RSS Feed Poster
Post by: last19 on June 02, 2007, 05:13:14 PM
i tried the mod. i didnt try anything from godaddy because i dont understand what they wanna say :=)
Title: Re: RSS Feed Poster
Post by: distortedice on June 02, 2007, 11:36:19 PM
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,
Title: Re: RSS Feed Poster
Post by: last19 on June 04, 2007, 01:38:36 PM
Anybody have any ideas for Godaddy?
Title: Re: RSS Feed Poster
Post by: Polymath on June 10, 2007, 12:25:29 AM
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, webmaster@yourforums.com 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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Polymath on June 10, 2007, 01:34:22 AM
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
Title: Re: RSS Feed Poster
Post by: Polymath on June 10, 2007, 05:35:02 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 10, 2007, 06:12:19 PM
That's good that means it processed the script.
Title: Re: RSS Feed Poster
Post by: Polymath on June 11, 2007, 04:29:41 AM
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
Title: Re: RSS Feed Poster
Post by: Polymath on June 11, 2007, 04:44:20 AM
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?
Title: Re: RSS Feed Poster
Post by: Polymath on June 11, 2007, 05:04:08 AM
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)
Title: Re: RSS Feed Poster
Post by: calv on June 21, 2007, 08:52:13 PM
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 :)
Title: Re: RSS Feed Poster
Post by: okop on June 23, 2007, 06:49:24 AM
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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 23, 2007, 09:55:18 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.
Title: Re: RSS Feed Poster
Post by: okop on June 23, 2007, 10:45:15 AM
Whot about me? I can't install that modyfication :( becouse of parsing error .
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 23, 2007, 10:51:35 AM
Install it manually.
Title: Re: RSS Feed Poster
Post by: Sarge on June 23, 2007, 11:04:36 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.
Title: Re: RSS Feed Poster
Post by: okop on June 23, 2007, 11:11:50 AM
ok, thanks for answer, here are information from version information:
Quote
Version 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)
Title: Re: RSS Feed Poster
Post by: Sarge on June 23, 2007, 11:34:10 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)
Title: Re: RSS Feed Poster
Post by: okop on June 23, 2007, 12:22:53 PM
thanks, i did it :)
Title: Re: RSS Feed Poster
Post by: L.G.S on June 24, 2007, 03:02:20 PM
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.
Title: Re: RSS Feed Poster
Post by: Buster.de on June 24, 2007, 08:33:42 PM
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?
Title: Re: RSS Feed Poster
Post by: L.G.S on June 25, 2007, 02:56:32 AM
maybe, I'm using a cpnael cron, could that be it?
Title: Re: RSS Feed Poster
Post by: tumbleweed on June 26, 2007, 02:30:42 AM
Works great on my board.
Running:
smf 1.1.3
PHP 5.2.3

Thanks for the Mod.
Title: Re: RSS Feed Poster
Post by: karang on June 26, 2007, 07:02:43 PM
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
Title: Re: RSS Feed Poster
Post by: franklinrony on July 04, 2007, 04:29:17 PM
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  ???
Title: Re: RSS Feed Poster
Post by: franklinrony on July 06, 2007, 08:54:47 PM
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
Title: Re: RSS Feed Poster
Post by: NayNay on July 10, 2007, 03:18:59 PM
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?

Title: Re: RSS Feed Poster
Post by: Kardinal on July 10, 2007, 04:34:44 PM
I 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.
Title: Re: RSS Feed Poster
Post by: macuser9214 on July 12, 2007, 10:03:57 PM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: franklinrony on July 18, 2007, 11:11:46 PM
ok thanks  i wait
Title: Re: RSS Feed Poster
Post by: L.G.S on July 19, 2007, 06:52:08 AM
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.
Title: Re: RSS Feed Poster
Post by: lexhair on July 19, 2007, 09:59:40 AM
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.
Title: Re: RSS Feed Poster
Post by: husmen73 (Gulhin) on July 24, 2007, 05:45:36 PM
I have installed it, but its posting blank topic and title. Whats wrong?
Title: Re: RSS Feed Poster
Post by: christicehurst on August 05, 2007, 12:18:33 PM
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?
Title: Re: RSS Feed Poster
Post by: christicehurst on August 07, 2007, 02:43:07 AM
Come on now! Any answers?
Title: Re: RSS Feed Poster
Post by: vatsal on August 07, 2007, 10:15:20 AM
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
Title: Re: RSS Feed Poster
Post by: L.G.S on August 08, 2007, 05:16:13 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.
Title: Re: RSS Feed Poster
Post by: Minare on August 09, 2007, 11:09:29 AM
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.
Title: Re: RSS Feed Poster
Post by: TrueSatan on August 09, 2007, 11:43:46 AM
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!
Title: Re: RSS Feed Poster
Post by: Minare on August 09, 2007, 01:25:03 PM


 Please note, you could have googled those for yourself!

u r right, sorry bro
Title: Re: RSS Feed Poster
Post by: RufleS on August 11, 2007, 11:45:07 AM
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?
Title: Re: RSS Feed Poster
Post by: BioCarbon13 on August 16, 2007, 11:21:03 AM
help...

XML error: mismatched tag at line 63

What does it mean?
Title: Re: RSS Feed Poster
Post by: imrie on August 19, 2007, 12:02:08 PM
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.
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 07:47:34 AM
My host wont allow the fsockopen to be open, how can do this with curl or the other method mentioned?

Thanks,
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 08:26:08 AM
Now im getting internal sever errors when i try to access my forum after enabling "fake cron jobs"!

What should i do?
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 08:34:16 AM
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.
Title: Re: RSS Feed Poster
Post by: vipmoney on August 20, 2007, 01:31:16 PM

There is a problem with Non English Caracthers... does anybody has a solution yet ?
Title: Re: RSS Feed Poster
Post by: Buster.de on August 20, 2007, 02:22:30 PM
I see no problem when using utf-8.
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 02:27:09 PM
Hey, I fixed the problem i had.

How do i use this mod with CURL?
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 02:49:02 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.
Title: Re: RSS Feed Poster
Post by: imrie on August 20, 2007, 03:17:37 PM
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.
Title: Re: RSS Feed Poster
Post by: vipmoney on August 20, 2007, 10:53:42 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 ?
Title: Re: RSS Feed Poster
Post by: vipmoney on August 20, 2007, 11:04:06 PM
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:
Code: [Select]
// 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):

Code: [Select]
// 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 ;)

Title: Re: RSS Feed Poster
Post by: vipmoney on August 21, 2007, 12:08:45 AM
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.
Title: Re: RSS Feed Poster
Post by: imrie on August 21, 2007, 03:25:08 AM
Can anyone else get this to do 2 feeds? Mine will only do 1 feed, the other does not work.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: ketchup on August 21, 2007, 10:10:41 PM
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
Title: Re: RSS Feed Poster
Post by: imrie on August 22, 2007, 04:40:21 AM
In the config does the poster name have to be like this:

"Member" or Member

Thanks,
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: imrie on August 22, 2007, 06:37:03 AM
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:

Code: [Select]
function startElement2($parser, $name, $attrs)
{   
global $depth; 
$depth[$parser]++;
}

line 130: $depth[$parser]++;


This is driving me mad!
Title: Re: RSS Feed Poster
Post by: imrie on August 22, 2007, 07:47:42 AM
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
Title: Re: RSS Feed Poster
Post by: imrie on August 23, 2007, 11:47:03 AM
BUMP
Title: Re: RSS Feed Poster
Post by: vipmoney on August 23, 2007, 04:47:07 PM
Hi Irmie,

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.

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.

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.
Title: Re: RSS Feed Poster
Post by: imrie on August 23, 2007, 05:06:51 PM
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,
Title: Re: RSS Feed Poster
Post by: vipmoney on August 23, 2007, 05:41:48 PM
Yes, you are allowed ;)

Hum.... can you post the feed here?
Title: Re: RSS Feed Poster
Post by: imrie on August 24, 2007, 11:27:01 AM
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

Title: Re: RSS Feed Poster
Post by: 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?

Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 27, 2007, 08:11:06 PM
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.
Title: Re: RSS Feed Poster
Post by: slackerpunk on August 28, 2007, 12:47:22 AM
when you say perfomance you mean it would use less resources right?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 28, 2007, 07:53:55 AM
yes
Title: Re: RSS Feed Poster
Post by: slackerpunk on August 28, 2007, 01:04:32 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 28, 2007, 01:58:33 PM
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.
Title: Re: RSS Feed Poster
Post by: imrie on August 28, 2007, 02:15:53 PM
vbgamer, im still getting all these errors, what can i do?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 28, 2007, 03:43:52 PM
Try to get fsockopen enabled that is the only officaly supported method at this time.
Title: Re: RSS Feed Poster
Post by: imrie on August 28, 2007, 05:00:42 PM
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.
Title: Re: RSS Feed Poster
Post by: BioCarbon13 on August 29, 2007, 03:23:52 PM
where
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?
Title: Re: RSS Feed Poster
Post by: 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

Quote
Warning: 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.
Title: Re: RSS Feed Poster
Post by: 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:

Quote
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 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.
Title: Re: RSS Feed Poster
Post by: Dozzer on August 30, 2007, 05:17:45 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

Quote
Warning: 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 ?
Title: Re: RSS Feed Poster
Post by: Neelay on August 31, 2007, 12:29:44 PM
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
Title: Re: RSS Feed Poster
Post by: imrie on August 31, 2007, 04:43:18 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

Quote
Warning: 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.
Title: Re: RSS Feed Poster
Post by: Dozzer on September 01, 2007, 05:50:21 AM
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&nbsp; &nbsp; $rss2 = explode("\\r\\", $rssdata);

$rss2[1] appears to be blank - empty., thereby giving the undefinded offset ( [1] )

Echoing the output of&nbsp; $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:&nbsp;

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&nbsp; $finalrss;

$finalrss is a blank string...

If I comment out the "explode" bits above.. should it work ok ?
Title: Re: RSS Feed Poster
Post by: Dozzer on September 01, 2007, 04:19:39 PM
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!
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Dozzer on September 01, 2007, 04:41:26 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
Title: Re: RSS Feed Poster
Post by: 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...
Title: Re: RSS Feed Poster
Post by: Dozzer on September 04, 2007, 12:16:07 PM
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..
Title: Re: RSS Feed Poster
Post by: czechmate on September 04, 2007, 12:45:51 PM
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...
Title: Re: RSS Feed Poster
Post by: 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,
Title: Re: RSS Feed Poster
Post by: Dozzer on September 04, 2007, 07:18:18 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
Title: Re: RSS Feed Poster
Post by: Dozzer on September 05, 2007, 04:16:30 AM
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
Code: [Select]
[img][/img]
Title: Re: RSS Feed Poster
Post by: vbgamer45 on September 05, 2007, 08:47:21 PM
IF the description and title are the same it will not post the same topic.
Title: Re: RSS Feed Poster
Post by: Log On on September 08, 2007, 02:26:18 PM
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?
Title: Re: RSS Feed Poster
Post by: 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 '&'. 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.
Title: Re: RSS Feed Poster
Post by: lexhair on September 13, 2007, 10:45:50 AM
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 &.
Title: Re: RSS Feed Poster
Post by: czechmate on September 13, 2007, 12:34:27 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:

Quote
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 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...
Title: Re: RSS Feed Poster
Post by: TrueSatan on September 13, 2007, 12:43:14 PM
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.
Title: Re: RSS Feed Poster
Post by: czechmate on September 14, 2007, 10:05:00 AM
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
Title: Re: RSS Feed Poster
Post by: KD4FBI on September 16, 2007, 03:58:34 PM
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
Title: Re: RSS Feed Poster
Post by: vik on September 25, 2007, 03:02:25 PM
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
Title: Re: RSS Feed Poster
Post by: TrueSatan on September 25, 2007, 04:45:06 PM
 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.
Title: Re: RSS Feed Poster
Post by: Kolhapur on September 28, 2007, 05:24:18 AM
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 "Sunil.Mengane@gmail.com"
Title: Re: RSS Feed Poster
Post by: TrueSatan on September 28, 2007, 06:12:29 AM
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.
Title: Re: RSS Feed Poster
Post by: Kolhapur on September 28, 2007, 06:23:44 AM
Hello TrueSatan,

          Which link is required in smf forum feed poster configuration.
Title: Re: RSS Feed Poster
Post by: TrueSatan on September 28, 2007, 07:18:00 AM
 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)
Title: Re: RSS Feed Poster
Post by: Kolhapur on September 29, 2007, 02:14:55 AM
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.
Title: Re: RSS Feed Poster
Post by: TrueSatan on September 29, 2007, 04:49:28 AM
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.
Title: Re: RSS Feed Poster
Post by: Kolhapur on October 01, 2007, 08:06:41 AM
Hello my host is showing fsock enable then what to do now.Which link is required ....what is the problem.
Title: Re: RSS Feed Poster
Post by: Kolhapur on October 01, 2007, 08:48:40 AM
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.
Title: Re: RSS Feed Poster
Post by: Kolhapur on October 01, 2007, 08:50:09 AM
Hello VBGamer sir,


                  u there??????????????
Title: Re: RSS Feed Poster
Post by: taurean on October 01, 2007, 11:11:06 AM

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
Title: Re: RSS Feed Poster
Post by: thapame on October 01, 2007, 06:54:16 PM
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.
Title: Re: RSS Feed Poster
Post by: allumius on October 02, 2007, 01:23:27 PM
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
Quote
Feed 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:
Quote
Merck 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.&nbsp;



Title: Re: RSS Feed Poster
Post by: rockinaway on October 03, 2007, 02:58:53 PM
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?
Title: Re: RSS Feed Poster
Post by: Kolhapur on October 04, 2007, 02:37:54 AM
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.
Title: Re: RSS Feed Poster
Post by: Kolhapur on October 04, 2007, 04:05:45 AM
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.
Title: Re: RSS Feed Poster
Post by: TrueSatan on October 04, 2007, 09:05:23 AM
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.
Title: Re: RSS Feed Poster
Post by: 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

Code: [Select]
// 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.
Title: Re: RSS Feed Poster
Post by: rockinaway on October 06, 2007, 01:07:55 PM
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?
Title: Re: RSS Feed Poster
Post by: TrueSatan on October 06, 2007, 05:11:10 PM
Server misconfiguration. When I've seen such errors that has been the reason for them.
Title: Re: RSS Feed Poster
Post by: rockinaway on October 06, 2007, 05:55:27 PM
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..
Title: Re: RSS Feed Poster
Post by: 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!
Title: Re: RSS Feed Poster
Post by: rockinaway on October 14, 2007, 06:35:52 AM
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
Title: Re: RSS Feed Poster
Post by: Force73 on October 17, 2007, 03:03:35 PM
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 :-)
Title: Re: RSS Feed Poster
Post by: TrueSatan on October 17, 2007, 06:31:24 PM
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.
Title: Re: RSS Feed Poster
Post by: jossanaijr on October 17, 2007, 07:13:03 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

Code: [Select]
// 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!
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: bigaldizzler on October 24, 2007, 01:57:30 AM
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... :'(

Title: Re: RSS Feed Poster
Post by: 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...
Title: Re: RSS Feed Poster
Post by: KGIII on October 24, 2007, 09:08:19 AM
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.
Title: Re: RSS Feed Poster
Post by: bigaldizzler on October 24, 2007, 01:01:51 PM
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 :(.
Title: Re: RSS Feed Poster
Post by: Ming the Merciless on October 28, 2007, 07:57:39 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.
Title: Re: RSS Feed Poster
Post by: Ming the Merciless on October 28, 2007, 09:17:39 AM
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
Code: [Select]
require($sourcedir."/Akismet.class.php");
Replace with
Code: [Select]
require_once($sourcedir."/Akismet.class.php");
Title: Re: RSS Feed Poster
Post by: ryukenden on November 01, 2007, 08:49:58 PM
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.
Title: Re: RSS Feed Poster
Post by: TrueSatan on November 02, 2007, 06:18:11 AM
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.
Title: Re: RSS Feed Poster
Post by: jossanaijr on November 02, 2007, 01:54:29 PM
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?
Title: Re: RSS Feed Poster
Post by: taurean on November 05, 2007, 03:12:27 AM
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
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: unExpected on November 07, 2007, 07:40:47 AM
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
Title: Re: RSS Feed Poster
Post by: rumfa on November 12, 2007, 05:33:41 AM
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.

Code: [Select]
127function startElement2($parser, $name, $attrs)
128{
129   global $depth;
130   $depth[$parser]++;
131}
Title: Re: RSS Feed Poster
Post by: rumfa on November 12, 2007, 07:47:57 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
Title: Re: RSS Feed Poster
Post by: rumfa on November 12, 2007, 08:30:22 AM
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
Title: Re: RSS Feed Poster
Post by: RRasco on November 14, 2007, 11:32:56 AM
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....
Code: [Select]
<?php 
$fp 
fsockopen("www.google.com"80$errno$errstr30); 
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($fp128); 
    } 
    
fclose($fp); 

?>
Title: Re: RSS Feed Poster
Post by: vbgamer45 on November 14, 2007, 08:06:11 PM
Try changing the permissions on Sub-Rss.php and the other rss feed poster files to 755
Title: Re: RSS Feed Poster
Post by: berwynboris on November 15, 2007, 01:35:46 PM
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.
Title: Re: RSS Feed Poster
Post by: berwynboris on November 19, 2007, 11:12:27 AM
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
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Chopper on November 22, 2007, 06:51:09 AM
Anyone any ideas????
Title: Re: RSS Feed Poster
Post by: ceewee on November 22, 2007, 03:16:43 PM
I use RSS2html for this, no problemo, no crobjob and smf-independent.
Title: Re: RSS Feed Poster
Post by: Chopper on November 22, 2007, 03:34:15 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?
Title: RSS Feed Poster for beginners
Post by: 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:


??? 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:
Title: Re: RSS Feed Poster
Post by: nadglobtrotter on November 23, 2007, 09:47:22 AM
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.
Title: Re: RSS Feed Poster
Post by: rockinaway on December 02, 2007, 03:17:44 PM
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?
Title: Re: RSS Feed Poster
Post by: rockinaway on December 02, 2007, 03:20:17 PM
I have HTML enabled but it shows it like that.. show I untick it to make it actually show the HTML correctly..
Title: Re: RSS Feed Poster
Post by: rockinaway on December 02, 2007, 03:37:32 PM
Seems that when it isn't selected it parses the HTML correctly..
Title: Re: RSS Feed Poster
Post by: Chopper on December 03, 2007, 05:21:39 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?
Title: Re: RSS Feed Poster
Post by: 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/)?
Title: Re: RSS Feed Poster
Post by: Chopper on December 04, 2007, 06:25:55 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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Chopper on December 04, 2007, 10:45:46 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 04, 2007, 09:03:11 PM
If you have the feed post the url for the feed so we can take a look at it.
Title: Re: RSS Feed Poster
Post by: Norbert on December 05, 2007, 04:16:50 AM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: RRasco on December 05, 2007, 12:25:48 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.
Title: Re: RSS Feed Poster
Post by: falguni1 on December 05, 2007, 12:40:13 PM
ok means it is safe to use the mod

thanks so much
Title: Re: RSS Feed Poster
Post by: falguni1 on December 05, 2007, 12:42:30 PM
where to find sites which give feeds
Title: Re: RSS Feed Poster
Post by: RRasco on December 05, 2007, 12:59:50 PM
i guess that depends on the feeds that you want.  google, "* feeds" where * indicates the desired topic.
Title: Re: RSS Feed Poster
Post by: Garou on December 13, 2007, 10:39:24 PM
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
Title: Re: RSS Feed Poster
Post by: TrueSatan on December 14, 2007, 04:45:45 AM
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.
Title: Re: RSS Feed Poster
Post by: Chopper on December 14, 2007, 03:06:13 PM
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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: falguni1 on December 15, 2007, 05:35:58 AM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Chopper on December 15, 2007, 08:05:20 AM
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.
Title: Re: RSS Feed Poster
Post by: Ranter on December 22, 2007, 11:45:15 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 22, 2007, 11:45:51 PM
Yes I plan to update all my mods once SMF 2.0 final is released.
Title: Re: RSS Feed Poster
Post by: falguni1 on December 23, 2007, 02:53:41 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.
Title: Re: RSS Feed Poster
Post by: TrueSatan on December 23, 2007, 05:39:03 AM
 Please look again! RSS is a lightweight xml format and that site is a huge directory of RSS and ATOM feeds.
Title: Re: RSS Feed Poster
Post by: Ranter on December 23, 2007, 01:01:57 PM
Yes I plan to update all my mods once SMF 2.0 final is released.

Great, thanks!
Title: Need to change Cron job URL
Post by: Bluey on December 27, 2007, 02:26:04 AM
I made a mistake in entering the url. How do I edit it?  Cannot find a way to do this easily
Title: Re: RSS Feed Poster
Post by: mariolone on December 29, 2007, 10:59:17 AM
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

Title: Re: RSS Feed Poster
Post by: TrueSatan on December 29, 2007, 02:56:41 PM
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)
Title: Re: RSS Feed Poster
Post by: samozin on January 12, 2008, 05:46:20 AM
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
Title: Re: RSS Feed Poster
Post by: TJTELLEZ9 on January 13, 2008, 06:22:33 PM
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 :(
Title: Re: RSS Feed Poster
Post by: GazOutEast on January 15, 2008, 05:21:36 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 15, 2008, 09:39:03 PM
Try changining the permission on cronrss.php to 755
Title: Re: RSS Feed Poster
Post by: Mr. Doug on January 16, 2008, 09:14:58 AM
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?
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: rockinaway on January 20, 2008, 07:49:28 AM
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?
Title: Re: RSS Feed Poster
Post by: detoam on January 21, 2008, 01:59:32 AM
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.
Title: Re: RSS Feed Poster
Post by: detoam on January 21, 2008, 02:19:44 AM
Now that I deleted the MySQL table for it. I can't login
Title: Re: RSS Feed Poster
Post by: Psyche on January 21, 2008, 05:26:12 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:
Title: Re: RSS Feed Poster
Post by: detoam on January 21, 2008, 05:33:29 AM
Never mind I resolved the issue.
Title: Re: RSS Feed Poster
Post by: Psyche on January 21, 2008, 06:08:43 AM
Cool, glad to see things appear to be fine.
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.
Title: Re: RSS Feed Poster
Post by: Angelotus on January 21, 2008, 08:55:44 AM
Thanks 4 this great mod!
Title: Re: RSS Feed Poster
Post by: taysys on January 21, 2008, 11:03:31 PM
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
Title: Re: RSS Feed Poster
Post by: Angelotus on January 22, 2008, 01:20:43 AM
Have you ever tried a manual install?
Title: Re: RSS Feed Poster
Post by: taysys on January 22, 2008, 01:49:51 AM
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
Title: Re: RSS Feed Poster
Post by: 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://<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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Neelay on January 27, 2008, 01:57:44 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
Title: Re: RSS Feed Poster
Post by: Neelay on January 28, 2008, 11:16:32 PM
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
Title: Re: RSS Feed Poster
Post by: GazOutEast on January 29, 2008, 02:29:21 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
Title: Re: RSS Feed Poster
Post by: Neelay on January 29, 2008, 04:02:09 AM
Thanks for reply. Yeah, I'm aware of the correct url; the one which works on my host is
Code: [Select]
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
Code: [Select]
<?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
Title: Re: RSS Feed Poster
Post by: Randy A. on January 29, 2008, 06:14:58 AM
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
Title: Re: RSS Feed Poster
Post by: TJTELLEZ9 on January 30, 2008, 03:44:17 PM
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
Title: Re: RSS Feed Poster
Post by: 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?

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. 
Title: Re: RSS Feed Poster
Post by: Chriss Cohn on January 30, 2008, 04:35:32 PM
What i see so far, this must be a great mod.... lets see if it works on my server  ;D

Regards, Christian
Title: Re: RSS Feed Poster
Post by: Chriss Cohn on January 30, 2008, 09:47:27 PM
Ok, installed it and it works out-of-the-box without any errors - just as expected

GREAT MOD!!! ;D ;D ;D
Title: Re: RSS Feed Poster
Post by: Randy A. on January 31, 2008, 07:02:07 AM
That's awesome Chris.  I'm happy for you.  It's always cool when MODS install without error. 
Title: Re: RSS Feed Poster
Post by: Chriss Cohn on February 01, 2008, 04:06:23 PM
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
Title: Re: RSS Feed Poster
Post by: HelloWorld on February 02, 2008, 08:14:04 PM
Why would I want to read a 34 page thread (by my settings)?  Why would anyone?

Agreed.
Title: Re: RSS Feed Poster
Post by: TrueSatan on February 03, 2008, 07:46:14 PM
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.
Title: Re: RSS Feed Poster
Post by: 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????? As soon as I turn it off everything is back to normal.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 03, 2008, 09:01:29 PM
I highly suggest using a normal cron job instead of fake crons otherwise it checks on every page load.
Title: Re: RSS Feed Poster
Post by: Chriss Cohn on February 03, 2008, 09:02:29 PM
Is it normal for the forum to lagg like crazy when the Cron Job setting is turned on?(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.simplemachines.org%2Fcommunity%2FSmileys%2Fsimple%2Fhuh.gif&hash=56756206b2a603dd41388565bc0d3f62)? 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:
Code: [Select]
* */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
Title: Re: RSS Feed Poster
Post by: canadiancray on February 03, 2008, 09:13:56 PM
LOL what the heck is a cron job & how would I do that??? Complete amature cronjobist LOL
Title: Re: RSS Feed Poster
Post by: TrueSatan on February 03, 2008, 09:21:48 PM
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)
Title: Re: RSS Feed Poster
Post by: Chopper on February 06, 2008, 04:11:41 AM
Hi, after inputting my feed url i get an error message - Unable to download the feed.

Any ideas how to fix?
Title: Re: RSS Feed Poster
Post by: 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.)
Title: Re: RSS Feed Poster
Post by: Chopper on February 06, 2008, 06:48:06 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 06, 2008, 08:30:06 AM
What is the feed url that you are trying to use?
Title: Re: RSS Feed Poster
Post by: Chopper on February 06, 2008, 09:09:33 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.
Title: Re: RSS Feed Poster
Post by: Chriss Cohn on February 06, 2008, 10:50:01 AM
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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Chopper on February 07, 2008, 09:25:39 AM
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?
Title: Re: RSS Feed Poster
Post by: tsmalmbe on February 07, 2008, 01:50:55 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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Chopper on February 08, 2008, 09:36:44 AM
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.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: TrueSatan on February 09, 2008, 08:32:43 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 09, 2008, 10:32:29 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
Title: Re: RSS Feed Poster
Post by: godsdead on February 09, 2008, 01:21:22 PM
Cheers vbgamer45
Title: Re: RSS Feed Poster
Post by: Btoy on February 09, 2008, 09:36:09 PM
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.
Title: Re: RSS Feed Poster
Post by: perro88 on February 09, 2008, 09:45:01 PM
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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: perro88 on February 10, 2008, 12:27:40 PM
@ 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
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 10, 2008, 02:05:58 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
Title: Re: RSS Feed Poster
Post by: sipko on February 10, 2008, 03:39:04 PM
Ah, okay. Thanks.
Title: Re: RSS Feed Poster
Post by: Chopper on February 10, 2008, 03:53:05 PM
Anyone know why im getting "unable to download feed"?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Chopper on February 11, 2008, 01:19:35 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 11, 2008, 10:56:32 PM
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.
Title: Re: RSS Feed Poster
Post by: Chopper on February 12, 2008, 03:46:15 AM
Hi, can anyone advise on why i get "unable to download feed".

Thanks.
Title: Re: RSS Feed Poster
Post by: derMalue on February 14, 2008, 04:54:12 PM
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
Title: Re: RSS Feed Poster
Post by: perro88 on February 14, 2008, 08:38:21 PM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: tsmalmbe on February 16, 2008, 08:07:12 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.
Title: Re: RSS Feed Poster
Post by: Chopper on February 16, 2008, 04:36:45 PM
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."
Title: Re: RSS Feed Poster
Post by: netridge on February 16, 2008, 06:02:53 PM
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?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: perro88 on February 16, 2008, 09:25:51 PM
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)
Title: Re: RSS Feed Poster
Post by: tsmalmbe on February 17, 2008, 10:49:21 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.
Title: Re: RSS Feed Poster
Post by: Chopper on February 17, 2008, 12:48:47 PM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Chopper on February 17, 2008, 02:06:08 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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Chopper on February 17, 2008, 02:26:24 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.
Title: Re: RSS Feed Poster
Post by: netridge on February 17, 2008, 03:49:02 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,
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 17, 2008, 04:13:03 PM
Check inside modifications.english.php and make sure the feed poster text is there
Title: Re: RSS Feed Poster
Post by: MostTimeOnline on February 17, 2008, 09:44:53 PM
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.

Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 17, 2008, 09:46:14 PM
It should always show something make sure it the permissions on the cronrss.php are set to 755
Title: Re: RSS Feed Poster
Post by: MostTimeOnline on February 17, 2008, 09:52:51 PM
I did.
Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: MostTimeOnline on February 17, 2008, 10:19:01 PM
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?

Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: MostTimeOnline on February 18, 2008, 12:34:30 AM
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?
Title: Re: RSS Feed Poster
Post by: perro88 on February 19, 2008, 12:34:23 AM
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)
Title: Re: RSS Feed Poster
Post by: No.Body on February 19, 2008, 12:41:44 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 19, 2008, 12:46:11 AM
usually there is an option inside your control panel or ask your host for more information
Title: Re: RSS Feed Poster
Post by: MostTimeOnline on February 19, 2008, 12:21:52 PM
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.
Title: Re: RSS Feed Poster
Post by: perro88 on February 21, 2008, 05:16:52 PM
WHat I need to do in order to be able to post html feeds?
Title: Re: RSS Feed Poster
Post by: perro88 on February 24, 2008, 04:10:33 PM
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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: perro88 on February 24, 2008, 06:47:16 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
Title: Re: RSS Feed Poster
Post by: Angelotus on February 25, 2008, 07:23:56 AM
Is it possible to edit the no of characters of the feedpost?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on February 25, 2008, 08:23:41 AM
Could be done you would need to modify Subs-Rss.php in the Sources folder and add a character limit.
Title: Re: RSS Feed Poster
Post by: Angelotus on February 25, 2008, 09:04:07 AM
Is that simple? I'm a bit of a noob with php...
Title: Re: RSS Feed Poster
Post by: spiros on February 29, 2008, 04:59:38 PM
I get this sort of entries, although html is checked (images not appear, just code):

Code: [Select]
USDA sued over beef recall

<img src="http://msnbcom.112.2O7.net/b/ss/msnbcom/1/G.4--NS/633399184269193991?pageName=Health&amp;c4=Health&amp;c5=Diet and nutrition&amp;c7=RSS-read&amp;c15=13594277&amp;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?
Title: Re: RSS Feed Poster
Post by: Force73 on March 03, 2008, 08:30:27 AM
Quote
No 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
Title: Re: RSS Feed Poster
Post by: mstorm on March 05, 2008, 03:31:21 AM
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!
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Fabiolas on March 11, 2008, 03:17:38 PM
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
Title: Re: RSS Feed Poster
Post by: Fabiolas on March 11, 2008, 05:00:29 PM
Someone can tellme how can i  make auto cronjobs ?  i have 9 rss feeds to update..
Title: Re: RSS Feed Poster
Post by: vbgamer45 on March 11, 2008, 08:08:31 PM
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.
Title: Re: RSS Feed Poster
Post by: spiros on March 16, 2008, 02:15:43 PM
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/
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 19, 2008, 06:35:01 PM
I get this message when I try to upload it though Admin>package manager

Quote
The 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,
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 19, 2008, 11:38:34 PM
Ok, file is fine. I had to change something in my Admin>Package Manager after switching to a different host. :)

Installed just fine.

Thanks,
Title: Re: RSS Feed Poster
Post by: davieb on March 24, 2008, 03:43:55 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?
Title: Re: RSS Feed Poster
Post by: davieb on March 24, 2008, 07:00:33 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.
Title: Re: RSS Feed Poster
Post by: Randy A. on March 27, 2008, 04:25:53 PM
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.
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 27, 2008, 04:39:59 PM
Quote
If 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.

Title: Re: RSS Feed Poster
Post by: Randy A. on March 27, 2008, 04:57:16 PM
Then maybe someone who has use for it would kindly step in and help those that are having troubles with it. :)
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 27, 2008, 06:22:58 PM
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.

Quote
My 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...



Title: Re: RSS Feed Poster
Post by: Randy A. on March 27, 2008, 06:25:32 PM
Thank you.
Title: Re: RSS Feed Poster
Post by: davieb on March 28, 2008, 03:02:50 AM
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?
Title: Re: RSS Feed Poster
Post by: 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.  :(
Title: Re: RSS Feed Poster
Post by: davieb on March 28, 2008, 11:18:10 AM
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.
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 28, 2008, 01:07:22 PM
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.

Title: Re: RSS Feed Poster
Post by: Randy A. on March 28, 2008, 01:10:22 PM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on March 28, 2008, 02:35:09 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. :)
Title: RSS Feed Poster: How to set up a cron job in Control Panel
Post by: 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
Title: Re: RSS Feed Poster
Post by: ApplianceJunk on April 05, 2008, 08:08:43 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!
Title: Re: RSS Feed Poster
Post by: monsterous2008 on April 06, 2008, 12:19:29 PM
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:
Quote
1.     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 ]
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 06, 2008, 01:35:45 PM
Check forum error log Make sure cron job is running.
Title: Re: RSS Feed Poster
Post by: monsterous2008 on April 07, 2008, 06:25:12 AM
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?
Title: Re: RSS Feed Poster
Post by: vanquished on April 09, 2008, 02:22:30 PM
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.

Title: Re: RSS Feed Poster
Post by: DAB Empire on April 09, 2008, 02:40:24 PM
All the sudden I started getting the following error when updating feeds.

Quote
XML error: not well-formed (invalid token)

The feeds are still working, but I can't make changes.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 09, 2008, 08:09:29 PM
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.
Title: Re: RSS Feed Poster
Post by: Darkmatter on April 10, 2008, 11:12:11 AM
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: terry_liang on April 12, 2008, 07:41:06 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 12, 2008, 09:53:46 AM
Currently do not have a fix for that.
Title: Re: RSS Feed Poster
Post by: sipbkk on April 16, 2008, 07:33:22 PM
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... :-)

Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 16, 2008, 09:42:08 PM
Currently the plan for most of my mods is to hold off until SMF 2.0 final is released.
Title: Re: RSS Feed Poster
Post by: DWillis on April 19, 2008, 01:20:28 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?
Title: Re: RSS Feed Poster
Post by: DWillis on April 19, 2008, 01:25:18 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.
Title: Re: RSS Feed Poster
Post by: DWillis on April 19, 2008, 09:41:28 PM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: DWillis on April 20, 2008, 10:15:59 AM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 20, 2008, 10:42:36 AM
No idea would need to see the feed/database entries.
Title: Re: RSS Feed Poster
Post by: DWillis on April 20, 2008, 10:43:46 AM
Ok, what information do you need?  A screenshot of the creation in SMF and the DB dump of the feed tables?
Title: Re: RSS Feed Poster
Post by: godsdead on April 22, 2008, 06:32:24 AM
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?
Title: Re: RSS Feed Poster
Post by: DWillis on April 22, 2008, 10:55:50 AM
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.
Title: Re: RSS Feed Poster
Post by: Fabiolas on May 02, 2008, 04:27:15 PM
compatible with smf 3.0 beta version ?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 02, 2008, 09:55:29 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.
Title: Re: RSS Feed Poster
Post by: 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?

Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 03, 2008, 08:52:00 AM
It should be displaying the full feed if not post a copy of the feed url and I will tell you what it gets.
Title: Re: RSS Feed Poster
Post by: DWillis on May 03, 2008, 10:04:50 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 03, 2008, 10:37:27 AM
Exactly thanks for the post DWillis this tends to be the case with most RSS feeds from major sites.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 04, 2008, 10:58:01 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.
Title: Re: RSS Feed Poster
Post by: pakito on May 04, 2008, 12:15:54 PM
I didn't understand you - what to reinstall? Forum or RSS Poster?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 04, 2008, 12:45:19 PM
RSS Poster
Title: Re: RSS Feed Poster
Post by: pakito on May 04, 2008, 12:58:07 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 04, 2008, 01:24:14 PM
Upload FeedPostersql.php to your forum root and run that file.
Title: Re: RSS Feed Poster
Post by: pakito on May 04, 2008, 01:37:42 PM
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?

Title: Re: RSS Feed Poster
Post by: JayTee on May 05, 2008, 10:43:55 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 05, 2008, 10:49:41 PM
Issue with mod_security not liking ;id= in the url
Title: Re: RSS Feed Poster
Post by: JayTee on May 05, 2008, 11:01:37 PM
Anyway I can fix this?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 05, 2008, 11:03:09 PM
Check out this topic
http://www.simplemachines.org/community/index.php?topic=34270
Title: Re: RSS Feed Poster
Post by: JayTee on May 05, 2008, 11:36:17 PM
Thank you I'll check it out
Title: Re: RSS Feed Poster
Post by: cleanfiles on May 07, 2008, 10:10:45 AM
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.
Title: Re: RSS Feed Poster
Post by: SpelingMistakes on May 07, 2008, 03:45:46 PM
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=387eede1f8fa70f1652105156fbfc279) (http://imageshack.us)
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fimg517.imageshack.us%2Fimg517%2F5294%2Fduplicatedpostsst7.5280b76a04.jpg&hash=f395f72efa1df344a23600c67763a4b9) (http://g.imageshack.us/g.php?h=517&i=duplicatedpostsst7.jpg)


http://img517.imageshack.us/img517/5294/duplicatedpostsst7.jpg
Title: Re: RSS Feed Poster
Post by: L.G.S on May 09, 2008, 09:16:57 AM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: grimmy on May 11, 2008, 06:23:36 AM
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."
Title: Re: RSS Feed Poster
Post by: christicehurst on May 11, 2008, 10:28:02 AM
The mods works great however the post counts do not update in the Stats or the posts for the day etc.

Anyone here?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 11, 2008, 10:29:36 AM
Not sure it uses the createpost function I think that should do it by itself.
Title: Re: RSS Feed Poster
Post by: christicehurst on May 11, 2008, 10:54:19 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?
Title: Re: RSS Feed Poster
Post by: daclina on May 12, 2008, 03:39:47 AM
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?
Title: Re: RSS Feed Poster
Post by: SpelingMistakes on May 12, 2008, 03:50:53 AM
Check your error mesages - Sometime i found some things about this there
Title: Re: RSS Feed Poster
Post by: christicehurst on May 13, 2008, 12:42:19 PM
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?

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.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: pakito on May 15, 2008, 03:06:57 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 15, 2008, 08:23:11 PM
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.
Title: Re: RSS Feed Poster
Post by: 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

Title: Re: RSS Feed Poster
Post by: perro88 on May 16, 2008, 02:22:04 PM
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


...
Title: Re: RSS Feed Poster
Post by: bjraines on May 16, 2008, 02:38:19 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
Title: Re: RSS Feed Poster
Post by: perro88 on May 16, 2008, 02:54:24 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
Title: Re: RSS Feed Poster
Post by: bjraines on May 16, 2008, 02:59:08 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?
Title: Re: RSS Feed Poster
Post by: perro88 on May 16, 2008, 03:02:07 PM
http://www.simplemachines.org/community/index.php?topic=141776.msg1545893#msg1545893
well your ploblem is because the feeds are in html, nop?
Title: Re: RSS Feed Poster
Post by: Afro on May 16, 2008, 05:08:37 PM
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..
Title: Re: RSS Feed Poster
Post by: christicehurst on May 17, 2008, 07:26:15 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?

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.
Title: Re: RSS Feed Poster
Post by: mymktp1 on May 18, 2008, 03:23:39 PM
... 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
Title: Re: RSS Feed Poster
Post by: Medalist on May 18, 2008, 10:43:15 PM
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.

Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Heartlander on May 20, 2008, 04:48:04 PM
Nothing for support on this mod?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 20, 2008, 04:54:41 PM
You did not create the database tables you need run the sql file to create the database entires.
Title: Re: RSS Feed Poster
Post by: Heartlander on May 20, 2008, 05:12:03 PM
Thanks!
That did it.
Title: Re: RSS Feed Poster
Post by: Heartlander on May 20, 2008, 05:42:41 PM
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.
Title: Re: RSS Feed Poster
Post by: Xarcell on May 21, 2008, 12:41:27 PM
Is there easy changes to make this work with the new beta that I can do manually?
Title: Re: RSS Feed Poster
Post by: Heartlander on May 21, 2008, 04:31:36 PM
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.
Title: Re: RSS Feed Poster
Post by: Angie on Dialysis on May 24, 2008, 06:08:35 PM
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
Title: Re: RSS Feed Poster
Post by: Heartlander on May 24, 2008, 10:20:58 PM
It should run if you point your browser to that link you provided.
Title: Re: RSS Feed Poster
Post by: Angie on Dialysis on May 25, 2008, 01:13:44 AM
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!!
Title: Re: RSS Feed Poster
Post by: Heartlander on May 25, 2008, 01:23:01 AM
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.
Title: Re: RSS Feed Poster
Post by: 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 ?
Title: Re: RSS Feed Poster
Post by: Heartlander on May 25, 2008, 12:15:30 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.
Title: Re: RSS Feed Poster
Post by: roberto174 on May 25, 2008, 12:44:02 PM
Then can anyone create one ? I'll pay for it !! I really need one
Title: Re: RSS Feed Poster
Post by: slackerpunk on May 25, 2008, 06:00:28 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
Title: Re: RSS Feed Poster
Post by: roberto174 on May 25, 2008, 08:47:35 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 ?
Title: Re: RSS Feed Poster
Post by: djpaddystudio7 on May 27, 2008, 12:03:58 PM
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

Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: Twysted on May 28, 2008, 08:03:05 AM
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
Title: Re: RSS Feed Poster
Post by: glennk on May 31, 2008, 07:47:13 AM
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 ?
Title: Re: RSS Feed Poster
Post by: 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 ??
Title: Re: RSS Feed Poster
Post by: glennk on June 05, 2008, 03:25:44 PM
Helooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo
Title: Re: RSS Feed Poster
Post by: rtyug on June 06, 2008, 10:51:21 AM
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
Title: Re: RSS Feed Poster
Post by: glennk on June 06, 2008, 05:33:33 PM
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.
Title: Re: RSS Feed Poster
Post by: SpelingMistakes on June 06, 2008, 06:28:56 PM
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

Title: Re: RSS Feed Poster
Post by: glennk on June 08, 2008, 10:43:38 AM
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.
Title: Re: RSS Feed Poster
Post by: christicehurst on June 12, 2008, 09:04:37 AM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: christicehurst on June 13, 2008, 10:12:17 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 13, 2008, 08:38:34 PM
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.
Title: Re: RSS Feed Poster
Post by: Joe114 on June 18, 2008, 11:43:15 AM
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....  ::)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 18, 2008, 09:50:11 PM
Are you using a custom theme? If so you need to put in that file as well
Title: Re: RSS Feed Poster
Post by: ruaduck on June 19, 2008, 04:43:19 PM
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 :)

Code: [Select]
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster
Title: Re: RSS Feed Poster
Post by: Johno69 on June 20, 2008, 08:13:50 AM
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?
Title: Re: RSS Feed Poster
Post by: 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.

Title: Re: RSS Feed Poster
Post by: Twysted on June 22, 2008, 09:34:11 PM
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!
Title: Re: RSS Feed Poster
Post by: Twysted on June 22, 2008, 09:39:48 PM
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
Title: Re: RSS Feed Poster
Post by: Johno69 on June 22, 2008, 09:42:48 PM
Any way to limit the length of the topic title?

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
Title: Re: RSS Feed Poster
Post by: Johno69 on June 24, 2008, 11:02:40 AM
has the "’" issue been sorted?

Title: Re: RSS Feed Poster
Post by: Johno69 on June 27, 2008, 03:52:10 AM
in Subs-RSS.php if we change this line somehow..

Code: [Select]
'body' => '[b]' . $msg_title . "[/b]\n\n" . $msg_body,
Will it enable the html tags?

Code: [Select]
'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.
Title: Re: RSS Feed Poster
Post by: ruckstande on June 29, 2008, 11:19:13 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 29, 2008, 04:42:27 PM
Havent' been able to figure out the html tags for the post either tried some things bu did not work.
Title: Re: RSS Feed Poster
Post by: 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)?
Title: Re: RSS Feed Poster
Post by: Johno69 on June 30, 2008, 07:06:52 PM
I was thinking about this, and maybe it could be modded to change the board ID to a topic ID?
Title: Re: RSS Feed Poster
Post by: GazOutEast on June 30, 2008, 09:14:31 PM
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
Title: Re: RSS Feed Poster
Post by: Johno69 on June 30, 2008, 10:32:20 PM
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.
Title: Re: RSS Feed Poster
Post by: Awesomo 4000 on July 02, 2008, 10:21:20 AM
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.

Code: [Select]
<?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']);
?>
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 02, 2008, 08:42:25 PM
chmod the cronrss.php file to 755
Title: Re: RSS Feed Poster
Post by: yoggie on July 07, 2008, 02:38:54 AM
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...
Title: Re: RSS Feed Poster
Post by: Johno69 on July 07, 2008, 10:22:19 AM
You need to run the cronrss.php file to run the bots.
Title: Re: RSS Feed Poster
Post by: Johno69 on July 08, 2008, 12:45:00 AM
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.
Title: Re: RSS Feed Poster
Post by: yoggie on July 08, 2008, 01:16:37 AM
@ Johno69
I use the fake cronrss, changed to cmod 755, nothin' happened.
FYI, I use a non-standard theme and indonesian-utf8 language.
Title: Re: RSS Feed Poster
Post by: EdwinK on July 08, 2008, 10:43:40 AM
chmod the cronrss.php file to 755

Exactly the problem I was having. Solved with the above ;)
Title: Re: RSS Feed Poster
Post by: xstocler on July 08, 2008, 12:17:26 PM
Hello,
I wonder how I can put images on post, along with the news feed?

Title: Re: RSS Feed Poster
Post by: EdwinK on July 08, 2008, 12:57:49 PM
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');'

Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 08, 2008, 10:06:10 PM
You need to excute php and point php to that script file.
Title: Re: RSS Feed Poster
Post by: EdwinK on July 09, 2008, 10:28:24 AM
Thanks. I just found out by tying several combo's ;) It's working now.
Title: Re: RSS Feed Poster
Post by: EdwinK on July 09, 2008, 04:39:26 PM
Seems that my host (http://www.surpasshosting.com) only allows curl to be used. Maybe good to know.
Title: Re: RSS Feed Poster
Post by: xstocler on July 09, 2008, 05:59:01 PM
Hello,
I wonder how I can put images on post, along with the news feed?
Title: Re: RSS Feed Poster
Post by: yoggie on July 10, 2008, 12:31:29 AM
Seems like that I must setting the feed... I like to know how to detect the sock of feeder?
Title: Re: RSS Feed Poster
Post by: bobpeters on July 10, 2008, 07:27:54 AM
Any plans on a v2 beta 3.1 or higher version?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 10, 2008, 08:07:44 AM
Plans are for when SMF 2.0 final is released.
Title: Re: RSS Feed Poster
Post by: xstocler on July 10, 2008, 11:35:20 AM
Hello,
I wonder how I can put images on post, along with the news feed?



RSS Feed Poster      1.1
SMF 1.1.5
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 10, 2008, 05:50:05 PM
No way you would need to edit the mod.
Title: Re: RSS Feed Poster
Post by: xstocler on July 10, 2008, 06:22:29 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=ee121a279d578ac591381f62c8325342)



Title: Re: RSS Feed Poster
Post by: b33z on July 11, 2008, 04:48:36 AM
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=5d3725c81954a4ac3c4eaa6a04a8eb7c) (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=998b12f8cf12bd3bb87e82535634f10d) (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=c55bbc032d0273667a9d462572a4f6dc) (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......
Title: Re: RSS Feed Poster
Post by: Johno69 on July 11, 2008, 08:23:24 AM
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.
Title: Re: RSS Feed Poster
Post by: b33z on July 11, 2008, 04:55:30 PM
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...
Title: Re: RSS Feed Poster
Post by: christicehurst on July 12, 2008, 01:53:27 PM
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?
Title: Re: RSS Feed Poster
Post by: larger_20 on July 14, 2008, 08:40:39 PM
Thanks!
That did it.

How did you run the sql table?
Title: Re: RSS Feed Poster
Post by: larger_20 on July 14, 2008, 08:41:17 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 14, 2008, 10:50:53 PM
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.
Title: Re: RSS Feed Poster
Post by: larger_20 on July 15, 2008, 12:11:57 AM
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
Title: Re: RSS Feed Poster
Post by: ruckstande on July 15, 2008, 09:59:07 AM
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.
Title: Re: RSS Feed Poster
Post by: Johno69 on July 15, 2008, 08:13:14 PM
that's been covered in this thread previously. You will need to read back.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: larger_20 on July 17, 2008, 01:15:44 PM
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!
Title: Re: RSS Feed Poster
Post by: PAPABEAR on July 17, 2008, 04:36:48 PM
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.
Title: Re: RSS Feed Poster
Post by: eaglesoars on July 18, 2008, 12:47:41 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 18, 2008, 09:26:25 PM
Waiting for SMF 2.0 final
Title: Re: RSS Feed Poster
Post by: lucidlogic on July 20, 2008, 09:16:22 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 20, 2008, 05:32:22 PM
Tried doing that it did not work.
Title: Re: RSS Feed Poster
Post by: Johno69 on July 20, 2008, 11:13:01 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 21, 2008, 08:55:59 AM
Haven't had a chance been very busy with other projects and work.
Title: Re: RSS Feed Poster
Post by: jepot5 on July 23, 2008, 11:50:43 PM
hello
it doesnt post anything
is there files needed to be chmodded properly in order to make this work?
Title: Re: RSS Feed Poster
Post by: lucidlogic on July 24, 2008, 02:11:38 AM
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?
Title: Re: RSS Feed Poster
Post by: 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=e080163e100d63aa817856bf07d302d6)

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
Title: Re: RSS Feed Poster
Post by: Lysyj on July 24, 2008, 08:24:14 PM
I have installed it, but its posting blank topic and title
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 24, 2008, 09:51:36 PM
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=e080163e100d63aa817856bf07d302d6)

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.
Title: Re: RSS Feed Poster
Post by: 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...
Title: Re: RSS Feed Poster
Post by: ruckstande on July 26, 2008, 11:37:28 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.
Title: Re: RSS Feed Poster
Post by: ruckstande on July 26, 2008, 11:38:43 AM
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.
Title: Re: RSS Feed Poster
Post by: dakotaroar on July 28, 2008, 05:28:54 PM
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.
Title: Re: RSS Feed Poster
Post by: atomickarma on July 30, 2008, 08:12:56 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 30, 2008, 09:03:28 AM
It would have to be done any time you would want to update the topics. But a cron job automatically calls that file.
Title: Re: RSS Feed Poster
Post by: atomickarma on July 30, 2008, 05:11:05 PM
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?
Title: Re: RSS Feed Poster
Post by: burro on August 01, 2008, 07:23:23 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 01, 2008, 09:06:32 PM
Atom feeds are not supported. Only RSS feeds at the moment.
Title: Re: RSS Feed Poster
Post by: AFreeWebHost on August 02, 2008, 02:41:49 AM
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!
Title: Re: RSS Feed Poster
Post by: jepot5 on August 02, 2008, 08:48:40 AM
is this a valid feed?
Code: [Select]
http://www.milw0rm.com/rss.php
Title: Re: RSS Feed Poster
Post by: kandalf on August 02, 2008, 02:30:17 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 02, 2008, 04:09:29 PM
1.You need to setup a cron job.

2. Currently does not support Unicode characters.
Title: Re: RSS Feed Poster
Post by: kandalf on August 02, 2008, 09:52:47 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?
Title: Re: RSS Feed Poster
Post by: jayc7176 on August 02, 2008, 11:49:56 PM
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 :)
Title: Re: RSS Feed Poster
Post by: chifliiiii on August 03, 2008, 03:40:27 PM
I would love to have this mod for the beta version. Btw if you need help translating it to spanish let me know.
Title: Re: RSS Feed Poster
Post by: fext on August 05, 2008, 02:29:39 PM
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?
Title: Re: RSS Feed Poster
Post by: me123 on August 08, 2008, 10:18:11 AM
Feeding into one post, instead of new post... I would like to have that option too!
Title: Re: RSS Feed Poster
Post by: PRaDiUS on August 10, 2008, 04:32:26 PM
"Board structure corrupt: unable to find parent board"

This POS script has totally screwed my forum. How do I remove it?
Title: Re: RSS Feed Poster
Post by: kandalf on August 11, 2008, 01:56:37 PM
Anyone know what I have to change to support Unicode characters?
it´s very important..


Pleaseeee  O:)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 11, 2008, 10:30:10 PM
You have to alter the database tables to utf8 and then it works
Title: Re: RSS Feed Poster
Post by: kandalf on August 12, 2008, 07:06:21 AM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 12, 2008, 08:25:37 AM
It should be that way by default I think.
Title: Re: RSS Feed Poster
Post by: kandalf on August 12, 2008, 09:03:42 AM
It should be that way by default I think.

But in my forum all news with accents are distorted
   
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 12, 2008, 07:53:01 PM
Just change the feed tables to utf8
Title: Re: RSS Feed Poster
Post by: KahneFan on August 12, 2008, 09:53:48 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 12, 2008, 09:56:26 PM
Not currently part of this mod.
Title: Re: RSS Feed Poster
Post by: kandalf on August 13, 2008, 08:15:20 AM
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?
Title: Re: RSS Feed Poster
Post by: Johno69 on August 13, 2008, 08:51:14 PM
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.
Title: Re: RSS Feed Poster
Post by: comesee on August 16, 2008, 03:59:17 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 16, 2008, 04:23:54 PM
That is an error with a database table either the table does not exist or is corrupted.
Title: Re: RSS Feed Poster
Post by: comesee on August 17, 2008, 10:24:44 AM
the table does not exist,  I have tried several times. What should Ido.
Title: Re: RSS Feed Poster
Post by: comesee on August 17, 2008, 10:44:49 PM
can i manuel create it.
Title: Re: RSS Feed Poster
Post by: 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:
Code: [Select]
// Globals
$feedcount = 0;
$maxitemcount = 0;
$tag = '';
$insideitem = false;

after that copy and paste this:

Code: [Select]
# 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:
Code: [Select]
/*
if ($feed['html'])
{
$msg_body = '[html]' . $msg_body . '[/html]';
preparsecode($msg_body);
}
*/

before add:
Code: [Select]
$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
Title: Re: RSS Feed Poster
Post by: SwapsRulez on August 18, 2008, 01:21:38 PM
vbgamer45, Will it work in 2.0 Beta 3.1 if i parse it and then install it manually ?
Thanks. :)
Title: Re: RSS Feed Poster
Post by: fext on August 18, 2008, 01:27:53 PM
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?
Title: Re: RSS Feed Poster
Post by: dakotaroar on August 18, 2008, 06:28:28 PM
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: comesee on August 19, 2008, 07:59:53 AM
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..
Title: Re: RSS Feed Poster
Post by: trip001 on August 19, 2008, 12:02:24 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
Title: Re: RSS Feed Poster
Post by: fext on August 19, 2008, 12:32:28 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?
Title: Re: RSS Feed Poster
Post by: trip001 on August 19, 2008, 12:49:25 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
Title: Re: RSS Feed Poster
Post by: comesee on August 19, 2008, 03:37:16 PM
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
Title: Re: RSS Feed Poster
Post by: comesee on August 19, 2008, 05:38:56 PM

 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__);

?>
Title: Re: RSS Feed Poster
Post by: fext on August 19, 2008, 07:18:45 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?
Title: Re: RSS Feed Poster
Post by: trip001 on August 20, 2008, 05:38:16 AM
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
Title: Re: RSS Feed Poster
Post by: comesee on August 20, 2008, 09:58:03 AM
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__);

?> 
 
 
Title: Re: RSS Feed Poster
Post by: fext on August 21, 2008, 10:21:29 AM
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?
Title: Re: RSS Feed Poster
Post by: fext on August 21, 2008, 04:48:18 PM
I spoke to the host and the path was correct - all working - cheers Trip :)
Title: Re: RSS Feed Poster
Post by: ke on August 22, 2008, 05:26:53 PM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: jepot5 on August 22, 2008, 08:35:09 PM
Hi, is this a valid feed
http://www.milw0rm.com/rss.php

Will I ever get it to work using this
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 22, 2008, 10:16:11 PM
That's valid it is an RSS feed.
Title: Re: RSS Feed Poster
Post by: jepot5 on August 23, 2008, 12:58:33 AM
I always get XML error: not well-formed (invalid token) at line 10 and I don't know why. Can u help me.
Title: Re: RSS Feed Poster
Post by: 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 :)
Title: Re: RSS Feed Poster
Post by: fext on August 23, 2008, 06:33:23 PM
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 :)
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: comesee on August 25, 2008, 04:28:40 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 25, 2008, 08:16:09 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
Title: Re: RSS Feed Poster
Post by: me123 on August 26, 2008, 04:34:45 AM
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!
Title: Re: RSS Feed Poster
Post by: ke on August 26, 2008, 06:00:29 AM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 27, 2008, 09:10:42 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
Title: Re: RSS Feed Poster
Post by: comesee on August 28, 2008, 09:14:52 AM
Can I manuelly create the table.??
Title: Re: RSS Feed Poster
Post by: ke on August 28, 2008, 04:44:25 PM
http://path.to.your/forum/index.php?action=feedsadmin
Title: Re: RSS Feed Poster
Post by: heg0b00 on August 28, 2008, 05:13:47 PM
Ke , i adore you ;)

It worked.
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: nwobhm on August 29, 2008, 07:46:12 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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: nwobhm on August 29, 2008, 11:17:19 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.
Title: Re: RSS Feed Poster
Post by: pibe86 on August 29, 2008, 07:34:14 PM
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
Title: Re: RSS Feed Poster
Post by: comesee on August 29, 2008, 10:14:56 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. 



Can I manuelly create the table.??
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 29, 2008, 10:22:31 PM
Yes you can create the table and that might fix it.
Title: Re: RSS Feed Poster
Post by: comesee on September 02, 2008, 02:46:57 PM
it did not fix it. what else. please help. Please make a copy and attch and i would download it.
Title: Re: RSS Feed Poster
Post by: djeyli on September 03, 2008, 03:05:34 AM
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
Title: Re: RSS Feed Poster
Post by: heg0b00 on September 03, 2008, 12:13:29 PM
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.
Title: Re: RSS Feed Poster
Post by: grevan on September 03, 2008, 05:10:41 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on September 03, 2008, 07:55:11 PM
Not it is for posting content from  existing rss feeds from another websites
Title: Re: RSS Feed Poster
Post by: grevan on September 03, 2008, 08:51:31 PM
Thanks vbgamer45.
Is there any rss mod that does what i want? Or is there any already integrated in SMF?
Title: Re: RSS Feed Poster
Post by: grevan on September 04, 2008, 11:14:07 AM
I found it, "RSS Feed Icon for boards".
Already implemented and working.
Thanks.
Title: Re: RSS Feed Poster
Post by: jepot5 on September 05, 2008, 09:49:06 AM
I get XML error: not well-formed (invalid token) at line 10 and I don't know why. Can u help me.
Title: Re: RSS Feed Poster
Post by: comesee on September 05, 2008, 02:32:31 PM
I was able to get it working but when I finish server (apacha)  crash when when i put in the url rss.. why..
Title: Re: RSS Feed Poster
Post by: comesee on September 05, 2008, 05:27:56 PM
no i have finished install.  but no post came up. i have been wating for 3 hours,
Title: Re: RSS Feed Poster
Post by: vbgamer45 on September 05, 2008, 07:47:42 PM
You need to enable a cron job on your webhost or enable fake cron mode.
Title: Re: RSS Feed Poster
Post by: comesee on September 06, 2008, 05:50:53 PM
How do i do that. I am hosting on apache.. i look at cron fsockopen is on..
Title: Re: RSS Feed Poster
Post by: Heartlander on September 07, 2008, 03:06:26 PM
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:
Quote
Fatal error: Call to undefined function loadDatabase() in /usr/home/bassman/public_html/heartland/smf/SSI.php on line 73

Any help is greatly appreciated.
Title: Re: RSS Feed Poster
Post by: dark green on September 09, 2008, 03:01:17 PM
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?
Title: Re: RSS Feed Poster
Post by: hehe on September 10, 2008, 07:27:09 AM
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!!!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on September 10, 2008, 07:51:49 PM
Translate I believe just any language files with the mod and the modifications it makes to modificaitons.english.php
Title: Re: RSS Feed Poster
Post by: Angelotus on September 11, 2008, 07:31:37 AM
Hello, I use SMF 1.1.5 and get this error after adding a feed:
Code: [Select]
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!!!!!!
Title: Re: RSS Feed Poster
Post by: vbgamer45 on September 11, 2008, 08:58:11 AM
That means it did not install the tables. Uninstall and reinstall to see if it installs the database tables.
Title: Re: RSS Feed Poster
Post by: Angelotus on September 11, 2008, 09:03:31 AM
Done that. Somehow it doesn't install all the tables. Can you attach the installcode so I can do it manually?
Title: RSS Feed Poster Upgrade Problem
Post by: berwynboris on September 11, 2008, 11:22:18 AM
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?
Title: Re: RSS Feed Poster
Post by: Michael D. Garcia on September 11, 2008, 12:53:23 PM
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
Title: Re: RSS Feed Poster
Post by: jimbo007 on September 12, 2008, 01:10:17 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.
Title: Re: RSS Feed Poster
Post by: Michael D. Garcia on September 12, 2008, 01:18:20 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
Title: Re: RSS Feed Poster
Post by: jimbo007 on September 12, 2008, 02:07:22 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.


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:

Quote
Just 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.
Title: Re: RSS Feed Poster
Post by: 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:

Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: jimbo007 on September 12, 2008, 02:27:10 PM
Well, I go to the feed, using that link, and the output from the source is this:

Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: jimbo007 on September 12, 2008, 02:36:07 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.
Title: Re: RSS Feed Poster
Post by: Michael D. Garcia on September 12, 2008, 03:06:25 PM
No problem, J.

MDg
Title: Re: RSS Feed Poster
Post by: Angelotus on September 14, 2008, 01:17:14 AM
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.
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: Angelotus on September 14, 2008, 03:51:51 PM
Even that doesn't work me at all...
Title: Re: RSS Feed Poster
Post by: Michael D. Garcia on September 14, 2008, 07:22:35 PM
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
Title: Re: RSS Feed Poster
Post by: computel on September 17, 2008, 10:41:09 AM
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?

Title: Re: RSS Feed Poster
Post by: jepot5 on September 18, 2008, 01:50:23 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  :(
Title: Re: RSS Feed Poster
Post by: 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 !!!
(https://www.simplemachines.org/community/proxy.php?request=http%3A%2F%2Fwww.diy-pc-fix.com%2Fwp-content%2Fuploads%2F2008%2F12%2Fsig4pcfix.jpg&hash=98d34a23da8e7dd962c70d4605410bff) (http://"http://www.diy-pc-fix.com")
Title: Re: RSS Feed Poster
Post by: krstofer on September 19, 2008, 06:34:21 PM
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.
Title: Re: RSS Feed Poster
Post by: Angelotus on September 22, 2008, 09:20: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!
Title: Re: RSS Feed Poster
Post by: rtyug on September 28, 2008, 06:46:48 AM
php.ini, fopen, etc
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: manudevil on October 01, 2008, 06:03:47 AM
I have made a french translation of this mod, if you want to share it.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on October 01, 2008, 08:56:19 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.
Title: Re: RSS Feed Poster
Post by: computel on October 01, 2008, 10:19:48 AM
why bother it doesn't work and there seems to be no support for this mod.

I have made a french translation of this mod, if you want to share it.
Title: Re: RSS Feed Poster
Post by: DareDevil1990 on October 01, 2008, 01:16:39 PM
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....
Title: Re: RSS Feed Poster
Post by: Johno69 on October 01, 2008, 07:37:46 PM
Topic Prefix field is where the Starting Tags would go.

Title: Re: RSS Feed Poster
Post by: DareDevil1990 on October 02, 2008, 01:39:25 AM
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....
Title: Re: RSS Feed Poster
Post by: Johno69 on October 02, 2008, 03:29:11 AM
I manualy coded that in for my board but it didn't work.

So at the moment it can only post plain text successfully.
Title: Re: RSS Feed Poster
Post by: Jed C on October 04, 2008, 09:07:39 AM
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
Title: Re: RSS Feed Poster
Post by: bitmovel on October 04, 2008, 03:32:02 PM
Hi!

Is there any update for SMF 2.0?

If not, do you think it will be updated?

Best Regards
Title: Re: RSS Feed Poster
Post by: vbgamer45 on October 04, 2008, 03:46:26 PM
Not yet in the coming weeks it will support SMF 2.0
Title: Re: RSS Feed Poster
Post by: bitmovel on October 04, 2008, 04:13:06 PM
OK!

Thank you for the quick reply, and for your great work!
Title: Re: RSS Feed Poster
Post by: DareDevil1990 on October 05, 2008, 03:04:24 AM
hey vbgamer45 anyway to make this post html  just as effectively as it can do normal text ?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on October 05, 2008, 09:37:56 AM
Haven't been able to figure out how to get that to work yet.
Title: Re: RSS Feed Poster
Post by: Angelotus on October 06, 2008, 10:42:55 AM
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...
Title: Re: RSS Feed Poster
Post by: itisme1760 on October 06, 2008, 10:31:49 PM
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.
Title: Re: RSS Feed Poster
Post by: skidpics on October 07, 2008, 12:08:12 AM
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??
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: skidpics on October 07, 2008, 01:01: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?
Title: Re: RSS Feed Poster
Post by: DareDevil1990 on October 07, 2008, 01:06:55 AM
ya i am also unable to install it as  cron job.....
Title: Re: RSS Feed Poster
Post by: skidpics on October 07, 2008, 09:10:18 AM
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
Title: Re: RSS Feed Poster
Post by: itisme1760 on October 07, 2008, 07:52:35 PM
To those above who have cPanel and want to install it as a cronjob, this is what worked for me.

Code: [Select]
/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?
Title: Re: RSS Feed Poster
Post by: c3lt1957 on October 09, 2008, 03:31:06 AM
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=98d34a23da8e7dd962c70d4605410bff) (http://"http://www.diy-pc-fix.com")           
Title: Re: RSS Feed Poster
Post by: c3lt1957 on October 09, 2008, 04:14:15 AM
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=98d34a23da8e7dd962c70d4605410bff) (http://"http://www.diy-pc-fix.com")
Title: Re: RSS Feed Poster
Post by: Sincere on October 10, 2008, 09:08:29 AM
When the feed poster would be available for smf2.0 ??
Title: Re: RSS Feed Poster
Post by: nepharius on October 10, 2008, 01:04:07 PM
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
Title: Re: RSS Feed Poster
Post by: ice_9 on October 11, 2008, 01:52:29 AM
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?
Title: Re: RSS Feed Poster
Post by: itisme1760 on October 11, 2008, 02:37:55 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?
Title: Re: RSS Feed Poster
Post by: nepharius on October 11, 2008, 04:01:32 PM
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.
Title: Re: RSS Feed Poster
Post by: itisme1760 on October 11, 2008, 09:18:47 PM
-q means that it allows the script to utilize the php functionality.
Title: Re: RSS Feed Poster
Post by: nepharius on October 12, 2008, 01:14:15 AM
I added a cnn rss feed and its still not working
Title: Re: RSS Feed Poster
Post by: The Saviour on October 12, 2008, 02:49:07 AM
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...
Title: Re: RSS Feed Poster
Post by: The Saviour on October 13, 2008, 12:44:33 AM
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
Title: Re: RSS Feed Poster
Post by: Dirtbike on October 13, 2008, 01:53:37 PM
Looks like this could be a very good mod if you can get it working
Title: Re: RSS Feed Poster
Post by: nepharius on October 14, 2008, 05:15:04 PM
Can you by any chance post your settings to see if you did anything different, or did you take from this whole thread?
Title: Re: RSS Feed Poster
Post by: The Saviour on October 15, 2008, 08:43:13 AM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on October 15, 2008, 02:46:29 PM
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.
Title: Re: RSS Feed Poster
Post by: The Saviour on October 15, 2008, 03:43:04 PM
The first thread of this mod also states:

Quote
Place all bug reports and feature requests on this site:
http://www.smfhacks.com/index.php?action=modtracker
Title: Re: RSS Feed Poster
Post by: genieuk on October 15, 2008, 04:23:03 PM
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on October 15, 2008, 07:51:37 PM
The first thread of this mod also states:

Quote
Place 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.
Title: Re: RSS Feed Poster
Post by: LOVELORD on October 16, 2008, 12:58:31 PM
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:

Code: [Select]
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']) ? '' : '&#171; <i>' . $txt[211] . ': ' . $context['message']['modified']['time'] . ' ' . $txt[525] . ' ' . $context['message']['modified']['name'] . '</i> &#187;', ']]></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.

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on October 28, 2008, 11:56:40 PM
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.

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on October 29, 2008, 12:32:06 AM
still a few bugs with images but hopefully i can sort that out soon..

thanks DirtRider.. i needed a good project..  :D
Title: Re: RSS Feed Poster
Post by: fyndler on November 04, 2008, 06:00:51 PM
Is it wort using this mod ? Or is it many bugs etc ?

Thanks
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..  ;)
Title: Re: RSS Feed Poster
Post by: fyndler on November 05, 2008, 11:36:43 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 :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..  :)
Title: Re: RSS Feed Poster
Post by: fyndler on November 06, 2008, 11:29:50 AM
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 :)
Title: Re: RSS Feed Poster
Post by: sshagent on November 07, 2008, 06:43:37 AM
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 :(
Title: Re: RSS Feed Poster
Post by: fyndler on November 07, 2008, 10:07:35 PM
wow hope someone fix that bug hehe little ennoying to have to delete the other posts :P
Title: Re: RSS Feed Poster
Post by: fyndler on November 08, 2008, 09:23:42 PM
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
Title: Re: RSS Feed Poster
Post by: sshagent on November 09, 2008, 08:59:27 AM
so by the sound of that...then there is some logic issue somewhere in the mod. 
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 09, 2008, 09:24:48 AM
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.  :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 10, 2008, 08:05:14 AM
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.  >:( :)

Title: Re: RSS Feed Poster
Post by: Sabre™ on November 11, 2008, 02:47:41 AM
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 :)

Title: Re: RSS Feed Poster
Post by: Sabre™ on November 11, 2008, 04:29:16 AM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 11, 2008, 07:41:24 AM
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!!  ;)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 11, 2008, 08:13:06 AM
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 :)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 11, 2008, 04:25:40 PM
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 :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 11, 2008, 05:25:34 PM
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:)
Title: Re: RSS Feed Poster
Post by: Garou on November 11, 2008, 10:47:15 PM
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.
Code: [Select]
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


Title: Re: RSS Feed Poster
Post by: Sabre™ on November 11, 2008, 11:15:31 PM
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 :)
Title: Re: RSS Feed Poster
Post by: sshagent on November 12, 2008, 01:28:20 AM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 12, 2008, 04:06:25 AM
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..  :)

Title: Re: RSS Feed Poster
Post by: Garou on November 12, 2008, 07:47:02 PM
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. :)

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 12, 2008, 08:16:52 PM
Currently working on it  Garou ;)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 13, 2008, 06:46:45 AM
Garou

+k
Title: Re: RSS Feed Poster
Post by: The Saviour on November 19, 2008, 07:20:00 PM
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...
Title: Re: RSS Feed Poster
Post by: Garou on November 19, 2008, 07:51:10 PM
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
Title: Re: RSS Feed Poster
Post by: The Saviour on November 19, 2008, 07:58:30 PM
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...
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 19, 2008, 09:35:04 PM
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 :)
Title: Re: RSS Feed Poster
Post by: Garou on November 20, 2008, 01:37:35 AM
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.
Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 20, 2008, 04:33:38 PM
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..
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 20, 2008, 04:41:03 PM
Ive been reading around your site too Smoky, so thank you too :)
Good job btw, its lookin good
Title: Re: RSS Feed Poster
Post by: The Saviour on November 20, 2008, 04:50:00 PM
SmokyBlue...

I just got aggravated with it and uninstalled it.  Let me try again to see if that resolves the issue.
Title: Re: RSS Feed Poster
Post by: The Saviour on November 20, 2008, 05:14:33 PM
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!
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 20, 2008, 09:56:24 PM
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.
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 20, 2008, 10:51:49 PM
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 :)
Title: Re: RSS Feed Poster
Post by: Garou on November 21, 2008, 07:23:44 AM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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:

Code: [Select]
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..  :)

Title: Re: RSS Feed Poster
Post by: Sabre™ on November 22, 2008, 05:16:26 PM
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
Title: Re: RSS Feed Poster
Post by: The Saviour on November 22, 2008, 07:32:11 PM
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...
Title: Re: RSS Feed Poster
Post by: Garou on November 23, 2008, 06:57:00 AM
A couple posts back Smoky lists the cron job she uses in cpanel.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 23, 2008, 10:05:23 AM
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 :)
Title: Re: RSS Feed Poster
Post by: Garou on November 23, 2008, 11:10:56 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.   :-\
Title: Re: RSS Feed Poster
Post by: TechnoDad on November 23, 2008, 01:50:29 PM
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
Title: Re: RSS Feed Poster
Post by: The Saviour on November 23, 2008, 01:54:16 PM
Look in your Admin cpanel, navigation menu on the left...under Configuration...Feed Poster Configuration.
Title: Re: RSS Feed Poster
Post by: Garou on November 23, 2008, 09:15:27 PM
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...
Code: [Select]
?>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...
Code: [Select]
// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
[code]
// END  RSS FeedPoster

Once your done the file should look like...
Code: [Select]
// 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.

Title: Re: RSS Feed Poster
Post by: The Saviour on November 24, 2008, 12:40:47 PM
it will work sabre.. if you google for free cron job sites..

mine is currently like this:

Code: [Select]
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?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 24, 2008, 05:51:03 PM
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:

Code: [Select]
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?  :)
Title: Re: RSS Feed Poster
Post by: The Saviour on November 24, 2008, 07:09:02 PM
I'll try again and keep you posted...
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 24, 2008, 07:45:23 PM
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
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 25, 2008, 12:19:10 AM
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  ;)
Title: Re: RSS Feed Poster
Post by: kivelo on November 25, 2008, 10:03:19 AM
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:

Quote
This 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!

Title: Re: RSS Feed Poster
Post by: Garou on November 25, 2008, 11:13:07 AM
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.
Title: Re: RSS Feed Poster
Post by: digitw on November 25, 2008, 11:54:56 AM
Runs for me but not the accents, who know how run it?
Title: Re: RSS Feed Poster
Post by: 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
Title: Re: RSS Feed Poster
Post by: digitw on November 25, 2008, 02:08:16 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?
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 25, 2008, 02:37:25 PM
It is in your admin panel, within  "Posts and Topics"  then select  "Censored Words"
Title: Re: RSS Feed Poster
Post by: 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...
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 25, 2008, 04:05:27 PM
more than welcome Savior, glad i could help you out  ;)
Title: Re: RSS Feed Poster
Post by: pooya on November 25, 2008, 05:38:56 PM
Hello guys any update for beta 4 ? need t his badly
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 25, 2008, 05:40:04 PM
nope
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 25, 2008, 05:42:35 PM
sorry, mine isnt ready for the beta yet.. soon..  ;)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 25, 2008, 05:46:52 PM
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..  :)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 25, 2008, 07:47:35 PM
Brilliant smoky!!
I, like most, anticipate your release, and hope to offer as much pressure as possible! lol

;)

Thanks for the quick reply :)
Title: Re: RSS Feed Poster
Post by: Garou on November 26, 2008, 01:42:23 AM
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.  :)

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*
Title: Re: RSS Feed Poster
Post by: pooya on November 26, 2008, 02:13:01 AM
Wishing you guys good luck for it and anxiously waiting :)
Title: Re: RSS Feed Poster
Post by: fext on November 27, 2008, 01:20:29 PM
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:
Quote
http://www.URL/index.php?action=feedsadmin;sa=editfeed;id=1

And this text:
Quote
Method 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:
Quote
http://www.URL.co.uk/index.php?action=feedsadmin;sa=delfeed;id=2

And this text:
Quote
Method 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?
Title: Re: RSS Feed Poster
Post by: The Saviour on November 27, 2008, 01:56:43 PM
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?
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: fext on November 27, 2008, 06:44:43 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.
Title: Re: RSS Feed Poster
Post by: genix on November 29, 2008, 07:21:04 AM
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
Code: [Select]
xml_set_element_handler($xml_parser, "startElement1", "endElement1");and add BEFORE this:
Code: [Select]
$feeddata = iconv('RSS-CHARSET', 'UTF-8', $feeddata);
$feeddata = str_replace('&acute;',' ',$feeddata);
but RSS-CHARSET replace with charset of your RSS-feed (for me it was cp1251, I'm Russian).

And one more:
Find
Code: [Select]
// Error reading xml dataAnd add AFTER
Code: [Select]
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 '&acute;'. 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:
Code: [Select]
// 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 ;)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 29, 2008, 03:37:54 PM
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 :)
Title: Re: RSS Feed Poster
Post by: genix on November 30, 2008, 02:27:28 AM
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:
Code: [Select]
...
<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 =)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 30, 2008, 03:01:18 AM
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
Code: [Select]
$feeddata = iconv('ISO-8859-1', 'UTF-8', $feeddata);
TO
Code: [Select]
$feeddata = iconv('ISO-8859-1', $feeddata);
??
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on November 30, 2008, 03:24:18 AM
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 ;)
Title: Re: RSS Feed Poster
Post by: genix on November 30, 2008, 03:30:13 AM
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
Code: [Select]
$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 =)
Title: Re: RSS Feed Poster
Post by: 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
Code: [Select]
/* 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
Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on November 30, 2008, 03:47:33 PM
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
Code: [Select]
/* 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
Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: Garou on November 30, 2008, 10:36:40 PM
VB nice to see you posting here again. :)
Title: Re: RSS Feed Poster
Post by: Sabre™ on November 30, 2008, 11:11:10 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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 01, 2008, 12:45:54 AM
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.  ;)
Title: Re: RSS Feed Poster
Post by: sshagent on December 01, 2008, 04:18:06 AM
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
Title: Re: RSS Feed Poster
Post by: genix on December 01, 2008, 01:46:04 PM
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
Code: [Select]
.......<span class="news-text">TEXT_WHAT_YOU_NEED</span>.......So, here is my added code:
Find
Code: [Select]
$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 =)
Code: [Select]
// 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 =)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 01, 2008, 04:53:18 PM
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.
Title: Re: RSS Feed Poster
Post by: Sabre™ on December 01, 2008, 06:28:22 PM
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
Code: [Select]
if(strpos($msg_body,'SOMETHING_HERE')
would mine would be ?
Code: [Select]
if(strpos($msg_body,'martial_art')
For multiple words, do we separate with   _    ?
eg...
Code: [Select]
if(strpos($msg_body,'martial_art_kung_fu_aikido')
Cheers
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 01, 2008, 10:50:24 PM
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..  ;)
Title: Re: RSS Feed Poster
Post by: genix on December 01, 2008, 11:53:10 PM
Smoky, I sympathize you with your loss in family.

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)

Where your code has
Code: [Select]
if(strpos($msg_body,'SOMETHING_HERE')
would mine would be ?
Code: [Select]
if(strpos($msg_body,'martial_art')
For multiple words, do we separate with   _    ?
eg...
Code: [Select]
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
Code: [Select]
if(strpos($msg_body,'martial art')||strpos($msg_body, 'kung-fu'))
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 02, 2008, 03:26:05 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.
Title: Re: RSS Feed Poster
Post by: genix on December 02, 2008, 04:01:16 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? =)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 02, 2008, 04:25:11 PM
Search didn't help:
http://www.simplemachines.org/community/index.php?action=search2;search=cron+job;topic=141776
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 02, 2008, 04:54:55 PM
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!!  ;)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 02, 2008, 05:18:13 PM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 02, 2008, 05:29:00 PM
i know.. lol.. and no biggie.. good luck!!  ;)
Title: Re: RSS Feed Poster
Post by: 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:password@mail.google.com/mail/feed/atom

Gmail Guide:

Quote
I 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:password@mail.google.com/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. :(
Title: Re: RSS Feed Poster
Post by: none80 on December 04, 2008, 11:26:50 AM
Somebody? :( Please... The success of my website is founded on this. :(
Title: Re: RSS Feed Poster
Post by: none80 on December 04, 2008, 12:41:39 PM
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 04, 2008, 12:52:09 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:password@mail.google.com/mail/feed/atom

Gmail Guide:

Quote
I 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:password@mail.google.com/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
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 04, 2008, 02:55:44 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.

Title: Re: RSS Feed Poster
Post by: none80 on December 04, 2008, 03:08:46 PM
Quote
making 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! :)

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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.  ;)
Title: Re: RSS Feed Poster
Post by: larger_20 on December 04, 2008, 05:16:47 PM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 04, 2008, 05:56:09 PM
glad to hear that larger_20..

congrats on your site..  ;)
Title: Re: RSS Feed Poster
Post by: larger_20 on December 05, 2008, 01:22:15 AM
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?

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..  ;)
Title: Re: RSS Feed Poster
Post by: fext on December 05, 2008, 04:10:18 AM
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
Title: Re: RSS Feed Poster
Post by: larger_20 on December 05, 2008, 05:47:41 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?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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??
Title: Re: RSS Feed Poster
Post by: none80 on December 05, 2008, 03:33:57 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. :(
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 05, 2008, 05:22:42 PM
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..  :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 06, 2008, 01:42:52 PM
larger_20, did you get it configured??  ;)

none80 will be on your site in a few minutes..  :)
Title: Re: RSS Feed Poster
Post by: larger_20 on December 07, 2008, 12:45:06 PM
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 :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 07, 2008, 12:59:04 PM
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..  :)
Title: Re: RSS Feed Poster
Post by: larger_20 on December 07, 2008, 01:03:56 PM
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..
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 07, 2008, 02:16:55 PM
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:

Quote
Very 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..  ;)
Title: Re: RSS Feed Poster
Post by: diegolyanky on December 07, 2008, 07:26:07 PM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 07, 2008, 11:13:25 PM
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 ;)
Title: Re: RSS Feed Poster
Post by: TeenDev on December 07, 2008, 11:17:19 PM
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 07, 2008, 11:24:11 PM
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..  ;)
Title: Re: RSS Feed Poster
Post by: fext on December 08, 2008, 06:53:53 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 :(
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..
Title: Re: RSS Feed Poster
Post by: diegolyanky on December 08, 2008, 03:43:38 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 !
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 08, 2008, 10:01:49 PM
lmao!! ok next step is to see if your host allows you to use it.,

if not you need a new host..  ;)
Title: Re: RSS Feed Poster
Post by: diegolyanky on December 09, 2008, 07:13:19 AM
Yes ... It's my server ... And, my server allow to use it.

I tried with this and it works:

Code: [Select]
<?php
$fp 
fsockopen("www.clarin.com"80$errno$errstr30);
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($fp128);
    }
    
fclose($fp);
}
?>


So, I confused ... :(
Title: Re: RSS Feed Poster
Post by: fext on December 09, 2008, 07:34:09 AM
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?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 09, 2008, 08:54:07 AM
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.  ;)
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 13, 2008, 03:11:39 AM
did you check on your cron job Zepia1??  :o

also check your feeds.. if they arent posting anything you wont get anything ;)
Title: Re: RSS Feed Poster
Post by: Zepia1 on December 13, 2008, 04:11:14 PM
My Cron was set up ok, it might be the feeds.
Title: Re: RSS Feed Poster
Post by: Garou on December 13, 2008, 04:42:22 PM
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. :(
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 14, 2008, 03:48:49 PM
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 14, 2008, 03:56:56 PM
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..  ;)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 14, 2008, 04:30:08 PM
Well everything shows up on the feed, but it doesn't get posted.  This has to do with my crons right?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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.. ;)
Title: Re: RSS Feed Poster
Post by: MamaFriend on December 15, 2008, 10:18:26 AM
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.
Title: Re: RSS Feed Poster
Post by: c3lt1957 on December 15, 2008, 11:31:30 AM
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=98d34a23da8e7dd962c70d4605410bff) (http://"http://www.diy-pc-fix.com")
Title: Re: RSS Feed Poster
Post by: MamaFriend on December 15, 2008, 11:33:19 AM
Thanks for the quick reply.  I will update and try it.  I will let you know.  Thanks!
Title: Re: RSS Feed Poster
Post by: MamaFriend on December 15, 2008, 11:58:14 AM
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

Title: Re: RSS Feed Poster
Post by: c3lt1957 on December 15, 2008, 12:27:47 PM
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=98d34a23da8e7dd962c70d4605410bff) (http://"http://www.diy-pc-fix.com")


Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 15, 2008, 12:40:16 PM
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..  ;)
Title: Re: RSS Feed Poster
Post by: MamaFriend on December 15, 2008, 01:47:00 PM
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
Title: Re: RSS Feed Poster
Post by: MamaFriend on December 15, 2008, 02:11:16 PM
It was easier than expected, set file permissions to 755, duh.

Thank you everyone for your help!

Much appreciated :)
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 15, 2008, 04:22:00 PM
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...  ;)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 15, 2008, 09:21:59 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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 16, 2008, 03:49:20 AM
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.. ;)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 16, 2008, 06:33:14 PM
So
wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php
Would be the command to run?
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 16, 2008, 08:02:11 PM
 :-[ ?? ::)


Code: [Select]

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
Title: Re: RSS Feed Poster
Post by: 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.  ;)

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 17, 2008, 07:45:14 AM
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 ;)
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 17, 2008, 08:09:27 AM
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).
Title: Re: RSS Feed Poster
Post by: shanksta13 on December 17, 2008, 07:46:52 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 17, 2008, 11:20:24 PM
Does not work for SMF 2.0 yet
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 18, 2008, 03:57:37 PM
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..  :)
Title: Re: RSS Feed Poster & SMF 1.1.7
Post by: jay.clark on December 27, 2008, 10:41:43 PM
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: 2738


I 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
jayc@exreps.com
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 28, 2008, 12:58:03 AM
Mine still doesn't work.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue 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..
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 28, 2008, 10:06:00 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!
Title: Re: RSS Feed Poster
Post by: jay.clark on December 29, 2008, 12:48:22 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
Title: Re: RSS Feed Poster
Post by: KahneFan on December 29, 2008, 01:00:47 PM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 29, 2008, 01:09:34 PM
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..  ;)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 29, 2008, 08:20:11 PM
I do not turn over any of my mods for various reasons.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 29, 2008, 08:47:04 PM
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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 29, 2008, 08:56:37 PM
Plan to update to SMF 2.0 once it goes final.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 29, 2008, 09:02:06 PM
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..
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 29, 2008, 09:06:54 PM
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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 29, 2008, 09:13:26 PM
that is another topic all together vbgamer..  ;)

Title: Re: RSS Feed Poster
Post by: KahneFan on December 29, 2008, 09:23:16 PM
I do not turn over any of my mods for various reasons.

...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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 29, 2008, 09:32:15 PM
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.
Title: Re: RSS Feed Poster
Post by: KahneFan on December 29, 2008, 09:35:08 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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: IchBin™ on December 29, 2008, 09:57:22 PM
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.
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 29, 2008, 09:59:19 PM
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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 29, 2008, 10:05:05 PM
hmm and i havent helped with suppporting this one? okay..

i am sorry you feel this way vbgamer, i really am..  :'(
Title: Re: RSS Feed Poster
Post by: HR on December 30, 2008, 12:46:22 AM
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..
Title: Re: RSS Feed Poster
Post by: Garou on December 30, 2008, 03:28:19 AM
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.

Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on December 30, 2008, 06:26:03 AM
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..
Title: Re: RSS Feed Poster
Post by: vbgamer45 on December 30, 2008, 08:37:36 AM
Please stop posting in my mod topic this stuff is really off topic
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Mick. on December 30, 2008, 02:59:04 PM
Does anyone have a link to your forum to view demo?
Title: Re: RSS Feed Poster
Post by: TheDisturbedOne on December 30, 2008, 06:40:17 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 :(
Title: Re: RSS Feed Poster
Post by: Sabre™ on December 31, 2008, 04:52:54 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
Title: Re: RSS Feed Poster
Post by: Vampy on January 14, 2009, 09:07:55 AM
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

Code: [Select]
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?

Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 14, 2009, 08:05:07 PM
That's an issue with the host and their mysql setup
Title: Re: RSS Feed Poster
Post by: Vampy on January 15, 2009, 06:05:06 AM
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
Title: Re: RSS Feed Poster
Post by: dwdrum on January 22, 2009, 11:44:41 AM
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
Title: Re: RSS Feed Poster
Post by: KahneFan on January 22, 2009, 11:52:34 AM
For 2.0b4 RSS Feeder (http://custom.simplemachines.org/mods/index.php?mod=1590)
Title: Re: RSS Feed Poster
Post by: question on January 24, 2009, 08:43:23 PM
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 ?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 24, 2009, 09:29:16 PM
There is no way to do that.
Title: Re: RSS Feed Poster
Post by: question on January 25, 2009, 04:12:29 AM
thank you vbgamer for the mod and the quick reply
Title: Re: RSS Feed Poster
Post by: question on January 25, 2009, 04:55:56 AM
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
Title: Re: RSS Feed Poster
Post by: spartanic on January 26, 2009, 09:56:05 PM
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=e4a34231179966ba1d4b4fe219b2ce81)
Title: Re: RSS Feed Poster
Post by: vbgamer45 on January 26, 2009, 10:19:45 PM
Fix it under Admin  -> Server Settings

Choose just english as the language and not enlish utf8
Title: Re: RSS Feed Poster
Post by: spartanic on January 26, 2009, 11:04:06 PM
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.
Title: Re: RSS Feed Poster
Post by: mdrcracing on January 30, 2009, 01:24:42 PM
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.
Title: Re: RSS Feed Poster
Post by: Imago on February 02, 2009, 05:23:42 AM
It worked out of the box. Great mod!
Title: Re: RSS Feed Poster
Post by: ccraciun on February 06, 2009, 03:36:54 PM
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?
Title: Re: RSS Feed Poster
Post by: fext on February 06, 2009, 08:34:35 PM
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?
Title: Re: RSS Feed Poster
Post by: ccraciun on February 07, 2009, 05:20:45 PM
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.

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.
Title: Re: RSS Feed Poster
Post by: Vampy on February 09, 2009, 05:56:11 AM
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:

Code: [Select]
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, webmaster@mysite.com 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?
Title: Re: RSS Feed Poster
Post by: ccraciun on February 09, 2009, 06:41:16 PM
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.
Title: Re: RSS Feed Poster
Post by: 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.
Title: Re: RSS Feed Poster
Post by: Vampy on February 09, 2009, 08:21:07 PM
I'm going to follow ccracium's example, give up and uninstall this mod - way to glitchy and buggy with 1.1.8
Title: Re: RSS Feed Poster
Post by: mdrcracing on February 18, 2009, 10:08:49 AM
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
Title: Re: RSS Feed Poster
Post by: Vampy on February 18, 2009, 11:59:06 AM
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:

Quote
Standard 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
Title: Re: RSS Feed Poster
Post by: fext on February 19, 2009, 09:13:12 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.
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on February 20, 2009, 12:52:35 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..
Title: Re: RSS Feed Poster
Post by: mdrcracing on February 20, 2009, 07:26:20 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.
Title: Re: RSS Feed Poster
Post by: Broc Lee on March 08, 2009, 09:49:25 PM
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.
Title: Re: RSS Feed Poster
Post by: Vampy on March 11, 2009, 04:36:58 PM
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

Code: [Select]
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.
Title: Re: RSS Feed Poster
Post by: excon on March 13, 2009, 03:08:31 AM
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!”.
Title: Re: RSS Feed Poster
Post by: Vampy on March 13, 2009, 06:57:54 AM
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
Title: Re: RSS Feed Poster
Post by: Ranter on March 13, 2009, 08:39:44 PM
another way to set up the cron job uses wget:
wget -q http://mydomain.com/pathtoforumifnotdocumentroot/cronrss.php

The -q switch means quiet mode
Title: Re: RSS Feed Poster
Post by: Vampy on March 14, 2009, 10:15:02 AM
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?
Title: Re: RSS Feed Poster
Post by: Angie on Dialysis 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!
Title: Re: RSS Feed Poster
Post by: KahneFan on March 23, 2009, 10:44:22 AM
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.

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.
Title: Re: RSS Feed Poster
Post by: Angie on Dialysis on March 25, 2009, 05:49:24 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.

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!
Title: Re: RSS Feed Poster
Post by: comesee on March 26, 2009, 02:50:25 PM
i am hosting on my computer. i have xampp server. and what is cron job and how do i get it to work.
Title: Re: RSS Feed Poster
Post by: Vampy on March 27, 2009, 06:26:15 AM
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
Title: Re: RSS Feed Poster
Post by: xxwckdxx on March 27, 2009, 12:10:52 PM
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
Title: Re: RSS Feed Poster
Post by: fext on April 03, 2009, 09:37:57 AM
I'm working on a JQuery feeder now because I am tired of waiting for a new one of these becoming available :(
Title: Re: RSS Feed Poster
Post by: 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!
Title: Re: RSS Feed Poster
Post by: VegaTheChosen on April 13, 2009, 08:37:56 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
Title: Re: RSS Feed Poster
Post by: Smoky "Rider" Blue on April 13, 2009, 09:26:18 PM
**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?  ;)
Title: Re: RSS Feed Poster
Post by: Mack450 on April 17, 2009, 02:29:23 PM
How do I enable fsockopen function?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 17, 2009, 07:21:41 PM
Enabled by default unless shared hosting disasbled it.
Title: Re: RSS Feed Poster
Post by: n3ith on April 18, 2009, 01:15:49 AM
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
Title: Re: RSS Feed Poster
Post by: EZ1 on April 19, 2009, 10:17:51 AM
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 ??

Code: [Select]
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
Title: Re: RSS Feed Poster
Post by: Mack450 on April 28, 2009, 11:03:18 PM
curl is supported on my server yet this does not work. Is there any theme edits or edits I need to do??
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 28, 2009, 11:03:47 PM
No theme edits, just need to setup a cron job.
Title: Re: RSS Feed Poster
Post by: Mack450 on April 28, 2009, 11:07:40 PM
No theme edits, just need to setup a cron job.
Oh...how do I do that?
Title: Re: RSS Feed Poster
Post by: Mack450 on April 28, 2009, 11:17:37 PM
is this right?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 28, 2009, 11:18:58 PM
Check out this
http://www.developertutorials.com/blog/php/running-php-cron-jobs-regular-scheduled-tasks-in-php-172/
Title: Re: RSS Feed Poster
Post by: Mack450 on April 28, 2009, 11:43:32 PM
So my command shoudl be something like this? /usr/bin/php /home/cronrss.php
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 28, 2009, 11:53:33 PM
Yeah replace /home with the full path to the cronrss.php
Title: Re: RSS Feed Poster
Post by: Mack450 on April 29, 2009, 12:05:16 AM
Ok I ended up with

/usr/local/bin/php -f /home/atvcath/public_html/cronrss.php

Will test it out!

Thanks for the help!
Title: Re: RSS Feed Poster
Post by: steve51184 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on April 29, 2009, 07:49:44 PM
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.
Title: Re: RSS Feed Poster
Post by: steve51184 on April 29, 2009, 08:04:57 PM
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:

Code: [Select]

break;

case "LINK":
$context['feeditems'][$feedcount]['link'] .= $data;
Title: Re: RSS Feed Poster
Post by: Mack450 on April 29, 2009, 09:47:21 PM
Everything should be set up. Yet this is still not working. Any other ideas?
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: Underfunded on May 10, 2009, 08:49:23 PM
After digging through the code a little the HTML Enabled? checkbox should be doing this automatically for me but it is not. Any suggestions?

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?
Title: Re: RSS Feed Poster
Post by: Underfunded on May 11, 2009, 07:35:44 AM
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.
Title: Re: RSS Feed Poster
Post by: 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?
 :'(  ???
Title: Re: RSS Feed Poster
Post by: ccraciun on May 24, 2009, 06:05:46 PM
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:
Code: [Select]
wget -t 4 --delete-after http://www.your-site.com/cronrss.phpto 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...
Code: [Select]
         break;

         case "LINK":
            $context['feeditems'][$feedcount]['link'] .= $data;
Title: Re: RSS Feed Poster
Post by: mghq on May 27, 2009, 08:47:13 PM
Could someone tell me how to make the html tags be in the post because it is not including them
Title: Re: RSS Feed Poster
Post by: mghq on May 27, 2009, 09:03:05 PM
I made a modification to the code and am wondering would this work

Subs-RSS.php
Code: [Select]
'body' => '[b]' . $msg_title . "[/b]\n\n" . '[html]' . $msg_body . '[/html]',
Title: Re: RSS Feed Poster
Post by: vbgamer45 on May 27, 2009, 09:41:57 PM
Would not work the last time I tried it.
Title: Re: RSS Feed Poster
Post by: mghq on May 27, 2009, 09:49:58 PM
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.
Title: Re: RSS Feed Poster
Post by: mghq on May 27, 2009, 10:22:51 PM
So can anyone help
mghq
Title: Re: RSS Feed Poster
Post by: cybergoblin on May 28, 2009, 02:59:06 AM
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??
Title: Re: RSS Feed Poster
Post by: ccraciun on May 28, 2009, 05:38:44 PM
Try with these settings (http://www.simplemachines.org/community/index.php?topic=141776.msg2076185#msg2076185).
Title: Re: RSS Feed Poster
Post by: cybergoblin on May 29, 2009, 12:25:37 AM
Try with these settings (http://www.simplemachines.org/community/index.php?topic=141776.msg2076185#msg2076185).

Thanx, will give it a try..
Title: RSS Feed Poster Wont Update
Post by: MuddyHymnal on May 30, 2009, 06:46:48 AM
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.
Title: Re: RSS Feed Poster
Post by: 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 ?




Title: Re: RSS Feed Poster
Post by: vbgamer45 on June 04, 2009, 01:31:59 PM
Did you create a cron script?
Title: Re: RSS Feed Poster
Post by: kizko on June 04, 2009, 02:14:55 PM
No. I use fake cron.
Title: Re: RSS Feed Poster
Post by: ccraciun on June 08, 2009, 07:15:31 PM
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... :(
Title: Re: RSS Feed Poster
Post by: kizko on June 09, 2009, 11:34:21 AM
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.
Title: Re: RSS Feed Poster
Post by: Spiritwarrior on July 13, 2009, 10:46:09 PM
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.
Title: Re: RSS Feed Poster
Post by: JeremyB. on July 14, 2009, 03:29:51 AM
http://www.yourforums.com/cronrss.php
Title: Re: RSS Feed Poster
Post by: 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?
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 14, 2009, 11:49:53 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
Title: Re: RSS Feed Poster
Post by: kizko on July 23, 2009, 12:55:03 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
Title: Re: RSS Feed Poster
Post by: vbgamer45 on July 23, 2009, 01:22:58 PM
Mod no longer supported
Title: Re: RSS Feed Poster
Post by: Keith99 on August 03, 2009, 02:38:00 PM
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?
Title: Re: RSS Feed Poster
Post by: perfec2 on August 17, 2009, 10:26:19 AM
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?.
Title: Re: RSS Feed Poster
Post by: chrishicks on August 19, 2009, 06:18:45 PM
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:

Code: [Select]
         ORDER BY mem.realName ASC", __FILE__, __LINE__);
the entire section of code in that area:

Code: [Select]
      // 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...
Title: Re: RSS Feed Poster
Post by: vbgamer45 on August 19, 2009, 07:39:56 PM
That's not part of RSS Feed Poster than looks like a flashchat addon
Title: Re: RSS Feed Poster
Post by: chrishicks on August 19, 2009, 08:04:21 PM
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.
Title: Re: RSS Feed Poster
Post by: chrishicks on August 20, 2009, 12:57:22 AM
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?
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on August 22, 2009, 12:34:55 AM
New release.
Now supports SMF 2.0
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: TheDisturbedOne on August 22, 2009, 01:51:16 PM
Thanks for updating this. Does this mean that the mod is now working with 1.1.10?  Mine never posted more than once.
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on August 22, 2009, 04:02:26 PM
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
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: nexxuscorp on August 27, 2009, 01:43:37 AM
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
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on August 27, 2009, 08:46:16 AM
Does not support active html at this time.
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: Adish - (F.L.A.M.E.R) on August 27, 2009, 10:27:18 PM
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 ?
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on August 27, 2009, 10:46:56 PM
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.
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: Adish - (F.L.A.M.E.R) on August 27, 2009, 11:03:19 PM
ohhhhhhhhhhh..... okie dokie.. :P But we still can't call it "outdated"
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: SimpleJoe 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:

Code: [Select]
<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
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: chrishicks on August 28, 2009, 09:28:20 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:

Code: [Select]
<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...
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: Sabre™ on August 28, 2009, 10:12:46 AM
lol yeah me too
You could try
Code: [Select]
<div style="visibility:hidden"> <iframe code here> </div>
Title: Re: RSS Feed Poster
Post by: chucklebutte on September 06, 2009, 04:35:06 PM
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!
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: Pinball Nation on September 06, 2009, 04:51:19 PM
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 ;)
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: chucklebutte on September 06, 2009, 05:31:47 PM
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!
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: chucklebutte on September 06, 2009, 07:42:02 PM
can anyone explain how to add rss feeds with a portal like pin was talking about?
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: Sabre™ on September 07, 2009, 04:05:38 AM
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 :)
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: falken on September 08, 2009, 11:49:21 AM
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:)
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on September 08, 2009, 01:43:05 PM
What happens when you run cronrss.php from your website manually?
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: falken on September 09, 2009, 08:46:26 AM
What happens when you run cronrss.php from your website manually?
Only appears one line and put this:

Feed Poster Configuration
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: vbgamer45 on September 09, 2009, 09:07:00 AM
That means it is working correctly as long as you see no errors
Title: Re: RSS Feed Poster now supports SMF 2.0
Post by: falken on September 11, 2009, 03:21:01 PM
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 e