<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://mises.org/community/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>The Mises Tech Update : Web Technology, ASP.net</title><link>http://mises.org/community/blogs/misestech/archive/tags/Web+Technology/ASP.net/default.aspx</link><description>Tags: Web Technology, ASP.net</description><dc:language>en</dc:language><generator>CommunityServer 2008.5 SP2 (Build: 40407.4157)</generator><item><title>Mises Tagging Overview</title><link>http://mises.org/community/blogs/misestech/archive/2007/10/09/tagging.aspx</link><pubDate>Tue, 09 Oct 2007 15:42:00 GMT</pubDate><guid isPermaLink="false">944abf2b-d1be-4bf2-990d-438cb0e377e9:1260</guid><dc:creator>David V</dc:creator><slash:comments>0</slash:comments><wfw:commentRss xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://mises.org/community/blogs/misestech/rsscomments.aspx?PostID=1260</wfw:commentRss><wfw:comment xmlns:wfw="http://wellformedweb.org/CommentAPI/">http://mises.org/community/blogs/misestech/commentapi.aspx?PostID=1260</wfw:comment><comments>http://mises.org/community/blogs/misestech/archive/2007/10/09/tagging.aspx#comments</comments><description>&lt;p&gt;The framework used to tag pages on Mises.org is a tagging
library I developed to tag any kind of content on Mises.org.&amp;nbsp; The tag library references &lt;a href="http://en.wikipedia.org/wiki/GUID"&gt;GUID&lt;/a&gt;&amp;#39;s assigned to
all objects in the Mises.org databases.&amp;nbsp;&amp;nbsp;
It tracks users by username or IP address as well as the date that each
tag was added.&amp;nbsp; It includes spam/badword
filtering and has some simple tag rewriting to automatically correct misspelled
words and incomplete names.&amp;nbsp; For a simple
tag example, see &lt;a href="http://mises.org/tag/business%20cycle"&gt;business cycle.&lt;/a&gt;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Update: Mises Tagging is now an open source project!&amp;nbsp; &lt;a href="http://www.codeplex.com/DotTag"&gt;See the project page for details&lt;/a&gt;.&amp;nbsp;&lt;/b&gt;&lt;/p&gt;&lt;p&gt;&lt;font size="4"&gt;Architecture overview:&lt;/font&gt;&lt;/p&gt;

&lt;p style="font-weight:bold;"&gt;Database layer:&lt;/p&gt;

&lt;p&gt;The database schema gives a good indication of the
data-access layer:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://mises.org/Community/blogs/misestech/images/TaggingSchema.gif"&gt;&lt;img src="http://mises.org/blogs/misestech/images/TaggingSchema.gif" alt="Tag Schema" align="" border="" height="" hspace="" vspace="" width="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p style="font-weight:bold;"&gt;Stored procedures:&lt;/p&gt;

&lt;p&gt;&lt;a href="http://mises.org/Community/blogs/misestech/images/TaggingSprocs.gif"&gt;&lt;img src="http://mises.org/Community/blogs/misestech/images/TaggingSprocs.gif" alt="" align="" border="" height="" hspace="" vspace="" width="" /&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;b&gt;UI Layer:&lt;/b&gt;&lt;/p&gt;

&lt;p&gt;The interface is organized into self-contained user
controls.&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;span style="font-style:italic;"&gt;TagCloud.ascx&lt;/span&gt; - a tag cloud for the given document&lt;br /&gt;Example: &lt;a href="http://mises.org/resources/3250"&gt;http://mises.org/resources/3250&amp;nbsp; (Sroll down)&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-style:italic;"&gt;EditTags.ascx&lt;/span&gt; - an editable list of tagged
documents and a user-specific tag cloud.&lt;br /&gt;Example: &lt;a href="http://mises.org/mymises/"&gt;http://mises.org/mymises/&lt;/a&gt;
(You&amp;#39;ll have to register at Mises.com tag some documents first.)&lt;/li&gt;&lt;li&gt;&lt;span style="font-style:italic;"&gt;TaggingStats.ascx&lt;/span&gt; - global tagging statistics&lt;br /&gt;Example: &lt;a href="http://mises.org/clouds.aspx#stats"&gt;http://mises.org/clouds.aspx#stats&lt;/a&gt;&lt;/li&gt;&lt;/ul&gt;











&lt;p&gt;Management:&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;span style="font-style:italic;"&gt;DocumentTags.ascx&lt;/span&gt; - an editable list of tags for a particular
document&lt;/li&gt;&lt;li&gt;&lt;span style="font-style:italic;"&gt;Tags.aspx&lt;/span&gt;: delete tags, delete all tags by a particular user
and search/replace tags&lt;/li&gt;&lt;/ul&gt;



&lt;p&gt;&lt;b&gt;The MisesBot: &lt;/b&gt;&lt;/p&gt;

&lt;p&gt;You might have noticed that 99% of all tags are entered by
the MisesBot.&amp;nbsp; The bot is an application
that uses the meta tags collected by the MetaParser (detailed in a future post)
as well as other available metadata to add tags to document.&lt;/p&gt;&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;p&gt;&lt;b&gt;Thanks to: &lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.codeproject.com/useritems/cloud.asp"&gt;Cloud Control for ASP.Net&lt;/a&gt; - displays a list of hyperlinks in
varying styles depending on a weight. &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.pui.ch/phred/archives/2005/04/tags-database-schemas.html"&gt;Toxi&lt;/a&gt; - the inspiration for the tag schema&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.getluky.net/freetag/"&gt;Freetag&lt;/a&gt;, an Open Source Tagging / Folksonomy module for
PHP/MySQL applications - the inspiration for the business logic layer&lt;/li&gt;&lt;li&gt;&lt;a href="http://communityserver.org/"&gt;Community Server&lt;/a&gt; -&amp;nbsp; Inspired the tag browser interface and provided the banned words list. &lt;/li&gt;&lt;/ul&gt;

&lt;p&gt;&amp;nbsp;&lt;b&gt;To do:&lt;/b&gt;&lt;/p&gt;

&lt;ul&gt;&lt;li&gt;Did you notice the TagAuthority field in the tag
schema?&amp;nbsp; A future version of the MisesBot
will automatically determine the &amp;quot;authoritative&amp;quot; document for each tag.&lt;/li&gt;&lt;li&gt;Automatically mark up content.&amp;nbsp; If we know the authoritative document for a
tag, we can automatically link to it when that tag appears in the document text.&lt;/li&gt;&lt;li&gt;Improving the &amp;quot;related tags&amp;quot; algorithm.&amp;nbsp; I could use some help with this:&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Here is the query to get related tags. &amp;nbsp;The problem is that it currently ranks tags according to their total popularity, not their &amp;quot;related-ness.&amp;quot;&lt;br /&gt;


&lt;pre&gt;CREATE&lt;br /&gt;PROCEDURE [dbo].[TagGetRelatedTags]        &lt;br /&gt;        @Tag VARCHAR(70)&lt;br /&gt;AS&lt;br /&gt;BEGIN   &lt;br /&gt;        DECLARE&lt;br /&gt;                @TagId int&lt;br /&gt;                SET @TagId =&lt;br /&gt;                        (SELECT TagId FROM Tag WHERE Tag = @Tag)&lt;br /&gt;                        SELECT  TOP 30 Tag.Tag,&lt;br /&gt;                                COUNT(TagMap.TagId) AS &amp;#39;Count&amp;#39;&lt;br /&gt;                        FROM    TagMap&lt;br /&gt;                        INNER JOIN Tag&lt;br /&gt;                        ON      TagMap.TagId    = Tag.TagId&lt;br /&gt;                        WHERE   [TagMap].TagId &amp;lt;&amp;gt; @TagId&lt;br /&gt;                            AND (TagMap.TagId  IN&lt;br /&gt;                                (SELECT DISTINCT TagId&lt;br /&gt;                                FROM    TagMap&lt;br /&gt;                                WHERE (ObjectId IN&lt;br /&gt;                                        (SELECT ObjectId FROM TagMap WHERE (TagId = @TagId)))&lt;br /&gt;                                )&lt;br /&gt;                                )&lt;br /&gt;                        GROUP BY TagMap.TagId,&lt;br /&gt;                                Tag.Tag&lt;br /&gt;                        ORDER BY &amp;#39;Count&amp;#39; DESC&lt;br /&gt;                END&lt;br /&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;&lt;img src="http://mises.org/community/aggbug.aspx?PostID=1260" width="1" height="1"&gt;</description><enclosure url="http://mises.org/community/cfs-file.ashx/__key/CommunityServer.Components.PostAttachments/00.00.00.12.60/TaggingSchema.gif" length="11058" type="image/gif" /><category domain="http://mises.org/community/blogs/misestech/archive/tags/Web+Technology/default.aspx">Web Technology</category><category domain="http://mises.org/community/blogs/misestech/archive/tags/ASP.net/default.aspx">ASP.net</category><category domain="http://mises.org/community/blogs/misestech/archive/tags/tagging/default.aspx">tagging</category></item></channel></rss>