• Welcome to Simple Machines Community Forum. Please login or sign up.
October 20, 2021, 08:41:10 PM

News:

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


RSS Feed Poster

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

Previous topic - Next topic

TheWrath!

i meant like what links... that end in .rss, .xml, or .rss.xml ?

nolageek

oh, neither....

(I'm finding that more and more feeds do not end in rss or xml anymore...


http://feeds.feedburner.com/blogspot/hOcj
http://feeds.feedburner.com/MenInShirtAndTiesPhotos    
http://feeds.feedburner.com/Gnews1

Before the feedburner they were all crazy-long with all sorts of $ and ? characters.. but didn't end in an extension either.

TheWrath!

yes they do; what kind do u want like top stories, us news, et

L.G.S

I read the first 3 pages but couldn't find an answer, I don't have time to check through the rest right now so...

Installed the mod fine, nothing in error log. I placed this link into the box:

http://news.google.co.uk/nwshp?oe=UTF-8&tab=wn&ned=uk&topic=t&output=rss

and chose 60 mins for update time..

Set 5 for import amount, and saved it. Hour later, nothing showed up, so I ran the cron file even after making sure fake cron was ticked, but still nothing has happened.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


beast24

^^I'm surprized you could even save a Google RSS Feed.  Mine just gives me an error because it doesn't end with .xml or something...

Google feeds don't seem to work.

vbgamer45

Feeds currently can not contain & in them. .xml is not required. They need to be RSS feeds.
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

L.G.S

FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


vbgamer45

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

maxprofit

The RSS feed would be ideal if I can get it to work properly. One of the FEEDS I am using is
http://rss.news.yahoo.com/rss/business . The problem is I get a lot of tags and div's and many links. Is there a way to get a clean post?

Is there something I need to add to "Topic Prefix" box?

TIA


nolageek

January 17, 2007, 09:32:32 PM #169 Last Edit: January 18, 2007, 05:10:06 AM by nolageek
Quote from: BoroPride on January 17, 2007, 04:41:30 PM
yes they do; what kind do u want like top stories, us news, et

Yes what do?  It's a google feed for 3 search terms: "men suit tie fashion"
google feed was originally:
http://news.google.com/news?hl=en&ned=us&q=men+suit+tie+fashion&ie=UTF-8&output=rss


OK, I turned HTML off in the google feed and it's still a little wonky...


Armani's velvets bring soft touch to MilanReuters India, India - 12 hours ago"There's not much black today, it's true," said the designer, who stated "Black is cool" after his Emporio Armani show on Monday aimed at younger men. ...


UPDATE: For google feeds, I turned off HTML and used "censor words" to translate & # 3 9 ; (no spaces) to an appostrophy. and & q u o t ; to a " and it works perfect.

nolageek

January 18, 2007, 07:18:38 AM #170 Last Edit: January 18, 2007, 07:30:46 AM by nolageek
Oh my goodness.  I upgraded to 1.0.2 and now everything is being posted every 120 minutes, over and over and over and over and over and over again. 

I just got finished deleting about 80 posts...


[News] Old Hat? Not on a Young Head - New York Times   Today at 06:02 AM

[News] Dresses don't pack power that suits do    Today at 05:29 AM
[News] Golden Globes set season's trends Today at 04:39 AM

[News]Old Hat? Not on a Young Head - New York Times         Today at 03:55 AM

L.G.S

Yeah problem here too, the feed seems to be posting the same news twice for me...
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


WhatsUp

Just want to say THANKS for this mod. The latest version works perfectly. It is posting into about 12 boards from all types of feeds. No blanks, either. I also appreciated that when I uninstalled the previous version and reinstalled the latest, all my settings were kept - that saved a lot time.
Thanks again!
History Hunters: http://historyhuntersinternational.org/
Enter: test/test
SMF and TinyPortal

L.G.S

Sorry for more questions..

How can i remove any of the mods posts from recent unread topics / new replies ?
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


vbgamer45

Quote from: L.G.S on January 18, 2007, 04:46:11 PM
Sorry for more questions..

How can i remove any of the mods posts from recent unread topics / new replies ?
That would be really hard to do without rewriting a lot of SMF code.
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

GC

Quote from: nolageek on January 17, 2007, 09:32:32 PM
Quote from: BoroPride on January 17, 2007, 04:41:30 PM
yes they do; what kind do u want like top stories, us news, et

Yes what do?  It's a google feed for 3 search terms: "men suit tie fashion"
google feed was originally:
http://news.google.com/news?hl=en&ned=us&q=men+suit+tie+fashion&ie=UTF-8&output=rss


OK, I turned HTML off in the google feed and it's still a little wonky...


Armani's velvets bring soft touch to MilanReuters India, India - 12 hours ago"There's not much black today, it's true," said the designer, who stated "Black is cool" after his Emporio Armani show on Monday aimed at younger men. ...


UPDATE: For google feeds, I turned off HTML and used "censor words" to translate & # 3 9 ; (no spaces) to an appostrophy. and & q u o t ; to a " and it works perfect.

That is just smart... you are a geek :P

L.G.S

Quote from: vbgamer45 on January 18, 2007, 04:49:59 PM
Quote from: L.G.S on January 18, 2007, 04:46:11 PM
Sorry for more questions..

How can i remove any of the mods posts from recent unread topics / new replies ?
That would be really hard to do without rewriting a lot of SMF code.

Any chance I could know ??
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


maxprofit

I am not that savy with code and all but I can get around thanks to many of you who explain things very well.

I am on Cpanel host and the only way to get the feed to work is to check the "Use fake Cron jobs" box but this slows my board down.

I have tried executing a cron job from Cpanel by pointing to direction of cronrss.php file in forum directory but I get errors from Cpanel

ie:

/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/public_html/forum/cronrss.php: line 2: /FAKEFS: is a directory
/public_html/forum/cronrss.php: line 3: RSS: command not found
/public_html/forum/cronrss.php: line 4: Version: command not found
/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/public_html/forum/cronrss.php: line 7: etc/: is a directory
/public_html/forum/cronrss.php: line 9: //: is a directory
/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/public_html/forum/cronrss.php: line 10: `require('SSI.php');'

I am not an expert, but when I run in browser it works and updates feeds one time, so I was figuring I could set a cron job on Cpanle to do this?


txt3rob

im getting

An Error Has Occurred!
The package you are trying to download or install is either corrupt or not compatible with this version of SMF.

when going in to the packages bit and trying to auto install
im running  SMF 1.1.1

sanax

Quote from: maxprofit on January 20, 2007, 03:43:59 PM
I am not that savy with code and all but I can get around thanks to many of you who explain things very well.

I am on Cpanel host and the only way to get the feed to work is to check the "Use fake Cron jobs" box but this slows my board down.

I have tried executing a cron job from Cpanel by pointing to direction of cronrss.php file in forum directory but I get errors from Cpanel

ie:

/public_html/forum/cronrss.php: line 1: ?php: No such file or directory
/public_html/forum/cronrss.php: line 2: /FAKEFS: is a directory
/public_html/forum/cronrss.php: line 3: RSS: command not found
/public_html/forum/cronrss.php: line 4: Version: command not found
/public_html/forum/cronrss.php: line 5: by:vbgamer45: command not found
/public_html/forum/cronrss.php: line 6: http://www.smfhacks.com: No such file or directory
/public_html/forum/cronrss.php: line 7: etc/: is a directory
/public_html/forum/cronrss.php: line 9: //: is a directory
/public_html/forum/cronrss.php: line 10: syntax error near unexpected token `'SSI.php''
/public_html/forum/cronrss.php: line 10: `require('SSI.php');'

I am not an expert, but when I run in browser it works and updates feeds one time, so I was figuring I could set a cron job on Cpanle to do this?



Have you clicked on the 'Cron Jobs' button in the cPanel? It's pretty straight forward...

Advertisement: