News:

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

Main Menu

RSS Feed Poster

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

Previous topic - Next topic

distante

I had a question regading the links and images in the post.

The RSS Feed Poster is getting the images and urls in the post with my url forum info first, in this way:

http://www.desadaptados.net/%http://esmiperu.tumblr.com/post/33688961143%22

http://www.desadaptados.net/%22http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg%22



or

http://www.desadaptados.net/"http://esmiperu.tumblr.com/post/33688961143"

http://www.desadaptados.net/"http://25.media.tumblr.com/tumblr_mbyut3Bu2R1rj5lwto1_500.jpg"


any idea where I can edit this?


tacticalguy

Okay, I fixed this issue. No more error message. Now, to see if the feed actually works. Fingers crossed.

internationalflyerz

#2622
Hi everyone,

First of apologies at forehand, I don't know anything about php nor how to modify files for SMF, I went through all 132 pages here, but I don't understand half the posts here, its way above my knowledge. I downloaded and installed this great mod successfully on my site and inserted a RSS Feed link. By Accident I left the "Post HTML" function selected and the mod did try to download the first feed.

In the forum where it was set to post the feed I only saw [ html ] [ /html]    So I thought I made a mistake and deleted the post as admin from the forum. I then went back into the mod setting and deselected the HTML posting. Since then the mod never worked again. It doesn't post at all even with "fake cronjobs" selected and "feed download method" selected to all. I have uninstalled the mod and reinstalled it several times but it still does not work.

Today I decided to try the mod on my localhost via xampp control. It installed fine and this time I did not select HTML posting, I inserted the rss feed link and after saving the new feed, it downloaded/posted the rss feeds in the correct forum. However it only posts the title of the thread and a link to the news feed. There's nothing else in there but a link.

In some posts, there's no thread title and then just a link to the rss news.

Did I damage some file on my site by deleting the first rss feed post (the [ html ] [ /html]    one)? Or is there a file that doesn't get deleted when you uninstall? The reason I ask is because when I uninstall and then reinstall the previous feeds show up again.

Can somebody please help me? I would love to have rss feeds automatically posted, but for some reason I can't get it to work.


Thank you!

Martin

(My SMF is version 2.02. My site is www.internationalflyerz.co.za [nofollow] and my host is gridhost south africa.)

Kindred

you will have to set up the regex to parse the feed if you want more than just the link to the original.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

internationalflyerz

Thanks for the reply Kindred, but I have no idea what a "regex" is nor does the mod actually post on my online site, only on my localhost one.

internationalflyerz

The mod doesn't post anymore on my localhost either. I'm sure it's just me and not the mod. Looking at the screenshot, can anyone guide me in layman terms how to fix this or steer me in the right direction, please?


vbgamer45

I suggest setting up a cron job if possible.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

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

internationalflyerz

I have no idea what a cronjob is, as I stated before, I don't know anything about php. I have contacted my host and they tell me that fsockopen is available and access is via port 80, whatever that means.

Meanwhile on my localhost, the mod doesn't post rss feeds at all.

internationalflyerz

I found this somewhere on the net:

Quotelexhair:
Here's how you configure RSS Feed Poster on LP (This works for me on Segonax):
1. Install the mod package in SMF
2. Go to your Cron tab on your cPanel and create the following cron job:
Code:

curl -s -o /dev/null http://www.yourdomain.com/yoursmfdirectory/cronrss.php [nofollow]

That's it.

I've checked my cpanel, there's function for cronjob there. I will reinstall the mod later on again and then create that cronjob with the code that's in that quote.

If it all works, should I create a posting account with admin privileges so that the rss feed post can be done in html? Also if I select HTML will the original post then completely show instead of just a link to that news feed?

Thanks!

Kindred

Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

vbgamer45

In SMF 2.0 we do have a scheduled task that is setup for cron processing if it is enabled.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

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

internationalflyerz

The mod is uninstalled, yet under Scheduled Tasks it shows "update feed_bots", is that a cronjob for the mod?

internationalflyerz

Ok I reinstalled the mod, assigned the following rss feed: http://feeds.24.com/Tagged/News/Topics/aviation/rss [nofollow]
I created a cronjob in my admin panel with this code: curl -s -o /dev/null http://internationalflyerz.co.za/ [nofollow]/cronrss.php/cronrss.php

I have a very long error log now in the cpanel, this is just one entry out many
Quote[Wed Oct 31 19:22:16 2012] [error] [client 199.21.99.105] File does not exist: /home/interna4/public_html/404.shtml

I'm really lost....Can anyone tell me what it is that I'm doing wrong, please?

internationalflyerz

Ok I don't know what I did, but the mod is now working!

punchy

Quote from: vbgamer45 on October 31, 2012, 12:47:00 PM
In SMF 2.0 we do have a scheduled task that is setup for cron processing if it is enabled.

Hi VBGamer

been using your great RSS mod for ages without any issues, i've now moved to a faster server and cant seem to get the feeds?

I get a white page error

QuoteInternal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator, [email protected] and inform them of the time the error occurred, and anything you might have done that may have caused the error.

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

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

i've tried Uninstalling and re installing, nothing

Any ideas what it might be??

vbgamer45

What page do you get that error on?

Sounds like a file permissions issue.
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

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

punchy

when i go to test it by running the cronrss.php

vbgamer45

Ok yeah check file permissions on cronrss.php try either 755 or 644
Community Suite for SMF - Grow your forum with SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com - Paid Modifications for SMF

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

punchy

Cheers will do, I've had to revert back to the old server whilst i sort another issue out with the new server, so will try when i reinstall  ;)

Thanks for the quick reply I'll let you know how i get on, I have almost 100 Feeds using this mods and it works brilliant, This is by far one of the best mods for SMF  :)

Well impressed, Cheers

Gerry

punchy

Quote from: vbgamer45 on November 02, 2012, 11:02:32 PM
Ok yeah check file permissions on cronrss.php try either 755 or 644

Hiya VBgamer

Just managed to get the forums online again on the new server have checked the Permissions on the cronrss.php it was on 0755 so i changed it to 0644 still no joy

Any ideas, I'll open up an FTP account and PM you the details if you could take a look for me, Normally by now i'd have at least 100 new posts on my feeds  :-[

I just can't think what it could be  :-[

Thanks

Gerry

Advertisement: