vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   RSS Feed of Search Results (https://vborg.vbsupport.ru/showthread.php?t=73170)

dpkm 12-21-2004 05:19 PM

RSS Feed of Search Results
 
I'm interested in creating an RSS feed of search results from vBulletin, so that I can stream links to relevant results dynamically to external search results pages (e.g., if I have a non-vB database on cars, and someone searches for Toyota, I can return both the result set from my non-vB database and (say) a set of links to the five highest-ranking search results from vBulletin). This is opposed to the standard way of doing things such as dynamically-generating a hyperlink "click here to search our forums for Toyota!" which sends the searcher "off-page".

(I particularly want to do this to stream result sets from vbAdvanced Image Gallery)

I'm looking for advice on the best approach to do this.

I've installed commercial versions of both CaRP and Grouper from RSS Tools. This gives me the option for two different approaches (or more if someone can suggest differently!):

1) hack search.php to generate a hidden and temporary XML file at the same time it outputs the search results. CaRP can then be used to snag the XML file, cache it (so the original file is no longer necessary) and display the feed (the same could also be done with something like the open source Magpie RSS parser, and would have more benefit to the community, I suppose)

2) create a new version of search.php, say, rss_search.php which is used only from the external query (protected by htaccess perhaps), and simplify it so that Grouper can scrape the web page (and convert through regular expressions the search results to RSS), cache its search results, which are then read by CaRP (and cached again).

Thoughts or suggestions? I admittedly hoped it wouldn't be this difficult to do this, but the way search results are handled natively in vBulletin seems to preclude scraping the result set directly with Grouper.

Thanks.

dpkm 01-04-2005 04:44 PM

*bump*

T3MEDIA 10-25-2005 03:57 PM

BUMP...
3.x and 3.5 would be nice.
Guys this is good for position on the web trust me

dpkm 10-29-2005 02:40 AM

Thoughts anyone?

dpkm 02-08-2006 10:48 PM

I'm wondering if the best way to do this is to simply bypass vBulletin altogether, and query the DB directly. Of course, you then get the problem of potentially having results from private forums.

dpkm 10-04-2006 05:52 PM

Does anyone know if any current mods support this? I haven't been able to find any, and *wow* are there ever a lot to search through.

gosborne 11-27-2006 11:20 AM

I'd be interested in this too, if anyone has any ideas

roddy 03-18-2007 05:10 AM

I'm going to bump this as I think it's something that would be fantastically useful, but just doesn't seem to be out there. What is should do is allow users to create their own RSS feeds: ie: yoursite.com/external.php?type=search&q=fast+cars
which will then use the search engine to collect hits, and then format it into RSS format.

Any ideas?

Shelby 05-21-2007 08:02 PM

Bump, I also want this.

skattabrain 11-01-2007 03:01 PM

bump again ... looking to feed search results onto non-vb pages myself.

c'mon modders ... just think of the seo sauce that could make! :)


All times are GMT. The time now is 10:57 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.01036 seconds
  • Memory Usage 1,727KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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