<?xml version="1.0" encoding="UTF-8" ?>
<rss version="2.0">
<channel>
<title><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></title> 
<link>http://www.jackxiang.com/index.php</link> 
<description><![CDATA[赢在IT，Playin' with IT,Focus on Killer Application,Marketing Meets Technology.]]></description> 
<language>zh-cn</language> 
<copyright><![CDATA[向东博客 专注WEB应用 构架之美 --- 构架之美，在于尽态极妍 | 应用之美，在于药到病除]]></copyright>
<item>
<link>http://www.jackxiang.com/post//</link>
<title><![CDATA[[awk处理]这是cgi和模板的对应关系]]></title> 
<author>jack &lt;xdy108@126.com&gt;</author>
<category><![CDATA[WEB2.0]]></category>
<pubDate>Wed, 22 Aug 2007 07:57:18 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//</guid> 
<description>
<![CDATA[ 
	cat cpp.txt &#124; awk -F " " '&#123;print $2&#125;' &#124; awk -F "&#124;" '&#123;print "cat "$1"&#124;grep WebMailTmpl >>/tmp/" $1&#125;'<br/><br/><br/>ls -lsa &#124; grep sample &#124; awk '&#123;print $10&#125;' &#124; awk -F ".s" '&#123;print "mv " $1 ".sample "$1&#125;'&#124;sh<br/><br/>==> actions.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"actions");<br/><br/>==> addjunk.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"addjunk");<br/><br/><br/>==> autoavset.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl, "autoavset");<br/><br/><br/>==> changeusrpsw.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl &nbsp; tmpl;WebMailTmpl(tmpl,"changeusrpsw");<br/><br/>==> chkmsgs.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;if(folder=="new") WebMailTmpl(tmpl,"chkmsgs_new");<br/> &nbsp; &nbsp; &nbsp; &nbsp;else if(folder=="tmp") WebMailTmpl(tmpl,"chkmsgs_tmp");<br/> &nbsp; &nbsp; &nbsp; &nbsp;else if(folder=="out") WebMailTmpl(tmpl,"chkmsgs_out");<br/> &nbsp; &nbsp; &nbsp; &nbsp;else if(folder=="cur") WebMailTmpl(tmpl,"chkmsgs_cur");<br/> &nbsp; &nbsp; &nbsp; &nbsp;else if(folder=="sinajunk") WebMailTmpl(tmpl,"chkmsgs_junk");<br/> &nbsp; &nbsp; &nbsp; &nbsp;else WebMailTmpl(tmpl,"chkmsgs");<br/><br/>==> chknewmsgs.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"chknewmsgs");<br/><br/>==> compose.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"mordcompose");<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"compose");<br/><br/><br/>==> favorite.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"favorite");<br/><br/>==> fax.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"send_ok");<br/><br/>==> folder.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"folder_add");<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"folder_add");<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"folder_list");<br/> <br/>==> folderfunc.cpp <==<br/>// modi global WebMailTmpl<br/><br/>==> global.cpp <==<br/>void &nbsp; &nbsp;WebMailTmpl(CTmpl& tmpl,LPCSTR tmplname) &#123;<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"alert");<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"alert2");<br/><br/>==> junkmail.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl, "junkmail");<br/><br/>==> mail.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"sinamail");<br/><br/>==> mailboxinfo.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"mailboxinfo");<br/><br/>==> mailfilter.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"mailfilter");<br/><br/>==> mailrv.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"mailrv");<br/><br/>==> mailwarn.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"warn");<br/><br/><br/>==> pop.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl &nbsp;tmpl;WebMailTmpl(tmpl,"pop_add");<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"pop_add");<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"pop_list");<br/><br/>==> prof.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"profile");<br/><br/>==> rdMail.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl, tmplfn);<br/><br/>==> redirect.cpp <==<br/><br/>==> refuse.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"refuse");<br/><br/>==> reply.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"reply");<br/><br/>==> scompose.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"smordcompose");<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"scompose");<br/><br/>==> search.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"search_result");<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"search");<br/><br/>==> sendmsg.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"draft_save");<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"send_ok");<br/><br/>==> setautocc.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl &nbsp; tmpl;WebMailTmpl(tmpl,"setautocc");<br/><br/>==> sizeandfilter.cpp <==<br/><br/>==> srdMail.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;CTmpl tmpl;WebMailTmpl(tmpl,"smail_body");<br/><br/>==> ssendmsg.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"send_ok");<br/><br/>==> ssetting.cpp <==<br/> &nbsp; &nbsp; &nbsp; &nbsp;WebMailTmpl(tmpl,"ssetting");<br/>
]]>
</description>
</item><item>
<link>http://www.jackxiang.com/post//#blogcomment</link>
<title><![CDATA[[评论] [awk处理]这是cgi和模板的对应关系]]></title> 
<author> &lt;user@domain.com&gt;</author>
<category><![CDATA[评论]]></category>
<pubDate>Thu, 01 Jan 1970 00:00:00 +0000</pubDate> 
<guid>http://www.jackxiang.com/post//#blogcomment</guid> 
<description>
<![CDATA[ 
	
]]>
</description>
</item>
</channel>
</rss>