vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Non PHP RSS (https://vborg.vbsupport.ru/showthread.php?t=193677)

Abbas 10-15-2008 12:03 PM

Non PHP RSS
 
One of my scripts cant seem to add external.php to display RSS feeds from the forum but it does work with XML files so I was wondering if there is a way to have .xml files created with vBulletin

Lynne 10-15-2008 02:59 PM

You may enable xml syndication in vboptions > external data provider > enable xml syndication and then you would get to is through - http://www.example.com/forum/external.php?type=xml I'm thinking, though that you are looking for something more like http://www.example.com/forum/feed.xml and I don't know of a way to get that.

Abbas 10-15-2008 05:34 PM

Quote:

Originally Posted by Lynne (Post 1645642)
I'm thinking, though that you are looking for something more like http://www.example.com/forum/feed.xml and I don't know of a way to get that.

Exactly!

noppid 10-15-2008 05:57 PM

You could probably pull that off with mod rewrite if you're on apache.

Abbas 10-15-2008 06:19 PM

Quote:

Originally Posted by noppid (Post 1645765)
You could probably pull that off with mod rewrite if you're on apache.

I am on Apache but have no clue how to "pull it off" :)
If it helps, I have vbSEO installed as well

noppid 10-15-2008 06:57 PM

Try this in the root folder .htaccess. It's tested and works on my site. I did this for another project in the past.

Code:

RewriteEngine on
RewriteRule ^forums/myfile.xml http://www.example.com/forums/external.php?type=rss [L]

The myfile.xml can be any name you want. The file does not have to actually exist. You can also modify the url to be selective on what forum ids are pulled and such and what type output you want. The example is rss. It can be xml or rss2 as well.


All times are GMT. The time now is 02:14 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.01197 seconds
  • Memory Usage 1,719KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete