• Welcome to Simple Machines Community Forum. Please login or sign up.
September 18, 2021, 03:08:17 PM

News:

Wondering if this will always be free?  See why free is better.


RSS Feed Poster

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

Previous topic - Next topic

Matthew Schenker

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!

Freddy888

March 25, 2007, 10:19:28 AM #361 Last Edit: March 25, 2007, 11:32:48 AM by Freddy888
I'm using 1.1.2 with TinyPortal.  The fake cron job was slowing down my forum as it runs the rss posting code each time a page is loaded so I played with the cronrss.php code and adapted it so it only trys to update the rss posts if you go to the home/front page.

I created a PHP article and used this code in it :

// SSI needed to get SMF functions
require('SSI.php');

// For the rss functions
require_once('Sources/Subs-RSS.php');

UpdateRSSFeedBots();
die();


Then I allow it to be displayed on the front page but turned of all of the display options like 'date', 'title' and so on.

Now it only does the rss refresh when I go to the home page.  I'm thinking this will reduce the lag that gets caused by using the fake cron job.

Perhaps VBGamer can comment on how safe this is, but so far it's working ok on my test forum.

vbgamer45

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.
Community Suite for SMF - Take your forum to the next level built for 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

Freddy888

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 :)

Matthew Schenker

March 25, 2007, 06:24:51 PM #364 Last Edit: March 25, 2007, 06:27:46 PM by Matthew Schenker
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!

Enigma

Quote from: Matthew Schenker on March 25, 2007, 06:24:51 PM
SMF has a built-in news feature, but it only allows us to send five messages at a time.

Is there an easier way to up that to the total number of messages posted that day?  Is that what this modification is supposed to do?

Even though this modification crashed my site, I still wonder if I can get it to work with different settings.  am very interested in offering RSS feeds to my members.

Thanks!

This Feed Poster has nothing to do with the News features of your forum. It pulls a news feed and posts it to the forum as a member would. Here is an example http://www.blackbbwsforblackmen.com Under World News you will see posts by "AutoPoster". This is a fictional name that I used for the news feed.

If the RSS Feed mod installed properly, then you can use a cron job to hit cronrss.php. You can also use your browser "go to" your cronrss.php file. This will fetch your rss feeds and post them manually.

vadewoyin

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

vbgamer45

It will slow down your board if you use fake cron jobs.
Community Suite for SMF - Take your forum to the next level built for 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

tsmalmbe

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
..:: http://www.kontrollrummet.com - Studio och musik ::.. RSS?

britmovie

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?

Neobane

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:

hxxp:us.rd.yahoo.com/dailynews/rss/search/Rosie%2BO%27Donnell/SIG=125pvkarg/*http%3A/ [nonactive]/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?

Wingnut31

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. :)

Enigma

Quote from: Wingnut31 on April 03, 2007, 05:08:00 PM
Seems to work for me but the link is a long URL is there any way to have it produce a clickable word instead of the long URL.

Thanks for the help. :)

good idea!

subfighter

Quote from: subfighter on March 22, 2007, 11:55:50 AM
It would be nice option to add to display the the RSS Feed News Page. In an IFRAME directly in the page as it causes much more traffic for your site.. I just currently are converting my PHPBB forum over and looking for the features i had on my old board... I had a similiar mod but it embedded the RSS Feed Page Into the Forum Page so people could discuss and talk about it...

Here is a link to my current board and how it looks.
http://www.subfighter.com/ftopict-50151.html [nofollow]

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?

NoFeaR / NFSMW

I'm getting this error. How do i fix it please???

QuoteAn Error Has Occurred!
Unable to download the feed.

vol_freak

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
hxxp:"http://www.braveschop.com/forum/ [nonactive]

PrizeLive.com

Will this mod work with version 1.1 rc2?

My forum is www.moneytalkpro.com.
Get Paid Instantly via PayPal (or other options) at PrizeLive.com!

vol_freak

Quote from: Neobane on April 03, 2007, 11:48:26 AM
Gamer, when I run the Poster, it works fine for most of the article, except in the article link.  I get rss feeds from yahoo because I can do custom RSS searches.  But the links they provide are parsed...

Here's how the links appear:

hxxp:us.rd.yahoo.com/dailynews/rss/search/Rosie%2BO%27Donnell/SIG=125pvkarg/*http%3A/ [nonactive]/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
hxxp:"http://www.braveschop.com/forum/ [nonactive]

NoFeaR / NFSMW

Unable to download the feed. Still getting this error. No one helped me yet. Please.

Shadow Queen

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

Advertisement: