开发者

Self-updating site

I want to make a site that updates itsel开发者_JAVA技巧f based upon changes on another site. For example, every time certain external site posts an article with a specific tag, my site should update and post a notice reporting that.

What tools would you recommend for doing such task?


I'd use RSS or JSON on the first site and make a feed of all the changes. If I can't do that due to ownership, I'd just parse the site with BeautifulSoup and cron every few minutes to record changes via that.

I'd run the second site using the Flask web framework and Python, as it's easy for me to churn out things quickly with Python.


You could also implement Pubsubhubbub for near-realtime notifications. It's based on Atom.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜