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

Reply
 
Thread Tools Display Modes
  #1  
Old 12-21-2004, 05:19 PM
dpkm dpkm is offline
 
Join Date: Mar 2003
Location: Canada
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 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.
Reply With Quote
  #2  
Old 01-04-2005, 04:44 PM
dpkm dpkm is offline
 
Join Date: Mar 2003
Location: Canada
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

*bump*
Reply With Quote
  #3  
Old 10-25-2005, 03:57 PM
T3MEDIA T3MEDIA is offline
 
Join Date: Dec 2004
Posts: 944
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUMP...
3.x and 3.5 would be nice.
Guys this is good for position on the web trust me
Reply With Quote
  #4  
Old 10-29-2005, 02:40 AM
dpkm dpkm is offline
 
Join Date: Mar 2003
Location: Canada
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thoughts anyone?
Reply With Quote
  #5  
Old 02-08-2006, 10:48 PM
dpkm dpkm is offline
 
Join Date: Mar 2003
Location: Canada
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #6  
Old 10-04-2006, 05:52 PM
dpkm dpkm is offline
 
Join Date: Mar 2003
Location: Canada
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #7  
Old 11-27-2006, 11:20 AM
gosborne gosborne is offline
 
Join Date: Jun 2006
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be interested in this too, if anyone has any ideas
Reply With Quote
  #8  
Old 03-18-2007, 05:10 AM
roddy roddy is offline
 
Join Date: Apr 2005
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #9  
Old 05-21-2007, 08:02 PM
Shelby Shelby is offline
 
Join Date: Nov 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bump, I also want this.
Reply With Quote
  #10  
Old 11-01-2007, 03:01 PM
skattabrain skattabrain is offline
 
Join Date: Apr 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

c'mon modders ... just think of the seo sauce that could make!
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 11:42 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.04129 seconds
  • Memory Usage 2,246KB
  • Queries Executed 13 (?)
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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete