We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
……ような。時間ができたら追いかけてみますがとりあえずメモ。
The text was updated successfully, but these errors were encountered:
追っかけてみたら、 3b0339f でflickr.jsを作ったときにブックマークレットからのphoto_id渡しを消しちゃってました。
Bookmarkletのエスケープは以下の修正でOKですが、力尽きたのでひとまずここまで。
diff --git a/plugin/ja/flickr.rb b/plugin/ja/flickr.rb index a8f07fb..0f7c47b 100644 --- a/plugin/ja/flickr.rb +++ b/plugin/ja/flickr.rb @@ -10,7 +10,8 @@ add_conf_proc('flickr', 'Flickr プラグイン') do end end - flickr_bookmarklet = CGI.escapeHTML %Q{javascript:(function(){var w=window;w.page_photo_id||/^\/photos\/[^/]+\/(\d+)\//.test(w.location.pathname)?w.location.href="#{@conf.base_url}#{@update}?#{FLICKER_FORM_PID}="+w.page_photo_id||RegExp.$1:void(0);})()} + flickr_bookmarklet = CGI.escapeHTML "javascript:(function(){location.pathname.match(/^\\/photos\\/[^/]+\\/(\\d+)\\//)?location.href='#{@conf.base_url}/#{@update}?#{FLICKER_FORM_PID}='+RegExp.$1:void(0);})()" + r = <<-_HTML <p><a href="http://www.flickr.com/">Flickr</a> に登録した画像を日記に表示するプラグインです。日記の本文中で下記のように呼び 出します。</p> <pre><%=flickr 画像ID, 画像サイズ%></pre>
Sorry, something went wrong.
No branches or pull requests
……ような。時間ができたら追いかけてみますがとりあえずメモ。
The text was updated successfully, but these errors were encountered: