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)

Deimos 06-29-2004 01:22 AM

Fixed it, for some reason it didn't like my user id being the reporter, as soon as I set it to a new user I setup, it started posting ok.

I now have a new problem (yay...)
I accidently overwrote my forum index file with the one from the vbadvanced page...no problem, I restored it
But as soon as I load the forums, I get....

Quote:

Deimos: Fatal error: Call to undefined function: build_new_post() in /home/deimos/public_html/forums/includes/RSS/rss_update.php on line 103
Anyone know why? I haven't changed any files
If I disable the news bots, it loads ok, but if I enable it, it breaks
Er...

Slapyo 06-29-2004 01:52 AM

ya, like gmtalk said ... sometimes the news feeds are not updated very often, maybe once or twice a week. what is the rss feed you are using. which website is it coming from?

Slapyo 06-29-2004 01:54 AM

hrm trying getting a new copy of /includes/functions_newpost.php and re-editing the files.

Deimos 06-29-2004 02:22 AM

Thanks slap, it was my mistake, I uploaded an old version of the index file which called the rss_update file

Btw, I have a question for you
I've installed or setup an RSS type news ripper, which grabs news from a URL..
It then puts this info into an RDF file
I've tried pointing the RSS news feed to this file, but it doesn't add the contents to the forum
The layout of the RDF file is....

Quote:

Content-Type: text/html

<?xml version="1.0"?>
<rdf:RDF
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://my.netscape.com/rdf/simple/0.9/">

<channel>
<title>ORIGIN - Ultima Online - Main</title>
<link>http://update.uo.com/fyi.html</link>
<description>FYI</description>
</channel>
<item>



&nbsp; <b>Ultima Registration Server Downtime</b>


Jun 25 2004 6:02PM CST (GMT -06:00)&nbsp;


<item>



Beginning at 10:00PDT on Friday, June 25th the Ultima Registration and account management servers may experience approximately 1 hour of downtime for maintenance.



</rdf:RDF>
The script i'm using to grab the news is....

http://www.openconcept.on.ca/guide-html2rdf.phtml

Now, i'm guessing it doesn't like the layout of the RDF file somehow, as it just won't add what's in there to my forum
The RSS does work aok for other news things like yahoo news etc, but not this custom thing.....

Any ideas ?

Deimos 06-29-2004 02:26 AM

By the way, if i'm asking for to much, I apologise

rsuplido 06-29-2004 03:05 PM

Have you all tried adding a feed coming from a VB3 RSS2 feed? It can't extract it. :( Any workaround?

rsuplido 06-29-2004 05:01 PM

Quote:

Originally Posted by Deimos
Thanks slap, it was my mistake, I uploaded an old version of the index file which called the rss_update file

Btw, I have a question for you
I've installed or setup an RSS type news ripper, which grabs news from a URL..
It then puts this info into an RDF file
I've tried pointing the RSS news feed to this file, but it doesn't add the contents to the forum
The layout of the RDF file is....



The script i'm using to grab the news is....

http://www.openconcept.on.ca/guide-html2rdf.phtml

Now, i'm guessing it doesn't like the layout of the RDF file somehow, as it just won't add what's in there to my forum
The RSS does work aok for other news things like yahoo news etc, but not this custom thing.....

Any ideas ?

I'm getting the same problem and it seems like the includes\class.RSS.php file, supports only RSS 0.91. Also, if you look at your example, <channel> and </channel> is declared above. Usually <item></item> are in between the <channel></channel> tags. You might want to do some tweaking on the class.RSS.php file and remove the <channel> test.

Regards.

Deimos 06-29-2004 08:18 PM

Remove the channel test? hmm

Slapyo 06-29-2004 10:16 PM

goes like this:

Code:

<channel>
        <item>
                <title></title>
                <link></link>
                <pubDate></pubDate>
                <description></description>
        </item>
</channel>

that is the format that it follows, if there are more items, they go between the <channel> tags.

for now, this is just a RSS feed. i haven't had time to look into adding different kinds of feeds like RDF or ATOM. i might if i get some time.

Deimos 06-30-2004 08:44 AM

Thanks Slap, it'd be awesome if you could..


All times are GMT. The time now is 12:11 AM.

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.01530 seconds
  • Memory Usage 1,745KB
  • 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
  • (1)bbcode_code_printable
  • (3)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