建立私人資源庫的 Atom 摘要

您可以將 Atom (RSS) 摘要建立至包含擴充功能的內部網路位置,並將摘要新增至 [擴充功能和更新],以做為私人資源庫。 如需詳細資訊,請參閱私人資源庫

建立 Atom 摘要

若要建立 Atom 摘要以做為私人資源庫,您必須先將擴充功能 (.vsix 檔案) 收集到資料夾中。 如有需要,您可以將它們整理成子資料夾。 您也需要下列資源:

  • atom.xml 檔案,可讓擴充功能以私人資源庫的形式提供。 如需如何將 atom.xml 檔案連線至 [擴充功能和更新] 的詳細資訊,請參閱私人資源庫

  • 資料夾,其中包含從擴充功能擷取的任何影像檔案 (例如螢幕擷取畫面)。 atom.xml 檔案包含這些影像的相對連結,讓這些影像可在 [擴充功能和更新] 中使用。

    例如,假設您已將下列兩個擴充功能收集到資料夾中:

  • Template_Wizard_239.vsix,這是空的 VSIX 專案範本。

  • SelectionHighlight.vsix,這是一種工具,可反白顯示所選單字的所有實例。

    atom.xml 檔案的內容類似於以下範例:

<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <title type="text" />
  <id>uuid:bcecded5-97c8-4d24-96f1-7d9e16652433;id=1</id>
  <updated>2011-04-14T21:25:48Z</updated>
  <entry>
    <id>SelectionHighlight..a14874d2-8199-4a60-af8a-11d6447813aa</id>
    <title type="text">Highlight all occurrences of selected word</title>
    <summary type="text">This extends the editor to highlight ....</summary>
    <published>2011-04-14T14:24:51-07:00</published>
    <updated>2011-04-14T14:24:22-07:00</updated>
    <author>
      <name>Microsoft</name>
    </author>
    <link rel="icon" href="VSIXImages/SelectionHighlight..a14874d2-8199-4a60-af8a-11d6447813aa_Icon_SelectionHighlightIcon.jpg" />
    <link rel="previewimage" href="VSIXImages/SelectionHighlight..a14874d2-8199-4a60-af8a-11d6447813aa_PreviewImage_SelectionHighlight.jpg" />
    <content type="application/octet-stream" src="SelectionHighlight.vsix" />
    <Vsix xmlns="http://schemas.microsoft.com/developer/vsx-syndication-schema/2010" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
      <Id>SelectionHighlight..a14874d2-8199-4a60-af8a-11d6447813aa</Id>
      <Version>1.31</Version>
      <References />
      <Rating xsi:nil="true" />
      <RatingCount xsi:nil="true" />
      <DownloadCount xsi:nil="true" />
    </Vsix>
  </entry>
  <entry>
    <id>Template_Wizard_239.Microsoft.3b38a7e3-5cbc-4389-a92a-d82tyc2ed592</id>
    ...
  </entry>
</feed>

請注意,這兩個連結標籤是指所產生影像資料夾中的螢幕擷取畫面。