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 04-15-2004 04:31 AM

what are the other feeds you are using? the only thing i can think of is in the feed that isn't working, the date field is called dc:date ... but in the script it is looking for pubDate.

what are the errors, or are there no errors showing up at all?

Dontom 04-15-2004 05:18 AM

no errors at all - just a blank page if i call rss.php

Slapyo 04-15-2004 05:46 AM

i think the problem is in the name of the date field. what is the url of the other news feeds you us?

SnowBot 04-15-2004 05:47 AM

All works fine on vb 3.0.1 if anyone wonders.

jluerken 04-15-2004 06:18 AM

Quote:

Originally Posted by SnowBot
All works fine on vb 3.0.1 if anyone wonders.

I am using php 4.2.2 and changes the lines in /includes/RSS/rss_update.php like described but starting the task will result in the following error:

Fatal error: Cannot redeclare fix_unhtmlentities() (previously declared in /home/www/web1/html/forum/includes/RSS/rss_update.php:76) in /home/www/web1/html/forum/includes/RSS/rss_update.php on line 76

ckaosII 04-15-2004 07:06 AM

Donton wrote:
Quote:

I have a problem with one feed - it just wont work (other feeds worked for me)
Can someone tell me whats wrong with this one?
http://www.procycling.de/news/news_rss.php
I have also problems with all news feeds containing:

<?xml version="1.0" encoding="ISO-8859-1" ?>
- <rdf:RDF xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:h="http://www.w3.org/1999/xhtml" xmlns:hr="http://www.w3.org/2000/08/w3c-synd/#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/">

I only got feeds containing:

<rss version="x.x">

to work 100%



Looks like it's only able to read: "RSS feeds" and NOT "RDF feeds" ?!

Is it possible to add support for RDF feeds to?

Slapyo 04-15-2004 01:14 PM

maybe later on ckaos ... i'll look into it.

i am still having a problem with the users who have a version of PHP prior to 4.3.0 ... the odd thing is the error that they get. it tells you that you can't redeclare the function, yet this is the only place the function is setup/called. you can changed the name to anything you want and it still gives this error. so i am not sure as to how i am redeclaring something even though it is the only time i have declared it. still working on it.

rocket98 04-15-2004 07:07 PM

Quote:

Originally Posted by Slapyo
maybe later on ckaos ... i'll look into it.

i am still having a problem with the users who have a version of PHP prior to 4.3.0 ... the odd thing is the error that they get. it tells you that you can't redeclare the function, yet this is the only place the function is setup/called. you can changed the name to anything you want and it still gives this error. so i am not sure as to how i am redeclaring something even though it is the only time i have declared it. still working on it.

--------------------------

Slapyo, u fixed it for me. Moving the function outside the other else/if statements stopped the loop declaration. I still have the 4 bots running every 4 hours, but will set them to run every hour and see what happens. So far so good.

Thank you for your work on this one.

rocket98

Slapyo 04-15-2004 07:17 PM

ok, i am pretty sure i have the fix for users with a PHP version prior to 4.3.0. the only differences between the 2 sets of files i have uploaded are some comments.

- rss_bot_#.##.zip - download this if you have PHP 4.3.0 & above
- rss_bot_#.##a.zip - download this if you have PHP prior to 4.3.0

Acido 04-15-2004 08:17 PM

Quote:

Originally Posted by Slapyo
ok, i am pretty sure i have the fix for users with a PHP version prior to 4.3.0. the only differences between the 2 sets of files i have uploaded are some comments.

- rss_bot_#.##.zip - download this if you have PHP 4.3.0 & above
- rss_bot_#.##a.zip - download this if you have PHP prior to 4.3.0

BIG THANX Slapyo !

Now i have not more problems with Quotes \" and not more duplications.

I'm using rss_bot1.23a with PHP 4.3.4

;)


All times are GMT. The time now is 02:23 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.01323 seconds
  • Memory Usage 1,743KB
  • 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
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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