﻿<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/">
  <channel>
    <title>Scott McCulloch</title>
    <description>My personal blog on DotNetNuke.</description>
    <link>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/BlogId/13/Default.aspx</link>
    <language>en-US</language>
    <webMaster>admin1@dotnetnuke.com</webMaster>
    <pubDate>Fri, 05 Sep 2008 14:07:37 GMT</pubDate>
    <lastBuildDate>Fri, 05 Sep 2008 14:07:37 GMT</lastBuildDate>
    <docs>http://backend.userland.com/rss</docs>
    <generator>Blog RSS Generator Version 3.4.0.39853</generator>
    <item>
      <title>Users Online change for DotNetNuke 3.2</title>
      <description>&lt;P&gt;I've checked in a small change for users online in DotNetNuke 3.2 tonight. &lt;/P&gt;
&lt;P&gt;When counting anonymous users, the code was mistakenly counting web crawlers, rss clients, etc as anonymous users. &lt;/P&gt;
&lt;P&gt;An anonymous user is identified by assigning a GUID to that client and then giving it a cookie. Most robots/scripts don't support cookies so they were being added as a unique user on each request. A check has been added to check for cookie support before adding it as an anonymous users. &lt;/P&gt;
&lt;P&gt;Incidently, to check for cookie support is very simple:-&lt;/P&gt;
&lt;P&gt;if Request.Browser.Cookies then&lt;/P&gt;
&lt;P&gt;' Do Work&lt;/P&gt;
&lt;P&gt;end if&lt;/P&gt;</description>
      <link>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/196/Default.aspx</link>
      <comments>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/196/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.dotnetnuke.com/Default.aspx?tabid=835&amp;EntryID=196</guid>
      <pubDate>Thu, 13 Oct 2005 12:00:00 GMT</pubDate>
      <slash:comments>1</slash:comments>
      <trackback:ping>http://www.dotnetnuke.com/DesktopModules/Blog/Trackback.aspx?id=196</trackback:ping>
    </item>
    <item>
      <title>Friendly Url Changes for DotNetNuke 3.2</title>
      <description>&lt;P _fckxhtmljob="1"&gt;I've just checked in some minor changes for Friendly URLs for DotNetNuke.&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;In 3.1.1, I introduced a change to only rewrite alphanumeric and the space character. (Everything else would be left in the querystring).&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;For example:-&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;&lt;A HREF="http://www.dotnetnuke.com/default.aspx?tabid=5&amp;path=folder1/folder2" _fckxhtmljob="1"&gt;http://www.dotnetnuke.comhttp://www.dotnetnuke.com/default.aspx?tabid=5&amp;path=folder1/folder2&lt;/A&gt;&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;Becomes:-&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;&lt;A HREF="http://www.dotnetnuke.com/tabid/5/default.aspx?path=folder1/folder2" _fckxhtmljob="1"&gt;http://www.dotnetnuke.comhttp://www.dotnetnuke.com/tabid/5/default.aspx?path=folder1/folder2&lt;/A&gt;&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;This worked as designed and helped to alleviate a number of special character issues we were having. However, it also caused some common URLs not to be rewritten, these involved the dash (-) and the underscore (_) character. These are commonly used when selecting a language. (e.g. en-AU)&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;So for 3.2, these characters &lt;STRONG _fckxhtmljob="1"&gt;will be rewritten into the URL&lt;/STRONG&gt;. Moreover, you can also customise the regular expression in the web.config as now it belongs to the provider as an attribute as follows:-&lt;/P&gt;
&lt;P _fckxhtmljob="1"&gt;  &lt;friendlyUrl defaultProvider="DNNFriendlyUrl"&gt;&lt;BR _fckxhtmljob="1"&gt;   &lt;providers&gt;&lt;BR _fckxhtmljob="1"&gt;    &lt;clear/&gt;&lt;BR _fckxhtmljob="1"&gt;    &lt;add name="DNNFriendlyUrl" &lt;BR _fckxhtmljob="1"&gt;     type="DotNetNuke.Services.Url.FriendlyUrl.DNNFriendlyUrlProvider, DotNetNuke.HttpModules.UrlRewrite"&lt;BR _fckxhtmljob="1"&gt;     includePageName="true" &lt;BR _fckxhtmljob="1"&gt;     &lt;STRONG _fckxhtmljob="1"&gt;regexMatch="[^a-zA-Z0-9 _-]"&lt;/STRONG&gt; /&gt;&lt;BR _fckxhtmljob="1"&gt;   &lt;/providers&gt;&lt;BR _fckxhtmljob="1"&gt;  &lt;/friendlyUrl&gt;&lt;/P&gt;</description>
      <link>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/190/Default.aspx</link>
      <comments>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/190/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.dotnetnuke.com/Default.aspx?tabid=835&amp;EntryID=190</guid>
      <pubDate>Mon, 10 Oct 2005 12:00:00 GMT</pubDate>
      <slash:comments>2</slash:comments>
      <trackback:ping>http://www.dotnetnuke.com/DesktopModules/Blog/Trackback.aspx?id=190</trackback:ping>
    </item>
    <item>
      <title>Configuring Users Online for DotNetNuke</title>
      <description>There has been some confusion lately about the Users Online module, this entry will attempt to provide a step by step guide on how to correctly configure it.</description>
      <link>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/43/Default.aspx</link>
      <comments>http://www.dotnetnuke.com/Products/Development/Forge/ModuleUsersOnline/tabid/835/EntryID/43/Default.aspx#Comments</comments>
      <guid isPermaLink="true">http://www.dotnetnuke.com/Default.aspx?tabid=835&amp;EntryID=43</guid>
      <pubDate>Fri, 16 Sep 2005 12:00:00 GMT</pubDate>
      <slash:comments>0</slash:comments>
      <trackback:ping>http://www.dotnetnuke.com/DesktopModules/Blog/Trackback.aspx?id=43</trackback:ping>
    </item>
  </channel>
</rss>