Open sakkuntyo opened 2 years ago
事前にxml -> jsオブジェクト化した sample json
{
"_attributes": {
"id": "9643386615",
"master_id": "",
"ft": "20220730000000",
"to": "20220730010000",
"ftl": "2400",
"tol": "2500",
"dur": "3600"
},
"title": {
"_text": "マイナビ Laughter Night"
},
"url": {
"_text": "https://www.tbsradio.jp/warai954/index.html"
},
"url_link": {
"text": "https://www.tbsradio.jp/warai954/index.html?x11=(radiko-uid)"
},
"failed_record": {
"_text": "0"
},
"ts_in_ng": {
"_text": "0"
},
"ts_out_ng": {
"_text": "0"
},
"desc": {},
"info": {
"text": "TBSラジオ若手芸人発掘番組、マイナビラフターナイト!
\n▼前半30分は「オンエア争奪LIVE」芸人のネタを聴いて一組に投票してください↓
\n<a href=\"https://www.tbsradio.jp/warai954/?x11=(radiko-uid)\">https://www.tbsradio.jp/warai954/
\nハッシュタグ:#ラフターナイト
\n▼後半30分が「金の国のたまごどんぶり」
\n賞レースやネタ番組で結果を残しつつある金の国。ですがお笑い界ではまだまだヒヨッ子。
\nヒヨッ子どころかまだ、お笑い界のたまごの状態。
\nそんな金の国が一皮剥け、美味しいどんぶりになるために頑張る。そんな番組です。
\n\nTwitter:<a href=\"https://twitter.com/SatLaugh954\">@SatLaugh954
\nメール:<a href=\"mailto:tamadon@tbs.co.jp\">tamadon@tbs.co.jp\n\n"
},
"pfm": {
"_text": "若林有子(TBSアナウンサー)/金の国"
},
"img": {
"_text": "https://radiko.jp/res/program/DEFAULT_IMAGE/TBS/15prxojs4g.jpg"
},
"tag": {
"item": [
{
"name": {
"_text": "若林有子(TBSアナウンサー)"
}
},
{
"name": {
"_text": "金の国"
}
}
]
},
"genre": {
"personality": {
"_attributes": {
"id": "C009"
},
"name": {
"_text": "芸人"
}
},
"program": {
"_attributes": {
"id": "P006"
},
"name": {
"_text": "バラエティ"
}
}
},
"metas": {
"meta": {
"_attributes": {
"name": "twitter",
"value": "#radiko"
}
}
}
}
とりあえず今日分の番組表を表示する機能を追加する