wordpress自助链接auto-blogroll插件设计细节!

Posted Aug 8th, 2008 by askie in in Wordpress, 百宝箱

做这个插件的目的是自己比较懒,不愿意去论坛发贴寻找交换链接。事实上对每位博客主来说,寻找交换链接都是一件比较麻烦的事情。论坛发贴、有时间再去看回帖,跟对方联系、好不容易交换链接完毕,可是过了一段时间,发现对方删除了你的链接,然后你要去后台删除给他做的链接、交换链接的时候需要查看对方网站PR值是否满足你的要求,还有Alexa排名。等等这些事情都很烦,需要你定时查看每个链接。

我是个懒人,所以需要一个程序来解决以上出现的麻烦,所以我设计了这个插件,这个插件具备如下功能:

  1. 链接交换完毕后,自动每天查看对方网站是否存在你的链接,如果超过了设定的次数则在你的博客取消显示对方的链接。
  2. 创建一个交换链接的接口,每位浏览我博客的人都能够申请与我交换链接。
  3. 设定一个最小的Pr交换数值,利用该值判断是否需要与对方交换链接。
  4. 采用自创的文本数据库存储数据,不影响wp本身的数据库性能。
  5. 交换链接的数据具备与wp的blogroll数据表同步的功能,可以导入导出。即使卸载了该插件,利用wp自带的blogroll仍然可输出已经交换到的链接。
  6. 可以设定一个总数,当交换链接数量达到该值时自动关闭自助交换。
  7. 每天检测对方网站是否存在你的链接,当没有检测到,则计数器增加一次。但在到达总限制数之前检测到了链接,则该链接的失效计数器清零,正常显示。
  8. 如果发现检测到对方给你的链接失效,则自动发送邮件通知对方。
  9. 后台具备审核功能,可以禁止某链接出现。
  10. 后台可以对某链接设置白名单,不去检测有效性。
  11. 后台具备手工添加链接的功能。
  12. 输出链接非常简单,一个是通过单独的page输出,另一个是通过widget输出侧边栏。
  13. 插件安装时,自动导入wp原有的blogroll链接。
  14. 【想到了继续添加……】

下载:auto-blogroll V1.0
关于插件:auto-blogroll详细介绍
有worpress.org帐号的朋友来这里投票支持我吧:点这里投票去


中文关键字:auto blogroll wordpress 插件 网站 链接 简单 时间 细节 设计 自动 数据 pr alexa 对方

wordpress自助链接插件auto-blogroll V1.0发布!

Posted Aug 7th, 2008 by askie in in Wordpress

经过几个晚上的奋战,终于完成了wordpress自助链接插件auto-blogroll 几乎想到和大家建议到的所有功能,在此感谢关心和帮助我的兄弟朋友们!

下载:auto-blogroll V1.0

关于插件:auto-blogroll详细介绍

有worpress.org帐号的朋友来这里投票支持我吧:点这里投票去


中文关键字:auto blogroll plugin wordpress 插件 链接 建议 pr 1.0 投票 朋友 帐号 来这里 worpress 几乎

wordpress自助链接插件auto-blogroll接收代码测试博客!

Posted Aug 5th, 2008 by askie in in Wordpress

如果你喜欢wordpress自助链接插件auto-blogroll插件并决定准备尝试,请给我留言留下你的email吧!


中文关键字:auto blogroll wordpress 插件 链接 代码 pr 测试 博客 尝试 准备 如果 email

linux下为什么0777的文件夹和文件apache无法写入呢?

Posted Aug 5th, 2008 by askie in in LAMP, 百宝箱

原来以为只要是0777的文件夹都可以写入,没想到还与所有者有关系。解决这个问题的办法是把文件夹或者文件的所有者设置为httpd的用户,具体命令:

chmod -Rf nobody ./


中文关键字:0777 apache linux nobody 命令 文件 用户 文件夹 所有者 没想到 要是 或者 具体 原来 办法

wordpress自助链接插件auto-blogroll!

Posted Aug 4th, 2008 by askie in in Wordpress, 作品

当前版本:V1.4

本插件实现网站交换链接简单化,后台设置好pr值最小限制,前台不用人工检测即可实现链接交换,本插件有如下功能:

1.设定最小Pr限制(Alexa限制正在测试中)。
2.自动检测对方给你的链接有效性。可设置每天检测,可设置没检测到链接的次数,比如可以设置5天检测不到,自动关闭本站给与的链接。另外要说明一点:如果对方网页设置了nofollow或者noindex、或者对方给你的链接中加入了nofollow均可视为没检测到,因为nofollow或者noindex对你的链接搜索引擎是不会给分的。
3.实现widget调用,方便使用。
4.后台可以设定例外站点不予检测。
5.可以根据分类输出链接到首页。
6.安装的时候自动导入blogroll里的链接。

[v1.4]
1. 从1.4版本开始无需设置当前主题文件夹权限为0777了,插件采取了新的机制,不再需要ab_links.php模板了.
2. 链接展示页面与你的普通page页面一样了,这个页面的样式与你的当前主题保持一致。

[V1.3]
1.修正了无法与数据库同步的严重错误

[v1.2]
1.增加中文语言包,默认是应为界面

[v1.1]
1. 增加了链接数据与wp数据库同步的功能.
2. 增加了链接数目的限制.

安装:
1.上传激活,设置插件目录和当前模板目录权限为0777
2.进入setting->AutoBlogroll->install激活插件
3.进入setting->AutoBlogroll->GeneralSetting设置基本参数
4.去模板的widget页面插入AutoBlogroll
5.以后在setting->AutoBlogroll->管理链接
6.在wp-config.php文件中更改define ('WPLANG', '');define ('WPLANG', 'ch_CN');切换为中文.

经过几个晚上的奋战,终于完成了wordpress自助链接插件auto-blogroll 几乎想到和大家建议到的所有功能,在此感谢关心和帮助我的兄弟朋友们!

下载:auto-blogroll V1.0
作者主页:PK with PHP!
插件主页:auto-blgroll插件主页
关于插件的介绍和安装:auto-blogroll详细介绍
有worpress.org帐号的朋友来这里投票支持我吧:点这里投票去

意见:
1.卸载功能(室内桃源建议)
2.模板如何实现通用(A:增加模板编辑链接)(室内桃源建议)
3.必用函数检测提示功能(室内桃源建议)
4.当链接通过了测试给站长发送邮件通知(多谢thinkagain建议)
5.后台增加手工添加链接的界面
6.后台增加本网站logo输入选项,links页面输logo(冰淼·十二少)
7.自定义条款设置
8.检测不通过的链接高亮显示
9.安装的时候判断links页面是否已经存在,如果存在则重起名称(changliang06)

目前正在最后编码阶段,欢迎进入本站测试页面进行测试:交换链接申请入口

插件征求意见页面:wordpress-auto-blogroll
本人博客:http://www.pkphp.com/

[v1.4]
1. donot need to set current theme directory as “0777″, plugin will not need ab_links.php file.
2. the links page will be created as you current theme.

[v1.3]
1. bug of do not Synchronous working with wordpress database

[v1.2]
1.add english and ch_CN language face

[v1.1]
1. add function to save or delete data to wpdatabase.
2. add limit to total links number.

[v1.0]
This plug-in makes easier for website links exchange, you only need to set up pr value minimum limit at background, to

achieve link exchange without need of manual check in front, this plug-in has the following features:

1. set Pr minimum limit (Alexa limit is under test).
2. Auto detect the effectiveness of given link . You can set it as daily test, or set frequency that link detect

failure, eg: set 5 days as undetected, auto shut down the link from this site. One point need to mention here: If

nofollow or noindex is set on the other site or they add a nofollow to the link given to you, these are regarded as

not detected because nofollow or noindex will not give points for your link search engine.
3. Realize widget call, easy to use.
4. Exception site can be set at back as “no need to detect”.
5. Output link to home page according to classification
6. auto import links from blogroll in process of installation.

Installation:
1. Upload and activate, set permission of plug-in directory as “0777″.
2. go to setting-> AutoBlogroll-> install, activate plug-in.
3. go to setting-> AutoBlogroll-> GeneralSetting, set basic parameters
4. go to widget page of templates and insert AutoBlogroll
5. After that, setting-> AutoBlogroll-> Manage link
6. setting-> AutoBlogroll-> GeneralSetting to chose plugin’s language face.


中文关键字:auto blogroll wordpress 插件 链接 中文 网站 blogroll auto php plugin 文件 简单 分类 目录 自动