FC2BLOG カテゴリ・リンク・タグのバックアップ用テンプレート
Paroday
-
FC2ブログのプラグインやカテゴリをまとめてバックアップする方法
バックアップ用に複製したテンプレートのHTMLに次のコードを入れます。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="<%template_language>" lang="<%template_language>"> <head> <meta http-equiv="content-type" content="text/html; charset=<%template_charset>" /> <meta http-equiv="content-style-type" content="text/css" /> <meta http-equiv="content-script-type" content="text/javascript" /> <meta name="author" content="<%author_name>" /> <link rel="start" href="<%url>" title="<%blog_name>" /> <link rel="stylesheet" type="text/css" href="<%css_link>" /> <title><%blog_name> - Category Link Tag</title> </head> <body style="text-align:center;font-size:13px;"> <div style="margin:50px 0 70px;"> <textarea id="txt" style="font-size:13px;font-family:monospace;width:80%;height:80%;padding:3px;background:#f9f9f9;border:1px #aaa solid;color:#000;text-align:left;" readonly="readonly" rows="20" cols="60"> /// Category /////////////////////////////////////////////////////// - no <!--category--> c <%category_no> [<!--category_nosub-->無<!--/category_nosub--> <!--category_parent-->親<!--/category_parent--> <!--category_sub_hasnext-->子<!--/category_sub_hasnext--> <!--category_sub_end-->子<!--/category_sub_end-->] <%category_name> <!--plugin--><!--/plugin--> <!--/category--> /// Link /////////////////////////////////////////////////////////// <!--link--> @ <%link_name> <%link_url> <!--plugin--><!--/plugin--> <!--/link--> /// Archive //////////////////////////////////////////////////////// Entry <!--archive--> <%archive_year> <%archive_month> <%archive_count> <!--plugin--><!--/plugin--> <!--/archive--> /// Tag //////////////////////////////////////////////////////////// Usertag <!--rtag--> <%rtag_count> <%rtag_name> ./?tag=<%rtag_parsename> <!--plugin--><!--/plugin--> <!--/rtag--> </textarea> </div> <script type="text/javascript"><!-- (function(d){ var t=d.getElementById('txt'),v=t.value,i=0,j=0,nd=new Date(), time=nd.getFullYear()+'-'+(nd.getMonth()+1)+'-'+nd.getDate()+ ' '+String(nd.getHours()).replace(/^(.)$/,'0$1')+ ':'+String(nd.getMinutes()).replace(/^(.)$/,'0$1')+'\n\n', a=<!--archive--><%archive_count>+<!--/archive-->0, u=[0<!--rtag-->,<%rtag_count><!--/rtag-->]; t.value=time+v.replace(/\nc/g,function(e){return '\n'+(i+=1);}) .replace(/\n@/g,function(e){return '\n'+(j+=1);}) .replace(/\nEntry/,'\n公開記事数\t'+a).replace(/\nUsertag/,'\n使用タグ数\t'+(u.length-1)); }(document)); --></script> <p><a href="javascript:(function(d){var%20s=d.createElement('script');s.src='http://blog-imgs-46.fc2.com/p/a/r/paro2day/buPlg.js';s.charset='utf-8';d.getElementsByTagName('head')[0].appendChild(s);}(document))">FC2plgbu</a>(プラグイン:ブックマークして使用) - <a href="http://paro2day.blog122.fc2.com/blog-entry-689.html" target="_blank">利用方法</a></p> <hr /> <div style="font-size:11px;margin-top:20px;"> <%ad><%ad2> </div> </body> </html>