﻿<?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>19~Blog &#124; &#187; WordPress</title>
	<atom:link href="http://www.ll19.com/tag/wordpress/feed" rel="self" type="application/rss+xml" />
	<link>http://www.ll19.com</link>
	<description>今天总是好过昨天~原来，冥冥之中，自有天意。</description>
	<lastBuildDate>Fri, 03 Feb 2012 10:46:23 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.4</generator>
		<item>
		<title>WordPress的有用评论插件</title>
		<link>http://www.ll19.com/wordpress_useful_comments2.html</link>
		<comments>http://www.ll19.com/wordpress_useful_comments2.html#comments</comments>
		<pubDate>Fri, 03 Dec 2010 05:47:20 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[flash]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=216</guid>
		<description><![CDATA[对以前有用评论插件的修改版，基本能正确解析字体样式，通过对插件下的resource\style.xml进行总体的样式设定，如果评论中有带style属性的标签，则会以style的样式为主。以前开发了这个功能但苦于FLASH显示HTML字体样式的缺陷没有太多使用，这次完善了这部分功能也是为了坚持把这块使用起来。 插件简单说来就是把有用的留言“置顶”到紧跟着文章的下面。拿自己来说，因为很多时候提供了插件或者其它源文件代码什么的文章，别人留下的意见、BUG、访客疑问的回复等都是很有用的，直接将这些有用的留言“置顶”到紧跟着文章下面对于阅读是很方便的（可以当作文章的补充了）。 var attributes_uc_flash = { id : "attributes_uc_flash_tmp", name : "attributes_uc_flash_tmp"}; var flashvars_uc_flash = { p : "164"}; swfobject.embedSWF("http://www.ll19.com/wp-content/plugins/useful_comments/LL19.com.swf","uc_flash_tmp_2", "100%", "100%", "10.0.0", expressInstall,flashvars_uc_flash, params, attributes_uc_flash); 整个显示用的FLASH图片可以在插件的文件夹中自行更换（注意大小），自适应高宽，设置包裹FLASH的DIV即可，具体效果即上方（或者看这篇文章的效果http://www.ll19.com/web_loading.html）。使用方法：useful_comments目录放在你的/wp-content/plugins/下，后台激活，在你模板的适当位置加入： 1 &#60;?php wp_uc_flash&#40;&#41;; ?&#62; 打开留言的编辑页面，最下方即可设置或者取消此条留言是否为有用留言。提供插件和显示有用留言用的FLASH源文： -= 插件下载 =- &#124; -= 或者SVN更新 =- &#124; -= 显示用的FLASH源文件 =-]]></description>
		<wfw:commentRss>http://www.ll19.com/wordpress_useful_comments2.html/feed</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
		<item>
		<title>WORDPRESS带头像的最新留言</title>
		<link>http://www.ll19.com/wp_recent_comments.html</link>
		<comments>http://www.ll19.com/wp_recent_comments.html#comments</comments>
		<pubDate>Mon, 22 Feb 2010 04:16:16 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=195</guid>
		<description><![CDATA[提供下侧边栏的最新留言 显示头像为主，类似代码很多，我也只是加了一个JS的提示效果~简单写下我的方法。在需要插入最新留言的地方加入： 1 &#60;ul id=&#34;recentcomments&#34;&#62; 1 2 3 4 5 6 7 8 9 10 11 12 13 14 &#60;?php global $wpdb, $comments, $comment; $comments = $wpdb-&#62;get_results&#40;&#34;SELECT comment_author, comment_author_email, comment_author_url, comment_ID, comment_post_ID, SUBSTRING(comment_content,1,65) AS comment_excerpt FROM $wpdb-&#62;comments LEFT OUTER JOIN $wpdb-&#62;posts ON ($wpdb-&#62;comments.comment_post_ID = $wpdb-&#62;posts.ID) WHERE comment_approved = '1' AND comment_type = '' AND post_password [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/wp_recent_comments.html/feed</wfw:commentRss>
		<slash:comments>19</slash:comments>
		</item>
		<item>
		<title>SVN-WEB客户端浏览程序及WP插件</title>
		<link>http://www.ll19.com/web_svn_browse.html</link>
		<comments>http://www.ll19.com/web_svn_browse.html#comments</comments>
		<pubDate>Fri, 27 Feb 2009 05:52:35 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[svn]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=160</guid>
		<description><![CDATA[全AJAX的SVN-WEB客户端浏览程序及WP插件 这个SVN的WEB客户端浏览程序是在网络找到的一套开源的PHP（原作者：Lukin &#60;mylukin@gmail.com&#62; ）修改而来~主要是因为想要做一款可自由定制界面的SVN-AJAX WEB浏览器，浏览匿名用户有读取权限的SVN目录。提供两套：整站程序（演示地址：http://www.ll19.com/svn/）,以及WP的插件（插件效果见下方），插件可以直接在文章中引入SVN的目录供浏览。这里浏览的是我在GOOGLE上的SVN：http://glll.googlecode.com/svn/trunk。 插件的用法，可以在文章中或者模板中引入SVN目录，比如： 1 2 3 4 //激活插件后文章中 [wp_svn_add svn_server=&#34;http://glll.googlecode.com/svn/trunk&#34; svn_path=&#34;/src/php/&#34;] //模板中 &#60;?php wp_svn_add&#40;&#34;http://glll.googlecode.com/svn/trunk&#34;,&#34;/src/php/&#34;&#41;; ?&#62; 插件引入两个参数，第一个是SVN的根路径，第二个是要显示SVN的路径。其中根目录不能以“/”结束。 glll &#8211; Revision 21: /src/php/ .. Sweetcron/ svn_browse/ wordpress/ jQuery(document).ready(function(){ jQuery("div.svn_19_main_2 ul li a").svn_ajax_19("svn_19_main_2","http://www.ll19.com/wp-content/plugins/wp_svn_browse/","http://glll.googlecode.com/svn/trunk"); }) /src/php/ PS：我个人的主张是不在自己的站点激活很多的插件，这个插件为了在文章中输出SVN的地址加了一个文章的filter函数，当然这并不会对性能造成太大的影响，如果你还是觉得为了几篇文章就加一个filter函数很不值得的话可以照我的做法：首先我也没有激活这个插件，我只是在测试环境启用后把生成的HTML复制进来而已(本地生成的话域名别忘记改成自己的),HTML包括svn_19_main的这个ID的DIV和下面的JS及SPAN标签。这样也可以达到SVN的文章AJAX浏览效果。比如这段HTML代码： 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/web_svn_browse.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>WordPress和Sweetcron的全站AJAX（续）</title>
		<link>http://www.ll19.com/sweetcron_wordpress_ajax.html</link>
		<comments>http://www.ll19.com/sweetcron_wordpress_ajax.html#comments</comments>
		<pubDate>Fri, 13 Feb 2009 03:11:56 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[ajax]]></category>
		<category><![CDATA[Sweetcron]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=158</guid>
		<description><![CDATA[全站点AJAX续. 首先声明这样做完全不会影响SEO。以前的一篇WP的相关文章http://www.ll19.com/jquery-wordpress-ajax.html，这次算是补充，写了一个较通用的JQuery插件来实现，我的Lifestream也用了类似的方法全AJAX，有兴趣可以去测试一下。这里需要用到下面3个文件： &#124; 19_ajax.css &#124; 19_ajax.js &#124; ajax_tooltips_bg.gif &#124; 其中JS就是这个JQuery插件，其它两个是相关的css和背景的gif，引入站点后具体用法我举个例子比如在页面的最下加这句： 1 jQuery&#40;&#34;p.date a,li.tag_list a,p#pagination a&#34;&#41;.ajax_19&#40;&#34;div#main_container&#34;&#41;; 熟悉JQuery的人应该一看就懂，这里的作用是将所有class是date的p元素、class是tag_list的li元素、id是pagination的p元素下的链接点击的时候得到这个链接的内容后显示在ID为main_container的div里，而不会去打开此链接。这样既不影响SEO又实现了AJAX。 拿Lifestream来举例，用过的人都清楚这套系统简单说就是一个RSS聚合器，官方站点Sweetcron，同样我也是用它来聚合我在各个站点留下的各种记录，有兴趣的人可以去安装一套。之后要让它全AJAX，和WP中用到的方法类似，不同的是它在控制显示页面的时候不是在主题包中，首先需要修改system\application\libraries\sweetcron.php， 两个函数get_single_item_page（）和get_items_page（）的三个地方： 1 2 3 $this-&#62;CI-&#62;load-&#62;view&#40;'themes/' . $this-&#62;CI-&#62;config-&#62;item&#40;'theme'&#41; . '/_header', $data&#41;; $this-&#62;CI-&#62;load-&#62;view&#40;'themes/' . $this-&#62;CI-&#62;config-&#62;item&#40;'theme'&#41; . '/single', $data&#41;; $this-&#62;CI-&#62;load-&#62;view&#40;'themes/' . $this-&#62;CI-&#62;config-&#62;item&#40;'theme'&#41; . '/_footer', $data&#41;; 更改成： 1 2 3 4 5 6 7 8 $glll = $_POST&#91;&#34;glll&#34;&#93;; if &#40;$glll != &#34;ajax&#34;&#41; [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/sweetcron_wordpress_ajax.html/feed</wfw:commentRss>
		<slash:comments>45</slash:comments>
		</item>
		<item>
		<title>WP的TAGS墙~</title>
		<link>http://www.ll19.com/tags19.html</link>
		<comments>http://www.ll19.com/tags19.html#comments</comments>
		<pubDate>Mon, 19 Jan 2009 07:51:00 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[tags]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=155</guid>
		<description><![CDATA[这个TAGS墙参考了Levitated.net的一个开源的小程序，上面所生成的文字全部都是站点的TAGS，在生成文字的时候照搬了那部分代码，这里提供的是AS3版本。我默认是只取到100个TAGS，如果你有更多的需要显示则把插件中的19TAGS.php里的SQL改一下LIMIT 0 , 100 ，TAGS墙生成的时候对应文章少的TAGS也有可能占到相对多的空间，完全随机，但可以保证文章最多的几个TAGS会用更多空间显示。对于懒得自己去细搞的人我写了个插件可以简单的在发表文章或者模板处引入这个FLASH TAGS墙~可以通过设置高宽来设置大小，配置颜色来改变背景和字体的颜色，例如模板中： 1 &#60;?php wp_flash_tags&#40;&#34;100%&#34;,&#34;380&#34;,&#34;0xFFFFFF&#34;,&#34;0x000000&#34;&#41;; ?&#62; 或者文章中 1 &#91;wp_19_tags w=&#34;100%&#34; h=&#34;380&#34; bg=&#34;0xFFFFFF&#34; t=&#34;0x000000&#34;&#93; 其中四个参数分别为：TAGS墙的宽、高、背景色、字体颜色，则显示的就是上面的效果。 或者下面这个例子，模板中 1 &#60;?php wp_flash_tags&#40;&#34;600&#34;,&#34;600&#34;,&#34;0xFFFFFF&#34;,&#34;0x000000&#34;&#41;; ?&#62; 或者文章中 1 &#91;wp_19_tags w=&#34;600&#34; h=&#34;600&#34; bg=&#34;0xFFFFFF&#34; t=&#34;0x000000&#34;&#93; 则是下面这样的效果。 如果你觉得为了一篇文章就加一个文章过滤的插件很不爽，就自己手动在文章中引入这个FLASH，放在plugins下不激活就行了。具体引入下面这些： 1 2 3 4 5 6 7 8 9 &#60;object id=&#34;blogroll&#34; type=&#34;application/x-shockwave-flash&#34; data=&#34;http://.../wp-content/plugins/19tags/19tags.swf&#34; width=&#34;100%&#34; height=&#34;380&#34;&#62; &#60;param name=&#34;movie&#34; value=&#34;http://.../wp-content/plugins/19tags/19tags.swf&#34; /&#62; &#60;param name=&#34;BGCOLOR&#34; value=&#34;&#34; /&#62; [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/tags19.html/feed</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>LRC-19Line~</title>
		<link>http://www.ll19.com/lrc-19line.html</link>
		<comments>http://www.ll19.com/lrc-19line.html#comments</comments>
		<pubDate>Fri, 14 Nov 2008 12:00:06 +0000</pubDate>
		<dc:creator>19.</dc:creator>
				<category><![CDATA[Diary]]></category>
		<category><![CDATA[as3]]></category>
		<category><![CDATA[plugins]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.ll19.com/?p=130</guid>
		<description><![CDATA[一条&#8221;置顶&#8221;在页面上方的LRC LINE. 如果你是从这篇文章进入，这条LINE就会自动显示出来(页面最上方)，其他的页面则点击右上角的十字按钮即可~ 起名叫LRC-19Line，提供的源文件中带有一个页面加载的例子，个人想法是按照我的站点的加载方式。LRC始终在页面最上，开始时候默认不加载，点击之后加载播放器。这样AJAX加载是为了在访客没有意愿去打开播放器的时候便不加载播放器和MP3，来减少自己站点的流量。或者你非要默认就是每次打开页面就播放音乐也可以自己改一下，不过显示方式感觉还是始终在页面上方100%的宽显示好些。 可以左右拖动这条LINE的歌词来选择播放的时间~对于WP系统我做了个简单的插件可以直接引入这些，配置好你的XML文件命名成19_list.xml放在19_line文件夹下，复制19_line文件夹在plugins下后台激活插件。在你的模板适当位置加入： 1 &#60;?php line_19_content&#40;true,&#34;close&#34;,&#34;open&#34;&#41;; ?&#62; 其中true为默认直接播放，传入false则不直接播放（点击链接后播放）。&#8221;close&#8221;指的是播放器播放的时候显示的文字，比如我播放器正在播放则可写&#8221;关闭播放器&#8221;来提示用户关闭（效果和上面的&#8221;&#124; &#8211; 打开LRC-19LINE &#8211; &#124;&#8221;一样）。&#8221;open&#8221;参数指的是未打开播放器时候的提示文字，比如传入&#8221;打开播放器&#8221;。 具体实现的类图(ll19_core包就不例举了)： com.ll19.movieClip AlphaLrc ChiffonBg Direction NowTime PlayList WaveMask com.ll19.movieClip.button ControlButton Play Stop Volume VolumeBar com.ll19.util LineGlobal com.ll19.sound ControlBar Line PlayList SoundInit com.ll19.sound.wave SoundWave com.ll19.lrc LrcList 1.最好直接把LRC的扩展名改成XML，中文歌词存成UTF8格式。 2.XML配置 auto=”&#8221;：random FLASH加载后便随机播放，yes FLASH加载后播放第一首歌曲，其余字符均为不直接播放。mp3节点中：path=”http://www.ll19.com/up/…/kida.mp3″ MP3的地址。title=”kidA.” mp3的标题。lrc=”http://www.ll19.com/up/GLLL-Lrc-Wave/lrc/kida.xml” LRC的地址。font=” 字体大小 英文一般写成11 中文用12。 3.FLASH源文包括19_line和ll19_core两个目录，ll19_core目录是我做东西经常用到的一些比较通用的类（每次做东西都直接导入这目录了，懒得再挑出哪些包需要哪些包没用到，就直接提供了 = =），19_line目录具体实现了这条LINE。 09.05.27 更新1.2.1版本：增加了读取当前音乐错误可以继续读取播放下一首。 [...]]]></description>
		<wfw:commentRss>http://www.ll19.com/lrc-19line.html/feed</wfw:commentRss>
		<slash:comments>53</slash:comments>
		</item>
	</channel>
</rss>

