<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">Blog posts by Naveed Ahmad</title><link href="https://world.optimizely.com/blogs/Naveed-Ahmad/" /><updated>2010-01-12T11:44:04.0030000Z</updated><id>https://world.optimizely.com/blogs/Naveed-Ahmad/</id><generator uri="https://world.optimizely.com/blogs/Naveed-Ahmad/" version="2.0">Optimizely World</generator><entry><title>Configuring video settings in EPiServer Relate+</title><link href="https://world.optimizely.com/blogs/Naveed-Ahmad/Dates/2010/1/Configuring-video-settings-in-EPiServer-Relate/" /><id>https://world.optimizely.com/blogs/Naveed-Ahmad/Dates/2010/1/Configuring-video-settings-in-EPiServer-Relate/</id><published>2010-01-12T11:44:03.0000000Z</published><updated>2010-01-12T11:44:04.0030000Z</updated><author><name>naveedahmad@redweb.com</name></author><category term="Blog post" /><summary type="html">&lt;p&gt;I have recently worked on a project using standard out-of-box EPiServer Relate+ website and templates. As every module is very well written and integrated, the only missing piece was the video upload settings.&lt;/p&gt;  &lt;p&gt;It took me a while to find out how to get these settings and update the site so that end user can upload video.&amp;#160; I thought it will be a good idea to write up a small blog post.&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Steps&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Step 1. Navigate to http://world.episerver.com/System/Video-Service/ and login with your usual world.episerver.com account&lt;/p&gt;  &lt;p&gt;Step 2. Select register account as shown below&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/15dc296a214c4e96b691c416a9ebcc0f.jpg"&gt;&lt;img title="register_video" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="71" alt="register_video" src="/link/cef2ebeb41524e68809a6d96ec9b5150.jpg" width="384" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 3. The next screen will show your information, make sure all the required fields are there and click 'Next' (I have removed my auto generated email address)&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/d2f47f0bc5e147b6b5a37eb10f15222b.jpg"&gt;&lt;img title="video_next" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="111" alt="video_next" src="/link/70fbc7e6aa784d2c9f5957114791562b.jpg" width="383" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 4:&amp;#160; Read and Check the 'Terms &amp;amp; Condition' box. As I am using it for demo purposes, I would select the development license.&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/2ec1004a3e9d46609eebc52e182fdfdd.jpg"&gt;&lt;img title="video_confirm" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="215" alt="video_confirm" src="/link/ff6dc689f9fc4243be983eca82f245fb.jpg" width="331" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;Step 5: If your account is successfully created, you would be shown a confirmation page with&amp;#160; &amp;lt;cdnProvider&amp;gt;&amp;#160; settings at the bottom of the page.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Step 6: Open your EPiServer Relate+ web.config and find the &amp;lt;cdnProvider&amp;gt; node and replace the &lt;b&gt;accessKey &lt;/b&gt;and &lt;b&gt;secretAccessKey &lt;/b&gt;values with the actual values generated at the end of the process.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&lt;strong&gt;Tips&lt;/strong&gt;&lt;/p&gt;  &lt;p&gt;Navigate to the actual site and try uploading any video. The video service modules converts well known movie formats like mp4,mpeg into Flash format so it may take a while to upload your video and it will depend upon your system, network traffic and video file size.&lt;/p&gt;  &lt;p&gt;Secondly, video files may not appear instantly on the page so just be patient.&lt;/p&gt;</summary></entry><entry><title>EpiChatty – your personal EPiServer assistant – Gadget</title><link href="https://world.optimizely.com/blogs/Naveed-Ahmad/Dates/2009/11/EpiChatty--your-personal-EPiServer-assistant--Gadget/" /><id>https://world.optimizely.com/blogs/Naveed-Ahmad/Dates/2009/11/EpiChatty--your-personal-EPiServer-assistant--Gadget/</id><published>2009-11-18T15:14:18.0000000Z</published><updated>2009-11-18T15:14:18.5270000Z</updated><author><name>naveedahmad@redweb.com</name></author><category term="Blog post" /><summary type="html">&lt;p&gt;Hi, here is my small contribution to the Gadget competition. Meet EpiChatty, your personal assistant (chat bot) that can give you help and information about EPiServer CMS. It could serve as a help desk assistant to EPiServer CMS editors / administrators / developers / designers and to content editors.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The main idea behind this is to have Google Talk client embedded as a gadget on dashboard and run EPiChatty as a console application which can interact with the user and give appropriate response. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Google Talk implements Extensible Messaging and Presence Protocol (XMPP) protocol which essentially exchange messages using XML between clients and servers. More information about this protocol can be found &lt;a href="http://xmpp.org/" target="_blank"&gt;here&lt;/a&gt; and more information about Google Talk API can be found at &lt;a href="http://code.google.com/apis/talk/" target="_blank"&gt;here&lt;/a&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;As Google do not provide any C# implementation of XMPP protocol and as I am primarily a C# developer,(not brave enough to try Google’s java based implementation for this &lt;a href="http://code.google.com/appengine/docs/java/xmpp/overview.html" target="_blank"&gt;protocol&lt;/a&gt;), so I have to look for different options. After bit more research,&amp;#160; I found out that &lt;a href="http://www.ag-software.de/agsxmpp-sdk.html" target="_blank"&gt;agsXMPP&lt;/a&gt; is an open source SDK / library for the XMPP protocol which is written in managed C# and is dedicated to .NET and Mono technologies. More information about this SDK can be found &lt;a href="http://www.ag-software.de/agsxmpp-sdk.html" target="_blank"&gt;here&lt;/a&gt; .&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;With all my components in place, I have to learn basics about the new protocol (which I have never used before) and also use the SDK to implement it (easy).&amp;#160; It took a while to do a ‘hello world’ kind of code, as Google server require a different port (5222) than 80 to be open as well so that it could communicate. Once I figured that out with help from support team at &lt;a href="http://www.ag-software.de/agsxmpp-sdk.html" target="_blank"&gt;agsXMPP&lt;/a&gt;, next thing was to implement the automated behaviour for the asked questions. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;There are several ways that this could be implemented, but I went for the XML based approach. I have stored questions and answers in a set patterned way so that if user ask ‘what is’ or ‘how to’ or any ‘generic’ question, a patterned would be matched and answer would be returned. The main reason behind this approach was its simplicity and extendibility. &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is the screen shot how the EPiChatty gadget will look like on dashboard&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/01facde39f864d29b9e71ce94b2176b8.jpg"&gt;&lt;img title="epichatty_not_signed_in" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="388" alt="epichatty_not_signed_in" src="/link/e8fec63741d64369b60f40b89334cd71.jpg" width="292" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;The gadget view contains embedded Google Talk client and the controller simply returns the view.&amp;#160; The login it will redirect to central Google account services where you could login and then it will return you back to the dashboard.&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/7b15d33b78144464958bf4474be6dc0b.jpg"&gt;&lt;img title="epichatty_logged_in" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="407" alt="epichatty_logged_in" src="/link/8c3642610b6d4f3a90467b0e61c4a2cf.jpg" width="301" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;once login you can ask ‘what is’ or ‘how to’ or ‘generic’ questions&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/4b6bd176969b4b07a2dbcbfbc60baeb4.jpg"&gt;&lt;img title="epichatty_logged_in2" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="405" alt="epichatty_logged_in2" src="/link/23bcc51227e041bd9855b4d52ae960c5.jpg" width="315" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Here is the screen shot of the console application showing that EPiChatty is available to chat&lt;/p&gt;  &lt;p&gt;&lt;a href="/link/4530b56b49c04b278624f588a749586c.jpg"&gt;&lt;img title="epichatty_console" style="border-top-width: 0px; display: inline; border-left-width: 0px; border-bottom-width: 0px; border-right-width: 0px" height="179" alt="epichatty_console" src="/link/97a0740f8f3142cca3ed22fa853e4700.jpg" width="351" border="0" /&gt;&lt;/a&gt; &lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;I have made the EPiChatty as a console application so that it could run separately from the main application as a light weight process in background. In case you want to start chatting and test it out, send an invite to &lt;a href="mailto:epichatty@googlemail.com"&gt;epichatty@googlemail.com&lt;/a&gt; . I will be hosting it till the end of December 2009 and then EPiChatty will be on long vacations.&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;Source files contain every thing apart from the password for the EPiChatty Google’s account. If you would like to host your own, you can create a new Google account and replace the username and password in console application and run the console application.&lt;/p&gt;  &lt;p&gt;&lt;a href="http://cid-d07e913ed01d978e.skydrive.live.com/self.aspx/.Public/EpiChatty.zip"&gt;Source&lt;/a&gt;&lt;/p&gt;</summary></entry></feed>