<?xml version="1.0" encoding="utf-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><language>en</language><title>Blog posts by Daniel van den Tempel</title> <link>https://world.optimizely.com/blogs/Daniel-van-den-Tempel/</link><description></description><ttl>60</ttl><generator>Optimizely World</generator><item> <title>CRP Stats</title>            <link>https://world.optimizely.com/blogs/Daniel-van-den-Tempel/Dates/2011/4/CRP-Stats/</link>            <description>&lt;p&gt;There is no such thing as too much statistics and there is also no limit on the number of ways in which you can display the same base data. To rejoice in this fact we added two controls to the “My Settings”-page that shows a little more info on CRP-progress and what you did to get there.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The first control&lt;/strong&gt; is a progress bar that displays how far you’ve come in the current level. Since I assume most of us have played more than our share of games where you level up a character, an “experience bar” feels just right.&lt;/p&gt;
&lt;p&gt;Looking at my progress bar (which suddenly makes me feel like I should spend more time contributing, but little did I know that I would be flaunting my inactivity in a post like this any day soon) we can see the following:&lt;/p&gt;
&lt;p&gt;I have a total of 155 points, the current level ends at 375 points. If I would have had 380 points, my “Total progress” would have been 380 and my “Current level” would have shown 5 / 375 (since the second level also has 375 points, I think). And I would, of course, have been a Contributing citizen.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/link/fb151da81f244117a5c70a6a2886c3e0.png&quot;&gt;&lt;img style=&quot;background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;&quot; title=&quot;tempelprogress&quot; src=&quot;/link/8356ba0353434612a7e5542034ab72d3.png&quot; border=&quot;0&quot; alt=&quot;tempelprogress&quot; width=&quot;582&quot; height=&quot;114&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The second control&lt;/strong&gt; consists of two pie charts (using &lt;a href=&quot;http://code.google.com/intl/sv-SE/apis/chart/&quot; target=&quot;_blank&quot;&gt;google charts&lt;/a&gt;):&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Count:&lt;/strong&gt; The number of contributions made of each type.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Score:&lt;/strong&gt; How big part of your total points that where generated by a certain contribution category.&lt;/p&gt;
&lt;p&gt;Let’s check a live example. If we look at my charts:&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;/link/a59d9068fbd840a99e5351473104f86d.png&quot;&gt;&lt;img style=&quot;background-image: none; padding-left: 0px; padding-right: 0px; display: inline; padding-top: 0px; border-width: 0px;&quot; title=&quot;tempelcharts&quot; src=&quot;/link/c8f400f9f73b4680915e31f0322a2165.png&quot; border=&quot;0&quot; alt=&quot;tempelcharts&quot; width=&quot;636&quot; height=&quot;214&quot; /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;We can see that about half of my contributions are forum posts, but the articles I wrote generated more points in total. The names of the contribution are ripped from property names, but we will change those to more presentable names in the future.&lt;/p&gt;
&lt;p&gt;P.S&lt;/p&gt;
&lt;p&gt;This data is from our test server and when I checked the production data my scores where even more embarrassing, but let’s not dwell on that shall we.&lt;/p&gt;
&lt;p&gt;D.S&lt;/p&gt;</description>            <guid>https://world.optimizely.com/blogs/Daniel-van-den-Tempel/Dates/2011/4/CRP-Stats/</guid>            <pubDate>Fri, 15 Apr 2011 11:08:00 GMT</pubDate>           <category>Blog post</category></item><item> <title>Share your code</title>            <link>https://world.optimizely.com/blogs/Daniel-van-den-Tempel/Dates/2010/8/Share-your-code/</link>            <description>&lt;p&gt;For a while now we’ve been planning to release a code sharing section on EPiServer World and during the vacation times the faithful web team stayed in office to make it happen.&lt;/p&gt;  &lt;p&gt;We can now introduce the &lt;a href=&quot;http://world.episerver.com/Code/&quot; target=&quot;_blank&quot;&gt;Code section&lt;/a&gt;.&lt;/p&gt;  &lt;p&gt;Included in the release is the following:&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;em&gt;Code description editor. &lt;/em&gt;&lt;/li&gt;    &lt;li&gt;&lt;em&gt;Code highlighting editor. &lt;/em&gt;&lt;/li&gt;    &lt;li&gt;&lt;em&gt;File upload. &lt;/em&gt;&lt;/li&gt;    &lt;li&gt;&lt;em&gt;And rating and tags and the usual web stuff. &lt;/em&gt;&lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&lt;em&gt;&amp;#160;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&lt;em&gt;&amp;#160;&lt;/em&gt;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;The code section is suitable for sample code and smaller projects, but not as a repository for larger collaborative projects, but it works very nicely as an introduction to the EPiServer community for your code. Type a description, post some sample code and link to your “real” project page.&lt;/p&gt;  &lt;p&gt;Another purpose of this section, which is rather like the blogs, is to collect all code related posts in one place.&lt;/p&gt;  &lt;h2&gt;Files&lt;/h2&gt;  &lt;p&gt;When uploading files associated with your project / code, you do not need to zip them since EPiServer zips them automatically on download.&lt;/p&gt;  &lt;h2&gt;&lt;strong&gt;Syntax highlighting&lt;/strong&gt;&lt;/h2&gt;  &lt;p&gt;The code editor is a bit sensitive, but it does the job. We used &lt;a href=&quot;http://tinymce.moxiecode.com/&quot; target=&quot;_blank&quot;&gt;tinyMCE&lt;/a&gt; and &lt;a href=&quot;http://alexgorbatchev.com/SyntaxHighlighter/&quot; target=&quot;_blank&quot;&gt;SyntaxHiglighter&lt;/a&gt; with some small modifications to make the highlighter fit in our framework a bit better.&lt;/p&gt;  &lt;p&gt;There are two editors in the code sharing window. The first one is for your initial description while the second one is for pasting code and text in the body of the article. &lt;/p&gt;  &lt;p&gt;We made four languages available (if you feel we should add other languages, let us know):&lt;/p&gt;  &lt;ul&gt;   &lt;li&gt;&lt;em&gt;C#&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;&lt;em&gt;Javascript&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;&lt;em&gt;Xhtml/XML&lt;/em&gt; &lt;/li&gt;    &lt;li&gt;&lt;em&gt;SQL&lt;/em&gt; &lt;/li&gt; &lt;/ul&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;&amp;#160;&lt;/p&gt;  &lt;p&gt;To add &lt;strong&gt;plain text&lt;/strong&gt;, just click a non formatted space in the editor and start typing.&lt;/p&gt;  &lt;p&gt;You can add any of these in the editor by clicking the “&lt;strong&gt;Insert code&lt;/strong&gt;” button, pasting your code in the editor popup, selecting the appropriate language in the drop down and clicking insert.&lt;/p&gt;  &lt;p&gt;When adding several texts of different types in the editor, make sure you click a place in the editor that is not marked with another formatting. The current format is displayed on a label under the editor.&lt;/p&gt;  &lt;p&gt;And since we know nothing was ever built that can’t be broken we added a &lt;strong&gt;“Delete code”&lt;/strong&gt; link so you can start over =)&lt;/p&gt;  &lt;p&gt;(Please note that “Delete code” actually deletes the entire entry, removing any files you may have uploaded as well.)&lt;/p&gt;  &lt;p&gt;Naturally you’re awarded &lt;a href=&quot;http://world.episerver.com/System/Community-Recognition-Program/&quot; target=&quot;_blank&quot;&gt;Community Recognition points&lt;/a&gt; when adding a new contribution to the code section.&lt;/p&gt;</description>            <guid>https://world.optimizely.com/blogs/Daniel-van-den-Tempel/Dates/2010/8/Share-your-code/</guid>            <pubDate>Thu, 05 Aug 2010 13:26:25 GMT</pubDate>           <category>Blog post</category></item></channel>
</rss>