{"id":600,"date":"2013-06-29T13:59:04","date_gmt":"2013-06-29T05:59:04","guid":{"rendered":"http:\/\/www.yeetrack.com\/?p=600"},"modified":"2013-09-27T22:36:36","modified_gmt":"2013-09-27T14:36:36","slug":"android%e5%9b%be%e7%89%87%e5%b7%a6%e5%8f%b3%e5%88%87%e6%8d%a2%e5%92%8c%e6%8b%96%e5%8a%a8%e5%a4%a7%e5%b0%8f","status":"publish","type":"post","link":"https:\/\/www.yeetrack.com\/?p=600","title":{"rendered":"Android\u56fe\u7247\u5de6\u53f3\u5207\u6362\u548c\u62d6\u52a8\u5927\u5c0f"},"content":{"rendered":"<p><meta http-equiv=\"Content-Type\" content=\"text\/html; charset=utf-8\" \/><\/p>\n<style type=\"text\/css\"><!--\nbody { font-family: Helvetica, arial, freesans, clean, sans-serif; font-size: 14px; line-height: 1.6; color: #333; background-color: #fff; padding: 20px; max-width: 960px; margin: 0 auto; } body>*:first-child {\nmargin-top: 0 !important;\n}\n\nbody>*:last-child {\nmargin-bottom: 0 !important;\n}\n\n\/* BLOCKS\n=============================================================================*\/\n\np, blockquote, ul, ol, dl, table, pre {\nmargin: 15px 0;\n}\n\n\/* HEADERS\n=============================================================================*\/\n\nh1, h2, h3, h4, h5, h6 {\nmargin: 20px 0 10px;\npadding: 0;\nfont-weight: bold;\n-webkit-font-smoothing: antialiased;\n}\n\nh1 tt, h1 code, h2 tt, h2 code, h3 tt, h3 code, h4 tt, h4 code, h5 tt, h5 code, h6 tt, h6 code {\nfont-size: inherit;\n}\n\nh1 {\nfont-size: 28px;\ncolor: #000;\n}\n\nh2 {\nfont-size: 24px;\nborder-bottom: 1px solid #ccc;\ncolor: #000;\n}\n\nh3 {\nfont-size: 18px;\n}\n\nh4 {\nfont-size: 16px;\n}\n\nh5 {\nfont-size: 14px;\n}\n\nh6 {\ncolor: #777;\nfont-size: 14px;\n}\n\nbody>h2:first-child, body>h1:first-child, body>h1:first-child+h2, body>h3:first-child, body>h4:first-child, body>h5:first-child, body>h6:first-child {\nmargin-top: 0;\npadding-top: 0;\n}\n\na:first-child h1, a:first-child h2, a:first-child h3, a:first-child h4, a:first-child h5, a:first-child h6 {\nmargin-top: 0;\npadding-top: 0;\n}\n\nh1+p, h2+p, h3+p, h4+p, h5+p, h6+p {\nmargin-top: 10px;\n}\n\n\/* LINKS\n=============================================================================*\/\n\na {\ncolor: #4183C4;\ntext-decoration: none;\n}\n\na:hover {\ntext-decoration: underline;\n}\n\n\/* LISTS\n=============================================================================*\/\n\nul, ol {\npadding-left: 30px;\n}\n\nul li > :first-child,\nol li > :first-child,\nul li ul:first-of-type,\nol li ol:first-of-type,\nul li ol:first-of-type,\nol li ul:first-of-type {\nmargin-top: 0px;\n}\n\nul ul, ul ol, ol ol, ol ul {\nmargin-bottom: 0;\n}\n\ndl {\npadding: 0;\n}\n\ndl dt {\nfont-size: 14px;\nfont-weight: bold;\nfont-style: italic;\npadding: 0;\nmargin: 15px 0 5px;\n}\n\ndl dt:first-child {\npadding: 0;\n}\n\ndl dt>:first-child {\nmargin-top: 0px;\n}\n\ndl dt>:last-child {\nmargin-bottom: 0px;\n}\n\ndl dd {\nmargin: 0 0 15px;\npadding: 0 15px;\n}\n\ndl dd>:first-child {\nmargin-top: 0px;\n}\n\ndl dd>:last-child {\nmargin-bottom: 0px;\n}\n\n\/* CODE\n=============================================================================*\/\n\npre, code, tt {\nfont-size: 12px;\nfont-family: Consolas, \"Liberation Mono\", Courier, monospace;\n}\n\ncode, tt {\nmargin: 0 0px;\npadding: 0px 0px;\nwhite-space: nowrap;\nborder: 1px solid #eaeaea;\nbackground-color: #f8f8f8;\nborder-radius: 3px;\n}\n\npre>code {\nmargin: 0;\npadding: 0;\nwhite-space: pre;\nborder: none;\nbackground: transparent;\n}\n\npre {\nbackground-color: #f8f8f8;\nborder: 1px solid #ccc;\nfont-size: 13px;\nline-height: 19px;\noverflow: auto;\npadding: 6px 10px;\nborder-radius: 3px;\n}\n\npre code, pre tt {\nbackground-color: transparent;\nborder: none;\n}\n\n\/* QUOTES\n=============================================================================*\/\n\nblockquote {\nborder-left: 4px solid #DDD;\npadding: 0 15px;\ncolor: #777;\n}\n\nblockquote>:first-child {\nmargin-top: 0px;\n}\n\nblockquote>:last-child {\nmargin-bottom: 0px;\n}\n\n\/* HORIZONTAL RULES\n=============================================================================*\/\n\nhr {\nclear: both;\nmargin: 15px 0;\nheight: 0px;\noverflow: hidden;\nborder: none;\nbackground: transparent;\nborder-bottom: 4px solid #ddd;\npadding: 0;\n}\n\n\/* TABLES\n=============================================================================*\/\n\ntable th {\nfont-weight: bold;\n}\n\ntable th, table td {\nborder: 1px solid #ccc;\npadding: 6px 13px;\n}\n\ntable tr {\nborder-top: 1px solid #ccc;\nbackground-color: #fff;\n}\n\ntable tr:nth-child(2n) {\nbackground-color: #f8f8f8;\n}\n\n\/* IMAGES\n=============================================================================*\/\n\n.markdown-body img {\nmax-width: 100%\n}\n--><\/style>\n<h2>Android\u56fe\u7247\u5de6\u53f3\u5207\u6362\u548c\u62d6\u52a8\u5927\u5c0f<\/h2>\n<p>Android\u89c2\u770b\u56fe\u7247\u65f6\uff0c\u5de6\u53f3\u6ed1\u52a8\u5b9e\u73b0\u7167\u7247\u5207\u6362\uff0c\u591a\u624b\u52bf\u5b9e\u73b0\u7167\u7247\u7684\u6269\u5927\u548c\u7f29\u5c0f\u3002Android\u4e2d\u4f7f\u7528ImageView\u6765\u5c55\u793a\u56fe\u7247\uff0c\u5bf9\u5176\u8fdb\u884c\u76d1\u542c\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u56fe\u7247\u7684\u5404\u79cd\u53d8\u6362\u3002<\/p>\n<pre><code>ImageView imageView;\nimageView = (ImageView)findViewById(R.id.someId);\nimageView.setOnTouchListener(new OnTouchListener()\n{       \n    public boolean onTouch(View v, MotionEvent event)\n    {\n        \/\/\u76d1\u542c\u4ee3\u7801\n        switch (event.getAction() &amp; MotionEvent.ACTION_MASK) \n        {\n            ...\n        } \n    }\n}   \n<\/code><\/pre>\n<p><!--more-->\u4e0a\u9762\u4ee3\u7801\u5c31\u662f\u4e3aImageView\u6dfb\u52a0\u4e00\u4e2a\u76d1\u542c\u7aef\u53e3\uff0c\u5b9e\u73b0\u591a\u624b\u52bf\u76d1\u542c\u3002\u5982\u679c\u6ca1\u6709<code>MotionEvent.ACTION_MASK<\/code>\u90a3\u4e48\u53ea\u80fd\u8bc6\u522b\u5355\u624b\u6307\u52a8\u4f5c\u3002<\/p>\n<p>\u4e0b\u9762\u4ee3\u7801\uff0c\u6839\u636e\u56fe\u7247URL\u4ece\u7f51\u4e0a\u52a0\u8f7d\u56fe\u7247\uff0c\u5c55\u793a\u51fa\u6765\uff0c\u53ef\u4ee5\u6ed1\u52a8\u5207\u6362\u3001\u591a\u624b\u52bf\u6539\u53d8\u5927\u5c0f\u8d34\u51fa\u6765\u3002<\/p>\n<pre><code>public class ImageActivity extends Activity\n{\n    private List&lt;String&gt; imageUrlList; \/\/\u56fe\u7247url\u5217\u8868\n    private TextView view;\n    private ImageView imageView;\n    private String url;\n    \/\/\u5f53\u524d\u662f\u7b2c\u51e0\u4e2a\u56fe\u7247\n    private int index;\n    private Bitmap bitmap;\n\n    Matrix matrix = new Matrix(); \n    Matrix savedMatrix = new Matrix(); \n    PointF start = new PointF(); \n    PointF mid = new PointF(); \n    float  oldDist; \n\n   \/\/\u5b9a\u4e49\u4e09\u79cd\u72b6\u6001\uff0c\u7a7a\u3001\u62d6\u52a8\u3001\u6539\u53d8\u5927\u5c0f\n   static final int NONE = 0; \n   static final int DRAG = 1; \n   static final int ZOOM = 2; \n   \/\/\u5f53\u524d\u89e6\u53d1\u7684\u4e8b\u4ef6\n   int mode = NONE; \n   \/\/\u8bb0\u5f55\u662f\u5426\u662fZOOM\u6a21\u5f0f\uff0c\u53ea\u6709ZOOM\u6a21\u5f0f\u624d\u4f1a\u6709drag\u52a8\u4f5c\n   int previousMode = NONE;\n\n   \/\/android\u89c4\u5b9a\uff0c\u4e3b\u7ebf\u7a0b\u4e0d\u80fd\u53bb\u52a0\u8f7dhttp\u8bf7\u6c42\uff0c\u8981\u7528\u5b50\u7ebf\u7a0b\uff0chandler\u5b9e\u73b0\u7ebf\u7a0b\u4e4b\u95f4\u7684\u901a\u4fe1\n   private Handler handler = new Handler()\n   {\n        public void handleMessage(Message msg)\n        {\n            Bundle bundle = msg.getData();\n            if(\"ok\".equals(bundle.getString(\"status\")))\n            {\n                setProgressBarIndeterminateVisibility(false);\n                matrix = new Matrix();\n                imageView.setImageBitmap(bitmap);\n            }\n        }\n    };\n\n    @Override\n    protected void onCreate(Bundle savedInstanceState)\n    {\n        \/\/ TODO Auto-generated method stub\n        super.onCreate(savedInstanceState);\n        \/\/\u83b7\u53d6\u6807\u9898\u8fdb\u5ea6\u6761\uff0c\u6dfb\u52a0\u4e00\u4e2a\u8fdb\u5ea6\u6761\uff0c\u5f53\u5b50\u7ebf\u7a0b\u6b63\u5728\u52a0\u8f7d\u7684\u65f6\u5019\uff0c\u63d0\u9192\u7528\u6237\n        requestWindowFeature(Window.FEATURE_INDETERMINATE_PROGRESS);\n        setContentView(R.layout.activity_image);\n        index = 0;\n\n        \/\/\u83b7\u53d6\u4e0a\u4e00\u4e2a\u9875\u9762\u4f20\u8fc7\u6765\u7684\u4fe1\u606f\n        Intent intent = this.getIntent();\n        Bundle bundle = intent.getBundleExtra(\"data\");\n        url = bundle.getString(\"url\");\n\n        view = (TextView)findViewById(R.id.imageUrl);\n        imageView = (ImageView)findViewById(R.id.image);\n        \/\/\u6dfb\u52a0loading\u754c\u9762\n        setProgressBarIndeterminateVisibility(true);\n        new Thread(imagesRunnable).start();\n        new Thread(imageResourceRunnable).start();\n\n        \/\/\u4e3aimageView\u6dfb\u52a0\u76d1\u542c\u4e8b\u4ef6\n        imageView.setOnTouchListener(new OnTouchListener()\n        {       \n            public boolean onTouch(View v, MotionEvent event)\n            {               \n                switch (event.getAction() &amp; MotionEvent.ACTION_MASK) \n                { \n                \/\/\u8bbe\u7f6e\u62d6\u62c9\u6a21\u5f0f\uff0cACTION_DOWN\u662f\u5355\u6307\u8fdb\u5165\u5c4f\u5e55\u7684\u4e8b\u4ef6 \n                case MotionEvent.ACTION_DOWN: \n                savedMatrix.set(matrix); \n                start.set(event.getX(), event.getY()); \n                \/\/Log.d(TAG, \"mode=DRAG\" ); \n                if(previousMode == ZOOM)\n                    mode = DRAG; \n                break; \n             \/\/\u5355\u6307\u79bb\u5f00\u5c4f\u5e55\uff0c\u6b64\u5904\u53ef\u80fd\u662f\u62d6\u52a8\u4f4d\u7f6e\uff0c\u4e5f\u53ef\u80fd\u662f\u6ed1\u52a8\u8fdb\u5165\u4e0b\u4e00\u9875\n             case MotionEvent.ACTION_UP: \n                 if(previousMode == NONE || (!checkImageLocation()))\/\/\u5982\u679c\u4e0d\u662f\u62d6\u62c9\u6a21\u5f0f\uff0c\u5c31\u5224\u65ad\u7ffb\u9875\n                 {\n                     mode = NONE;\n                     previousMode = NONE;\n                     if(event.getX() - start.x &gt; 200)\n                        {\n                            if(index &gt; 0)\n                            {\n                                index--;\n                                \/\/\u6dfb\u52a0loading\u754c\u9762\n                                setProgressBarIndeterminateVisibility(true);\n                                new Thread(imageResourceRunnable).start();\n\n                                view.setText(String.valueOf(index+1)+\"\/\"+String.valueOf(imageUrlList.size()));\n                            }\n                        } \n                        \/\/\u5411\u5de6\u6ed1\u52a8\n                        else if(event.getX() - start.x &lt; -200)\n                        {\n                            if(index &lt; imageUrlList.size()-1)\n                            {\n                                index++;\n                                \/\/\u6dfb\u52a0loading\u754c\u9762\n                                setProgressBarIndeterminateVisibility(true);\n                                new Thread(imageResourceRunnable).start();\n\n                                view.setText(String.valueOf(index+1)+\"\/\"+String.valueOf(imageUrlList.size()));\n                            }\n                        }\n                 }\n            \/\/\u591a\u6307\uff0c\u79bb\u5f00\u5c4f\u5e55\u4e8b\u4ef6\n             case MotionEvent.ACTION_POINTER_UP: \n                \/\/mode = NONE; \n                \/\/Log.d(TAG, \"mode=NONE\" ); \n                break; \n             \/\/\u8bbe\u7f6e\u591a\u70b9\u89e6\u6478\u6a21\u5f0f \uff0cACTION_POINTER_DOWN \u591a\u624b\u6307\u8fdb\u5165\u5c4f\u5e55\n             case MotionEvent.ACTION_POINTER_DOWN: \n                 oldDist = spacing(event); \n                 previousMode = ZOOM;\n                 \/\/Log.d(TAG, \"oldDist=\" + oldDist); \n                 if (oldDist &gt; 10f) { \n                    savedMatrix.set(matrix); \n                    midPoint(mid, event); \n                    mode = ZOOM; \n                   \/\/ Log.d(TAG, \"mode=ZOOM\" ); \n                 } \n                 break; \n               \/\/\u82e5\u4e3aDRAG\u6a21\u5f0f\uff0c\u5219\u70b9\u51fb\u79fb\u52a8\u56fe\u7247 \n            \/\/ACTION_MOVE \u62d6\u52a8\u5c4f\u5e55\u4e8b\u4ef6\n             case MotionEvent.ACTION_MOVE: \n                 if (mode == DRAG &amp;&amp; previousMode == ZOOM) \n                 { \n                     if(!checkImageLocation())\n                         break;\n                    matrix.set(savedMatrix); \n                    \/\/ \u8bbe\u7f6e\u4f4d\u79fb \n                    matrix.postTranslate(event.getX() - start.x, \n                   event.getY() - start.y); \n                 } \n                 \/\/\u82e5\u4e3aZOOM\u6a21\u5f0f\uff0c\u5219\u591a\u70b9\u89e6\u6478\u7f29\u653e \n                    else if (mode == ZOOM) \n                    { \n                        \/\/\u83b7\u53d6Matrix \u77e9\u9635\u5230\u6570\u7ec4\u4e2d\n                        float[] matrixValues = new float[9];\n                        matrix.getValues(matrixValues);\n\n                        if(spacing(event)!=-1)\n                        {\n                            float newDist = spacing(event); \n                            \/\/Log.d(TAG, \"newDist=\" + newDist); \n                            if (newDist &gt; 10f) \n                            { \n                                matrix.set(savedMatrix); \n                                float scale = newDist \/ oldDist;\n                                \/\/\u8bbe\u7f6e\u7f29\u653e\u6bd4\u4f8b\u548c\u56fe\u7247\u4e2d\u70b9\u4f4d\u7f6e \n                                if(!(scale &lt; 1 &amp;&amp; matrixValues[0]&lt;=0.4))\n                                    matrix.postScale(scale, scale, mid.x, mid.y); \n                                else \n                                    matrix.postScale(1, 1, mid.x, mid.y);\n                                previousMode = ZOOM;\n                            } \n                        }\n                 } \n                 break; \n           } \n            \/\/\u66f4\u65b0ImageView\n            imageView.setImageMatrix(matrix);\n            return true;\n        }\n        private float spacing(MotionEvent event) \n        {\n            try\n            {\n                float x = event.getX(0) - event.getX(1); \n                float y = event.getY(0) - event.getY(1); \n                return FloatMath.sqrt(x * x + y * y); \n            } catch (Exception e)\n            {\n                e.printStackTrace();\n            }\n            return -1;\n        } \n        \/\/\u8ba1\u7b97\u4e2d\u70b9\u4f4d\u7f6e \n        private void midPoint(PointF point, MotionEvent event) \n        { \n              float x = event.getX(0) + event.getX(1); \n              float y = event.getY(0) + event.getY(1); \n              point.set(x \/ 2, y \/ 2); \n        }\n        \/**\n         * \u8ba1\u7b97\u5f53\u524d\u56fe\u7247\u4e0e\u5c4f\u5e55\u7684\u4f4d\u7f6e\u5173\u7cfb\n         * @return \u5982\u679c\u8fd4\u56de\u4e3a\u771f\u5c31\u62d6\u52a8\n         * \u5982\u679c\u8fd4\u56de\u4e3a\u5047\uff0c\u5c31\u5207\u6362\u56fe\u7247\n         *\/\n        @SuppressWarnings(\"deprecation\")\n        private boolean checkImageLocation()\n        {\n            float[] locatons = new float[9];\n            matrix.getValues(locatons);\n            Rect rect = imageView.getDrawable().getBounds();\n            float left = locatons[2];\n            float top = locatons[5];\n            float right = left+rect.width()*locatons[0];\n            float bottom = top+rect.height()*locatons[0];\n            int screenWidth = getWindowManager().getDefaultDisplay().getWidth();\n            int screenHeight = getWindowManager().getDefaultDisplay().getHeight();\n            if((screenWidth-left&lt; 200) || (right&lt;200) || (screenHeight-top&lt;500) || bottom&lt;500)\n                return false;\n            return true;\n        }\n\n    });\n\n}\n\n\/**\n * \u542f\u52a8\u7ebf\u7a0b\u52a0\u8f7d\u56fe\u7247\u94fe\u63a5\u5730\u5740\n *\/\nRunnable imagesRunnable = new Runnable()\n{\n    public void run()\n    {\n        ImageSpider  imageSpider = new ImageSpider(url);\n        imageUrlList = imageSpider.spider();\n    }\n};\n\n\/**\n * \u542f\u52a8\u7ebf\u7a0b\u52a0\u8f7d\u56fe\u7247\n *\/\nRunnable imageResourceRunnable = new Runnable()\n{\n    public void run()\n    {\n        \/\/\u7b49\u5f85\u53e6\u4e00\u4e2a\u7ebf\u7a0b\u52a0\u8f7d\u5b8c\u6bd5\n        while(imageUrlList == null)\n        {\n            try\n            {\n                Thread.sleep(500);\n            } catch (InterruptedException e)\n            {\n                \/\/ TODO Auto-generated catch block\n                e.printStackTrace();\n            }\n        }\n\n        URL imageUrl = null;    \n        try\n        {\n            imageUrl = new URL(imageUrlList.get(index));\n            HttpURLConnection connection = (HttpURLConnection)imageUrl.openConnection();\n            \/\/\u8bbe\u7f6eReferer\u4fe1\u606f\n            connection.addRequestProperty(\"Referer\", \"www.yeetrack.com\");\n            \/\/10\u79d2\u8d85\u65f6\n            connection.setConnectTimeout(10000);\n            connection.setDoInput(true);\n            connection.setUseCaches(true);\n            InputStream is = connection.getInputStream();\n            bitmap = BitmapFactory.decodeStream(is);\n            is.close();\n            connection.disconnect();\n        } catch (MalformedURLException e)\n        {\n            \/\/ TODO Auto-generated catch block\n            e.printStackTrace();\n        } catch (IOException e)\n        {\n            \/\/ TODO Auto-generated catch block\n            e.printStackTrace();\n        }\n        \/\/\u52a0\u8f7d\u5b8c\u6bd5\uff0c\u901a\u77e5\u4e3b\u7ebf\u7a0b\n        Bundle bundle = new Bundle();\n        bundle.putString(\"status\", \"ok\");\n        Message msg = new Message();\n        msg.setData(bundle);\n        handler.sendMessage(msg);\n\n    }\n};\n}\n<\/code><\/pre>\n<p><!-- This document was created with MarkdownPad, the Markdown editor for Windows (http:\/\/markdownpad.com) --><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Android\u56fe\u7247\u5de6\u53f3\u5207\u6362\u548c\u62d6\u52a8\u5927\u5c0f Android\u89c2\u770b\u56fe\u7247\u65f6\uff0c\u5de6\u53f3\u6ed1\u52a8\u5b9e\u73b0\u7167\u7247\u5207\u6362\uff0c\u591a\u624b\u52bf\u5b9e\u73b0\u7167\u7247\u7684\u6269\u5927\u548c\u7f29\u5c0f\u3002Android\u4e2d\u4f7f\u7528ImageView\u6765\u5c55\u793a\u56fe\u7247\uff0c\u5bf9\u5176\u8fdb\u884c\u76d1\u542c\uff0c\u5c31\u53ef\u4ee5\u5b9e\u73b0\u56fe\u7247\u7684\u5404\u79cd\u53d8&#46;&#46;&#46;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"pgc_sgb_lightbox_settings":"","footnotes":""},"categories":[33],"tags":[43,8,7,5,16],"class_list":["post-600","post","type-post","status-publish","format-standard","hentry","category-coding","tag-android","tag-java","tag-7","tag-5","tag-16"],"views":4437,"_links":{"self":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/600","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=600"}],"version-history":[{"count":2,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/600\/revisions"}],"predecessor-version":[{"id":730,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=\/wp\/v2\/posts\/600\/revisions\/730"}],"wp:attachment":[{"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=600"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=600"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.yeetrack.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=600"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}