Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

RSS Feed Poster

Started by Team, January 11, 2007, 07:46:04 PM

Previous topic - Next topic


Hm  :o Yesterday, I had problems with the url. I got error mails that the file was not found. And when I used the url in my browser, I got some errors. Then, I activated the cron job with the '/home/www/...' url - error mails. Today, I activated the cron job again with the direct url - no problems :D I also get no errors anymore in my browser.
Maybe because I use no "http://www." anymore  (in the cron tab url)?


Got the exact same thing even after trying that ^^

/bin/sh: No such file or directory
FREE and LIVE World Cup + Premier League football streams:



it doesn't work!


looks like the database part of the install didnt do it
FREE and LIVE World Cup + Premier League football streams:



I have the 4 documents in my computer, what I have to do to set up it in my forum??

Thank you.


Quote from: MegaTinkerCoder on April 19, 2007, 08:20:29 PMI wish the feeder posted the whole rss feed instead of a snippet, but I haven't had time to investigate that myself.
Any Luck with that? ive been playing around with my Subs-RSS.php, but im still getting a little snippet of the Feed, mostly with Feedburner. While lookin to the rss feed directly in Feedburner i can se the whole Message, but when i bring the same feed to my forum, i still get just a little snippet...


OK...for those of you out there confused about cron--

this command was the ONLY one that would work on
my hosting company...

lynx --dump http://www.YOURDOMAIN/YOURFORUMDIRECTORY/cronrss.php

Hope this helps people in the future.



Works perfect, installed it and it worked straight outta the box. About 3 mins to get it up and running and posting. No complaints here :) Now to see how long it takes for my users to figure out they're talking to a robot ;)


A day has gone by and my users are happily talking to a robot  ;D teeheehee  ;)


If this mod doesn't work and in Admin > Forum Error Log you get an error similar to this:

fopen() [<a href='function.fopen'>function.fopen</a>]: URL file-access is disabled in the server configuration
File: [path]/Sources/Subs-RSS.php
Line: 25

you could use this function (requires the CURL library, which is reported to be more reliable and to give higher performance -- see the link below):

   * @return string
   * @param string $url
   * @desc Return string content from a remote file
   * @author Luiz Miguel Axcar ([email protected])

function get_content($url)
    $ch = curl_init();

    curl_setopt ($ch, CURLOPT_URL, $url);
    curl_setopt ($ch, CURLOPT_HEADER, 0);


    curl_exec ($ch);
    curl_close ($ch);
    $string = ob_get_contents();

    return $string;   

This and several other solutions were posted as comments in, where a way to check for failure to fopen() is also posted.

Or you could use something like this:

$file = "";
$ch = curl_init($file);
$fp = @fopen("temp.xml", "w");
curl_setopt($ch, CURLOPT_FILE, $fp);
curl_setopt($ch, CURLOPT_HEADER, 0);
$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.

    Please do not PM me with support requests unless I invite you to.   ~

<H> I had zero posts when I started posting


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
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more! -  Paid Modifications for SMF

EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


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


Quote from: last19 on June 02, 2007, 02:58:49 PM
But it gives error "Unable to download the feed."

Did you try the mod or the sample code from GoDaddy? The sample code connects to the Paypal site, which I believe had some problems during the last few days.

    Please do not PM me with support requests unless I invite you to.   ~

<H> I had zero posts when I started posting


i tried the mod. i didnt try anything from godaddy because i dont understand what they wanna say :=)


I've had a hunt through this forum, but I can't see any way to make the bot post in only one topic. I don't really want a brand new topic for each posting, just a new post within the same topic. Hopefully someone can help :)

And thanks for the cool MOD :) Only one of my users seems to have picked up on the fact that it's a bot and that was coz it posted five brand new topics within about two seconds!



Anybody have any ideas for Godaddy?


OK. Hi all.

I have installed this on my test site as a trial. Everything points to it looking operational..but....

I added the Simple Machines feed.

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 I get

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request

What do I need to know to fix that. Permissions on cronrss.php are 666

Or what do you need to know to help me.
* I don't suffer from insanity; I enjoy every minute of it. *


Ok. I finally got an email from the cron job.

/bin/sh: 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
* I don't suffer from insanity; I enjoy every minute of it. *