tag:blogger.com,1999:blog-2441850399540300710.post3752142056138117460..comments2024-02-17T03:47:06.818-08:00Comments on CraigBlog: Announcing the MTPS Content ServiceCraig Anderahttp://www.blogger.com/profile/17084199593129216563noreply@blogger.comBlogger29125tag:blogger.com,1999:blog-2441850399540300710.post-29751639486851974482011-03-28T17:16:04.000-07:002011-03-28T17:16:04.000-07:00@tsuui: Hmm. Good question. It has literally been ...@tsuui: Hmm. Good question. It has literally been years since I worked on that code. I will forward your question to the MSDN team and post here if I find anything out.craig-anderanoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-74858339233316335642011-03-28T17:10:28.000-07:002011-03-28T17:10:28.000-07:00So, it turns out that generics do not get aliases....So, it turns out that generics do not get aliases. The < in the name complicated the URL mapping the first time around, so the MSDN team elected to leave them out. There's a chance that they'll address it in the future, but for now: no aliases.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-18142812271490881292011-03-26T06:44:42.000-07:002011-03-26T06:44:42.000-07:00When I was trying to request for 'mtps.annotat...When I was trying to request for 'mtps.annotations' documents by calling 'GetContents', I've always got something like this:(for example: "dd831853","en-us","VS.100")<br /><br />EXCEPTION:<br /> System.Web.Services.Protocols.SoapException<br />MESSAGE: <br /> Server was unable to process request. ---> There was an error generating the XML document. ---> Reference to undeclared entity 'nbsp'. Line 9, position 346. <br />-----<br /><br /><br />And some like this: (for example: "AssetId:msdn%7cMSDN_2E%7c%7eV2%5cMain.Menu.htm","en-us","msdn.10")<br />EXCEPTION:<br /> System.Web.Services.Protocols.SoapException<br />MESSAGE: <br /> content identifier not found. <br /><br />and... few weeks ago, I've found a wrongly typed word "messsage"(three-'s') in this page: "http://services.msdn.microsoft.com/ContentServices/ContentService.asmx?wsdl"<br /><br />Is there some relativity between these problems ?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-75687008945054770992011-03-24T13:05:41.000-07:002011-03-24T13:05:41.000-07:00Thanks so much!
If you need to reach me via email...Thanks so much!<br /><br />If you need to reach me via email, I'm at chris at programcsharp dot com.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-43501475329268193322011-03-24T08:59:42.000-07:002011-03-24T08:59:42.000-07:00OK, I've sent off a question to someone at MSD...OK, I've sent off a question to someone at MSDN. Will post here if I get an answer.craig-anderanoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-33660274164179935432011-03-24T06:29:36.000-07:002011-03-24T06:29:36.000-07:00I did try that. It returns a response, but the con...I did try that. It returns a response, but the contentAlias field (which is where I'm assuming that friendly name alias should be) is blank.<br /><br />I'm really hoping not to have to write a manual lookup table. Heh.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-32438025635507785942011-03-24T02:44:51.000-07:002011-03-24T02:44:51.000-07:00Did you try retrieving it by short ID (xfhwa508) a...Did you try retrieving it by short ID (xfhwa508) and looking at the info that comes back? Might give you some clue - I have no idea off the top of my head. I'll ask someone, but you can try that in the meantime.craig-anderanoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-51913245213344295102011-03-24T02:44:18.000-07:002011-03-24T02:44:18.000-07:00Did you try retrieving it by short ID (xfhwa508) a...Did you try retrieving it by short ID (xfhwa508) and looking at the info that comes back? Might give you some clue - I have no idea off the top of my head. I'll ask someone, but you can try that in the meantime.craig-anderanoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-617696260192999462011-03-23T21:18:11.000-07:002011-03-23T21:18:11.000-07:00How might one get a link for a generic type by typ...How might one get a link for a generic type by type name. I've tried (for example):<br /><br />System.Collections.Generic.Dictionary<br />System.Collections.Generic.Dictionary<br />System.Collections.Generic.Dictionary`2<br /><br />No dice. Any thoughts?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-24448126989355921712009-03-31T07:01:19.000-07:002009-03-31T07:01:19.000-07:00You're going to have to be more specific about...You're going to have to be more specific about what you want and what you've tried - I don't understand your question.craig-anderanoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-53271937855408760522009-03-31T06:36:44.000-07:002009-03-31T06:36:44.000-07:00Hi, i have some code which will bring back the Xht...Hi, i have some code which will bring back the Xhtml documents i want, but the imageDocument collection , while it has the name and type, I can not get the image data back.<br /><br />Can you please help.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-43105292299155359822007-02-15T11:39:00.000-08:002007-02-15T11:39:00.000-08:00A few Microsoft-related news items of interest tha...A few Microsoft-related news items of interest that occurred over the past week: The stories of BillAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-62534593898997722702006-12-23T23:54:00.000-08:002006-12-23T23:54:00.000-08:00Je viens seulement de lire le post : Rendu public ...Je viens seulement de lire le post : Rendu public le 12 (mais non, je ne suis pas en retard dans mesAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-22513837275204132612006-12-01T07:50:00.000-08:002006-12-01T07:50:00.000-08:00We are in the process of migrating the Office Deve...We are in the process of migrating the Office Developer Center and all the MSDN Library Office developer content to MSDN2! I love to blog about anything related to Office development, but this time I will share with you some information related with MSDN that you might find interesting.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-69767436926741671092006-11-14T10:42:00.000-08:002006-11-14T10:42:00.000-08:00We are in the process of migrating the Office Deve...We are in the process of migrating the Office Developer Center and all the MSDN Library Office developer content to MSDN2! I love to blog about anything related to Office development, but this time I will share with you some information related with MSDN that you might find interesting.Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-43588601564191430602006-06-27T06:28:00.000-07:002006-06-27T06:28:00.000-07:00thanks, it works!thanks, it works!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-19757197700742149352006-06-27T04:31:00.000-07:002006-06-27T04:31:00.000-07:00Yeah, sorry for the confusion: you should be using...Yeah, sorry for the confusion: you should be using "ms310241" as the root ID. That's the Mtps.Toc root node - "ms123401" is the corresponding Mtps.Xhtml root node. GetNavigationPaths needs the TOC one. <br /><br><br /><br>This is an error in the documentation that's entirely my fault. I'll get it fixed soon. <br /><br><br /><br>Sorry again!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-85674009106462856722006-06-26T13:25:00.000-07:002006-06-26T13:25:00.000-07:00SOrry, for the above post, I mean
response.naviga...SOrry, for the above post, I mean <br /><br>response.navigationPaths.Length is always 0, where I am wrong? thanks!Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-30549427630244799282006-06-26T13:22:00.000-07:002006-06-26T13:22:00.000-07:00Why I always get 0 when calling getNavigationPaths...Why I always get 0 when calling getNavigationPaths()?<br /><br><br /><br>ContentService proxy = new ContentService();<br /><br><br /><br> navigationKey root = new navigationKey();<br /><br> // This is the root of the MSDN English TOC tree - you'll<br /><br> // probably specify this as your root most often.<br /><br> root.contentId = "ms123401";<br /><br> root.locale = "en-us";<br /><br> root.version = "MSDN.10";<br /><br><br /><br> navigationKey target = new navigationKey();<br /><br> target.contentId = "abhtw0f1";<br /><br> target.locale = "en-us";<br /><br> target.version = "VS.80";<br /><br><br /><br> getNavigationPathsRequest request = new getNavigationPathsRequest();<br /><br> request.root = root;<br /><br> request.target = target;<br /><br><br /><br> getNavigationPathsResponse response = proxy.GetNavigationPaths(request);<br /><br><br /><br> Console.WriteLine("There were {0} paths between the root and the target.",<br /><br> response.navigationPaths.Length);<br /><br> int pathNumber = 1;<br /><br><br /><br> // Loop through all the resultant navigation paths<br /><br> foreach (navigationPath path in response.navigationPaths)<br /><br> {<br /><br> Console.WriteLine("Path number {0}", pathNumber++);<br /><br><br /><br> int nodeNumber = 1;<br /><br><br /><br> // For each path, loop over all the navigationPathNodes<br /><br> foreach (navigationPathNode node in path.navigationPathNodes)<br /><br> {<br /><br> // For each node, print out the relevant information<br /><br> Console.WriteLine("Node number {0}: ", nodeNumber++);<br /><br> Console.WriteLine("Title: {0}", node.title);<br /><br> Console.WriteLine("Navigation node: {0}, {1}, {2}",<br /><br> node.navigationNodeKey.contentId,<br /><br> node.navigationNodeKey.locale,<br /><br> node.navigationNodeKey.version);<br /><br> Console.WriteLine("Content node: {0}, {1}, {2}",<br /><br> node.contentNodeKey.contentId,<br /><br> node.contentNodeKey.locale,<br /><br> node.contentNodeKey.version);<br /><br> //Console.WriteLine("Is Phantom? {0}", node.isPhantom); // does not work<br /><br> }<br /><br> }Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-58010380804994795142006-06-24T12:49:00.000-07:002006-06-24T12:49:00.000-07:00Je viens seulement de&nbsp;lire le post : Rend...Je viens seulement de&nbsp;lire le post : Rendu public le 12&nbsp;(mais non, je ne suis pas en retard&nbsp;dans...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-72348279147335399062006-06-21T19:49:00.000-07:002006-06-21T19:49:00.000-07:00After Craig Andera blogged about MTPS Content Serv...After Craig Andera blogged about MTPS Content Service, Ian decided it will be cool to have a WPF App...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-28902468708719564572006-06-21T02:49:00.000-07:002006-06-21T02:49:00.000-07:00Voici un projet de plus dont je ne connaissais pas...Voici un projet de plus dont je ne connaissais pas l’existence : la présentation, sous forme d’un web...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-49110992279366600342006-06-18T10:06:00.000-07:002006-06-18T10:06:00.000-07:00Announcing the MTPS Content Service.
Here&rsqu...<br>Announcing the MTPS Content Service.<br /><br>Here&rsquo;s an announcement from Craig Andera regarding how...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-41624804194579765352006-06-18T09:03:00.000-07:002006-06-18T09:03:00.000-07:00A few Microsoft-related news items of interest tha...A few Microsoft-related news items of interest that occurred over the past week: The stories of BillAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-2441850399540300710.post-89661120268058905932006-06-13T20:11:00.000-07:002006-06-13T20:11:00.000-07:00Microsoft udostepnil API pozwalajace na bezposredn...Microsoft udostepnil API pozwalajace na bezposredni dostep do MSDN za pomoca uslugi WWW. Opis uslugi...Anonymousnoreply@blogger.com