Service

Twitter account "Dam Press

Twitter account "Dam Press Service
This article can be read in about 7 minutes to read.

The Twitter account "Dam Press" is a tweetbot that simply tweets when the official websites of dam management offices, prefectural government offices, etc. are updated.

Follow us here 👇.

Corresponding Management Office Site

Each link is to a location where the information is obtained directly. (with some exceptions such as frames)

If you know of any other dam management offices that publish notices, please feel free to contact us through the comments section or inquiry form.

precautions

  • We may tweet information unrelated to the dam.
  • Information on orders, bids, etc. is excluded but is not complete.
  • Some management offices are unable to retrieve updated information properly because the list page of press releases is generated by JavaScript, the HTML syntax was written incorrectly, or the western and Japanese calendars were written in a unique way.
  • There may be a delay of up to 24 hours between updating and tweeting.
  • If the layout of the website changes, it may not be recognized as updated and tweets may no longer be sent.
  • Tweets may not be tweeted due to maintenance or failure of external services.
  • This service may be improved without prior notice. The service may be discontinued for any reason.
  • We are not responsible for any disadvantage caused by tweets from this account.

structure

  1. Update information on each control center's website.Happyou Final Scraperto RSS
  2. Re-format RSS feeds by assembling a unique PHP program that summarizes each RSS feed URL.
  3. Tweet when there is an update by passing the reformatted RSS feed through dlvr.it

I was going to start by scraping the websites of the various management offices and extracting the updated information, but the data structure was so disparate and the way the dates were written was so different, especially the mixing of the Western and Japanese calendars was so complicated that I didn't think I would be able to handle it. I found "Happyou Final Scraper" and have been using it. I would like to take this opportunity to thank you.

This article was written by.
Shin Jinma

Dam enthusiast who loves Momosuke Fukuzawa / Dampedia and Dam News administrator / Certified Dammeister (01-018) by the Japan Dam Foundation / Started selling discharge caution goods.https://shop.dampedia.com

Follow Damapedia

Comment

Copied title and URL