Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted August 19, 200915 yr 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?
August 19, 200915 yr 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
August 19, 200915 yr Author Well that's a pleasant surprise :) Thanks Josh.There's a tag mismatch on that query though, bug in the output?
August 19, 200915 yr Yeah, it's probably a bug in the xml skin. Report any problems you find like that in the tracker and we'll fix them :)
August 20, 200915 yr Management The XML skin is one huge API, really. It's great for syndicating content and completely transforming how you display data.
August 20, 200915 yr Author [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
Archived
This topic is now archived and is closed to further replies.