vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   NEW Modified RSS News Feed Hack (https://vborg.vbsupport.ru/showthread.php?t=63798)

Slapyo 06-22-2004 04:28 PM

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.

smsmasters 06-22-2004 04:47 PM

Thanks, how about the max execution time of 30 seconds? It keeps timing out!

smsmasters 06-22-2004 04:48 PM

I added : http://www.smsmasters.co.uk/forum/se...72,73,74,75,76

Slapyo 06-22-2004 05:04 PM

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.

smsmasters 06-22-2004 05:22 PM

well, I have about <10 newsfeeds:

http://rss.news.yahoo.com/rss/software
http://rss.news.yahoo.com/rss/tech
http://rss.news.yahoo.com/rss/internet
http://rss.news.yahoo.com/rss/topstories
http://rss.news.yahoo.com/rss/wireless
http://news.bbc.co.uk/rss/newsonline...age/rss091.xml
http://news.bbc.co.uk/rss/newsonline...ews/rss091.xml
http://news.bbc.co.uk/rss/newsonline...ogy/rss091.xml
http://news.bbc.co.uk/rss/newsonline...ent/rss091.xml
http://news.bbc.co.uk/rss/newsonline...lth/rss091.xml

smsmasters 06-22-2004 05:27 PM

Hmm, strange, if I run the cron job manually it times out, but if I let ir run automatically, it's fine!

Slapyo 06-22-2004 06:55 PM

it might time out because of the number of feeds.

Intex 06-22-2004 08:09 PM

The 30 second timeout is a PHP function. You can change this to whatever value you like in your PHP.INI I believe.



Quote:

Originally Posted by smsmasters
Thanks, how about the max execution time of 30 seconds? It keeps timing out!


Slapyo 06-22-2004 11:01 PM

Quote:

Originally Posted by Kraydl
I found this mod for RSS feeds. The code may help you discover how others tackle the post duplication problem.

http://www.w3reports.com/forumfeeds.php

ya, this problem has been resolved.

rsuplido 06-23-2004 12:05 AM

In their tutorial, there is a rssfeed.php file that is called from cron. Where can I get this?

Thanks.


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
  • Page Generation 0.02120 seconds
  • Memory Usage 1,735KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete