Feed43で作成
Step 1. Specify source page address (URL)
- Address(取得したいページのURLを入力)
http://www.city.imabari.ehime.jp/whatsnew.html
Page Sourceを確認
Step 2. Define extraction rules
- Global Search Pattern (optional)(ページの範囲を絞り込みたいときに入力)
<dl>{%}</dl>
- Item (repeatable) Search Pattern(取得したいアイテムのタグを入力)
<dt>{%}</dt>{*}<dd><a href="{%}">{%}</a></dd>
取得したいところは{%} 不要なところは{*}改行も{*}
Step 3. Define output format(RSSのタイトル・URL・概要を入力)
- Feed Title
今治市役所
- Feed Link
http://www.city.imabari.ehime.jp/whatsnew.html
- Feed Description
今治市役所 ホームページの更新情報
RSS item properties
- Item Title Template(タイトル)
{%1} {%3}
- Item Link Template(リンク)
{%2}
- Item Content Template(概要)
今治市役所の更新情報 https://feed43.com/imabari-city.xml
今治警察署管内の不審者情報 https://feed43.com/imabari-fushinsha.xml
FC今治のニュース https://feed43.com/fc-imabari.xml
愛媛の事件・事故 https://feed43.com/ehime-jiken.xml