Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-09-2002, 06:26 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do I incorporate other news feeds into my site?

How do I get news feeds to run on my site? I have seen sites offering both php and XML files that are their news, but I can't figure out how to put them onto my site.

Can somebody help a newbie out?

I would appreciate any help anybody can offer.

Thanks.
Reply With Quote
  #2  
Old 04-09-2002, 07:02 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Since the question is very general, the answer will have to be the same... Open the stream and parse it :P

An example of how to do it can be found here: http://www.webmasterbase.com/article/560
Reply With Quote
  #3  
Old 04-09-2002, 07:36 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for getting so pissed, it's just that I have been trying to do this forever it seems and I was hoping that I had a chance of doing it, but if it's as complicated as that link made it sound then I will probably never be able to get syndicated news on my site.

I have tried Google and every result for about 15 pages is all about Moreover or how to syndicate their news onto your site without using their syndicating system. I don't want moreovers news, it's not customizable at all in the way that I need it, that and there servers are slower then hell.
Reply With Quote
  #4  
Old 04-09-2002, 07:42 PM
Gutspiller's Avatar
Gutspiller Gutspiller is offline
 
Join Date: Dec 2001
Posts: 1,046
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Your telling me that XML needs a program to decode the f*cker before I can do Sh*t with it? WTF Why doesn't it make it into a file that I can use, instead of wasting my server process time converting their news that I don't need that bad anyways?

That or that article isn't what I needed at all.

All I need is some basic instructions on how to take so so's php or xml file they offer out to the world that has their news on it and take that file and slap it on my site so that I can have their headlines on my site. That's all I need. If this XML crap needs another program to decode it, it must suck donkey balls. :disappointed:
Reply With Quote
  #5  
Old 04-09-2002, 08:16 PM
Sparkz's Avatar
Sparkz Sparkz is offline
 
Join Date: Nov 2001
Posts: 544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all, there is no need in bouncing off the walls here. You asked a very general question, and I provided you a link to help. Have you even searched the web to look for something that might help you?
That link I gave you was the first result of my search on google.

You cannot include an xml file directly into your page. It has to be parsed somehow - period.

As for the different PHP-files, of which you have provided no examples, depending on what output they give, you might or might not get away with just including it on your page.
Reply With Quote
  #6  
Old 11-02-2002, 11:00 AM
Tomaj Tomaj is offline
 
Join Date: Nov 2002
Location: Sydney, Australia
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Take a look at this script!
http://www.pcforen.de/tools/news.zip
It is for phpBB but I'm quite certain it is what Gutspiller is after!
I'm not sure how you would convert that for vBulletin but I'm sure one of u techy elite people know how
Reply With Quote
  #7  
Old 11-02-2002, 07:49 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There a few news scripts that can do this here - do a search in the Full Releases forum for them.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:12 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03633 seconds
  • Memory Usage 2,213KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (7)post_thanks_box
  • (7)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (7)post_thanks_postbit_info
  • (7)postbit
  • (7)postbit_onlinestatus
  • (7)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete