News:

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

Main Menu

RSS Feed Poster

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

Previous topic - Next topic

lamlam

Quote from: luuuciano on January 21, 2012, 03:40:38 AM
Who have a feed to check on 5 minutes... 1 minutes? 30? 60?
Came one..... think about that.......
or are you feeding a twitter about........ "linux" (just to say something)




Anyway..... this mod did not work for me... just keeped publishing 2nd item.... no news at all




will try later

Same here! It only published the second item for some reason. I thought it might have been my RSS feed, but it validated perfectly fine.
Any more information on this?

aka Fusion

It took a bit of figuring out but i got this mod to work and its great

My site has curl on but i had to activate fopen by this i had to create a file using notepad.
Place allow_url_fopen = On inside the file. rename file to php.ini place file in root of folder that you wish to use that function and chmod to 644.

Struggled mostly with the cron job command but this is what worked for me

Note  - When you visit the url
http://YOU DOMAIN/forum/cronrss.php
and get this message Feed Poster Configuration - then you have cracked it

You need the url not the webspace location (which makes sense as you want the cron job to call the url rather than you clicking the link) so this is what worked for me

/usr/bin/wget http://YOURDOMAIN/forum/cronrss.php

if you dont want an email with a report every time the job runs then add this after the command

>/dev/null 2>&1

one of these variations worked as well (cant remember which) but  but it only seemed to work when i visited the feed url in a browser

php -q /public_html/domain.net/forum/cronrss.php
/usr/local/bin/php /public_html/domain.net/forum/cronrss.php


Topics being added twice a day on two forums  - Thanks for a great mod







wynnyelle

I had this installed a while back but I have no idea if it is doing anything or not. I never do anything with it myself, but my host back then or someone else may have. How do I find this out?

vbgamer45

Check under RSS Feed Configuration and see if you have any feeds enabled.
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

papabill

#2324
I installed this mod on my SMF 2.0.2 forum over an hour ago, and here is my configuration data:

Feed Title: Google RSS Feed
Feed Url: http://news.google.com/news?cf=all&ned=us&hl=en&output=rss 
Forum:  [RSS Links] - Google 
Message Icon: Standard   
Poster Name: papabill
Topic Prefix: [Feed]
Update every x minutes: 5
Number of items to import each update: 50

Feed Enabled

Feed download method: All

However, even after over an hour, I still have no feeds coming into my forum.

Help??

Thanks
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

vbgamer45

Do you have the scheduled task enabled? Under Tasks
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

papabill

#2326
Yessir, I do. In fact, I clicked the "Run Now" box and tried again. Still nothing.

Tried it again, and it seemed to work. Thanks

1:08pm edit
However, in some of the posts, I get this:<p><a href="http://movies.yahoo.com/photos/oscars-snubs-and-surprises-1327362196-slideshow/snubs-and-surprises-oscar-gallery-photo-1327353287.html"><img src="http://l.yimg.com/bt/api/res/1.2/uEVpJ2agzFYD7g4vmIXVwQ--/YXBwaWQ9eW5ld3M7Zmk9ZmlsbDtoPTg2O3E9ODU7dz0xMzA-/http://media.zenfs.com/en_ca/News/AccessHollywood/158873.jpg" width="130" height="86" alt="Melissa McCarthy in 'Bridesmaids,' 2011 -- Universal Pictures" align="left" title="Melissa McCarthy in 'Bridesmaids,' 2011 -- Universal Pictures" border="0" /></a>This morning the Academy of Motion Picture Arts and Sciences announced the nominations for this year's Oscars. When it comes to snubs and surprises, there was plenty to go around. Still, the favorites hung in: Clooney for best actor, Streep for best actress, and "The Artist," "The Descendants" and "Hugo" was "Huge-o" for best picture with eleven nominations.</p><br clear="all"/>

Sorry, no <CR> in the thing

Tried to uncheck HTML enabled, but I get this error:
An Error Has Occurred! Unable to download the feed.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

vbgamer45

Try each different method instead of ALL and see if it would work.
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

wynnyelle

Quote from: vbgamer45 on January 24, 2012, 09:21:39 AM
Check under RSS Feed Configuration and see if you have any feeds enabled.

Thanks--where would  I find this, though? I went looking for something in admin panel, couldn't find anything.

papabill

Finally got it to work. I set the Feed download method to fsock, and it seems to work properly now. Thanks
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

papabill

Quote from: Groovystar on January 24, 2012, 01:16:47 PM
Quote from: vbgamer45 on January 24, 2012, 09:21:39 AM
Check under RSS Feed Configuration and see if you have any feeds enabled.

Thanks--where would  I find this, though? I went looking for something in admin panel, couldn't find anything.
Under Admin->Configuration->Feed Poster Configuration
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

wynnyelle

Thanks....It just says this:

Quote
Feed Title    Feed Url    Poster Name    Feed Status    Options
Add Feed

Cron Job Url:  http://warriorcatsrpg.com/cronrss.php

Settings
Use fake Cron jobs. Checks if feeds need to be updated on each page load.



So....I am taking it to mean we have never used this at all? I've seen RSS feeds of our site on google though.

papabill

Quote from: Groovystar on January 24, 2012, 01:37:24 PM
Thanks....It just says this:

Quote
Feed Title    Feed Url    Poster Name    Feed Status    Options
Add Feed

Cron Job Url:  http://warriorcatsrpg.com/cronrss.php

Settings
Use fake Cron jobs. Checks if feeds need to be updated on each page load.



So....I am taking it to mean we have never used this at all? I've seen RSS feeds of our site on google though.


Dunno what to tell you about that. I know before I could set up ANY RSS feeds, I hadda click the "Add Feed" link.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

wynnyelle

Yeah there is no feed listed under that menu there, only the cron job thing.

wynnyelle

So apparently I am not using this on my site. I tried to uninstall it and it will not allow me to uninstall the mod.

I get errors involving these files:

http://i251.photobucket.com/albums/gg308/wynnyelle/failed-uninstall-rss-feed-poster.jpg

Really not sure how to proceed from here, I do want to uninstall and remove, I have too much code clutter already :P

Arantor

Well, the first error is likely because the package manager is not capable of fixing certain problems itself.

Perform the uninstall, ignoring the errors. Then find your index.php file (top level one) and remove this line:
'feedsadmin' => array('FeedPoster2.php', 'FeedsMain'),

Then in Sources/Admin.php, remove:
'feedsadmin' => array(
'label' => $txt['smfrssposter_admin'],
'file' => 'FeedPoster2.php',
'function' => 'FeedsMain',
'custom_url' => $scripturl . '?action=admin;area=feedsadmin;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(),
),


If you want to attach those two files, I'll do the edits for you - it should be safe to proceed to uninstall without those two edits being removed, too, because while they're in critical files, the edits should not materially affect anything.

papabill

Quote from: vbgamer45 on January 24, 2012, 12:59:09 PM
Do you have the scheduled task enabled? Under Tasks
I'm noticing that the thing is not updating as it is supposed to. The only posts in the topics are the ones I manually did yesterday evening, even though they are in the scheduled tasks, and they are configured to update every hour.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

luuuciano

No me agradan los foros que no te dejan borrar TU PROPIO usuario, como por ejemplo smfsimple.com.
E incluso te mandan emails no solicitados, de los cuales, quizá, no puedas escapar porque NO te dejan posibilidad a deshabilitarlos (a menos que NO te tengan en su lista negra).

papabill

Quote from: luuuciano on January 25, 2012, 11:20:21 AM
Wich feed url are you using?

Here are the urls I'm using:
http://rss.feedsportal.com/c/32752/f/517092/index.rss
http://www.cbn.com/news_rss.xml
http://pewforum.org/rssfeeds/news/rss.xml
http://rss.groups.yahoo.com/group/ColorComputer/rss
http://news.google.com/news?cf=all&ned=us&hl=en&output=rss
http://rss.weather.com/rss/national/rss_nwf_rss.xml?cm_ven=NWF&cm_cat=rss&par=NWF_rss
http://www.religionofjesuschrist.com/bible_topics.xml
http://www.worthynews.com/news-editor/scripts/rss-news.php?nr=8
http://www.abpnews.com/index2.php?option=ds-syndicate&version=1&feed_id=1
http://feeds2.feedburner.com/FocusOnTheFamilyDailyBroadcast
http://www.christianpost.com/services/rss/feed/

They all work when done manually.
Computer Help available:
Computer help: $52.00 hr.
Computer help while you watch: $92.00 hr.
Computer help with your advice: $152.00 hr
Computer help with your assistance: $252.00 hr

wynnyelle

#2339
Quote from: Arantor on January 25, 2012, 08:15:51 AM
Well, the first error is likely because the package manager is not capable of fixing certain problems itself.

Perform the uninstall, ignoring the errors. Then find your index.php file (top level one) and remove this line:
'feedsadmin' => array('FeedPoster2.php', 'FeedsMain'),

Then in Sources/Admin.php, remove:
'feedsadmin' => array(
'label' => $txt['smfrssposter_admin'],
'file' => 'FeedPoster2.php',
'function' => 'FeedsMain',
'custom_url' => $scripturl . '?action=admin;area=feedsadmin;sesc=' . $sc,
'icon' => 'server.gif',
'subsections' => array(),
),


If you want to attach those two files, I'll do the edits for you - it should be safe to proceed to uninstall without those two edits being removed, too, because while they're in critical files, the edits should not materially affect anything.

Thanks--I have uninstalled it.

...I was going to ask you to do the edits, but I believe i may have done them successfully on my own! I'm browsing around right now just to make sure...

Advertisement: