![]() |
no because they are new posts, however this has been suggested and you can fix it by opening up the file and modifying the search criteria for today's posts or new posts.
there is a new field in the tableprefix_THREAD table and it is called rss_feed. just add this into the query: WHERE rss_feed!=1 that should work. not at my computer right now so i could double check, but that should eliminate all news posts from being brought up since they will have a 1 in the column and normal fields won't. |
Thanks, how about the max execution time of 30 seconds? It keeps timing out!
|
|
the time out could be related to your feed you are grabbing. what is the URL to the news feed. the script doesn't take long to run at all. but it could be timing out waiting for the rss file.
|
Hmm, strange, if I run the cron job manually it times out, but if I let ir run automatically, it's fine!
|
it might time out because of the number of feeds.
|
The 30 second timeout is a PHP function. You can change this to whatever value you like in your PHP.INI I believe.
Quote:
|
Quote:
|
In their tutorial, there is a rssfeed.php file that is called from cron. Where can I get this?
Thanks. |
you can call this script from cron if you want to.
call rss.php .... thats the file that triggers everything. |
I have a small modification to the admincp/rss_admin.php to make the listing of Bot's more intuitive in the RSS News Feed Manager => Modify Bots ...
Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Slapyo - I'm lost. How is the duplication issue being resolved?
Quote:
|
Natch - very useful, thx :).
Quote:
|
The post duplication problem.
Quote:
Thanks. |
nope, but if intex doesn't mind i would like to add this into the full release version. intex?
|
Quote:
|
Ah okay. I'm going to hold off installing that yet till the dup thing is fixed. Great work on the effort you have put into it so far.
|
i'm gonna work on the dup thing today. check back later on, might be updated.
|
ok, i am at work and made some changes but can't test it out.
Version 1.26 (23 June 2004 - Slapyo, Natch) - listing of bot's more intuitive (Natch) - hopefully fixed duplicate problem (Slapyo) - stripped html tags from title and description (Slapyo) for comparing the RSS feed with whats in the database, i just applied the same things i do before inserting the post. so it should be the same. i also applied Natch's hack to make listing the bots easier. files changed: - rss_admin.php - rss_update.php |
Quote:
|
running the update
Database error in vBulletin 3.0.0: Invalid SQL: ALTER TABLE rss_settings DROP forumid, DROP userid, DROP source mysql error: Can't DROP 'forumid'. Check that column/key exists mysql error number: 1091 |
sorry, no need to run the update. actually i should remove those from the install cause there is nothing to update from really. that was from the previous script.
the rss_admin.php and rss_update.php were the only files edited, so you just have to upload those. |
Thanks - I'll let you know how this goes with the dup. posting ...
|
Slapyo - the only additional code I offered was excluding certain forums from the search (utilising 2 search scripts). If this is what you meant, go ahead, fine by me.
Quote:
|
Where's the code to exclude certain forums from search?
|
I posted it way back in this thread HERE.
|
sorry intex, i meant Natch, but thought it was you because i saw the code in your post, but it was a quote of Natch. and yes, actually i would like to include your code to remove the posts from search because i know some people have requested that. thanks.
|
Top 100 Most-Subscribed-To RSS Feeds
http://radio.xmlstoragesystem.com/rcsPublic/rssHotlist hope this is of some use |
Done the install, set up a bot etc, then ran the schedule and got this error
Parse error: parse error in /home/httpd/vhosts/l**********.com/httpdocs/forums/includes/functions_newpost.php on line 1187 line 1187 is ?> whats happening here |
look and see if there is any extra white space at the end of the file. ?> should be the very last thing, there shouldn't be anything else after it, not even spaces.
|
I believe this is the most comprehensive database of all RSS Newsfeeds websites: http://www.syndic8.com/. Hopefully you'll find everything there you need.
|
Quote:
|
the only thing i could suggest to you is to go and download vbulletin again ... then take:
/forums/includes/functions_newpost.php so you have a fresh new copy. apply the edits to the file that are listed in the instructions, then try it again. |
Ok Thanks
|
Great work Slapyo - the duplicates seem to be gone :)
|
whew! good to know. lemme know if they are still there, or if you notice any other problems.
|
Yep, gone for me too. Thx. Slapyo.
|
I've got a problem with it to
Installed it AOK, ran the cron job and it picked up the news from the page I wanted it to...that was 2/3 days ago and it hasn't updated/got anymore news since then Any ideas why? I re ran the cron job and it didn't update it either. |
Is the news feed updated?
Some of my feeds are only updated M-F |
All times are GMT. The time now is 11:31 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|