Creating a Federated Search Connector for Windows 7 Forums
- Hi all,
I just created a Search Connector to take advantage of the Windows 7 Federated Search feature in searching for issues in the Windows 7 forums on TechNet (these forums), so I wanted to share it.- Save the following code to a file with a .osdx extension:
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms-ose="http://schemas.microsoft.com/opensearchext/2009/"> <ShortName>Microsoft Technet Windows 7 Forums</ShortName> <Description>Microsoft Technet Windows 7 Forums Search Connector</Description> <Url type="application/rss+xml" template="http://social.technet.microsoft.com/Search/Feed.aspx?locale=en-US&Refinement=112&format=RSS&Query={searchTerms}&rq=meta:Search.MSForums.GroupID(6acaa43a-f435-41fb-b68a-b44ccab4c2f4)&rn=Windows+7+Forums"/> <Url type="text/html" template="http://social.technet.microsoft.com/Search/en-US?query={searchTerms}"/> </OpenSearchDescription> - Double-click the .osdx file to create the Search Connector on your machine.
- Start searching :-)
Windows Client IT Pro Audience Manager for Web Forums- Edited byAnthony_MannMSFT, OwnerMonday, July 27, 2009 1:17 AMUpdated XML
All Replies
Here are more details on adding this Search Connector.
1. Open Notepad.2. Copy the code, exactly as it appears in the previous post, and paste it into Notepad.
3. Click File / Save As.
4. Name the file W7 Forums Search.osdx
5. Save the file to the Desktop.
6. Double click the saved file to run the code.
Open Windows Explorer and navigate to:
C:\Users\<username>\Searches. (Where <username> is the name of the account you are logged on with)
Expand the Searches folder, you will see the following sub-folder.
Microsoft Technet Windows 7 Forums.
Select this folder.
In the right side window pane type your search keywords in the Search Box.
In the results, the keyword(s) you typed will be highlighted.
Double click one of the search results to go to that web page.
NOTE: You can create a shortcut to the Microsoft Technet Windows 7 Forums search folder and place it in a handy location to access this search connector.
NOTE: This procedure will only work in WINDOWS 7.
Have fun.
Thank You for testing Windows 7 Beta
Ronnie Vernon MVP- Ronnie,
As this is a W7 forum, I'd suspect most code demonstrated/shared here to work with W7 and not other OS's. Your use of the BOLD note at the bottom IMHO is implied. - Hello and thanks for sharing this.
Regards.
W7 Beta running on an AMD Semprom 3200+ (1800Mhz) with 2 Gbs of RAM and a built-in Nvidia 6100 VGA, and mate, it runs like a charm! And now on my VAIO FE31M Laptop. - Thanks a lot for sharing this information!!
_______________________
Karthik.K
Microsoft Student Partner - Thank you for sharing, this is a huge help!
Rusty - dear anthony
I tried that your desktop W7 Forums Search... but I got this...
"this location cannot be searched because it no longers exits or is temporarily unavaliable"
Can you tell me something about it pls...
Thanks
Mehmet Arkin
Doğu Şimal Ltd. Şti. Yüksel Cad. No: 34/17 Kızılay - ANKARA - TURKEY 90 312 433 23 15 / 21 Mehmet Arkın Gürbüz igtayazilim@hotmail.com 90 555 339 79 79 - Hi,
Thx for share this.
Now it's easy to access w7 forum search from My Computer > Favorites > Microsoft Technet Windows 7 Forums
:D - Anyone know why I get 2 results when I search for "libraries" with search connector and 199 when I use search on the beta 7 forum?
BH - Thanks Anthony
it was okey right now...
Regards
Mehmet Arkin
I have another question pls ? I have news site (one script). Im using a panel for to add articles. I cant puting the image on my site with explorer 8.0. I wonder, is there problem the script or explorer have a problem ??
at the first time, its bringing to panel when I was clickt to "go" then giving me explorer error and closing the popup page open new one (but not normal). do you have any idea this subject.
I hope you understood me..:))
Doğu Şimal Ltd. Şti. Yüksel Cad. No: 34/17 Kızılay - ANKARA - TURKEY 90 312 433 23 15 / 21 Mehmet Arkın Gürbüz igtayazilim@hotmail.com 90 555 339 79 79 - Thank you very much...
it was okey good rihgt now.
Doğu Şimal Ltd. Şti. Yüksel Cad. No: 34/17 Kızılay - ANKARA - TURKEY 90 312 433 23 15 / 21 Mehmet Arkın Gürbüz igtayazilim@hotmail.com 90 555 339 79 79 - Hi all,
Thanks for the nice information about how to create this. Now, if I would like to create one for some other forums, how and what information do I need and where do I get it?
If I look in the xml file it looks like the two part is:
1)application/rss+xml:
http://social.technet.microsoft.com/Search/Feed.aspx?locale=en-US&Refinement=112&format=RSS&Query={searchTerms}&rq=meta:Search.MSForums.GroupID(6acaa43a-f435-41fb-b68a-b44ccab4c2f4)&rn=Windows+7+Forums
2)text/html
http://social.technet.microsoft.com/Search/en-US?query={searchTerms}
I'm trying to create one for the System Center forums:
http://social.technet.microsoft.com/Forums/en-US/category/systemcenter
Thanks
Björn
Björn Axell MVP - Advisec AB http://blog.advisec.com - Hi Björn
There are several good tutorials available that have XML code snippets which allow to simply enter the target website name and URL for the search connector. Here are some links.
There is a good basic tutorial here. Search Connectors for Windows 7 Federated Search
See Option 2 in the following tutorial. Windows 7 Search Federation Providers
See this thread on the MSDN Forums. How does one build a federated connector
Hope this helps.
Thank You for testing Windows 7
Ronnie Vernon MVP - Hi Björn
Try the following file for the Systems Center Forums Search Connector.
<?xml version="1.0" encoding="UTF-8"?> <OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms-ose="http://schemas.microsoft.com/opensearchext/2009/"> <ShortName>Microsoft Technet System Center Essentials Forums</ShortName> <Description>Microsoft System Center Essentials Forums Search Connector</Description> <Url type="application/rss+xml" template="http://social.technet.microsoft.com/Search/Feed.aspx?locale=en-US&Refinement=112&format=RSS&Query={searchTerms}&rq=meta:Search.MSForums.GroupID(da20d72e-1bf0-425a-89a1-4ad0cc0b0747)&rn=All+System+Center+Essentials+Forums"/> <Url type="text/html" template="http://social.technet.microsoft.com/Search/en-US?query={searchTerms}"/> </OpenSearchDescription>
Paste the code into Notepad and save it with the .osdx file extension. Double click the file to install.
Thanks to Anthony Mann for help with this.
Hope this helps.Thank You for testing Windows 7
Ronnie Vernon MVP- Edited byRonnie VernonMVP, ModeratorTuesday, August 18, 2009 7:42 AM
- Hi Ronnie,
You are the man, works perfect. Now, how did you find the right url to add?
Thanks
Björn Axell MVP - Advisec AB http://blog.advisec.com Hi Ronnie,
You are the man, works perfect. Now, how did you find the right url to add?
Thanks
Björn Axell MVP - Advisec AB http://blog.advisec.com
Hi Björn
I did it the lazy way and used Anthony's original Windows 7 OSDX file as a template.
I changed the following 2 lines to reflect the name of the new forum:
<ShortName>Microsoft Technet System Center Essentials Forums</ShortName>
<Description>Microsoft System Center Essentials Forums Search Connector</Description>
I then went to the System Center Essentials main category page and performed a search using the 'Search All System Center Essentials Forums' box.
In the results, I copied the following part of the URL in the Address Bar:
GroupID(da20d72e-1bf0-425a-89a1-4ad0cc0b0747)&rn=All+System+Center+Essentials+Forums"/>
And replaced the same part of the URL in the original file:
[ ie: GroupID(6acaa43a-f435-41fb-b68a-b44ccab4c2f4)&rn=Windows+7+Forums"/> ]
Saved the file and it worked. :)
Hope this helps.
Regards,
Ronnie Vernon MVP- Ronnie,
Thanks for explaning - it helped me understand.
Björn Axell MVP - Advisec AB http://blog.advisec.com I have created this search and it works
Only thing i cant seem to do is get it to return more than 50 results even though in this example i have 60 set
If i go to this site and do a normal search say on the word "sale" i get hundersd of results -- any ideas
<?xml version="1.0" encoding="UTF-8"?>
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/" xmlns:ms-ose="http://schemas.microsoft.com/opensearchext/2009/">
<ShortName>SearchTest</ShortName>
<Description>My Description</Description><Url type="application/rss+xml" template="http://api.bing.com/rss.aspx?source=web&query={searchTerms} site:racingjunk.com&web.count=60" />
<Url type="text/html" template="http://www.bing.com/search?q={searchTerms}+site:racingjunk.com"/></OpenSearchDescription>