![]() |
Quote:
I did make the changes to functions_newpost.php, but guess what? I forgot to upload it :o It seems to work correctly now :) |
hmm..I seem to get double posts from the yahoo feed
The second time the cronjob ran it posted all the articles again. The articles are identical. |
are you sure they are complete doubles? because i noticed that too from yahoo, but when looking at it closer, the news article has the same title, but the description and/or link are a little different, so it shows up as a completely new article. atleast that is how i understand it.
|
Yes, they are identical, the first time it added 50 articles. The second run, it added the same 50.
How does it exactly check for doubles? Is it this code? PHP Code:
|
ya, that looks like it. that was from the original author. i made no changes to the way it retrieves the articles or checks the articles to see if they are old or not. it appears to be checking the title and the date. if both the title and the date of the article are the same then it marks it as old and doesn't enter it.
maybe it could be yahoo updating a news article so the title, link, description are all the same, but since the news was updated the date was different. maybe load up the rss file in your browser and check the pub dates, then check em again later on. see if duplicate titles, descriptions, links have different pub dates. i know i get a couple repeat articles from yahoo as well. |
Warning: file(): URL file-access is disabled in the server configuration in /htdocs/www/includes/RSS/rss_update.php on line 32
Warning: file(http://rss.news.yahoo.com/rss/topstories): failed to open stream: no suitable wrapper could be found in /htdocs/www/includes/RSS/rss_update.php on line 32 Warning: implode(): Bad arguments. in /htdocs/www/includes/RSS/rss_update.php on line 32 |
i started a new thread with the new file so people wouldn't get confused as to which one they should download in this thread. all support for the hack will be handled over in that thread.
@dethfire ... that error sounds like it is problem with your server config. did the script work for you before, or is this the first time you are using it? |
Quote:
|
Quote:
https://vborg.vbsupport.ru/showthread.php?t=63798 |
a list of some rss feeds and urls would be cool :)
|
All times are GMT. The time now is 04:27 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:
|