News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

RSS Feed Poster

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

Previous topic - Next topic

vbgamer45

Try using fsockopen as download method. Also what is the cron job look like?
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

vbgamer45

MoreBloodWine posted an update that should fix your issue with the feed url.

RSS Feed Poster 2.3
!Fixed a bug handling the query string in the fsockopen request call
!Fixed bug in handling of headers in fsockopen request for the feed.
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

MoreBloodWine

#1762
Will try the new version and update accordingly but as said before my cron looks like this...

0,30 * * * * /usr/bin/php /home/<removed>/public_html/cronrss.php

The emails from the job are being sent to me like this...

Set-Cookie: PHPSESSID=12129c7bf9f8498c2ba048e98a70dbe0; path=/
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Pragma: no-cache
Cache-Control: private
Content-type: text/html

Feed Poster Configuration

Anyway, what would be literally the best DL option to use, also, no comment on my HTML fix or what should be one anyway... seriously surprised no one siuggested it before.

Edit: Went ahead and set cURL as my doanload mnethod since it's also what I use on my generator site, that said, here's hoping it works now. I know nothigns prfect but it seems like with every new patch or something comes a small new hiccup.

Edit: Ok, just turned 8:30pm shoulda had a post but nothing... as for my setup, please read my entire reply on page 88 at the bottom, it's the same as it was before except the method is nor cURL instead of All.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


vbgamer45

Looked closer at the feed http://feeds.feedburner.com/NaughtyDog?format=xml
And it is not an RSS feed but an atom based which this mod currently does not support
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

sharks

#1764
I installed this mod on SMF 1.1.11 using default theme. No installation errors, and in the mod admin screen, it gives me my cronrss URL.

http://www.myforums.com/test/cronrss.php

However, when i paste this given address in my Firefox browser it gives me this error:

Internal Server Error

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


Is that an indication of a problem? Will this cause my real cron job to not work or screw up later on?

EDIT: I checked the cronrss.php file permission and it was set to 066 by default, which i changed to 755.

I then accessed the link again and this time it showed me this message: Feed Poster Configuration

I hope this mod will start working now?

EDIT 2: Yep, it's working. :D

vbgamer45

Permission issue on cronrss.php chmod it to 755
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

sharks

Done that already and it's working. :)

But my error log shows 3 similar errors below:

http://www.myforums.com/index.php?action=feedsadmin;sa=addfeed2

8: Undefined offset: 23
File: /user/forum/public_html/Sources/Subs-RSS.php
Line: 150

MoreBloodWine

Quote from: vbgamer45 on September 03, 2010, 10:45:04 PM
Looked closer at the feed http://feeds.feedburner.com/NaughtyDog?format=xml
And it is not an RSS feed but an atom based which this mod currently does not support
Figures ;-/

Probably shouldnt even ask given past experiences with similar subjects but I'm guessing it never will or least not any time soon ?

Sucks to because I went through all the trouble of making sure this was set up right including my Cron job which from what I gathered of 20 or so pages I read is something some people faily to even try and just go straight to hey VB hows this done.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


vbgamer45

Might be possible have to see how much different the formats are and if i could combine them into one.
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

MoreBloodWine

Quote from: vbgamer45 on September 04, 2010, 07:02:03 PM
Might be possible have to see how much different the formats are and if i could combine them into one.
For arguments sake lets say no, would you consider a seperate mod for Atom feeds ?

This way if people want to post feeds from different hosts or whatever you want to call them they can by using two mods assuming you cant find a combination solution.
Want a sig like mine for your BTCGuild stats ? Then check this out: Spend-ur-Bits


vbgamer45

Well if anything I would combine them both because it is one less mod to manage and to update and since they work in similar methods fetching xml and parsing it.
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

Buneduggy

What is the max time between feeds to be posted? I want to only have it pull once a week.

It installed perfect and has been working great by the way!! I just set it last night to only update every 7200 minutes. Will this work or are there certain parameters it has?

vbgamer45

That will work there are no time limits.
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

Buneduggy

Thanks VB for the quick response. I enjoy your mod, it works perfectly.

vbgamer45

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

Robi052

Hi,

When try add feed see error "XML error: syntax error at line 1"

Whats wrong?

vbgamer45

That means the feed is corrupted and unable to be added fault of the feed site.
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

Robi052

Quote from: vbgamer45 on September 11, 2010, 10:27:45 AM
That means the feed is corrupted and unable to be added fault of the feed site.

Try 6 feeds and or this error or error "XML error: not well-formed (invalid token) at line 419"

vbgamer45

They probablly all corrupted you can try viewing the feed in firefox if gives error it is bad feed
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

Robi052

#1779
All feeds in chrome work fine. Find one feed what can add, but dont work. In error log see this error message

Quotehttp://www.mojportal.com.hr/forum/index.php?pretty;action=feedsadmin&amp;sa=editfeed2
8: Undefined offset: 24
Datoteka: /home/myusername/public_html/forum/Sources/Subs-RSS2.php
Line: 149

Advertisement: