简体   繁体   中英

Self-updating site


I want to make a site that updates itself 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM