Advertisement:

Author Topic: RSS Injector available  (Read 189806 times)

Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: RSS Injector available
« Reply #100 on: March 27, 2006, 09:58:10 AM »
Would somebody mind telling me what I would need to enter for a cronjob? I tried tutorials from google but it makes no sense to me :(

I need a file located at /board/news/file.php

to run every 1 hour
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #101 on: March 27, 2006, 10:40:00 AM »
doesn't your server provide documentation?  I'll see what I can find for you.  I user an off-site cronjob provider that was easy and free.
Don't tell me to get into shape...I have a shape...It is round!


Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: RSS Injector available
« Reply #102 on: March 27, 2006, 10:57:31 AM »
nope they dont :(
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #103 on: March 27, 2006, 11:41:13 AM »
nope they dont :(

Well, if it is similar to what i have seen you pick how often it runs and the command would just be the path to your file. usually without the http:// part
Don't tell me to get into shape...I have a shape...It is round!


Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: RSS Injector available
« Reply #104 on: March 27, 2006, 12:51:19 PM »
ok thanks,

because I tried it with http:// and I got emails saying the directory could not be found
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #105 on: March 27, 2006, 01:33:42 PM »
ok thanks,

because I tried it with http:// and I got emails saying the directory could not be found

coolness...just let me know if it works.  Oh, btw, have you rmembered to go to recount forum statistics, and find and fix errors?
Don't tell me to get into shape...I have a shape...It is round!


Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: RSS Injector available
« Reply #106 on: March 27, 2006, 01:48:26 PM »
yeah, everything is fine except NEW posts as I said
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #107 on: March 27, 2006, 01:59:04 PM »
yeah, everything is fine except NEW posts as I said

Ya, hopefully someone will help us out there
Don't tell me to get into shape...I have a shape...It is round!


Offline starrbuck

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Male
    • Legion of Darkness Guild
Re: RSS Injector available
« Reply #108 on: March 28, 2006, 08:06:53 PM »
This is a neat script.  However, it is not without its issues...

Primarily, it does not appear to insert the messages properly.  If you run it, then go to forum maintenance, then find and repair any errors, it reports issues with the messages that were added.  Also, probably related, the last post column on the main forum screen
does not contain anything about the new posts.

Is there any way to run forum maintenance (repairboards) from the command line/cron job?  I would be OK with using this script if I could automatically run the maintenance afterwards.  Ideally, however, it should be fixed to insert its messages properly.

Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #109 on: March 28, 2006, 09:00:31 PM »
I noticed that too, but i am not good enough in coding to fix that problem either.
Don't tell me to get into shape...I have a shape...It is round!


Offline spun2u

  • Newbie
  • *
  • Posts: 6
  • Midnight is where the day begins
    • U2 Torrents Community
Re: RSS Injector available
« Reply #110 on: April 02, 2006, 09:44:53 PM »
Nice mod. I had to edit it to get it to work but it's running now.


Offline starrbuck

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Male
    • Legion of Darkness Guild
Re: RSS Injector available
« Reply #111 on: April 03, 2006, 03:34:42 PM »
In your edits did you fix it so that it doesn't need forum maintenance after it does its inserts?

Offline spun2u

  • Newbie
  • *
  • Posts: 6
  • Midnight is where the day begins
    • U2 Torrents Community
Re: RSS Injector available
« Reply #112 on: April 03, 2006, 09:13:04 PM »
Um. Now I'm getting this cron error

/public_html/injector/news.php: line 1: ?php
: No such file or directory
/public_html/injector/news.php: line 2: //
: No such file or directory
/public_html/injector/news.php: line 3: //: is a directory
/public_html/injector/news.php: line 4: //: is a directory
/public_html/injector/news.php: line 5: //: is a directory
/public_html/injector/news.php: line 6: //: is a directory
/public_html/injector/news.php: line 7: //: is a directory
/public_html/injector/news.php: line 8: //
: No such file or directory
/public_html/injector/news.php: line 133: unexpected EOF while looking for matching `''
/public_html/injector/news.php: line 142: syntax error: unexpected end of file


What am I doing wrong?

Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #113 on: April 03, 2006, 10:36:56 PM »
looks like you have your path setting wrong with using the cron job
Don't tell me to get into shape...I have a shape...It is round!


Offline JSalvador

  • Newbie
  • *
  • Posts: 6
  • Gender: Male
Re: RSS Injector available
« Reply #114 on: April 04, 2006, 05:29:17 PM »
Is there a way to add more than one rss feed to the news.php file?
hxxp:www.naturalencyclopedia.com [nonactive]
hxxp:www.likeadove.com [nonactive]

Offline L.G.S

  • SMF Hero
  • ******
  • Posts: 2,658
  • Gender: Male
  • RuthlessIntent.com !
    • GamesandGoals.com
Re: RSS Injector available
« Reply #115 on: April 04, 2006, 06:06:51 PM »
The only way I found was to make another file and paste the code from the original in, just changing the feed link.
FREE and LIVE World Cup + Premier League football streams:

www.gamesandgoals.com


Offline JSalvador

  • Newbie
  • *
  • Posts: 6
  • Gender: Male
Re: RSS Injector available
« Reply #116 on: April 04, 2006, 06:59:30 PM »
Thanks,

That's the only way that i figured out as well.  However, I was hoping there was a better way, that way i could put in a set of newsfeeds and set the cron job for just one file.  If anyone has any insight on how to do this it would be much appreciated.
hxxp:www.naturalencyclopedia.com [nonactive]
hxxp:www.likeadove.com [nonactive]

Offline TechnoDragon

  • Jr. Member
  • **
  • Posts: 374
  • Gender: Male
  • With great power comes great resposibility...
    • Dragon Talk Forum
Re: RSS Injector available
« Reply #117 on: April 04, 2006, 09:31:57 PM »
potentially if you are any good at coding you could create a php file that would run all of your news feed php files.  Then set a cron job to run that file.  I just haven't figured out a way to do it yet.
Don't tell me to get into shape...I have a shape...It is round!


Offline JSalvador

  • Newbie
  • *
  • Posts: 6
  • Gender: Male
Re: RSS Injector available
« Reply #118 on: April 06, 2006, 12:59:25 AM »
You know this is a great script i was just wondering if it was available for any other forums as well. I know I probably shouldn't be asking here  ::), but I have another forum that's running on phpBB2 and was hoping this would work for it.
hxxp:www.naturalencyclopedia.com [nonactive]
hxxp:www.likeadove.com [nonactive]

Offline starrbuck

  • Semi-Newbie
  • *
  • Posts: 29
  • Gender: Male
    • Legion of Darkness Guild
Re: RSS Injector available
« Reply #119 on: April 07, 2006, 12:02:04 PM »
There is a similar product for phpBB2 called NewsSync but I don't think it's being actively supported any longer.

Here is a thread about it:  http://www.phpbb.com/phpBB/viewtopic.php?t=121946