<?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>Becomin' Charles &#187; tools</title>
	<atom:link href="http://sexywp.com/tags/tools/feed" rel="self" type="application/rss+xml" />
	<link>http://sexywp.com</link>
	<description>Building another myself~~</description>
	<lastBuildDate>Thu, 29 Jul 2010 15:10:52 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
	
<!-- Start Of Script Generated By WP-PostViews Plus -->
<script type='text/javascript' src='http://sexywp.com/cc/wp-includes/js/jquery/jquery.js?ver=1.4.2'></script>
<script type="text/javascript">
/* <![CDATA[ */
jQuery.ajax({type:'GET',url:'http://sexywp.com/cc/wp-content/plugins/wp-postviews-plus/postviews_plus.php',data:'todowppvp=add&type=tag&id=122_1',cache:false,dataType:'script'});
/* ]]> */
</script>
<!-- End Of Script Generated By WP-PostViews Plus -->
	<item>
		<title>WordPress插件：选项查看器</title>
		<link>http://sexywp.com/plugin-options-inspector.htm</link>
		<comments>http://sexywp.com/plugin-options-inspector.htm#comments</comments>
		<pubDate>Wed, 08 Apr 2009 08:20:47 +0000</pubDate>
		<dc:creator>Charles</dc:creator>
				<category><![CDATA[Plugins]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[my works]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://sexywp.com/plugin-options-inspector.htm</guid>
		<description><![CDATA[选项查看器是一款能够查看WordPress选项的工具，使用它，你可以浏览每个存储到数据库的选项的值，串行化的数据会恢复其原貌，此外，您可以使用PHP语句来微调选项的值。这是一款开发调试辅助工具。Options Inspector is a tool with which you can list out all the options in your database, view a certain one in detail, and alter exactly a certain part of option value. It is mainly designed for plugin developers and theme designers.]]></description>
			<content:encoded><![CDATA[<p>Options Inspector is a tool with which you can list all the options in your database, view a certain one in detail, even its data is serialized, and alter exactly a certain part of option value. It is mainly designed for plugin developers and theme designers.</p>
<p> <span id="more-335"></span>
</p>
<p>When I am debugging a plugin, I always want to konw, whether the options in this plugin are saved exactly or not. Usually, I add var_dump statement in my source <a href="http://sexywp.com/tags/code" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with code">code</a> to print the options out. Everything looks good, but when I finished my job, it bothered me a lot to remove this debug statements. What annoyed me even more is that when I change my mind and changed the structure of the option, I must use additional statement to alter the option or directly use SQL in phpMyAdmin. Finally, I created this tool to assist the plugin <a href="http://sexywp.com/tags/development" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with development">development</a>.</p>
<p><strong>Features</strong>:</p>
<ul>
<li>List all options order by option_id.</li>
<li>Search option through keyword.</li>
<li>View unsierialized value of options.</li>
<li>Modify option use PHP <a href="http://sexywp.com/tags/code" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with code">code</a>.</li>
</ul>
<p><strong>Demo</strong>: (Click to see the full size.)</p>
<p><a href="http://picasaweb.google.com/lh/photo/YrsYFnG7FbRWZUArgNwFOw?feat=embedwebsite"><img src="http://lh5.ggpht.com/_QYicOeu89Bk/SdxZnJK0e8I/AAAAAAAABTc/QNlqGHvAGGs/s400/Options-Inspector-Screenshot.png" /></a></p>
<p><strong>Download</strong>: <a href="http://wordpress-tools-box.googlecode.com/files/options-inspector_v1.0.1.zip" target="_blank">Options Inspector v1.0.1</a></p>
<p>选项查看器是一款开发辅助工具，用于显示，修改和删除选项。免去了使用打印语句和使用phpMyAdmin的调试后台选项的麻烦。愿大家能够更轻松地开发<a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a>插件和主题。</p>
<p>一般，不建议您在您的主力博客上尝试该插件的修改和删除功能。</p>
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----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-----END PKCS7-----">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
            <img alt="" border="0" src="https://www.paypal.com/zh_XC/i/scr/pixel.gif" width="1" height="1"><br />
        </form>

	标签：<a href="http://sexywp.com/tags/development" title="development" rel="tag nofollow">development</a>, <a href="http://sexywp.com/tags/my-works" title="my works" rel="tag nofollow">my works</a>, <a href="http://sexywp.com/tags/plugins" title="plugins" rel="tag nofollow">plugins</a>, <a href="http://sexywp.com/tags/tools" title="tools" rel="tag nofollow">tools</a>, <a href="http://sexywp.com/tags/wordpress" title="WordPress" rel="tag nofollow">WordPress</a><br />
]]></content:encoded>
			<wfw:commentRss>http://sexywp.com/plugin-options-inspector.htm/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Java的开源XML工具包dom4j</title>
		<link>http://sexywp.com/dom4j-xml-toolkit-java.htm</link>
		<comments>http://sexywp.com/dom4j-xml-toolkit-java.htm#comments</comments>
		<pubDate>Mon, 30 Mar 2009 16:12:59 +0000</pubDate>
		<dc:creator>Charles</dc:creator>
				<category><![CDATA[工作相关]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[code examples]]></category>
		<category><![CDATA[java]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://sexywp.com/?p=310</guid>
		<description><![CDATA[dom4j是一个使用简便的开源类库，专门用来在Java平台上处理XML，XPath和XSLT，该类库使用了Java Collections Framework，完全支持DOM，SAX和JAXP。

dom4j为一个XML文档在内存中创建了一个树对象模型。 它提供了一组强大易用的API，通过XPath和XSLT来处理、操纵或者遍历XML文件，此外其中还集成了SAX、JAXP和DOM。

为了提供高度可配置的实现策略，dom4j基于接口设计。只需要提供一个DocumentFactory实现，您就可以创建您自己的XML树实现。这种设计，使得在扩展dom4j以定制您需要的特性时，能非常简单地重用dom4j的代码。

本文档将通过代码实例的方式为您提供一个dom4j的实践指南。在实验室项目中，这个开源工具包给我的工作带来了很大的便利，在这篇文章中，我将对项目中用到dom4j完成的任务做个总结，以期和互联网上的众多文档能够互相补充。

]]></description>
			<content:encoded><![CDATA[<p><img style="display: inline; margin-left: 0px; margin-right: 0px" alt="The hierarchy of the interfaces in dom4j libaray" src="http://lh6.ggpht.com/_QYicOeu89Bk/SafPc8W7V6I/AAAAAAAABJo/pe3JBdV_QJg/s400/dom4j-interface-hierarchy.png" align="left"></p>
<p><strong>dom4j</strong>是一个使用简便的开源类库，专门用来在<a href="http://sexywp.com/tags/java" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with java">Java</a>平台上处理<abbr title="eXtensible Markup Language">XML</abbr>，<abbr title="XML Path Language">XPath</abbr>和<abbr title="eXtensible Stylesheet Language Transformation">XSLT</abbr>，该类库使用了<a href="http://sexywp.com/tags/java" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with java">Java</a> Collections Framework，完全支持<abbr title="Document Object Model">DOM</abbr>，<abbr title="Simple API for XML">SAX</abbr>和<abbr title="Java API for XML Processing">JAXP</abbr>。</p>
<p><strong>dom4j</strong>为一个XML文档在内存中创建了一个树对象模型。 它提供了一组强大易用的API，通过XPath和XSLT来处理、操纵或者遍历XML文件，此外其中还集成了SAX、JAXP和DOM。</p>
<p>为了提供高度可配置的实现策略，<strong>dom4j</strong>基于接口设计。只需要提供一个DocumentFactory实现，您就可以创建您自己的XML树实现。这种设计，使得在扩展dom4j以定制您需要的特性时，能非常简单地重用dom4j的代码。</p>
<p>本文档将通过代码实例的方式为您提供一个dom4j的实践指南。在实验室项目中，这个开源工具包给我的工作带来了很大的便利，在这篇文章中，我将对项目中用到dom4j完成的任务做个总结，以期和互联网上的众多文档能够互相补充。</p>
</p>
<p><span id="more-310"></span>
</p>
<h3>读取XML文件</h3>
<p>一般性地读取XML文件，在dom4j中操作起来将非常简单。</p>
</p>
<pre><span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> readXMLSimple(File file) <span style="color: #0000ff">throws</span> DocumentException{
    <span style="color: #008000">//使用SAXReader读取XML文件</span>
    SAXReader sr = <span style="color: #0000ff">new</span> SAXReader();
    Document doc = sr.read(file);

    <span style="color: #008000">//使用XPath遍历一个XML文件的结点</span>
    Element root = doc.getRootElement();
    List entryList1 = root.selectNodes("<span style="color: #8b0000">entry</span>");
    <span style="color: #008000">//或者</span>
    List entryList2 = doc.selectNodes("<span style="color: #8b0000">/feed/entry</span>");
}</pre>
<p>&nbsp;</p>
<h3>创建一个XML文档并记录到磁盘上</h3>
<p>创建一个XML文件，并将其写到磁盘上，也可以使用非常简介的代码来完成，假设我们将上一个代码范例中得到的entry节点的列表，插入到一个新建的XML文档中，然后使用优美的缩进格式保存在磁盘上，我们可以像下面这样编码：</p>
<pre><span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> createXMLSimple(List entries, File f)
        <span style="color: #0000ff">throws</span> FileNotFoundException,
               UnsupportedEncodingException,
               IOException{
    Document doc = DocumentHelper.createDocument();
    doc.addElement("<span style="color: #8b0000">feed</span>");
    Element root = doc.getRootElement();
    Iterator i = entries.iterator();
    <span style="color: #0000ff">while</span>(i.hasNext()){
       <span style="color: #008000">//从别的Dom中得到的Element都有其本身</span>
        <span style="color: #008000">//的root，所以必须创建副本才能插入另一个doc内</span>
        root.add(((Element)i.next()).createCopy());
    }
    FileOutputStream os = <span style="color: #0000ff">new</span> FileOutputStream(f);
    OutputFormat of = OutputFormat.createPrettyPrint();
    XMLWriter xmlw = <span style="color: #0000ff">new</span> XMLWriter(os,of);
    xmlw.write(doc);
}</pre>
<p>&nbsp;</p>
<h3>读取一个根节点带有默认Namespace的XML</h3>
<p>如果我们刚才的代码范例读取的是符合Atom1.0标准的Feed，那么，根节点带有default namespace的http://www.w3.org/2005/Atom。读取这样的XML文档稍微有点麻烦，网上的代码很多，但是很多都不好用，我总结下来，基本上没有办法像你想的那么干净。</p>
<pre><span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> treatDefaultNamespace(File f)
        <span style="color: #0000ff">throws</span> DocumentException{
    SAXReader sr = <span style="color: #0000ff">new</span> SAXReader();
    Map ns = <span style="color: #0000ff">new</span> HashMap();
    ns.put("<span style="color: #8b0000">atom</span>", "<span style="color: #8b0000">http://www.w3.org/2005/Atom</span>");
    sr.getDocumentFactory().setXPathNamespaceURIs(ns);
    <span style="color: #008000">//Element接口支持迭代器，在这里顺便展示一下</span>
    Element root = sr.read(f).getRootElement();
    Iterator i = root.elementIterator();
    <span style="color: #0000ff">while</span>(i.hasNext()){
        Element e = (Element) i.next();
        <span style="color: #008000">//一旦指定了Namespace，则使用XPath的时候必须带上</span>
         <span style="color: #008000">//即便是默认的Namespace也一样，不过前面那个名字</span>
         <span style="color: #008000">//可以尽可能写得短，编码的时候方便，比如改成a</span>
        String title = e.selectSingleNode("<span style="color: #8b0000">atom:title</span>").getText();
        System.out.println(title);
    }
}</pre>
<p>&nbsp;</p>
<h3>创建一个根节点带有默认Namespace的XML</h3>
<p>创建一个带有default namespace的XML的方法，相当的tricky，因为你创建一个Element的方法有很多种，可以通过add方法，默认的建，也可以使用DocumentHelper对象来创建，不过，每种方法给你的结果都不同，往往让你大吃一惊。其他的那些方法，和得到的多种结果，大家可以在网上看，很多。我就提供一个能创建“干净”的XML的代码范例。</p>
<pre><span style="color: #0000ff">public</span> <span style="color: #0000ff">void</span> createXMLWithDefaultNamespace(List entries){
    Document d = DocumentHelper.createDocument();
    d.addElement("<span style="color: #8b0000">feed</span>","<span style="color: #8b0000">http://www.w3.org/2005/Atom</span>");
    Element root = d.getRootElement();
    <span style="color: #008000">//省略迭代entries代码</span>
    root.addElement("<span style="color: #8b0000">title</span>").add(DocumentHelper.createCDATA(title));
    root.addElement("<span style="color: #8b0000">id</span>").add(DocumentHelper.createText(guid));
    root.addElement("<span style="color: #8b0000">category</span>").add(DocumentHelper.createText(category));
    root.addElement("<span style="color: #8b0000">link</span>").add(DocumentHelper.createText(permalink));
    root.addElement("<span style="color: #8b0000">updated</span>").add(DocumentHelper.createText(updated));
}</pre>
<p>&nbsp;</p>
<p>最后，罗列一下上文中用到的所有对象所在的包，没有列出的在J2SE内。</p>
<pre><span style="color: #0000ff">import</span> org.dom4j.Document;
<span style="color: #0000ff">import</span> org.dom4j.DocumentException;
<span style="color: #0000ff">import</span> org.dom4j.DocumentHelper;
<span style="color: #0000ff">import</span> org.dom4j.Element;
<span style="color: #0000ff">import</span> org.dom4j.io.OutputFormat;
<span style="color: #0000ff">import</span> org.dom4j.io.SAXReader;
<span style="color: #0000ff">import</span> org.dom4j.io.XMLWriter;</pre>
<h3>参考文章</h3>
<p>IBM Developer Works: <a href="http://www.ibm.com/developerworks/cn/xml/x-dom4j.html">使用 dom4j 解析 XML—使用 domj4 API 创建与修改 XML 文档</a></p>
<p><a href="http://www.dom4j.org/">dom4j官方网站</a></p>
<p><a href="http://www.dom4j.org/dom4j-1.6.1/apidocs/">dom4j的javadoc文档</a></p>
<p><a href="http://zhangjiansheng.blogspot.com/2007/11/dom4jnamespace.html">dom4j两种创建namespace的方法的差异! 07-11-30</a></p>
<p>dom4j Cookbook</p>

	标签：<a href="http://sexywp.com/tags/code" title="code" rel="tag nofollow">code</a>, <a href="http://sexywp.com/tags/code-examples" title="code examples" rel="tag nofollow">code examples</a>, <a href="http://sexywp.com/tags/java" title="java" rel="tag nofollow">java</a>, <a href="http://sexywp.com/tags/tools" title="tools" rel="tag nofollow">tools</a><br />
]]></content:encoded>
			<wfw:commentRss>http://sexywp.com/dom4j-xml-toolkit-java.htm/feed</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>WordPress 开发资源</title>
		<link>http://sexywp.com/wordpress-developer-resource.htm</link>
		<comments>http://sexywp.com/wordpress-developer-resource.htm#comments</comments>
		<pubDate>Mon, 09 Mar 2009 12:59:05 +0000</pubDate>
		<dc:creator>Charles</dc:creator>
				<category><![CDATA[Plugins Develop]]></category>
		<category><![CDATA[WordPress]]></category>
		<category><![CDATA[development]]></category>
		<category><![CDATA[interesting things]]></category>
		<category><![CDATA[resources]]></category>
		<category><![CDATA[tools]]></category>

		<guid isPermaLink="false">http://sexywp.com/?p=323</guid>
		<description><![CDATA[今天刚看到几个WordPress开发资源，觉得很不错~在这里记录一下。

WordPress phpDoc

WordPress内部使用phpDoc的语法进行注释，这是WordPress.org为其生成的文档。

<span class="readmore"><a href="http://sexywp.com/wordpress-developer-resource.htm title="WordPress 开发资源>Keep Reading --- 166 words totally</a></span>]]></description>
			<content:encoded><![CDATA[<p>今天刚看到几个<a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a>开发资源，觉得很不错~在这里记录一下。<span id="more-323"></span></p>
<p><strong><a href="http://phpdoc.wordpress.org/">WordPress phpDoc</a></strong></p>
<p><a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a>内部使用phpDoc的语法进行注释，这是<a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a>.org为其生成的文档。</p>
<p><strong><a href="http://wplookup.com/">WP 函数搜索引擎</a></strong></p>
<p>超级棒的一个功能~ 看看下文的说明。</p>
<blockquote><p>
I want to quickly let everyone here know of a site that one of my good<br />
friends, Andy Stratton (http://theandystratton.com), has setup<br />
recently.  The site is called WPLookup and can be found at<br />
http://wplookup.com/.  It provides a simple search box for quick<br />
lookups of <a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a> functions and template tags.  If the appropriate<br />
codex page exists for the function you are looking for it will<br />
immediately redirect you there.  If it does not exist you will be<br />
directed to a documentation search on http://<a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">wordpress</a>.org/search<br />
which will contain a list of results for you.</p>
<p>To make it even better the site can also integrate into your browsers<br />
search bar keeping you from ever having to actually navigate to the<br />
WPLookup site to do the search.</p>
<p>I have taken his service one step further and integrated his service<br />
into an IRC bot.  The bot is sitting in #<a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">wordpress</a> on freenode.  To<br />
use the bot type something in the form of `.codex get_pages`.</p>
<p>Now what are you waiting for?  Check it out now at http://wplookup.com/.</p>
<p>Enjoy!<br />
--<br />
Matt Martz<br />
matt@sivel.net
</p></blockquote>
<p><strong><a href="http://xref.fergcorp.com/">WordPress源代码交叉引用</a></strong></p>
<p><a href="http://sexywp.com/tags/wordpress" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with WordPress">WordPress</a>各个版本的源代码交叉引用。</p>
<p><a href="http://pressography.com/plugins/wordpress-plugin-template/">WordPress插件开发模板</a></p>
<p>尝试一下吧，看看这个东西能从多大程度上提高你插件开发的效率？里面的东西相当全面啊，传达出了作者很多的开发经验。</p>

	标签：<a href="http://sexywp.com/tags/development" title="development" rel="tag nofollow">development</a>, <a href="http://sexywp.com/tags/interesting-things" title="interesting things" rel="tag nofollow">interesting things</a>, <a href="http://sexywp.com/tags/resources" title="resources" rel="tag nofollow">resources</a>, <a href="http://sexywp.com/tags/tools" title="tools" rel="tag nofollow">tools</a>, <a href="http://sexywp.com/tags/wordpress" title="WordPress" rel="tag nofollow">WordPress</a><br />
]]></content:encoded>
			<wfw:commentRss>http://sexywp.com/wordpress-developer-resource.htm/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>[FireFox插件]—FireShot网页截屏利器</title>
		<link>http://sexywp.com/screen-shot-gun-for-firefox.htm</link>
		<comments>http://sexywp.com/screen-shot-gun-for-firefox.htm#comments</comments>
		<pubDate>Thu, 26 Feb 2009 10:36:27 +0000</pubDate>
		<dc:creator>Charles</dc:creator>
				<category><![CDATA[Firefox]]></category>
		<category><![CDATA[add-ons]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[web design]]></category>

		<guid isPermaLink="false">http://sexywp.com/?p=307</guid>
		<description><![CDATA[由于我一直爱好页面开发，所以，也经常要用到网页截屏，一直以来都是printscreen键，然后加mspaint.exe，经常干这个事情的，应该知道我在说什么吧。但是这个用法对于一般程序还行，对于网页来说，那是相当麻烦，因为，网页往往很长，一次只能显示一部分，要看整个页面的效果，不得不截屏多次，然后在PS里面拼接，那就十分累人了。

后来有一天，我实在受不了，就找来了这个东西FireShot。专门进行网页截图。

截图的时候，只要点一下那个按钮，或者具体的菜单项，可以选择只截取当前可视部分，或者整个页面。

<span class="readmore"><a href="http://sexywp.com/screen-shot-gun-for-firefox.htm title="[FireFox插件]—FireShot网页截屏利器>Keep Reading --- 425 words totally</a></span>]]></description>
			<content:encoded><![CDATA[<p><img src="http://lh6.ggpht.com/_QYicOeu89Bk/SaTM1iurqHI/AAAAAAAABIg/Zk-qZm5rxCE/s400/fireshot-1.png" alt="FireShot screenshot" style="float:left;margin-right:15px;margin-bottom:10px;" /></p>
<p>由于我一直爱好页面开发，所以，也经常要用到网页截屏，一直以来都是printscreen键，然后加mspaint.exe，经常干这个事情的，应该知道我在说什么吧。但是这个用法对于一般程序还行，对于网页来说，那是相当麻烦，因为，网页往往很长，一次只能显示一部分，要看整个页面的效果，不得不截屏多次，然后在PS里面拼接，那就十分累人了。</p>
<p>后来有一天，我实在受不了，就找来了这个东西FireShot。专门进行网页截图。<span id="more-307"></span></p>
<p>截图的时候，只要点一下那个按钮，或者具体的菜单项，可以选择只截取当前可视部分，或者整个页面。</p>
<p>可以直接进入编辑页面，FireShot自带一个编辑器，可以截取网页上的一个局部。</p>
<p><img src="http://lh6.ggpht.com/_QYicOeu89Bk/SaTM1g3L8aI/AAAAAAAABIo/ErTWaF_pgZk/s400/fireshot-2.png" alt="FireShot Edit Window" /></p>
<p>图片自动命名，自动压缩成png格式，优化的相当好。我的网页全部截取下来700K不到。</p>
<p><a href="http://picasaweb.google.com/lh/photo/z0bBpZtqb0J0sMjzm6AmUQ?feat=embedwebsite"><img src="http://lh5.ggpht.com/_QYicOeu89Bk/SaTM17sJnHI/AAAAAAAABIw/U9eJQtcIzhk/s288/fireshot-3.png" alt="FireShot Effect" /></a></p>
<p>装在<a href="http://sexywp.com/tags/firefox" class="st_tag internal_tag" rel="tag nofollow" title="Posts tagged with Firefox">Firefox</a>上后，它会提示，要不要安装IE版本。这点我也是超级喜欢的。因为对于一个Web开发者来说，能在两款主流浏览器下面截图，还是非常重要的。</p>
<p>这款插件有其对应的Pro版本，不过是收费的，可以试用30天，最后不买可以退回免费版。</p>
<p>希望大家喜欢。</p>
<p><a href="https://addons.mozilla.org/en-US/firefox/addon/5648">Mozilla官方下载页面</a> | <a href="http://screenshot-program.com/fireshot/">FireShot插件主页</a> | <a href="https://addons.mozilla.org/en-US/firefox/downloads/latest/5648/platform:5">下载链接（For WinXP Pro）</a></p>

	标签：<a href="http://sexywp.com/tags/add-ons" title="add-ons" rel="tag nofollow">add-ons</a>, <a href="http://sexywp.com/tags/firefox" title="Firefox" rel="tag nofollow">Firefox</a>, <a href="http://sexywp.com/tags/tools" title="tools" rel="tag nofollow">tools</a>, <a href="http://sexywp.com/tags/web-design" title="web design" rel="tag nofollow">web design</a><br />
]]></content:encoded>
			<wfw:commentRss>http://sexywp.com/screen-shot-gun-for-firefox.htm/feed</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
	</channel>
</rss>
