{"id":1902,"date":"2016-04-07T23:22:14","date_gmt":"2016-04-07T20:22:14","guid":{"rendered":"http:\/\/saisa.eu\/blogs\/Guidance\/?p=1902"},"modified":"2016-04-07T23:32:10","modified_gmt":"2016-04-07T20:32:10","slug":"ansifilter-tool-to-convert-color-codes-in-log-file-into-color-html","status":"publish","type":"post","link":"https:\/\/saisa.eu\/blogs\/Guidance\/?p=1902","title":{"rendered":"ansifilter, tool to convert color codes in log file into color html"},"content":{"rendered":"<p><a href=\"http:\/\/www.andre-simon.de\/doku\/ansifilter\/en\/ansifilter.php\">ansifilter<\/a> is an open source tool which can convert ssh session logs (with putty) with ansi escape codes into html with colors.<\/p>\n<p>First, putty should be configured with &#8220;all session output&#8221;, see figure below. Next, the log file should contain some <a href=\"https:\/\/en.wikipedia.org\/wiki\/ANSI_escape_code\">ANSI escape codes<\/a>. For creating colors with the help of awk script, please see another <a href=\"http:\/\/saisa.eu\/blogs\/Guidance\/?p=1883\">blog<\/a>.<\/p>\n<p><img loading=\"lazy\" alt=\"putty-config01\" src=\"http:\/\/saisa.eu\/blogs\/Guidance\/wp-content\/uploads\/2016\/04\/putty-config01.png\" width=\"464\" height=\"446\" \/><\/p>\n<p><strong>The log file<\/strong><\/p>\n<p>The text below is how the log file looks like. It contains the printout from the mount command.<\/p>\n<p><a href=\"http:\/\/saisa.eu\/blogs\/Guidance\/wp-content\/uploads\/2016\/04\/putty-logfile.png\"><img loading=\"lazy\" alt=\"putty-logfile\" src=\"http:\/\/saisa.eu\/blogs\/Guidance\/wp-content\/uploads\/2016\/04\/putty-logfile-small.png\" width=\"450\" height=\"158\" \/><\/a><\/p>\n<p><strong>Minor issue: background color<\/strong><\/p>\n<p>I haven&#8217;t found a good way to get black background when using the GUI tool. With the command line tool, it is possible to use stylesheet to set the background color.<\/p>\n<p><u>When using GUI<\/u><\/p>\n<p>After saving the output into html, then one can modify the HTML &lt;body&gt; tag to get the background color, please see below:<\/p>\n<p>&lt;body style=&#8221;color:white;background-color:black&#8221;&gt;<\/p>\n<p><u>When using CLI<\/u><\/p>\n<p>First create a stylesheet.css file with the following content<\/p>\n<p>body {<br \/>\nbackground-color: #050505;<br \/>\ncolor: #808080;<br \/>\n}<\/p>\n<p>Then execute the ansifilter command. If the log file is &#8220;mount.log&#8221; and output is mount.html, then command looks like this:<\/p>\n<p>ansifilter.exe -H -i mount.log -o mount.html -r stylesheet.css<\/p>\n<p>Please note that, the html output is now referring to that stylesheet as it add the following line to the html:<\/p>\n<p>&lt;link rel=&#8221;stylesheet&#8221; type=&#8221;text\/css&#8221; href=&#8221;stylesheet.css&#8221;&gt;<\/p>\n<p>\n<strong>HTML output<\/strong><\/p>\n<p>And the result is here below. Please compare it to the <a href=\"http:\/\/saisa.eu\/blogs\/Guidance\/wp-content\/uploads\/2016\/04\/android-awk-mount-small.png\">screenshot<\/a> in the other <a href=\"http:\/\/saisa.eu\/blogs\/Guidance\/?p=1883\">blog<\/a>.<\/p>\n<div style=\"OVERFLOW: auto; WIDTH: 600px; COLOR: white; BACKGROUND-COLOR: black\">\n<pre style=\"FONT-SIZE: 10pt; FONT-FAMILY: Consolas; COLOR: white; BACKGROUND-COLOR: black\">\nroot@D2403:\/ # \n\nroot@D2403:\/ # mount | awk '\n\n&gt; BEGIN {IGNORECASE=1;\n\n&gt; black  =sprintf(\"\\033[1;30;40m&amp;\\033[0m\");\n\n&gt; red    =sprintf(\"\\033[1;31;40m&amp;\\033[0m\");\n\n&gt; green  =sprintf(\"\\033[1;32;40m&amp;\\033[0m\");\n\n&gt; yellow =sprintf(\"\\033[1;33;40m&amp;\\033[0m\");\n\n&gt; blue   =sprintf(\"\\033[1;34;40m&amp;\\033[0m\");\n\n&gt; purple =sprintf(\"\\033[1;35;40m&amp;\\033[0m\");\n\n&gt; cyan   =sprintf(\"\\033[1;36;40m&amp;\\033[0m\");\n\n&gt; white  =sprintf(\"\\033[1;37;40m&amp;\\033[0m\");\n\n&gt; };\n\n&gt;  \n\n&gt; {\n\n&gt; gsub($1,blue,$1); \n\n&gt; gsub($2,yellow,$2); \n\n&gt; gsub($3,cyan,$3); \n\n&gt; gsub(\"rw,\",red,$0); \n\n&gt; gsub(\"ro,\",green,$0); \n\n&gt; print}'\n\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">rootfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">rootfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cd00; BACKGROUND-COLOR: #000000\">ro,<\/span>relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/dev<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,relatime,mode=755 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">devpts<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/dev\/pts<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">devpts<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,relatime,mode=600 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">none<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/dev\/cpuctl<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">cgroup<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>relatime,cpu 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">proc<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/proc<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">proc<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">sysfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/sys<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">sysfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">selinuxfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/sys\/fs\/selinux<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">selinuxfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">debugfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/sys\/kernel\/debug<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">debugfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">none<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/sys\/fs\/cgroup<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,relatime,mode=750,gid=1000 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">securityfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/sys\/kernel\/security<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">securityfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>nosuid,nodev,noexec,relatime 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">none<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/acct<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">cgroup<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>relatime,cpuacct 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/mnt\/asec<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,relatime,mode=755,gid=1000 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/mnt\/obb<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,relatime,mode=755,gid=1000 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/system<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/system<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cd00; BACKGROUND-COLOR: #000000\">ro,<\/span>seclabel,relatime,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/userdata<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/data<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,nodev,relatime,noauto_da_alloc,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/cache<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/cache<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,nodev,relatime,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/persist<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/persist<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,nodev,relatime,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/LTALabel<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/lta-label<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,nodev,relatime,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/ftma<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/ftma<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">ext4<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cd00; BACKGROUND-COLOR: #000000\">ro,<\/span>seclabel,relatime,nobarrier,data=ordered 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/platform\/msm_sdcc.1\/by-name\/modem<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/firmware<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">vfat<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cd00; BACKGROUND-COLOR: #000000\">ro,<\/span>relatime,uid=1000,gid=1000,fmask=0337,dmask=0227,codepage=cp437,iocharset=iso8859-1,shortname=lower,errors=remount-ro 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/storage\/sdcard1<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/mnt\/shell\/emulated<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/storage\/emulated\/legacy<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/storage\/emulated<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">tmpfs<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>seclabel,nosuid,nodev,relatime,mode=050,gid=1028 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/vold\/179:65<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/mnt\/media_rw\/sdcard1<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">vfat<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/block\/vold\/179:65<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/mnt\/secure\/asec<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">vfat<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>dirsync,nosuid,nodev,noexec,relatime,uid=1023,gid=1023,fmask=0007,dmask=0007,allow_utime=0020,codepage=cp437,iocharset=iso8859-1,shortname=mixed,utf8,errors=remount-ro 0 0\n<span style=\"FONT-WEIGHT: bold; COLOR: #0000ee; BACKGROUND-COLOR: #000000\">\/dev\/fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cdcd00; BACKGROUND-COLOR: #000000\">\/storage\/emulated\/0<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #00cdcd; BACKGROUND-COLOR: #000000\">fuse<\/span> <span style=\"FONT-WEIGHT: bold; COLOR: #cd0000; BACKGROUND-COLOR: #000000\">rw,<\/span>nosuid,nodev,noexec,relatime,user_id=1023,group_id=1023,default_permissions,allow_other 0 0\nroot@D2403:\/ # exit\n\nroot@D2403:\/data\/data\/berserker.android.apps.sshdroid\/home # exit\n\n<\/pre>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>ansifilter is an open source tool which can convert ssh session logs (with putty) with ansi escape codes into html with colors. First, putty should be configured with &#8220;all session output&#8221;, see figure below. Next, the log file should contain &hellip; <a href=\"https:\/\/saisa.eu\/blogs\/Guidance\/?p=1902\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[9,17,51,10,7],"tags":[],"_links":{"self":[{"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/posts\/1902"}],"collection":[{"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=1902"}],"version-history":[{"count":2,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/posts\/1902\/revisions"}],"predecessor-version":[{"id":1906,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=\/wp\/v2\/posts\/1902\/revisions\/1906"}],"wp:attachment":[{"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=1902"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=1902"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/saisa.eu\/blogs\/Guidance\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=1902"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}