# 福井新聞
[FileInfo]
Download=http://knowledge-f.jp/file/ns_fukui.param
Author=higusa ryuzo
Mail=neptune193@gmail.com
Update=2011/04/10
# ニュースソース名とサイトのベースURL(相対リンクのベースとなるURL)の設定
[NewsSource]
SourceName=福井新聞
BaseURL=http://www.fukuishimbun.co.jp/
# カテゴリ名と記事一覧のURLの設定
[Category]
Category1=福井の主要ニュース,modules/news0/index.php?storytopic=0&listflg=on
#Category2=福井の社会,modules/news0/index.php?storytopic=1&listflg=on
Category2=福井の社会,localnews/society/list.html
Category3=福井の政治・行政,localnews/politics/list.html
Category4=福井の経済,localnews/economics/list.html
Category5=福井のスポーツ,localnews/sports/list.html
Category6=福井の催し・文化,localnews/event_calture/list.html
Category7=福井の学校・教育,localnews/school_educaion/list.html
Category8=福井の原発,localnews/nuclearpower/list.html
Category9=論説,localnews/editorial/list.html
Category10=コラム越山若水,localnews/column/list.html
# 記事URLと記事タイトルと日付を抜き出す正規表現の設定
[NewsURL_RegExp]
AllCategory=([^<]+)(([0-9]{4})/([0-9]{1,2})/([0-9]{1,2})(.[0-9]{1,2}):([0-9]{1,2})
# 記事URLを正規表現の部分マッチ文字列を使って表現
[NewsURL]
AllCategory=$2
# 記事タイトルを正規表現の部分マッチ文字列を使って表現
[NewsTitle]
AllCategory=$4
# 日付を正規表現の部分マッチ文字列を使って表現
[NewsDate]
AllCategory=$6月$7日$8時$9分
# 記事本文のはじまりと終わりを示すHTMLタグを定義
[NewsBodyStartEnd]
AllCategory=,
# 記事本文の正規表現による置換の設定
[NewsBodyReplace]
AllCategory=/
/\r\n/
AllCategory=/<[^>]+>//
Category10=/▼/。\n/