开发者

Self-updating site

开发者 https://www.devze.com 2023-02-28 17:12 出处:网络
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

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

精彩评论

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