{"id":559,"date":"2009-03-28T16:18:14","date_gmt":"2009-03-28T14:18:14","guid":{"rendered":"http:\/\/www.blog.atbliss.ru\/?p=559"},"modified":"2013-08-27T17:21:43","modified_gmt":"2013-08-27T15:21:43","slug":"building-tree-hierarchy-php-mysql","status":"publish","type":"post","link":"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/","title":{"rendered":"\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL"},"content":{"rendered":"

\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 (\u0432 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e\u043c \u0432\u0438\u0434\u0435) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL. \u041a\u043b\u044e\u0447 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 — \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 MySQL.<\/p>\n

\u041d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 (catalogue):<\/p>\n

\"\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435<\/span>
\u0418\u0435\u0440\u0430\u0440\u0445\u0438\u0447\u0435\u0441\u043a\u0430\u044f \u0441\u0442\u0440\u0443\u043a\u0442\u0443\u0440\u0430 \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0445\u0440\u0430\u043d\u0438\u0442\u0441\u044f \u0432 \u0431\u0430\u0437\u0435 \u0434\u0430\u043d\u043d\u044b\u0445 MySQL<\/figcaption><\/figure>\n

id<\/em> — \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0442\u0430\u0431\u043b\u0438\u0446\u044b
\npid<\/em> — id \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430<\/p>\n

\u0414\u0430\u043b\u0435\u0435 \u043d\u0430\u043f\u0438\u0448\u0435\u043c \u0441\u043b\u0435\u0434\u0443\u044e\u0449\u0438\u0439 PHP-\u0441\u043a\u0440\u0438\u043f\u0442:<\/p>\n

1. \u0424\u0430\u0439\u043b dbopen.php<\/em> (\u043e\u0442\u043a\u0440\u044b\u0432\u0430\u0435\u0442 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0435 \u0441 MySQL)<\/p>\n

<?php<\/code>\r\n$hostName = \"\";<\/code>\r\n$userName = \"yura\";<\/code>\r\n$password = \"yura\";<\/code>\r\n$databaseName = \"tree\";<\/code>\r\nif (!($link=mysql_connect($hostName,$userName,$password)))              {<\/code>\r\nprintf(\"\u041e\u0448\u0438\u0431\u043a\u0430 \u043f\u0440\u0438 \u0441\u043e\u0435\u0434\u0438\u043d\u0435\u043d\u0438\u0438 \u0441 MySQL !\\n\");<\/code>\r\nexit();<\/code>\r\n}<\/code>\r\nif (!mysql_select_db($databaseName, $link)) {<\/code>\r\nprintf(\"\u041e\u0448\u0438\u0431\u043a\u0430 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 !\");<\/code>\r\nexit();<\/code>\r\n}<\/code>\r\n?><\/code><\/pre>\n

2. \u0424\u0430\u0439\u043b index.php<\/em> (\u043e\u0441\u043d\u043e\u0432\u043d\u043e\u0439 \u0441\u043a\u0440\u0438\u043f\u0442)<\/p>\n

<?php<\/code>\r\ninclude( \"dbopen.php\" );<\/code>\r\n\r\nfunction ShowTree($ParentID, $lvl) {<\/code>\r\n\r\nglobal $link;<\/code>\r\nglobal $lvl;<\/code>\r\n$lvl++;<\/code>\r\n\r\n$sSQL = \"SELECT id, title, pid FROM catalogue WHERE pid = \" . $ParentID . \" ORDER BY title\";<\/code>\r\n\r\n$result = mysql_query($sSQL, $link);<\/code>\r\n\r\nif (mysql_num_rows($result) > 0) {<\/code>\r\necho(\"<UL>\\n\");<\/code>\r\nwhile ( $row = mysql_fetch_array($result) ) {<\/code>\r\n$ID1 = $row[\"id\"];<\/code>\r\necho(\"<LI>\\n\");<\/code>\r\necho(\"<A HREF=\\\"\" . \"?ID=\" . $ID1 . \"\\\">\" . $row[\"title\"] . \"<\/A>\" . \"&nbsp;&nbsp;\\n\");<\/code>\r\nShowTree($ID1, $lvl);<\/code>\r\n$lvl--;<\/code>\r\n}<\/code>\r\necho(\"<\/UL>\\n\");<\/code>\r\n}<\/code>\r\n\r\n}<\/code>\r\n\r\nShowTree(0, 0);<\/code>\r\nmysql_close($link);<\/code>\r\n?><\/code><\/pre>\n

\u0412\u0441\u044e \u0440\u0430\u0431\u043e\u0442\u0443 \u0432\u044b\u043f\u043e\u043b\u043d\u044f\u0435\u0442 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u0430\u044f \u0444\u0443\u043d\u043a\u0446\u0438\u044f ShowTree()<\/code>. \u041d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d \u043f\u0440\u0438\u043c\u0435\u0440 \u0440\u0430\u0431\u043e\u0442\u044b index.php<\/code>:<\/p>\n

\"\u0414\u0435\u0440\u0435\u0432\u043e,<\/span>
\u0420\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442 \u0440\u0430\u0431\u043e\u0442\u044b index.php<\/figcaption><\/figure>\n

\u041f\u0440\u0438\u043c\u0435\u0440 \u043f\u0440\u043e\u0435\u043a\u0442\u0430 \u043f\u0440\u0438\u043b\u0430\u0433\u0430\u0435\u0442\u0441\u044f: phptree.zip<\/a>
\n\u0410\u0432\u0442\u043e\u0440 \u0441\u043a\u0440\u0438\u043f\u0442\u0430:
\u042e\u0440\u0438\u0439 \u0425\u0440\u0438\u0441\u0442\u043e\u0444\u043e\u0440\u043e\u0432<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"

\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 (\u0432 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e\u043c \u0432\u0438\u0434\u0435) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL. \u041a\u043b\u044e\u0447 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 — \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 MySQL. \u041d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 (catalogue): id — \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0442\u0430\u0431\u043b\u0438\u0446\u044b pid — id \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0414\u0430\u043b\u0435\u0435 […]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[],"yoast_head":"\n\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/\" \/>\n<meta property=\"og:locale\" content=\"ru_RU\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"\u041f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL\" \/>\n<meta property=\"og:description\" content=\"\u0420\u0430\u0441\u0441\u043c\u043e\u0442\u0440\u0438\u043c \u043f\u0440\u0438\u043c\u0435\u0440 \u043f\u043e\u0441\u0442\u0440\u043e\u0435\u043d\u0438\u044f \u0434\u0435\u0440\u0435\u0432\u0430 \u0438\u0435\u0440\u0430\u0440\u0445\u0438\u0438 (\u0432 \u0440\u0430\u0437\u0432\u0435\u0440\u043d\u0443\u0442\u043e\u043c \u0432\u0438\u0434\u0435) \u043d\u0430 \u043e\u0441\u043d\u043e\u0432\u0435 \u0438\u043d\u0444\u043e\u0440\u043c\u0430\u0446\u0438\u0438 \u0438\u0437 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 \u0441 \u043f\u043e\u043c\u043e\u0449\u044c\u044e PHP \u0438 MySQL. \u041a\u043b\u044e\u0447 \u043a \u0440\u0435\u0448\u0435\u043d\u0438\u044e \u0434\u0430\u043d\u043d\u043e\u0439 \u0437\u0430\u0434\u0430\u0447\u0438 — \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u043e\u0432\u0430\u043d\u0438\u0435 \u0440\u0435\u043a\u0443\u0440\u0441\u0438\u0432\u043d\u043e\u0439 \u0444\u0443\u043d\u043a\u0446\u0438\u0438. \u0418\u0435\u0440\u0430\u0440\u0445\u0438\u044f \u0440\u0430\u0437\u0434\u0435\u043b\u043e\u0432 \u0431\u0443\u0434\u0435\u0442 \u0445\u0440\u0430\u043d\u0438\u0442\u044c\u0441\u044f \u0432 \u0442\u0430\u0431\u043b\u0438\u0446\u0435 \u0431\u0430\u0437\u044b \u0434\u0430\u043d\u043d\u044b\u0445 MySQL. \u041d\u0438\u0436\u0435 \u043d\u0430 \u0441\u043a\u0440\u0438\u043d\u0448\u043e\u0442\u0435 \u043f\u043e\u043a\u0430\u0437\u0430\u043d\u0430 \u0434\u0430\u043d\u043d\u0430\u044f \u0442\u0430\u0431\u043b\u0438\u0446\u0430 (catalogue): id — \u043f\u0435\u0440\u0432\u0438\u0447\u043d\u044b\u0439 \u043a\u043b\u044e\u0447 \u0442\u0430\u0431\u043b\u0438\u0446\u044b pid — id \u0440\u043e\u0434\u0438\u0442\u0435\u043b\u044c\u0441\u043a\u043e\u0433\u043e \u0440\u0430\u0437\u0434\u0435\u043b\u0430 \u0414\u0430\u043b\u0435\u0435 […]\" \/>\n<meta property=\"og:url\" content=\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/\" \/>\n<meta property=\"og:site_name\" content=\"\u265b atbliss.ru\" \/>\n<meta property=\"article:published_time\" content=\"2009-03-28T14:18:14+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2013-08-27T15:21:43+00:00\" \/>\n<meta property=\"og:image\" content=\"\/\/atbliss.ru\/wp-content\/uploads\/2009\/03\/screen-tree.gif\" \/>\n<meta name=\"twitter:card\" content=\"summary\" \/>\n<meta name=\"twitter:creator\" content=\"@fortresseo\" \/>\n<meta name=\"twitter:site\" content=\"@fortresseo\" \/>\n<meta name=\"twitter:label1\" content=\"\u041f\u0440\u0438\u043c\u0435\u0440\u043d\u043e\u0435 \u0432\u0440\u0435\u043c\u044f \u0434\u043b\u044f \u0447\u0442\u0435\u043d\u0438\u044f\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 \u043c\u0438\u043d\u0443\u0442\u0430\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebSite\",\"@id\":\"https:\/\/atbliss.ru\/#website\",\"url\":\"https:\/\/atbliss.ru\/\",\"name\":\"\\u265b atbliss.ru\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/atbliss.ru\/#\/schema\/person\/f2a825e30885a03a307bafc0fe7f546a\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/atbliss.ru\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"ru-RU\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#primaryimage\",\"inLanguage\":\"ru-RU\",\"url\":\"\/\/atbliss.ru\/wp-content\/uploads\/2009\/03\/screen-tree.gif\",\"contentUrl\":\"\/\/atbliss.ru\/wp-content\/uploads\/2009\/03\/screen-tree.gif\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#webpage\",\"url\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/\",\"name\":\"\\u041f\\u043e\\u0441\\u0442\\u0440\\u043e\\u0435\\u043d\\u0438\\u0435 \\u0434\\u0435\\u0440\\u0435\\u0432\\u0430 \\u0438\\u0435\\u0440\\u0430\\u0440\\u0445\\u0438\\u0438 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e PHP \\u0438 MySQL\",\"isPartOf\":{\"@id\":\"https:\/\/atbliss.ru\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#primaryimage\"},\"datePublished\":\"2009-03-28T14:18:14+00:00\",\"dateModified\":\"2013-08-27T15:21:43+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#breadcrumb\"},\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atbliss.ru\/\",\"url\":\"https:\/\/atbliss.ru\/\",\"name\":\"atbliss.ru\"}},{\"@type\":\"ListItem\",\"position\":2,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atbliss.ru\/marketing\/\",\"url\":\"https:\/\/atbliss.ru\/marketing\/\",\"name\":\"\\u0418\\u043d\\u0442\\u0435\\u0440\\u043d\\u0435\\u0442-\\u043c\\u0430\\u0440\\u043a\\u0435\\u0442\\u0438\\u043d\\u0433\"}},{\"@type\":\"ListItem\",\"position\":3,\"item\":{\"@type\":\"WebPage\",\"@id\":\"https:\/\/atbliss.ru\/marketing\/seo\/\",\"url\":\"https:\/\/atbliss.ru\/marketing\/seo\/\",\"name\":\"SEO\"}},{\"@type\":\"ListItem\",\"position\":4,\"item\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#webpage\"}}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#webpage\"},\"author\":{\"@id\":\"https:\/\/atbliss.ru\/#\/schema\/person\/f2a825e30885a03a307bafc0fe7f546a\"},\"headline\":\"\\u041f\\u043e\\u0441\\u0442\\u0440\\u043e\\u0435\\u043d\\u0438\\u0435 \\u0434\\u0435\\u0440\\u0435\\u0432\\u0430 \\u0438\\u0435\\u0440\\u0430\\u0440\\u0445\\u0438\\u0438 \\u0441 \\u043f\\u043e\\u043c\\u043e\\u0449\\u044c\\u044e PHP \\u0438 MySQL\",\"datePublished\":\"2009-03-28T14:18:14+00:00\",\"dateModified\":\"2013-08-27T15:21:43+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#webpage\"},\"wordCount\":37,\"commentCount\":10,\"publisher\":{\"@id\":\"https:\/\/atbliss.ru\/#\/schema\/person\/f2a825e30885a03a307bafc0fe7f546a\"},\"image\":{\"@id\":\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#primaryimage\"},\"thumbnailUrl\":\"\/\/atbliss.ru\/wp-content\/uploads\/2009\/03\/screen-tree.gif\",\"articleSection\":[\"SEO\"],\"inLanguage\":\"ru-RU\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/atbliss.ru\/building-tree-hierarchy-php-mysql\/#respond\"]}]},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\/\/atbliss.ru\/#\/schema\/person\/f2a825e30885a03a307bafc0fe7f546a\",\"name\":\"atbliss.ru\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/atbliss.ru\/#personlogo\",\"inLanguage\":\"ru-RU\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/61034ac273e6e5c82bf4c34dfe7a3318?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/61034ac273e6e5c82bf4c34dfe7a3318?s=96&r=g\",\"caption\":\"atbliss.ru\"},\"logo\":{\"@id\":\"https:\/\/atbliss.ru\/#personlogo\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","amp_enabled":true,"_links":{"self":[{"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/posts\/559"}],"collection":[{"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/comments?post=559"}],"version-history":[{"count":0,"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/posts\/559\/revisions"}],"wp:attachment":[{"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/media?parent=559"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/categories?post=559"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/atbliss.ru\/wp-json\/wp\/v2\/tags?post=559"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}