{"id":8733,"date":"2020-09-14T16:58:43","date_gmt":"2020-09-14T08:58:43","guid":{"rendered":"https:\/\/www.linuxcool.com\/?p=8733"},"modified":"2020-09-22T17:51:18","modified_gmt":"2020-09-22T09:51:18","slug":"aimanifest","status":"publish","type":"post","link":"https:\/\/www.linuxcool.com\/aimanifest","title":{"rendered":"aimanifest\u547d\u4ee4 – \u4fee\u6539\u81ea\u52a8\u5b89\u88c5\u7a0b\u5e8f\u4f7f\u7528\u7684XML\u6587\u4ef6"},"content":{"rendered":"\n

aimanifest \u547d\u4ee4\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 XML \u6e05\u5355\u6216\u4fee\u6539\u4e00\u4e2a\u73b0\u6709\u7684\u6e05\u5355\u3002\u867d\u7136 aimanifest \u53ef\u4ee5\u7528\u4e8e\u4efb\u4f55\u5305\u542b\u5bf9 DTD \u5b9a\u4e49\u7684\u6709\u6548 !DOCTYPE \u5f15\u7528\u7684 XML \u6587\u4ef6\uff0c\u4f46\u5b83\u65e8\u5728\u521b\u5efa\u81ea\u52a8\u5b89\u88c5\u7a0b\u5e8f (AI) \u4f7f\u7528\u7684\u884d\u751f\u6e05\u5355\u3002<\/p>\n\n\n\n

\u8bed\u6cd5\u683c\u5f0f\uff1a<\/strong>aimanifest [\u53c2\u6570]<\/p>\n\n\n\n

\u5e38\u7528\u53c2\u6570\uff1a<\/strong><\/p>\n\n\n\n

-i<\/td>\u5728\u6dfb\u52a0\u65b0\u6570\u636e\u4e4b\u524d\uff0c\u4e0d\u8981\u6e05\u9664\u6570\u636e<\/td><\/tr>
-r<\/td>\u8fd4\u56de\u5230\u53d7\u5f71\u54cd\u8282\u70b9\u7684\u552f\u4e00\u8def\u5f84<\/td><\/tr>
validate<\/td>\u9a8c\u8bc1XML\u6570\u636e<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n

\u53c2\u8003\u5b9e\u4f8b<\/strong><\/p>\n\n\n\n

\u6dfb\u52a0\u65b0\u6570\u636e\u5230\u6e05\u5355\u5217\u8868\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aimanifest load -i linuxcool.xml<\/pre>\n\n\n\n

\u8fd4\u56de\u5230\u53d7\u5f71\u54cd\u8282\u70b9\u7684\u552f\u4e00\u8def\u5f84\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aimanifest add -r \/home\/linuxprobe true<\/pre>\n\n\n\n

\u9a8c\u8bc1\u6e05\u5355\u91cc\u9762\u7684XML\u6570\u636e\uff1a<\/p>\n\n\n\n

[root@linuxcool ~]# aimanifest validate<\/pre>\n","protected":false},"excerpt":{"rendered":"

aimanifest \u547d\u4ee4\u53ef\u4ee5\u521b\u5efa\u4e00\u4e2a\u65b0\u7684 XML \u6e05\u5355\u6216\u4fee\u6539\u4e00\u4e2a\u73b0\u6709\u7684\u6e05\u5355\u3002\u867d\u7136 aimanifest \u53ef\u4ee5 […]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[11],"tags":[],"_links":{"self":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8733"}],"collection":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/comments?post=8733"}],"version-history":[{"count":4,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8733\/revisions"}],"predecessor-version":[{"id":8782,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/posts\/8733\/revisions\/8782"}],"wp:attachment":[{"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/media?parent=8733"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/categories?post=8733"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.linuxcool.com\/wp-json\/wp\/v2\/tags?post=8733"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}