• Welcome to Simple Machines Community Forum. Please login or sign up.
October 27, 2021, 01:06:06 AM

News:

SMF 2.0.18 has been released! Please update. Read more.


RSS Feed Poster

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

Previous topic - Next topic

Sabre™

Ive been reading around your site too Smoky, so thank you too :)
Good job btw, its lookin good
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


The Saviour

SmokyBlue...

I just got aggravated with it and uninstalled it.  Let me try again to see if that resolves the issue.

The Saviour

Update...

CHMOD file to 755 (not 777) and ran the cron manually...it worked!  Woo-hoo!

I'm not going to worry about fake cron jobs and/or duplicates...since I'll only be running this once a week...for now, anyway.

The possibility of it creating a duplicate is possible...and that may increase, if I increase the frequency of the cron.

I think I'll tick the "fake cron job" box, anyway, to see if it works.

Thanks for the help!

Smoky "Rider" Blue

lol @ Sabre.. which site??  ;)

opps!! my houseofsmoky isnt ready yet, but i will announce its re opening.. and thanks for the compliment on Pixel.. She is coming along, but my other site is taking precedence first.. its bout time i did something with all the things i have been working on, and wait till you see it!!!

@ Saviour:

you will see duplicates, depending on the feeds itself.. you must monitor it, if you have a slow one on top, it will slow the feed poster down. to run it once a week, depending on what you have set up, you will only get so many posts.. personally, it is up to you, but i look at it this way.. the rss posts things im interested in (im still adding to mine.. lol) if i want to go read them, that is a good thing, and it cuts my time down on how many sites i have to browse to.. its really a good way of looking at the net..

im also thinking on a rss to blog mod, so things might get a little bit better.. i am working on ideas, and that is why i have asked for postings to be done on my site so we can go into a better idea of what to do next for the mod. So the offer is still standing.. anyone that has, or wants to help with it.

Unless vbGamer wants to give it to someone else. i still havent heard, either way, if he will let me take it over, as he no longer is supporting it. I have more than enough to do, but i am willing to take time to make this one a better mod.
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Sabre™

If I were to use an online cron site to run the rss feed bot, would I need to direct it to the cron?
eg..  h**p://myawesomemagisticastic.site/cronrss.php

So would I use the online cron, to run my cron??  lol

Thank You :)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Garou

Yeah I was looking at that as an a option as well. It should, at least in theory, work since before writing the cron job I was able to get the poster to update just by directly going to the cronrss.php url for my sites.

Essentially that's pretty much what a cron job or one of these other fake cron programs do. It just executes the cronrss.php

Smoky "Rider" Blue

it will work sabre.. if you google for free cron job sites..

mine is currently like this:

wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php

but i do my own cron job from the cpanel..

im also thinking maybe this would be good for the blog mod that Charles Hill has.. i am currently testing it out... will keep a heads up when i know something substantial..  :)

**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Sabre™

Oh cool youre here smoky lol
Ive been waiting for you, because Im having probs with the online cron sites.

Their codes dont accept redirects and apparently the  cronrss.php  does this.
Now I know as much about cron jobs, as I do the taste of a rock on the moon.
Do you have any idea what to change in that code, or could you quickly throw up one if it doesn't consume too much of your time?
I dont know if writing such a cron would take 5mins or 5 days.

It is understandable if you do not wish to publish a cron job that would work with these online cron jobs, I will just find a dark corner in my room and sulk until my tears fill the room and I drown in them  :'(
I will then also amazingly revive myself, then sulk some more.
lol
Well...  something like that lol  ;D

Thank You for even reading the above lol

regards
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


The Saviour

Sorry to interrupt, but I just thought I'd let everyone know that since I installed this two days ago...I run the cron manually and have had no duplicate feeds...

Now if I can only figure out how to setup the cron in my control panel.

Thanks for this great mod...and for the support from all wh have and will reply...

Garou

A couple posts back Smoky lists the cron job she uses in cpanel.

Smoky "Rider" Blue

Sabre,

i really cant be posting code for the online sites, as i dont know which one you are using.. not to mention, it might get me in a spot of trouble.. and i dont want that.. but if you are having a problem with whatever site you have chosen, either talk to them about it and explain what you are doing to them, and maybe they can find a work around.. or try another one..

i am trying to see what else i can do with the mod and i know, it seems like forever, but i do promise, it will be worth the wait.. 

the reason some fixes work for some people is that we all have different servers.. that is something else, i cant control.. but every little bit of help along the way is greatly appreciated.. like im thinking, perhaps if i mod this for the blog community mod, perhaps it would turn out a little better.. i am starting to work on it today to see what i can do.. will keep you guys posted, as i happen to really like the mod..  ;)

thanks Garou :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Garou

November 23, 2008, 11:10:56 AM #1111 Last Edit: November 23, 2008, 11:14:27 AM by Garou
Quote from: SmokyBlue on November 23, 2008, 10:05:23 AM
the reason some fixes work for some people is that we all have different servers..

Ain't that the truth. :)

Ive been looking all over the internet to find a fix for peoples cron job problems.  I found a cron job that will backup your DB for you and it sounds like a sweet deal. As I was looking around other sites I found 7 other jobs that do the same thing 7 different ways and not all of them work on all of my servers.

The one thing I am finding in common with most sites is that they say that if your having problems making a certain cron job work, you need to contact the servers support staff. Explain to them what you need and they can set it up for you the way it works on that server. They know best what works on their servers.

So contact support for your server and tell them you need a cron job to run cronrss.php and how often. They can set it up for you or at the very least tell you how you can set it up.

As for the how often that's really up you. I have mine set up to run every 15 minutes as thats the minimum time you could set the fake cron for, when it worked. I did it because the main feed I pull from updates rather randomly and I want updates as soon as possible. If you know the feed your pulling from only updates every Tuesday at midnight then you could have your cron job set for that.

Until a fix for the fake cron is found that really is the best we can offer.   :-\

TechnoDad

Hi All:
  I'm new to this forum, I installed the RSS Mod on my site, the install says it was successful but for the life of me I can't seem to figure out how to get it to work.  I don't see any place to add feeds users or what ever.  I'm running SMF 1.1.7 and a theme called Scribbles 2.  I really need to get this working it's causinging what little hair I have left to fall out..

Seeya
TechnoDad

The Saviour

Look in your Admin cpanel, navigation menu on the left...under Configuration...Feed Poster Configuration.

Garou

November 23, 2008, 09:15:27 PM #1114 Last Edit: November 23, 2008, 09:36:05 PM by Garou
TechnoDad , you will find that when using a custom theme under any of the 1.x series of SMF, most mods don't install themselves on most themes. Every one should install on the default theme. For most other themes you have to install the mod manually.

Ill try to explain in a way you can add any mod on any theme with a focus on this mod...

For this particular mod go to the Download Page for it.

Then make sure the check box next to the down loadable file is checked.

In the selection box set it for 1.1.7. Then click the submit button.

It will take you to the Installation Instruction page here.

Then look for any of the file edits that start with ./Themes/default. These are usually the only files you have to change to make your theme work. You would go to the directory for your particular theme and edit the same files for your theme.

Luckily for this mod there is only the one change...
./Themes/default/languages/Modifications.english.php

For you you want to look for that file in your forums for your particular theme. In your case it should be...
./Themes/Scribbles 2/languages/Modifications.english.php

Open it up and search for the lines listed under Find: on the Installation Instructions page.
For this mod you'll want to find... ?>
That's a pretty simple one to find as its the last line of the file.

The next box in the Installation Instructions page will tell you to either add the code before, after, or to replace the code you have just found. In this case its add before and the code to add before the ?> is...

// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';
[code]
// END  RSS FeedPoster


Once your done the file should look like...

// Begin RSS FeedPoster Text Strings
$txt['smfrssposter_admin'] = 'Feed Poster Configuration';

// END  RSS FeedPoster
?>

At the end of the file plus everything that was before the ?> when you started. DO NOT replace the other code or you'll break your whole theme.

Now when you go to the Admin page you'll see Feed Poster Configuration on the left hand side.

Now if you scroll down to the bottom of the Installation Instruction you will see that there are several other files that get installed under the default theme. Since these are custom files you usually shouldn't have to add them to your custom themes directory.

Modifications.english.php is already in your themes directory as its been customized with special changes to work with the rest of the theme, therefore it has to be modified. Any file that isn't already in your themes directory shouldn't have to be changed, If its not there SMF automatically looks for it on the default themes directory.

I hope this helps you to understand how to install this mod and others on your custom theme.


The Saviour

Quote from: SmokyBlue on November 22, 2008, 05:08:46 PM
it will work sabre.. if you google for free cron job sites..

mine is currently like this:

wget -t 4 --delete-after http://www.yoursite.com/forum/cronrss.php

but i do my own cron job from the cpanel..

im also thinking maybe this would be good for the blog mod that Charles Hill has.. i am currently testing it out... will keep a heads up when i know something substantial..  :)

SmokyBlue...

I've used the above cron in my cpanel...yet, it doesn't work.

Any other suggestions?

Smoky "Rider" Blue

did you change out the "yoursite" to the actual url? are you sure of the location of the cronrss.php file?

did you try the other one:

01 * * * * /usr/local/bin/php /home/midessa/public_html/forum/cronrss.php > /dev/null 2>&1


have you looked into the free cron jobs via google?  :)
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

The Saviour

I'll try again and keep you posted...

Smoky "Rider" Blue

that is fine Savior..  ;)

i see vbgamer updated the mod for the 1.1.7 install.. however, i dont know if he changed anything on the mod at all either.. he hasnt said.

he hasnt released it to me either, so i will be creating my own and releasing it at some time. 

Since he has done the updating for the mod, will be backing down from this thread, and staying more on my site for it, and soon my own rss mod.

if anyone needs help with it, you are more than welcome to post on my site  8)

http://www.pixelbypaint.com
**Take the time to remember friendships and family.. Sometimes it's all we have, and missed very much**

Sabre™

Do we get tea and biscuits on arrival?
I loves me some tea n biscuits :D

Will be great to see how your final version ends up smoky.
At the moment, Ive just forgotten about everything, and have a note in my AP reminding me to visit the cron each time I log in.

Easy.  lol  ;)
Do NOT give admin and/or ftp details to just anybody, see if they are trust worthy first!!  Do your homework ;)


Advertisement: