<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>碧云涛小屋 &#187; design</title>
	<atom:link href="http://blog.axqd.net/tags/design/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.axqd.net</link>
	<description>by aXqd</description>
	<lastBuildDate>Tue, 09 Aug 2011 16:12:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<atom:link rel='hub' href='http://blog.axqd.net/?pushpress=hub'/>
		<item>
		<title>假期意识流</title>
		<link>http://blog.axqd.net/2005/02/26/vacation/</link>
		<comments>http://blog.axqd.net/2005/02/26/vacation/#comments</comments>
		<pubDate>Sat, 26 Feb 2005 09:12:24 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[.NET框架]]></category>
		<category><![CDATA[WEB]]></category>
		<category><![CDATA[心情日记]]></category>
		<category><![CDATA[.net]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[javascript]]></category>
		<category><![CDATA[microsoft]]></category>
		<category><![CDATA[scu]]></category>
		<category><![CDATA[uestc]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=380</guid>
		<description><![CDATA[意识流 &#8212;假期生活乱纪 这个假期不堪回首，单调得可怕，除了4本书之外，记忆中仅存的就全是某大学的研究生会的网站了。网站说来更不堪回首，完全算得上“赶鸭子上架”的典型（我“可爱”的姐在网站“八字还没有一撇”的时候，居然就敢将“网站建设费”挥霍一空，后来备受挫折后，无力还债，于是栽赃到了我的头上- -！）。下面将网站建设过程中的点点滴滴乱纪下来，想到哪里写到哪里，逻辑未免混乱，各位大虾莫要见笑。目的也很简单，让各位看看一个新手眼中的网站建设过程。 1、 研究生会： 因为这个网站，我就已经堂而皇之成为某大学研究生会编制中的一员，这种“海纳百川”的“气势”令我无不拜倒- -！ 2、 网站需求： 刚开始的网站需求很“明确”&#8212;“美观、大方、展现当代研究生风采”。让我感到在这种“派头”的指导老师手下干起事情来一定比较“自由”，但是后来事实证明我错了，这种指导老师也有开始变“聪明”的时候。 需求增加了一条&#8212;“采用最新的Asp.Net技术，并且务必使用SQL Server最新版本”，我在深入理解这条需求之后，对于各个软件、框架的版本甚是犹豫，不知beta版是否也计算在内- -！ 3、 美工： 这个我没有发言权，反正阿梅和阿楠看过（因为当时我不会用PS分页- -！） 4、 VS .NET环境： 由于以前习惯于Borland的BCB，于是“疏”在于没RAD就不活了，“密”在于任何东西都希望有根有据，简单明了。对于VC++6.0从未涉猎，因为当时第一印象就觉得不像是拿来编程的，加之MFC的封装没有一定的实力，定会感到极其莫名其妙，那消息映射的编程方式更是使得局势错综复杂，不像VCL里面虽然依然有很多不懂，但至少容易把握过程。 介于上述原因，所以当我观之Visual Studio .NET的时候还是大吃一惊，惊叹微软也终于RAD了一把。于是看了本《C# Primer》上手就干。 但是现实总是残酷的，虽然很多东西感觉用起很顺手，但还是有很多极其不习惯： 首当其冲的就是一个解决方案里面的类、函数等等，不用.h，不用#include好像就能够在各个文件中可见，原因可能是采用namespace的组织方式，但是老是觉得没有#include &#60;*.h&#62;就是不爽（我理想中的世界应该是把文件include过来后，再在namespace里面避免污染，而不要在一个解决方案里面的文件到处都可见似的）。 其次就是所谓的大名鼎鼎的“Code Behind”，这个倒是在很大程度上解决了网页程序设计中的版权问题，并且使代码和外观分离，便于和传统窗口编程靠拢。但是对于新手而言，在不具备驾驭的能力的情况下，无非是场灾难，代码直接生成DLL，不用export，不用声明，只需assembly一下，就可以使用，随便咋看都极其莫名其妙。 介于以上，我终于放弃了使用VS .NET，本来想选择同出Borland之手的C# Builder，但是令人郁闷的是没有找到注册码- -！所以最后我还是选择了以前写ASP程序时候采用的Dreamweaver+EditPlus+MSDN，本来记事本足已，但是少了调试器，要是连行号都看不到，那我还是直接跳楼算了。 5、 风格： 回头看我写的代码，感觉很多地方看起来还是像用ASP写的：P，不过因为毕竟是ASP.NET的东西，还是初步感受了一下ASP.NET的便利，诸如：DataGrid、DataList、Page_Load、还有在连接SQL数据库时候的便利等等等等。 6、 语言： 这个是我最无语的一点，由于C# 是刚学的，所以开始的时候还是在尝试VB，在花了很长时间都没有发现下面代码为什么通不过之后，我还是痛下决心用C# 吧- -！ #region code &#60;script language=”VB” runat=server&#62; sub foo(object sender,eventargs e) { //---------- [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F25%2Fwoo-hoo-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">电子科技大学终于要卖地还债了</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ZTMD宁愿重写，也不排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F27%2Fbasic-question-of-c-sharp%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于C#一个基础问题的初步探查</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p style="text-align: center;"><strong>意识流</strong></p>
<p style="text-align: right;">&#8212;假期生活乱纪</p>
<p>这个假期不堪回首，单调得可怕，除了4本书之外，记忆中仅存的就全是某大学的研究生会的网站了。网站说来更不堪回首，完全算得上“赶鸭子上架”的典型（我“可爱”的姐在网站“八字还没有一撇”的时候，居然就敢将“网站建设费”挥霍一空，后来备受挫折后，无力还债，于是栽赃到了我的头上- -！）。下面将网站建设过程中的点点滴滴乱纪下来，想到哪里写到哪里，逻辑未免混乱，各位大虾莫要见笑。目的也很简单，让各位看看一个新手眼中的网站建设过程。</p>
<p>1、  研究生会：</p>
<p>因为这个网站，我就已经堂而皇之成为某大学研究生会编制中的一员，这种“海纳百川”的“气势”令我无不拜倒- -！</p>
<p>2、  网站需求：</p>
<p>刚开始的网站需求很“明确”&#8212;“美观、大方、展现当代研究生风采”。让我感到在这种“派头”的指导老师手下干起事情来一定比较“自由”，但是后来事实证明我错了，这种指导老师也有开始变“聪明”的时候。</p>
<p>需求增加了一条&#8212;“采用最新的Asp.Net技术，并且务必使用SQL Server最新版本”，我在深入理解这条需求之后，对于各个软件、框架的版本甚是犹豫，不知beta版是否也计算在内- -！</p>
<p>3、  美工：</p>
<p>这个我没有发言权，反正阿梅和阿楠看过（因为当时我不会用PS分页- -！）</p>
<p>4、  VS .NET环境：</p>
<p>由于以前习惯于Borland的BCB，于是“疏”在于没RAD就不活了，“密”在于任何东西都希望有根有据，简单明了。对于VC++6.0从未涉猎，因为当时第一印象就觉得不像是拿来编程的，加之MFC的封装没有一定的实力，定会感到极其莫名其妙，那消息映射的编程方式更是使得局势错综复杂，不像VCL里面虽然依然有很多不懂，但至少容易把握过程。</p>
<p>介于上述原因，所以当我观之Visual Studio .NET的时候还是大吃一惊，惊叹微软也终于RAD了一把。于是看了本《C# Primer》上手就干。</p>
<p>但是现实总是残酷的，虽然很多东西感觉用起很顺手，但还是有很多极其不习惯：</p>
<p>首当其冲的就是一个解决方案里面的类、函数等等，不用.h，不用#include好像就能够在各个文件中可见，原因可能是采用namespace的组织方式，但是老是觉得没有#include &lt;*.h&gt;就是不爽（我理想中的世界应该是把文件include过来后，再在namespace里面避免污染，而不要在一个解决方案里面的文件到处都可见似的）。</p>
<p>其次就是所谓的大名鼎鼎的“Code Behind”，这个倒是在很大程度上解决了网页程序设计中的版权问题，并且使代码和外观分离，便于和传统窗口编程靠拢。但是对于新手而言，在不具备驾驭的能力的情况下，无非是场灾难，代码直接生成DLL，不用export，不用声明，只需assembly一下，就可以使用，随便咋看都极其莫名其妙。</p>
<p>介于以上，我终于放弃了使用VS .NET，本来想选择同出Borland之手的C# Builder，但是令人郁闷的是没有找到注册码- -！所以最后我还是选择了以前写ASP程序时候采用的Dreamweaver+EditPlus+MSDN，本来记事本足已，但是少了调试器，要是连行号都看不到，那我还是直接跳楼算了。</p>
<p>5、  风格：</p>
<p>回头看我写的代码，感觉很多地方看起来还是像用ASP写的：P，不过因为毕竟是ASP.NET的东西，还是初步感受了一下ASP.NET的便利，诸如：DataGrid、DataList、Page_Load、还有在连接SQL数据库时候的便利等等等等。</p>
<p>6、  语言：</p>
<p>这个是我最无语的一点，由于C# 是刚学的，所以开始的时候还是在尝试VB，在花了很长时间都没有发现下面代码为什么通不过之后，我还是痛下决心用C# 吧- -！</p>
<p><code>#region code<br />
&lt;script language=”VB” runat=server&gt;<br />
sub foo(object sender,eventargs e)<br />
{<br />
//----------<br />
}<br />
&lt;/script&gt;<br />
#endregion</code></p>
<p>接踵而来的转化工作，幸好还不算很困难，但确实很烦，下面将我在转化时的主要工作总结一下：</p>
<p>a）  大小写：VB里面的标识符不区分大小写，如：page_load、datagrid也可以通过，但是到了C# 里面就必须区分大小写了（这里是改得最郁闷的了，对照到MSDN一个一个挨到改，想当初写VB Script的时候不偷懒就好了）</p>
<p>b）  索引（Item）：VB里面使用object（index）就可以索引了，但是到了C#里面索引可必须使用object[index]符号，不过如果你使用Item调用就一致了，不过新手一般都不会那样做。</p>
<p>其他可能还有很多转化工作，不过我倒是幸运的没有碰到。</p>
<p>7、  基本代码组织方式：</p>
<p>由于那个网站大量的都是带图像文本处理，所以基本上前台采用的是把分页后形成的静态页面里面的动态部分挖空，以iframe填充之，iframe的src里面要不就指向list.aspx文件（显示前多少项，以及more按钮），并传入类别、css、行数、列数作为参数控制外观；要不就指向multilist.aspx文件（显示所有内容，以DataGrid进行分页控制），传入的外观控制参数一致。并且二者都接受hot=1参数，若设置了，则排序的方式由order by subdate desc变为order by 点击次数 desc</p>
<p>8、  前台：</p>
<p>前台如前述方式架构，我觉得最有用的就是DataGrid与DataList的基本使用及外观控制，如果实在觉得不方便，新手还是用&lt;ItemTemplate&gt;来得快：），另外在进行数据绑定的时候，我基本上就只用到了下面一条语句：</p>
<p><code>&lt;%#  ((DataRowView)Container.DataItem)["foo"]  %&gt;</code></p>
<p>9、  后台管理：</p>
<p>a）FreeTextBox：</p>
<p>说起后台管理自然想到了熟悉的DormForce Blog的后台，那里的那个输入控件，令人感觉甚爽，在IE里面察看源，发现名字叫做FreeTextBox- -！这个名字实在是…</p>
<p>于是Google后下载了一个，感觉封装得很好，使用也很方便，直接register就可以用了，令我倍感ASP.NET还是很爽的，也对Web Control产生了一丝眷恋。但是问题也出来了，他的“插入图片”按钮令人极其郁闷，只能插入图片URL，而没有提供上传，本来想在FTB控件旁边单独提供一个UploadImg按钮，提供上传然后返回URL，供使用FTB插入之需。</p>
<p>但是在看了“宝玉”的文章后突然发现FTB对于Button提供了接口ToolBarButton，于是可以把上传的工作集成到按钮里面。用宝玉提供的方法，在VS .NET里面“依样画葫芦”很快便搞定了，其实就是直接从ToolBarButton直接继承构造新的Button就可以了。</p>
<p>但是问题是我没有用Code Behind的方式，而且找了半天也没有发现，如果不用Code Behind，把类的定义写在哪里？所以只有自己想办法，看了半天英文版的FTB帮助，终于找到了方法：</p>
<p><code>&lt;FTB:TOOLBARBUTTON title="插入图片"<br />
runat="server" ScriptBlock="myOpenFunc();" ButtonImage="insertimage" /&gt;</code></p>
<p>其中的ButtonImage指定名称后会自动从aspnet_client目录调用图片资源，若要更换可以直接替换文件即可，不过注意保持长宽比（不然会很难看的）。另外我感觉aspnet_client这个名字很可疑，可能有特殊的用途，诸如用于客户端的啥子东西，没有敢改名字：（</p>
<p>其中的ScriptBlock直接在FTB生成的Html页面里面加入内容，如上例就生成如下咚咚：</p>
<p><code>… = new FTBButton(… function(){myOpenFunc();} …)…</code></p>
<p>myOpenFunc()为调用此FTB控件页面上&lt;script&gt;内定义的函数。藉由此实现runat=server代码对于本机函数的调用，即通常所谓的Response.Write法。</p>
<p>另外，我还需要从本机函数调取runat=server中控件的属性。想了半天，找到了如下的不是办法的办法：</p>
<p><code>function myOpenFunc(){<br />
var dt=eval('myForm.myDataTable');<br />
var tempurl='../inc/uploadimg.aspx?tab=';<br />
tempurl = tempurl+dt.value;<br />
window.open(tempurl,'_uploadimg','width=300 height=50');<br />
}</code></p>
<p>其中myForm、myDataTable分别为runat=server里面Form和DropDownList的Id名称，使得本机获得的html页面里的form和select的id为这二者，从而为本机函数的实现提供可能性。</p>
<p>在uploadimg.aspx中只需完成上传文件，调用opener.top.InsertText(…)方法传入图片地址即可，而在myOpenFunc()所在页面中定义InsertText方法完成插入。</p>
<p>b）  编辑区域：</p>
<p>编辑区域的实质，宝玉已经说得比较清楚了，其实就是一个document.designMode设为on的Iframe。因此可以方便的用本机函数进行各种编辑工作以及调用focus()获取焦点。</p>
<p>c）  DropDownList的数据绑定：</p>
<p>由于需要，选定一个DropDownList后要对另外一个重新进行数据绑定，实现方式如下：</p>
<p>指定DropDownList的属性OnSelectedIndexChanged=&#8221;SelectionChangeFunc&#8221; AutoPostBack=&#8221;true&#8221;，SelectionChangeFunc会传送给一个delegate型别从而起到类似函数指针的作用。</p>
<p><code>void SelectionChangeFunc(Object sender, System.EventArgs e)<br />
{<br />
myDataClass.DataSource = CreateDataSource(...);<br />
myDataClass.DataTextField = "TextField";<br />
myDataClass.DataValueField = "ValueField";<br />
myDataClass.DataBind();<br />
myDataClass.SelectedIndex = 0;<br />
}<br />
ICollection CreateDataSource(…)<br />
{<br />
System.Data.DataTable myDt = new System.Data.DataTable();<br />
myDt.Columns.Add(new System.Data.DataColumn("TextField", typeof(String)));<br />
myDt.Columns.Add(new System.Data.DataColumn("ValueField", typeof(String)));<br />
...<br />
myDt.Rows.Add(CreateRow("…", "…", myDt));<br />
...<br />
System.Data.DataView myDv = new System.Data.DataView(dt);<br />
return myDv;<br />
}<br />
System.Data.DataRow CreateRow(String Text, String Value, System.Data.DataTable dt)<br />
{<br />
System.Data.DataRow myDr = dt.NewRow();<br />
dr[0] = Text;<br />
dr[1] = Value;<br />
return myDr;<br />
}</code></p>
<p>d）  DataGrid的CommandButton：</p>
<p>column字段：<code>&lt;asp:ButtonColumn HeaderText="Del Button"<br />
Text="Del" CommandName="DelBtn" /&gt;</code></p>
<p>指定DataGrid属性OnItemCommand=&#8221;Grid_DelCommand&#8221;</p>
<p>通过Grid_DelCommand函数处理所有的CommandButton信息，而Grid_DelCommand函数只需根据CommandName指定的值选择操作即可。</p>
<p><code>void Grid_DelCommand(Object sender, DataGridCommandEventArgs e)<br />
{<br />
if(((LinkButton)e.CommandSource).CommandName == "DelBtn")<br />
{<br />
...<br />
}<br />
}</code></p>
<p>这里有两个问题：</p>
<p>其一，好像DataGrid被提交的时候也会调用此OnItemCommand函数，因为当时由于只有一个command，没有用if判断CommandName值的时候，一提交就要出错，而且是在这个函数里面出错的。所以建议就算只有一个command也用if后者select判断一下。</p>
<p>其二，我本来是把&lt;asp:ButtonColumn&gt;定义为“PushButton”的，但是在进行强制类型转换的时候没有找到相应的类型，不管是Button、PushButton都不对，所以只好换用默认的LinkButton才调试通过。</p>
<p>e）  DataGrid的分页：</p>
<p>设置DataGrid的</p>
<p>AllowPaging=True<br />
PagerStyle-Mode=NumericPages<br />
PagerStyle-HorizontalAlign=Right<br />
OnPageIndexChanged=&#8221;Change_Page_Index&#8221;属性</p>
<p>定义下列函数：</p>
<p><code>void Change_Page_Index(Object sender, DataGridPageChangedEventArgs e)<br />
{<br />
myDataGrid.CurrentPageIndex=e.NewPageIndex;<br />
...<br />
myDataGrid.DataBind();<br />
}<br />
void PagerButtonClick(Object sender, EventArgs e)<br />
{<br />
String arg = ((LinkButton)sender).CommandArgument;<br />
switch(arg)<br />
{<br />
case ("next"):<br />
if (myDataGrid.CurrentPageIndex &lt; (myDataGrid.PageCount - 1))<br />
myDataGrid.CurrentPageIndex ++;<br />
break;<br />
case ("prev"):<br />
if (myDataGrid.CurrentPageIndex &gt; 0)<br />
myDataGrid.CurrentPageIndex --;<br />
break;<br />
case ("last"):<br />
myDataGrid.CurrentPageIndex = (myDataGrid.PageCount - 1);<br />
break;<br />
default:<br />
myDataGrid.CurrentPageIndex = Convert.ToInt32(arg);<br />
break;<br />
}<br />
myDataGrid.DataBind();<br />
}</code></p>
<p>这里注意的是换了页要重新DataBind()一下。</p>
<p>f）  SQL：</p>
<p>不多说了，下面是我觉得常用的函数：</p>
<p><code>System.Data.DataSet MyQuery(String querystring)<br />
{<br />
String connectionString = @"...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connectionString);<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = querystring;<br />
dbCommand.Connection = dbConnection;<br />
System.Data.IDbDataAdapter dataAdapter = new<br />
System.Data.SqlClient.SqlDataAdapter();<br />
dataAdapter.SelectCommand = dbCommand;<br />
System.Data.DataSet dataSet = new System.Data.DataSet();<br />
dataAdapter.Fill(dataSet);<br />
return dataSet;<br />
}<br />
int MyDelete(String delString)<br />
{<br />
String connectionString = @"...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connectionString);<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = delString;<br />
dbCommand.Connection = dbConnection;<br />
int rowsAffected = 0;<br />
dbConnection.Open();<br />
try<br />
{<br />
rowsAffected = dbCommand.ExecuteNonQuery();<br />
}<br />
finally<br />
{<br />
dbConnection.Close();<br />
}<br />
return rowsAffected;<br />
}<br />
int MyInsert(...)<br />
{<br />
String connString = "...";<br />
System.Data.IDbConnection dbConnection = new<br />
System.Data.SqlClient.SqlConnection(connString);<br />
String queryString = "INSERT INTO [...]([...], ...) VALUES (";<br />
queryString +="@..., ...)";<br />
System.Data.IDbCommand dbCommand = new<br />
System.Data.SqlClient.SqlCommand();<br />
dbCommand.CommandText = queryString;<br />
dbCommand.Connection = dbConnection;<br />
System.Data.IDataParameter dbParam_... = new<br />
System.Data.SqlClient.SqlParameter();<br />
dbParam_...ParameterName = "@...";<br />
dbParam_...Value = ...;<br />
dbParam_...DbType = System.Data.DbType.String;<br />
dbCommand.Parameters.Add(dbParam_...);<br />
...<br />
int rowsAffected = 0;<br />
dbConnection.Open();<br />
try {<br />
rowsAffected = dbCommand.ExecuteNonQuery();<br />
}<br />
finally {<br />
dbConnection.Close();<br />
}<br />
return rowsAffected;<br />
}</code></p>
<p>10、    其他点点滴滴：</p>
<p>a）  去掉图片加链接后外包框：</p>
<p><code>&lt;img border=0&gt;</code></p>
<p>b）  去掉IE图片悬停工具栏：<br />
<code><br />
&lt;img galleryimg=”no”&gt;或者&lt;meta http-equiv="imagetoolbar" content="no"&gt;</code></p>
<p>c）  去掉链接点击后的虚线：</p>
<p><code>&lt;a href="…" onFocus="this.blur()"&gt;&lt;/a&gt;</code></p>
<p>d）  使iframe自适应长宽：</p>
<p><code>&lt;iframe src="..."<br />
onload="this.height =<br />
this.document.body.offsetHeight;this.width=this.document.body.offsetWidth;"&gt;<br />
&lt;/iframe&gt;</code></p>
<p>另外千万注意不要漏了&lt;/iframe&gt;，网页被撑开了，我查了半天才发现是这个原因。</p>
<p>e）  连续滚动：</p>
<p>一般的marquee会两次滚动间会有一段时间的空白，采用<a href="http://blog.axqd.net/wp-content/uploads/2008/07/4marquee.rar">此处的代码</a>可以使得其连续滚动。</p>
<p>上面这些就是这个网站的点点滴滴，没有什么技术含量，只是写篇乱纪，以标明这个颓废的寒假。</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F09%2F09%2Fbetter-javascript-syntax-support%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">Better Javascript Syntax Support</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2010%2F03%2F25%2Fwoo-hoo-uestc%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">电子科技大学终于要卖地还债了</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F09%2Fztm%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">ZTMD宁愿重写，也不排错</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F04%2F27%2Fbasic-question-of-c-sharp%2F&from=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">关于C#一个基础问题的初步探查</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2005/02/26/vacation/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>绚色你的生活</title>
		<link>http://blog.axqd.net/2004/11/03/color-your-life/</link>
		<comments>http://blog.axqd.net/2004/11/03/color-your-life/#comments</comments>
		<pubDate>Wed, 03 Nov 2004 09:26:27 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[网络]]></category>
		<category><![CDATA[心情日记]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[netunion]]></category>
		<category><![CDATA[wireshark]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=367</guid>
		<description><![CDATA[# DO NOT EDIT THIS FILE! It was created by Ethereal @Web@tcp.port eq 80 or tcp.port eq 443@[22328,55704,24713][65083,65535,42083] @DNS@tcp.port eq 53 or udp.port eq 53@[63477,65535,101][0,32767,0] @Bad Stuff@tcp.analysis.flags or icmp@[0,0,0][57311,25186,25957] @Microsoft@smb or nbns@[0,5080,65535][65535,65535,65535] @IPX@ipx@[60652,0,1542][65535,65535,65535] @DHCP@bootp@[39064,15934,40863][65535,65535,65535] @Intel ANS probes@ans@[56173,56173,56173][0,0,0] @Background Noise@stp or arp or eth.dst eq ff:ff:ff:ff:ff:ff@[65535,65535,65535][26214,26214,26214] # DO NOT EDIT THIS FILE! It was created by [...]<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="终于在forum里面贴起图了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F08%2F15%2Fpaste-pics-in-forum%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于在forum里面贴起图了</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Near Future…" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fnear-future%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559551.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Near Future…</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="附张魔兽的图图上来-和阿楠练的新号" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F05%2F17%2Fwow%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559539.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">附张魔兽的图图上来-和阿楠练的新号</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="IIS 5安全清单" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F10%2F18%2Fcheck-list-for-iis5%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IIS 5安全清单</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p># DO NOT EDIT THIS FILE!  It was created by Ethereal<br />
@Web@tcp.port eq 80 or tcp.port eq 443@[22328,55704,24713][65083,65535,42083]<br />
@DNS@tcp.port eq 53 or udp.port eq 53@[63477,65535,101][0,32767,0]<br />
@Bad Stuff@tcp.analysis.flags or icmp@[0,0,0][57311,25186,25957]<br />
@Microsoft@smb or nbns@[0,5080,65535][65535,65535,65535]<br />
@IPX@ipx@[60652,0,1542][65535,65535,65535]<br />
@DHCP@bootp@[39064,15934,40863][65535,65535,65535]<br />
@Intel ANS probes@ans@[56173,56173,56173][0,0,0]<br />
@Background Noise@stp or arp or eth.dst eq ff:ff:ff:ff:ff:ff@[65535,65535,65535][26214,26214,26214]<br />
<a href="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-1.jpg"><img class="alignnone size-medium wp-image-364" title="炫色1" src="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-1-300x158.jpg" alt="炫色1" width="300" height="158" /></a></p>
<p># DO NOT EDIT THIS FILE!  It was created by Ethereal<br />
@httptcp@ tcp.srcport == 80 or tcp.dstport == 80@[38385,62683,65534][0,0,0]<br />
@DNS@dns@[19194,65534,32100][0,0,0]<br />
@ARP@arp@[65202,65533,24456][0,0,0]<br />
@icmp@icmp@[65534,8609,6712][0,0,0]<br />
@STP@stp@[65534,65534,65534][8262,42200,9408]<br />
@Netbios@tcp.srcport == 139 or tcp.dstport == 139 or  tcp.srcport == 138 or tcp.dstport == 138 or  tcp.srcport == 137 or tcp.dstport == 137 or udp.srcport == 139 or udp.dstport == 139 or  udp.srcport == 138 or udp.dstport == 138 or  udp.srcport == 137 or udp.dstport == 137@[7961,5947,65534][64045,65535,62556]<br />
@smtp@ tcp.srcport == 25 or tcp.dstport == 25@[65534,10208,51170][62059,62059,62059]<br />
@pop@ tcp.srcport == 110 or tcp.dstport == 110@[65534,7268,54440][0,0,0]<br />
@nntp@nntp@[49886,47154,63549][992,992,992]<br />
@snmp@snmp@[62556,52730,2142][7636,32644,64045]<br />
@igmp@igmp@[45944,5999,65534][0,0,0]<br />
@telnet@ tcp.srcport == 23 or tcp.dstport == 23@[9274,47661,3862][0,0,0]<br />
@tftp@tftp@[59220,3637,65534][0,0,0]<br />
@ftp@ftp@[62721,6393,65534][0,13490,65038]<br />
@Q931@q931@[14275,65534,25039][0,0,0]<br />
@rsvp@rsvp@[60324,7655,65534][63348,65535,9481]<br />
@CMIP@ udp.srcport == 164 or udp.dstport == 164@[47957,9122,9122][60977,63600,0]<br />
@tcp@tcp@[40555,49091,65534][0,0,0]<br />
@udp@udp@[39040,49264,65534][64542,64542,64542]<br />
<a href="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-2.jpg"><img class="alignnone size-medium wp-image-365" title="炫色2" src="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-2-300x236.jpg" alt="炫色2" width="300" height="236" /></a></p>
<p># DO NOT EDIT THIS FILE!  It was created by Ethereal<br />
@Linksys Device@eth.addr contains 00:04:5A || eth.addr contains 00:06:25 || eth.addr contains 00:0C:41 || eth.addr contains 00:0F:66@[65535,50372,0][0,0,0]<br />
@d-Link Device@eth.addr contains 00:05:5D || eth.addr contains 00:0D:88 || eth.addr contains 00:0F:3D || eth.addr contains 00:00:50:BA || eth.addr contains 00:80:C8@[65535,50372,0][0,0,0]<br />
@Netgear Device@eth.addr contains 00:09:5B@[65535,50372,0][0,0,0]<br />
@Unwanted Protocals@spx || ipx || aarp || aim@[65535,65535,65535][65535,0,0]<br />
@SpanningTree Topology  Change@stp.type == 0&#215;80@[0,0,0][65535,63222,0]<br />
@HSRP state change@ hsrp.state != 8 &#038;&#038; hsrp.state != 16@[0,0,0][65535,63222,0]<br />
@ospf state change@ ospf.msg != 1@[0,0,0][65535,63222,0]<br />
@MS Master Browser election@browser.election.desire.master@[62965,63222,42148][65535,0,0]<br />
@NW Traf@stp.protocol || cdp || hsrp || vrrp || ospf || bgp || eigrp || rip || rtmp || eth.addr == 01:00:0c:cc:cc:cc@[43573,39932,39932][0,0,0]<br />
@IP Time-to-Live < 5@ip.ttl < 5@[63736,26728,34952][0,0,0]<br />
@TCP Analysis@tcp.analysis.flags@[63736,26728,34952][0,0,0]<br />
@Bad IP CRC@ip.checksum_bad@[63736,26728,34952][65535,65535,65535]<br />
@Bad UDP CRC@udp.checksum_bad@[63736,26728,34952][65535,65535,65535]<br />
@Bad TCP CRC@tcp.checksum_bad@[63736,26728,34952][65535,65535,65535]<br />
@TCP Seg Overlap@tcp.segment.overlap@[63736,26728,34952][65535,65535,65535]<br />
@TCP Seg Conflict@tcp.segment.overlap.conflict@[63736,26728,34952][65535,65535,65535]<br />
@TCP Long Frag Seg@tcp.segment.toolongfragment@[63736,26728,34952][65535,65535,65535]<br />
@SYN@tcp.flags &#038; 0x02@[36663,59478,37540][607,3474,607]<br />
@RST@tcp.flags &#038; 0x04@[61717,47055,24609][0,0,0]<br />
@FIN@tcp.flags &#038; 0x01@[56433,42925,57086][0,0,0]<br />
@HTTP@http@[30428,62589,62589][0,0,0]<br />
@TCP@tcp@[57455,60592,62451][0,0,0]<br />
@UDP@udp@[52264,63736,63736][0,0,0]<br />
@arp@arp@[65140,65535,49151][0,2987,65535]<br />
<a href="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-3.jpg"><img class="alignnone size-medium wp-image-366" title="炫色3" src="http://blog.axqd.net/wp-content/uploads/2008/06/o_colorethereal-3-300x280.jpg" alt="炫色3" width="300" height="280" /></a></p>
<p>选一款喜欢的，然后开始绚色生活吧！<br />
不过要是阿梅能帮忙配配色就更好了，呵呵！（题外）</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="3" border="0"  style="clear: both;">
    
    <tr>
        <td colspan="4"><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
        <tr>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important;">
                    <a target="_blank" title="终于在forum里面贴起图了" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F08%2F15%2Fpaste-pics-in-forum%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">终于在forum里面贴起图了</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="Near Future…" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fnear-future%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559551.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">Near Future…</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="附张魔兽的图图上来-和阿楠练的新号" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F05%2F17%2Fwow%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/site_images/2010/12/24/1559539.jpg" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">附张魔兽的图图上来-和阿楠练的新号</font>
                    </a>
                </td>
                <td width="102" valign="top" style="padding: 5px !important; margin: 0 !important; border-left: 1px solid #DDDDDD !important;">
                    <a target="_blank" title="IIS 5安全清单" style="text-decoration: none !important; cursor: pointer !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F10%2F18%2Fcheck-list-for-iis5%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F">
                        <img style="margin: 0 !important; padding: 2px !important; border: 1px solid #DDDDDD !important; width: 96px !important; height: 96px !important;" src="http://static.wumii.com/images/blogWidget/wordpress_default.gif" width="96px" height="96px" /><br />
                        <font size="-1" color="#333333" style="display: block !important; line-height: 15px !important; width: 102px !important; font: 12px/15px arial !important; height: 60px !important; margin: 3px 0 0 0 !important; padding: 0 !important; overflow: hidden !important;">IIS 5安全清单</font>
                    </a>
                </td>
        </tr>
    
    <tr>
        <td colspan="4" align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2004/11/03/color-your-life/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>FeedDemon醒目</title>
		<link>http://blog.axqd.net/2004/06/25/feed-demon/</link>
		<comments>http://blog.axqd.net/2004/06/25/feed-demon/#comments</comments>
		<pubDate>Fri, 25 Jun 2004 09:34:09 +0000</pubDate>
		<dc:creator>axqd</dc:creator>
				<category><![CDATA[挨踢技术]]></category>
		<category><![CDATA[design]]></category>
		<category><![CDATA[feed-daemon]]></category>

		<guid isPermaLink="false">http://blog.axqd.net/?p=320</guid>
		<description><![CDATA[FeedDemon是一款Blog阅读工具，主要特点： 1.使用简便，易学易上手 2.更加明了的显示更新 3.帅气&#8230;ft&#8230; 4.看UESTC的新闻，可是顶呱呱的哦&#8230; http://www.news.uestc.edu.cn/RSS.aspx 5.群组报纸,把新的内容整合为一张报纸,一目了然 6.过滤器,比如不想看到XX的&#8230;就可以&#8230; 7.回复、管理、看回复都是直接从FeedDemon的浏览器点击标题访问Blog页面进行（依然在FeedDemon内部，所以还是一般拉，实在不行就用WBEditor），不是很方便。 不过以上这个缺点经过一段时间的使用，会渐渐适应(比如我)，如今FeedDemon越用越顺手了，特此强烈推荐： 在154的ftp的soft提供下载，好不容易才找到破解哦&#8230; 目前已更新为最新版本1.10 相关连接: http://www.feeddemon.com 下面是其介绍: Simplify the way you read the web! FeedDemon enables you to quickly read and gather information from hundreds of web sites &#8211; without having to visit them. Don&#8217;t waste any more time checking your favorite web sites for updates. Instead, [...]<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F05%2F19%2Fwb-is-useless%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WB真没用</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">假期意识流</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">绚色你的生活</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F06%2F13%2Fgraduation-design%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">怨念的本科毕业设计</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></description>
			<content:encoded><![CDATA[<p>FeedDemon是一款Blog阅读工具，主要特点：</p>
<p>1.使用简便，易学易上手<br />
2.更加明了的显示更新<br />
3.帅气&#8230;ft&#8230;<br />
4.看UESTC的新闻，可是顶呱呱的哦&#8230;</p>
<p>http://www.news.uestc.edu.cn/RSS.aspx</p>
<p>5.群组报纸,把新的内容整合为一张报纸,一目了然<br />
6.过滤器,比如不想看到XX的&#8230;就可以&#8230;<br />
7.回复、管理、看回复都是直接从FeedDemon的浏览器点击标题访问Blog页面进行（依然在FeedDemon内部，所以还是一般拉，实在不行就用WBEditor），不是很方便。<br />
不过以上这个缺点经过一段时间的使用，会渐渐适应(比如我)，如今FeedDemon越用越顺手了，特此强烈推荐：</p>
<p>在154的ftp的soft提供下载，好不容易才找到破解哦&#8230;<br />
目前已更新为最新版本1.10</p>
<p>相关连接:</p>
<p>http://www.feeddemon.com</p>
<p>下面是其介绍:</p>
<p>Simplify the way you read the web!<br />
FeedDemon enables you to quickly read and gather information from hundreds of web sites &#8211; without having to visit them. Don&#8217;t</p>
<p>waste any more time checking your favorite web sites for updates. Instead, use FeedDemon and make them come to you.</p>
<p>FeedDemon makes RSS/Atom feeds as easy to access as your email.</p>
<p>Pre-configured with dozens of popular feeds, so you can start using it right away<br />
Newspaper displays news items from dozens of sites in a single web page for easy reading<br />
Watches collect news items containing specific words or phrases, alerting you to items of interest so you don&#8217;t have to look</p>
<p>for them<br />
News Bins store your favorite news items for future reference<br />
Integration with Feedster and other popular RSS search engines<br />
Built-in tabbed browser for surfing the web within FeedDemon<br />
Support for Atom 0.3 and all versions of RSS<br />
Easy to use for beginners, yet powerful enough to please the most sophisticated news junkie<br />
FeedDemon is a native Windows application, so it runs fast and does NOT require the bulky .NET runtime.</p>
<p>FeedDemon™ 1.10 Release Notes<br />
Copyright © 2003-2004 Bradbury Software, LLC<br />
Build date: June 3, 2004<br />
What&#8217;s New in FeedDemon 1.10<br />
Added: Basic support for Atom 0.3 feeds<br />
Added: &#8220;Update All Channel Groups&#8221; (Shift+Ctrl+F5) added to Tools > Update menu<br />
Added: Search box added to channel bar, which enables searching downloaded news items in the current group or all groups.</p>
<p>Right clicking on the search results displays a context menu which includes options to convert the search results to a watch</p>
<p>or a news bin.<br />
Added: Web search added to browser toolbar<br />
Added: Generic &#8220;Date&#8221; column to news item list, which contains pubDate if it exists, received date otherwise. This new column</p>
<p>is the only date column shown by default &#8211; both the &#8220;received&#8221; and &#8220;published&#8221; columns are hidden. This also affects the</p>
<p>default sorting and grouping (both are now set to the generic date), which may change how you&#8217;re used to seeing news items</p>
<p>sorted.<br />
Added: The &#8220;Group By&#8221; selection now enables grouping news items by title. Items with the same title, or items with the same</p>
<p>title preceeded by RE:, are grouped together. Use this along with the new &#8220;Forum&#8221; style when browsing feeds generated from</p>
<p>newsgroups or online forums.<br />
Added: Support for IE&#8217;s form auto-completion inside FeedDemon&#8217;s browser<br />
Added: Shift+Ctrl+H shortcut for &#8220;hide read news items.&#8221; Note that you&#8217;ll need to assign this shortcut yourself if you</p>
<p>previously customized FeedDemon&#8217;s shortcuts.<br />
Added: &#8220;Match all keywords&#8221; option added to watches. When enabled, only news items containing all keywords will be matched.<br />
Added: After creating a watch channel, you are now asked if you&#8217;d like to run the watch on existing news items<br />
Added: Support for the &#8220;feed URI scheme&#8221; (feed:// protocol). At startup, FeedDemon prompts to make it the default aggregator</p>
<p>if it&#8217;s not the registered application for the feed protocol. This prompt may be disabled on the General tab in Options.<br />
Added: Double-clicking a news item now browses to its link. If you have &#8220;Open external links in default browser&#8221; selected,</p>
<p>this will launch the page in your default browser, otherwise it will show in FeedDemon. If <Ctrl> is held down, the opposite</p>
<p>will occur.<br />
Added: &#8220;Forum&#8221; newspaper style<br />
Added: &#8220;Mega&#8221; newspaper styles (3)<br />
Added: &#8220;Popbox&#8221; newspaper styles (2)<br />
Added: &#8220;Nightfall&#8221; newspaper style<br />
Added: &#8220;Manage cache&#8221; added to File menu, which enables moving FeedDemon&#8217;s cache folder<br />
Added: Support for XP SP2&#8242;s local machine zone lockdown<br />
Added: FeedDemon now enables drag-and-drop of URLs onto its main window. If the URL is a newsfeed, then FeedDemon will show</p>
<p>the &#8220;New Channel&#8221; wizard; if it&#8217;s an OPML file, it will show the &#8220;New Group&#8221; wizard; otherwise, it will navigate to that URL</p>
<p>in the integrated browser.<br />
Added: Drag-and-drop reordering of channel bar groups<br />
Added: Desktop alert can now be dragged<br />
Added: &#8220;Show validation errors in new channels&#8221; added to General page in Options. When this is enabled (which it is by</p>
<p>default), FeedDemon will check new channels for well-formedness and display an error dialog if any problems are found. This</p>
<p>dialog includes a link to the Feed Validator, so authors can check their feeds for additional problems. Note that this dialog</p>
<p>doesn&#8217;t prevent subscribing to a feed &#8211; it simply warns that the feed contains errors which might affect how FeedDemon</p>
<p>displays it.<br />
Added: FeedDemon&#8217;s popup blocker can now be overridden by holding down <Ctrl><br />
Added: Support for BlogJet, BlogWizard and ecto (1.0 RC4 or later) as &#8220;BlogThis&#8221; tools<br />
Added: Timeout setting added to connection options<br />
Added: &#8220;Import OPML File&#8221; added to File menu (this was possible in 1.0, but wasn&#8217;t explicit)<br />
Changed: The default newspaper filter is now &#8220;Unread News&#8221; instead of &#8220;Today&#8217;s News&#8221;<br />
Changed: The default value for automatically marking items as read has changed from five seconds to three seconds<br />
Changed: The cleanup wizard now remembers your selections<br />
Changed: Hiding the filter bar now removes the keyword filter<br />
Changed: The max # of channels per group has been increased from 500 to 999<br />
Changed: Rearranged browser-related toolbuttons to accomodate new &#8220;Web Search&#8221;<br />
Changed: Removed &#8220;View address bar&#8221; (address bar is now always visible)<br />
Changed: In previous releases the newspaper filter would be hidden when not applicable, but now it&#8217;s simply disabled<br />
Changed: When a channel fails to update due to a connection problem (404, etc.), the error icon is no longer removed after</p>
<p>clicking it in the channel bar<br />
Changed: Pressing Enter while typing keywords into a watch now adds the current entry to the list of keywords<br />
Changed: The collapsed/expanded state of channel bar groups is now retained<br />
Changed: The system tray &#8220;info balloon&#8221; has been replaced with an Outlook-style desktop alert<br />
Changed: Trial version now allows 20 days rather than 30 uses<br />
Changed: OPML files that are missing type=&#8221;rss&#8221; are still imported, so long as each outline node uses the xmlUrl attribute.<br />
Fixed: Cleanup wizard fails to remove news items<br />
Fixed: &#8220;CDATA error&#8221; in newspaper with feeds containing a null (hex 00) character<br />
Fixed: EOF error when showing newspaper if cache folder contains a single quote or ampersand<br />
Fixed: News item sort order not retained<br />
Fixed: Auto-discovery shows incorrect newsfeed URL when browsing pages which contain Google AdSense ads<br />
Fixed: Local feeds are always re-parsed even when they haven&#8217;t been modified since the last update<br />
Fixed: If a channel is deleted, the summary will contain a &#8220;ghost&#8221; of that channel if FeedDemon is abnormally shutdown<br />
Fixed: Read items sporadically being marked as unread<br />
Fixed: Double-clicking a news item when the preview is hidden doesn&#8217;t re-display the preview<br />
Fixed: Newspaper filter dropdown doesn&#8217;t appear after moving cache to a UNC folder<br />
Fixed: Current news item doesn&#8217;t appear in browser after clicking splitter to unhide the browser<br />
Fixed: Search channels extend beyond height of &#8220;New Search Channel&#8221; dialog<br />
Fixed: Access violation when clicking newspaper filter selection immediately after typing a URL in the address bar<br />
Fixed: IntelliPoint 4.x &#8220;Scroll one page at a time&#8221; (WHEEL_PAGESCROLL) not supported in news item list<br />
Fixed: Watches fail to treat the | character as a word delimiter when matching whole words only<br />
Fixed: Channel bar hints show last update date/time as GMT instead of local date/time<br />
Fixed: FeedDemon fails to detect the <title> in OPML files whose titles are contained in CDATA sections<br />
Fixed: Favorites menu incorrectly draws items containing an ampersand<br />
Fixed: FeedDemon resets the language the first time a new beta is started, but the welcome wizard still shows the previously</p>
<p>-selected language<br />
Fixed: FeedDemon incorrectly handles OPML links which use the feed:// protocol<br />
Fixed: Hiding browser leaves browser toolbar showing<br />
Fixed: Feeds with line feeds in their titles can&#8217;t be added<br />
Fixed: Back/forward buttons aren&#8217;t correctly handled with all mouse drivers<br />
Fixed: Double-clicking system tray icon when alert is showing doesn&#8217;t bring FeedDemon to the front<br />
Fixed: Address bar shows incorrect URL after prolonged use with multiple browser tabs<br />
Fixed: After right-clicking on empty browser tab to show context menu, context menu appears again when left-clicking anywhere</p>
<p>else<br />
Fixed: Single key reading with spacebar doesn&#8217;t work with search results<br />
Fixed: Items in search results don&#8217;t show their source channel name in FeedDemon&#8217;s newspaper<br />
Fixed: Channel bar context menu doesn&#8217;t display when clicking a group caption<br />
Fixed: Title not extracted from entries in Atom feeds<br />
Fixed: Search box disappears after clicking &#8220;Search&#8221; button with no search keyword specified<br />
Fixed: Context menu doesn&#8217;t appear when right-clicking on search textbox<br />
Fixed: Group captions in the channel bar always use MS Sans Serif font<br />
Fixed: Clicking a feed validator link displays the &#8220;New Channel&#8221; wizard<br />
Fixed: Refresh toolbutton fails to refresh the browser when viewing an external site<br />
Fixed: pipe characters in channel names cause channel bar tooltip to be truncated<br />
Fixed: When current month is January, the &#8220;Last month&#8221; filter fails to show news items published in December. Likewise, the</p>
<p>&#8220;Last week&#8221; filter fails to show items published the last week of December when it&#8217;s currently the first week in January.<br />
Fixed: Max HTTP connections setting (Tools > Options > Connection) doesn&#8217;t register keyboard input<br />
Fixed: Synchronize with OPML doesn&#8217;t show or use htmlUrl, causing channel
<link> to be left empty<br />
Fixed: Synchronize with OPML always considers newsfeed URLs containing &amp; as new<br />
Fixed: When using XP&#8217;s classic theme, or when running on a version of Windows prior to XP, the channel bar and the news item</p>
<p>list use different scrollbar styles<br />
Fixed: When creating a new channel group, the OPML URL is always set to the same URL as the last time the dialog was shown,</p>
<p>regardless of whether a URL is in the clipboard<br />
Fixed: Channel properties shows overlapped text on large font displays<br />
Fixed: Deleting a channel group fails with read-only OPML files<br />
Fixed: Resizing main window causes browser splitter to jump to right side<br />
Fixed: Web pages that use JavaScript to resize themselves or hide their scrollbars may display incorrectly in FeedDemon<br />
Fixed: Garbage in status bar and other UI elements on Japanese Windows<br />
Fixed: FeedDemon doesn&#8217;t restore from a minimized window when called by another application</p>
<p>&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;</p>
<p>Known Issues<br />
FeedDemon&#8217;s date calculations are ISO 8601 compliant, which means that they treat Monday as the first day of the week. As a</p>
<p>result, grouping news items by date may show Sunday of the current week as &#8220;Last Week.&#8221;<br />
Although FeedDemon supports Unicode (see below), Unicode characters in channel titles may not display correctly in</p>
<p>FeedDemon&#8217;s channel bar.<br />
Since Windows 98 and Windows ME don&#8217;t fully support Unicode, FeedDemon must be run on Windows 2000, Windows XP or Windows</p>
<p>2003 for it to correctly display Unicode newsfeeds.<br />
In rare cases, JavaScript bugs in Web pages may result in FeedDemon displaying a &#8220;Floating point exception&#8221; error message.</p>
<p>This error message may prevent these pages from being displayed in FeedDemon&#8217;s browser, but it is otherwise harmless.<br />
FeedDemon internally maps elements in Atom feeds to RSS, so features of Atom newsfeeds that aren&#8217;t available in RSS may not</p>
<p>be supported.<br />
Technical Support<br />
Please refer to the following online resources for the latest technical support information:<br />
Support Home &#8211; http://www.bradsoft.com/support/<br />
Frequently Asked Questions (FAQ) &#8211; http://www.bradsoft.com/support/faq/<br />
Support Forums &#8211; http://www.bradsoft.com/forums/<br />
Minimum System Requirements<br />
300MHz PC running Windows 98, ME, 2000, XP or 2003<br />
Internet Explorer 6<br />
64MB RAM or OS minimum (whichever is greater)</p>
<table class="wumii-related-items" cellspacing="0" cellpadding="2" border="0" width="100%" style="clear: both;">
    
    <tr>
        <td ><b><font size="-1"  style="display: block !important; padding: 20px 0 5px !important;">无觅猜您也喜欢：</font></b></td>
    </tr>
    
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F05%2F19%2Fwb-is-useless%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">WB真没用</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2005%2F02%2F26%2Fvacation%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">假期意识流</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2004%2F11%2F03%2Fcolor-your-life%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">绚色你的生活</font>
                    </a>
                </td>
            </tr>
            <tr>
                <td style="margin: 0 !important; padding: 0 !important; line-height: 20px !important;">
                    <img border="0" src="http://static.wumii.com/images/widget/widget_solidPoint.gif">
                    <a target="_blank" style="text-decoration: none !important;" href="http://app.wumii.com/ext/redirect.htm?url=http%3A%2F%2Fblog.axqd.net%2F2007%2F06%2F13%2Fgraduation-design%2F&from=http%3A%2F%2Fblog.axqd.net%2F2004%2F06%2F25%2Ffeed-demon%2F">
                        <font size="-1" color="#333333" style="line-height: 1.65em; font-size: 12px !important;">怨念的本科毕业设计</font>
                    </a>
                </td>
            </tr>
    
    <tr>
        <td  align="right">
            <a style="text-decoration: none !important;" href="http://www.wumii.com/widget/relatedItems.htm" target="_blank" title="无觅相关文章插件">
                <font size="-1" color="#bbbbbb" style="display: block !important; font-family: arial !important; padding: 5px 0 !important; font-size: 12px !important; color: #bbb !important;">无觅</font>
            </a>
        </td>
    </tr>
</table>]]></content:encoded>
			<wfw:commentRss>http://blog.axqd.net/2004/06/25/feed-demon/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

