{"id":8705,"date":"2012-09-25T23:02:39","date_gmt":"2012-09-25T17:32:39","guid":{"rendered":"http:\/\/www.tothenew.com\/blog\/?p=8705"},"modified":"2022-01-12T19:01:00","modified_gmt":"2022-01-12T13:31:00","slug":"redis-tag-cloud-using-redis","status":"publish","type":"post","link":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/","title":{"rendered":"Redis: Tag Cloud using Redis"},"content":{"rendered":"<p>I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site.<\/p>\n<p>How to do it?<\/p>\n<p>[java]A very simple way of making it possible is just by making a Map having the Tag as key and its occurrences as the value. [\/java]<\/p>\n<p>The presence of redis makes me think that it is not at all taxing for my poor server.<\/p>\n<p>Redis provides a data-structure called Sorted Set. In Sorted sets, every member of a Sorted Set is associated with score, that is used in order to take the sorted set ordered, from the smallest to the greatest score. While members are unique, scores may be repeated.<\/p>\n<p>We can use the Sorted Set to contain the Tags as value and their corresponding weightage as score. This way we have a Sorted Set of all the Tags. We may choose to select top 50 Tags from the Sorted Set. <\/p>\n<p>Prerequisite: You must have Redis installed and running on your machine. Here is a link to Redis site showing how to do it http:\/\/redis.io\/download<\/p>\n<p>Here is an example of showing top 50 tags from Blog domain class.<\/p>\n<p>[java]<br \/>\nclass Blog{<br \/>\n  String content<br \/>\n  String title<br \/>\n  static hasMany = [categories: String]<br \/>\n}<br \/>\n[\/java]<\/p>\n<p>The code for generating the tagCloud is:<\/p>\n<p>[java]<br \/>\n Jedis redis = new Jedis(&quot;localhost&quot;);<br \/>\n    redis.connect();<\/p>\n<p> for (def blog: Blog.list()) {<br \/>\n                        blog.categories.each {catgry -&gt;<br \/>\n                            redis.zincrby(&#8216;tag-cloud-sorted-set&#8217;, 1, &quot;${catgry}&quot;)<br \/>\n                        }<br \/>\n                    }<\/p>\n<p> Map tagCloud = [:]<br \/>\n        Set&lt;String&gt; categories = redis.zrevrange(&#8216;tag-cloud-sorted-set&#8217;, 0, 50)<br \/>\n        int size = 30<br \/>\n        categories.eachWithIndex {catgry, idx -&gt;<br \/>\n            if (idx % 15 == 0) {<br \/>\n                size = size &#8211; 3<br \/>\n            }<br \/>\n            tagCloud.put(catgry, size.toString())<br \/>\n        }<br \/>\n   return tagCloud<\/p>\n<p>[\/java]<\/p>\n<p>Once we get the Map of tagCloud we can render it as follows:<br \/>\n[java]<br \/>\n \t\t&lt;g:each in=&quot;${tagCloud.keySet()}&quot; var=&quot;key&quot; status=&quot;idx&quot;&gt;<br \/>\n                    &lt;g:link action=&quot;search&quot; controller=&quot;feed&quot; params=&quot;[category: key]&quot;<br \/>\n                            style=&quot;font-size: ${tagCloud.get(key)}px;&quot;&gt;${key}&lt;\/g:link&gt;<br \/>\n                &lt;\/g:each&gt;<br \/>\n[\/java]<br \/>\n<!--more--><br \/>\nHope this helps!!!<br \/>\n<!--more--><br \/>\nBest Regards<br \/>\nMohd Farid<br \/>\nfarid@intelligrape.com<br \/>\n@faridiflex<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to [&hellip;]<\/p>\n","protected":false},"author":26,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"iawp_total_views":14,"footnotes":""},"categories":[7],"tags":[4840,857,1081,1080],"class_list":["post-8705","post","type-post","status-publish","format-standard","hentry","category-grails","tag-grails","tag-redis","tag-tagcloud","tag-usecase"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.0.1 - aioseo.com -->\n\t<meta name=\"description\" content=\"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Mohd Farid\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.0.1\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"TO THE NEW BLOG\" \/>\n\t\t<meta property=\"og:type\" content=\"blog\" \/>\n\t\t<meta property=\"og:title\" content=\"Redis: Tag Cloud using Redis | TO THE NEW Blog\" \/>\n\t\t<meta property=\"og:description\" content=\"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary\" \/>\n\t\t<meta name=\"twitter:site\" content=\"@tothenew\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Redis: Tag Cloud using Redis | TO THE NEW Blog\" \/>\n\t\t<meta name=\"twitter:description\" content=\"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to\" \/>\n\t\t<meta name=\"twitter:image\" content=\"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#article\",\"name\":\"Redis: Tag Cloud using Redis | TO THE NEW Blog\",\"headline\":\"Redis: Tag Cloud using Redis\",\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/farid\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"},\"datePublished\":\"2012-09-25T23:02:39+05:30\",\"dateModified\":\"2022-01-12T19:01:00+05:30\",\"inLanguage\":\"en-US\",\"commentCount\":5,\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#webpage\"},\"articleSection\":\"Grails, Grails, redis, TagCloud, usecase\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"position\":2,\"name\":\"Grails\",\"item\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#listItem\",\"name\":\"Redis: Tag Cloud using Redis\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#listItem\",\"position\":3,\"name\":\"Redis: Tag Cloud using Redis\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/category\\\/grails\\\/#listItem\",\"name\":\"Grails\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\",\"name\":\"TO THE NEW Blog\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/farid\\\/#author\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/farid\\\/\",\"name\":\"Mohd Farid\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/d386ff6714165be4c5ee1f75fd255d6ca7021e0ada16952088cff7e9f6e50679?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"Mohd Farid\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#webpage\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/\",\"name\":\"Redis: Tag Cloud using Redis | TO THE NEW Blog\",\"description\":\"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\\\/text. The size of the tag\\\/text is drirectly proportional to the weightage of that tag\\\/text. A sample tag cloud could be seen on our blogs site. How to\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/redis-tag-cloud-using-redis\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/farid\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/author\\\/farid\\\/#author\"},\"datePublished\":\"2012-09-25T23:02:39+05:30\",\"dateModified\":\"2022-01-12T19:01:00+05:30\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/\",\"name\":\"TO THE NEW Blog\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.tothenew.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Redis: Tag Cloud using Redis | TO THE NEW Blog","description":"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to","canonical_url":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#article","name":"Redis: Tag Cloud using Redis | TO THE NEW Blog","headline":"Redis: Tag Cloud using Redis","author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/farid\/#author"},"publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"},"datePublished":"2012-09-25T23:02:39+05:30","dateModified":"2022-01-12T19:01:00+05:30","inLanguage":"en-US","commentCount":5,"mainEntityOfPage":{"@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#webpage"},"isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#webpage"},"articleSection":"Grails, Grails, redis, TagCloud, usecase"},{"@type":"BreadcrumbList","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.tothenew.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","position":2,"name":"Grails","item":"https:\/\/www.tothenew.com\/blog\/category\/grails\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#listItem","name":"Redis: Tag Cloud using Redis"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#listItem","position":3,"name":"Redis: Tag Cloud using Redis","previousItem":{"@type":"ListItem","@id":"https:\/\/www.tothenew.com\/blog\/category\/grails\/#listItem","name":"Grails"}}]},{"@type":"Organization","@id":"https:\/\/www.tothenew.com\/blog\/#organization","name":"TO THE NEW Blog","url":"https:\/\/www.tothenew.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.tothenew.com\/blog\/author\/farid\/#author","url":"https:\/\/www.tothenew.com\/blog\/author\/farid\/","name":"Mohd Farid","image":{"@type":"ImageObject","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/d386ff6714165be4c5ee1f75fd255d6ca7021e0ada16952088cff7e9f6e50679?s=96&d=mm&r=g","width":96,"height":96,"caption":"Mohd Farid"}},{"@type":"WebPage","@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#webpage","url":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/","name":"Redis: Tag Cloud using Redis | TO THE NEW Blog","description":"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.tothenew.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/#breadcrumblist"},"author":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/farid\/#author"},"creator":{"@id":"https:\/\/www.tothenew.com\/blog\/author\/farid\/#author"},"datePublished":"2012-09-25T23:02:39+05:30","dateModified":"2022-01-12T19:01:00+05:30"},{"@type":"WebSite","@id":"https:\/\/www.tothenew.com\/blog\/#website","url":"https:\/\/www.tothenew.com\/blog\/","name":"TO THE NEW Blog","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.tothenew.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"TO THE NEW BLOG","og:type":"blog","og:title":"Redis: Tag Cloud using Redis | TO THE NEW Blog","og:description":"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to","og:url":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/","og:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","og:image:secure_url":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png","twitter:card":"summary","twitter:site":"@tothenew","twitter:title":"Redis: Tag Cloud using Redis | TO THE NEW Blog","twitter:description":"I would like to share a simple and efficient way of creating tagclouds that I discovered very recently. A Tag Cloud is a pictorial representation of some tags\/text. The size of the tag\/text is drirectly proportional to the weightage of that tag\/text. A sample tag cloud could be seen on our blogs site. How to","twitter:image":"https:\/\/www.tothenew.com\/blog\/wp-content\/themes\/ttn\/images\/social-logo.png"},"aioseo_meta_data":{"post_id":"8705","title":null,"description":null,"keywords":[],"keyphrases":{"focus":[],"additional":[]},"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":"","og_custom_url":null,"og_article_section":null,"og_article_tags":[],"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":{"id":"#aioseo-article-65e046147dacc","slug":"article","graphName":"Article","label":"Article","properties":{"type":"BlogPosting","name":"#post_title","headline":"#post_title","description":"#post_excerpt","image":"","keywords":"","author":{"name":"#author_name","url":"#author_url"},"dates":{"include":true,"datePublished":"","dateModified":""}}},"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"Article","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":"{\"article\":{\"articleType\":\"BlogPosting\"},\"course\":{\"name\":\"\",\"description\":\"\",\"provider\":\"\"},\"faq\":{\"pages\":[]},\"product\":{\"reviews\":[]},\"recipe\":{\"ingredients\":[],\"instructions\":[],\"keywords\":[]},\"software\":{\"reviews\":[],\"operatingSystems\":[]},\"webPage\":{\"webPageType\":\"WebPage\"}}","pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":"-1","robots_max_videopreview":"-1","robots_max_imagepreview":"large","priority":null,"frequency":"default","local_seo":null,"limit_modified_date":false,"created":"2021-04-30 08:09:00","updated":"2024-02-29 08:53:40","focus_keyword":null,"additional_keywords":null,"truseo_locale":null,"ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.tothenew.com\/blog\/category\/grails\/\" title=\"Grails\">Grails<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tRedis: Tag Cloud using Redis\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.tothenew.com\/blog"},{"label":"Grails","link":"https:\/\/www.tothenew.com\/blog\/category\/grails\/"},{"label":"Redis: Tag Cloud using Redis","link":"https:\/\/www.tothenew.com\/blog\/redis-tag-cloud-using-redis\/"}],"_links":{"self":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8705","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/users\/26"}],"replies":[{"embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/comments?post=8705"}],"version-history":[{"count":1,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8705\/revisions"}],"predecessor-version":[{"id":54609,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/posts\/8705\/revisions\/54609"}],"wp:attachment":[{"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/media?parent=8705"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/categories?post=8705"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.tothenew.com\/blog\/wp-json\/wp\/v2\/tags?post=8705"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}