惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
Microsoft Security Blog
Microsoft Security Blog
Security Archives - TechRepublic
Security Archives - TechRepublic
V
Visual Studio Blog
宝玉的分享
宝玉的分享
IT之家
IT之家
人人都是产品经理
人人都是产品经理
T
The Blog of Author Tim Ferriss
I
InfoQ
B
Blog RSS Feed
T
Threatpost
博客园_首页
M
MIT News - Artificial intelligence
Spread Privacy
Spread Privacy
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
Know Your Adversary
Know Your Adversary
U
Unit 42
Engineering at Meta
Engineering at Meta
C
Cyber Attacks, Cyber Crime and Cyber Security
月光博客
月光博客
Scott Helme
Scott Helme
T
Tor Project blog
有赞技术团队
有赞技术团队
AWS News Blog
AWS News Blog
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
Last Week in AI
Last Week in AI
S
Schneier on Security
Vercel News
Vercel News
博客园 - Franky
C
Cybersecurity and Infrastructure Security Agency CISA
L
LINUX DO - 热门话题
NISL@THU
NISL@THU
L
LangChain Blog
爱范儿
爱范儿
Google DeepMind News
Google DeepMind News
The GitHub Blog
The GitHub Blog
雷峰网
雷峰网
Latest news
Latest news
C
CXSECURITY Database RSS Feed - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
www.infosecurity-magazine.com
www.infosecurity-magazine.com
G
GRAHAM CLULEY
S
Security Affairs
A
About on SuperTechFans
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
大猫的无限游戏
大猫的无限游戏
W
WeLiveSecurity
Cisco Talos Blog
Cisco Talos Blog
罗磊的独立博客

Project Picky

有没有开源的 P2P 网贷系统 - V2EX Upgrade Twitter API 可以将Project Picky改为Google Cloud SQL作为数据存储 Picky.olivida.com访问不了了 - V2EX 关于更新picky blog版本的问题 - V2EX 分享Picky朴素主题一个 - V2EX 用picky搭了一个blog,给hotot用。 - V2EX 如何往博客里粘贴github代码啊,就是让github里的那代码显示在picky博客里,贴地址好像不行啊 求助,Picky搭建的blog,日志发布时间不准确。。。 - V2EX 部署Project Picky后无法进入后台的解决办法 - V2EX 刚部署完,登录出现问题 - V2EX 请问github上picky的代码是否最新,是否保持更新? 新建了一个Project Picky,请问左边的那个google ads在那么删除? - V2EX 圣诞团购:仅售100元!原价300元独立博客,送66元顶级域名 - V2EX 几个问题 - V2EX 问一个index和article问题 - V2EX 发现Picky加上Disqus的评论是不错的搭配。 - V2EX 进入Picky Writer提示错误 - V2EX 我想了解一下Rework首页是不是用V2EX Minisite功能生成的? - V2EX writer/save 时提醒 global name 'user' is not defined - V2EX Project Picky是否可能在VPS上运行? - V2EX 如何绑定自己的顶级域名 - V2EX 进入后台出现如下的错误 - V2EX 请教Livid如何批量修改Picky的title_url和title_link,后缀htm改成html - V2EX 请问在Picky上如何截短文章? 页面显示“hello world”,沮丧... - V2EX GAE上的程序如何Down下來 - V2EX 关于提交按钮上的文字 - V2EX 想做个Picky的主题模板,用什么编辑好呢 - V2EX Picky对Markdown语法支持到什么程度? - V2EX project picky后台无法进入,我已经注释掉了那几行代码了啊,求高手指示 if len(mentions_twitter['results']) > 0:不知道问题在哪 - V2EX 关于picky - V2EX 大家晒晒你们的Picky站吧 - V2EX 在picky中插入代码段 - V2EX Picky 的 twitter 同步 - V2EX Contingency plan for GAE+Picky/Babel ? - V2EX TypeError: cannot concatenate 'str' and 'NoneType' objects - V2EX 安装Picky时遇到的两个问题 1) GAE, 2) 配置文件 - V2EX 给Picky添加自动保存草稿功能(HTML 5特性) - V2EX picky的tweets中的账户链接是错误的 - V2EX 安装报错 - V2EX 你最期待Project Picky的新功能 - V2EX 如果能从WordPress导入数据就好了 - V2EX Project Picky的twitter问题 - V2EX 在Picky中应用Markdown编辑器--wmd - V2EX 关于最近的后台错误 - V2EX 关于 rss 文章显示顺序的问题 - V2EX 使用第三方Comment System的人多吗? - V2EX
给Picky添加了PubSubHubbub支持。 - V2EX
imom0 · 2010-10-26 · via Project Picky

给Picky添加了PubSubHubbub支持。
什么是PubSubHubbub? http://code.google.com/p/pubsubhubbub/

PubSubHubbub是资讯的流通变得更实时。

需要改动Picky的地方不多。

1.改动 Atom or RSS XML file

在 /tpl/shared/index.xml 里找到

code:

<link rel="self" type="application/atom+xml" href="http://{{ site_domain }}/index.xml" />
这一行,后面添加:

code:

<link rel="hub" href="http://pubsubhubbub.appspot.com/" />
2.Ping the hub

在 /writer.py 里找到 class WriterSynchronizeHandler,Ping Google Blog Search那个注释后面有这样一行:

code:

result = urlfetch.fetch(google_ping)
在下面添加:

code:

hub_field = {"hub.mode":"publish","hub.url":"http://imimom0.appspot.com/index.xml"}
hub_ping = urlfetch.fetch(url='http://pubsubhubbub.appspot.com/',payload=urllib.urlencode(hub_field),method=urlfetch.POST)

上传后测试是否有效果,Gtalk/XMPP添加 [email protected] 机器人为好友,然后向它发送消息,内容为 "/subscribe http://imimom0.appspot.com/index.xml"。发送一篇测试日志,看是否有通知。

http://imimom0.appspot.com/add-pubsubhubbub-feed-support-for-picky