Jump to content

[Suggestion] Search API


Andy Millne

Recommended Posts

I would like to use a single search facility across my site and as such a search API would be very useful. Say a search query is submitted via my site I would like to simmultaneously request search results from IPB/gallery etc and have them returned as an xml result set in order to combine them with my own search results. Is this currently possibly or likely to be considered for a future version?

Link to comment
Share on other sites

That's already possible using the XML skin. If you post to the included xml.php file, rather than index.php, it will return search results formatted in XML.

EX:

http://forums.invisionpower.com/xml.php?app=core&module=search&do=quick_search&search_filter_app[forums]=1&search_term=search
Link to comment
Share on other sites

[quote name='Matt' date='20 August 2009 - 08:40 AM' timestamp='1250754042' post='1846670']
The XML skin is one huge API, really. It's great for syndicating content and completely transforming how you display data.


That it is Matt, it's a hidden gem. Well not so hidden really, just overlooked :)

p.s. Bug reported and already fixed in 3.0.3

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
  • Upcoming Events

    No upcoming events found
×
×
  • Create New...