[记录]facebook隐私权限设置历程

facebook隐私权限设置历程

Google.cn的首页截图

注意更新maven的jetty plugin,解决eclipse中编辑静态文件时的死锁问题!

解决方法参考:Maven+Jetty免静态文件 死锁的处理解决Jetty运行时锁定静态文件(css, js, image)的问题

使用Maven2加入Jetty的插件,初步运行成功后,发现在Jetty服务启动后无法修改js/css等静态文件,那可是极不爽的事情,总不能修改一个js/css就要重启下Jetty吧!就算只有几个按钮,累积起来也很浪费时间!

由于我既使用maven-jetty-plugin插件,作为Maven下Web快速应用开发的工具,而在Eclipse中Debug项目时采用的是Run-jetty-run插件,通过查看Maven+Jetty免静态文件 死锁的处理 链接解决了控制台下启动后修改报错的问题后,进入Eclipse通过Run-jetty-run启动后问题依然存在,发现Run-jetty-run插件的Jetty版本为Eclipse中的老版本,遵照解决Jetty运行时锁定静态文件(css, js, image)的问题链接,将Jetty升级到6.1.24版本,并修改相关设置后,问题解决.

这几天用到的WordPress插件,记录!

1. 失效链接检查器

Checks your blog for broken links and missing images and notifies you on the dashboard if any are found.

http://w-shadow.com/blog/2007/08/05/broken-link-checker-for-wordpress/

2.NextGEN Gallery

A NextGENeration Photo gallery for the Web 2.0.

http://alexrabe.de/?page_id=80

3.Simple Tags

Extended Tagging for WordPress 2.8 and 2.9 ! Suggested Tags, Mass edit tags, Autocompletion, Tag Cloud Widgets, Related Posts, Related Tags, etc!

http://redmine.beapi.fr/projects/show/simple-tags

4.StatPressCN

shows you real time statistics about your blog, also support for Chinese perfectly

http://heart5.com/?page_id=629

5.WordPress Related Posts

Generate a related posts list via tags of WordPress

http://fairyfish.net/2007/09/12/wordpress-23-related-posts-plugin/

6.WP-PageNavi

Adds a more advanced paging navigation to your WordPress blog

http://wordpress.org/extend/plugins/wp-pagenavi/

7.wp-utf8-excerpt

This plugin generates a better excerpt for multibyte language users (Chinese, for example). Besides, it keeps the html tags in the excerpt. 为使用多字节语言(如中文)的Wordpress用户提供更好的摘要算法,以解决Wordpress默认摘要算法只考虑西方语言的不足。此外,此插件产生的摘要可保留原文中的格式。

http://myfairland.net/wp-utf8-excerpt/

8.Easy Gravatars

This plugin allows you to automatically add Gravatars for commenters to your theme, if your theme does not already support them.

http://wordpress.org/extend/plugins/easygravatars/

Web.xml 中 CompressingFilter 定义的位置也会导致文件加载异常

如果碰到加载js / css / images 等文件出现莫名奇妙问题(如:类加载错误$符号未定义图片显示不了css引用有的行有的不行等等等等)的时候,在你检查过文件引用路径,审视过相关文件的引用顺序,吐着鲜血在google hk 上挠头皮的时候,不要忘记检查下你的Filter的解析顺序,尤其是在你引用了 SpringSecurity 并想通过 UrlRewrite 实现简化路径的目的时,切记,谨记,铭记在心。
片段:

<filter-mapping>
    	<filter-name>CompressingFilter</filter-name>
    	<url-pattern>/*</url-pattern>
    	<dispatcher>REQUEST</dispatcher>
    	<dispatcher>FORWARD</dispatcher>
</filter-mapping>

一定要放在

<filter-mapping>
        <filter-name>springSecurityFilterChain</filter-name>
        <url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
	<filter-name>rewriteFilter</filter-name>
	<url-pattern>/*</url-pattern>
</filter-mapping>

之后,btw springSecurityFilterChain 要在 rewriteFilter 之前解析。

Page 1 of 41234