【Grep】複数ファイル文字列検索ソフト【置換】
■ このスレッドは過去ログ倉庫に格納されています
0556名無しさん@お腹いっぱい。
2010/10/01(金) 12:07:24ID:SS2kofbD0それぞれのタイトルタグ内の文字列を
それぞれのページのメタタグの説明文、キーワードに挿入したい。
現在
<title>■□■□</title>
<meta http-equiv="content-type" content="text/html; charset=shift_jis">
<meta http-equiv="cache-control" content="no-cache">
<meta name="description" content="☆★☆">
<meta name="keywords" content="○●●,●◎">
メタタグの説明文、キーワードともに、
☆★☆や、○●●,●◎などの文字列を入れてしまっている。
そこで、それぞれのメタタグ内の前方に、タイトルタグの文字列を挿入したい。
↓
<title>■□■□</title>
<meta http-equiv="content-type" content="text/html; charset=shift_jis">
<meta http-equiv="cache-control" content="no-cache">
<meta name="description" content="■□■□。☆★☆">
<meta name="keywords" content="■□■□,○●●,●◎">
■ このスレッドは過去ログ倉庫に格納されています