下面是 SVG 代码,它显示了颠倒路径上的文本。请帮助展示如何正确显示它。
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" xml:space="preserve">
<g>
<path id="link1" d="M 500,140 C 200,140 200,190 500,190" stroke-width="20" fill="transparent" stroke="red"></path>
<text class="text_path">
<textPath xlink:href="#link1" startOffset="10">
<tspan dy="5">Some Text</tspan><tspan class="dir_arrow">?</tspan>
</textPath>
</text>
</g>
</svg>
Run Code Online (Sandbox Code Playgroud) 我想从这种日志中获取数据.
11月12日13:46:14首页cxxd [8892]:208 11/12 13:46:14 | qc = IN(1),qt = A(1),query ="www.yahoo.com".
实现了这个,它给了我URL.但不适用于"TAIL -F",以便我可以直接监控网址.
tail -100 /var/log/system.log | grep"query ="| sed -e"s /.*query = //"| sed -e"s/\"// g"| sed -e"s /.$/ /"
请建议或加强