<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html [
  <!ENTITY % htmlDTD
    PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
    "DTD/xhtml1-strict.dtd">
  %htmlDTD;
  <!ENTITY % globalDTD
    SYSTEM "chrome://global/locale/global.dtd">
  %globalDTD;
  <!ENTITY % feedDTD
    SYSTEM "chrome://browser/locale/feeds/subscribe.dtd">
  %feedDTD;
]>
<?xml-stylesheet href="atom_files/global.css" type="text/css"?><html id="feedHandler" xmlns="http://www.w3.org/1999/xhtml" xmlns:xhtml2="http://www.w3.org/TR/xhtml2" xmlns:wairole="http://www.w3.org/2005/01/wai-rdf/GUIRoleTaxonomy#" xmlns:aaa="http://www.w3.org/2005/07/aaa" xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <title>Viewing Feed</title>
    <link rel="stylesheet" href="atom_files/subscribe.css" type="text/css" media="all"/>
    <script type="application/x-javascript" src="atom_files/subscribe.js"/>
  </head>
  <body onload="SubscribeHandler.init();" onunload="SubscribeHandler.uninit();">
    <div id="feedHeaderContainer">
      <div id="feedHeader" dir="ltr">
        <div id="feedIntroText">
          <p id="feedSubscriptionInfo1">
            This is a “<strong>feed</strong>” of frequently changing content on this site.
          </p>
          <p id="feedSubscriptionInfo2">You can subscribe to this feed to receive updates when this content changes.</p>
        </div>

<!-- XXXmano this has to be in one line. Otherwise you would see
     how much XUL-in-XHTML sucks, see bug 348830 -->
<div id="feedSubscribeLine"><xul:vbox><xul:hbox align="center"><xul:label value="Subscribe to this feed using " id="subscribeUsingDescription"/><xul:menulist id="handlersMenuList" aaa:valuenow="Live Bookmarks" aaa:labelledby="subscribeUsingDescription" xhtml2:role="wairole:combobox" aaa:multiselect="false" sizetopopup="pref" value="" src="chrome://browser/skin/page-livemarks.png" label="Live Bookmarks" description=""><xul:menupopup menugenerated="true" id="handlersMenuPopup"><xul:menuitem class="menuitem-iconic" id="liveBookmarksMenuItem" label="Live Bookmarks" title="Live Bookmarks" src="chrome://browser/skin/page-livemarks.png" selected="true" xhtml2:role="wairole:listitem"/><xul:menuseparator/></xul:menupopup></xul:menulist></xul:hbox><xul:hbox><xul:checkbox id="alwaysUse" xhtml2:role="wairole:checkbox" aaa:checked="false" checked="false"/></xul:hbox><xul:hbox align="center"><xul:spacer flex="1"/><xul:button label="Subscribe Now" title="Subscribe Now" id="subscribeButton" xhtml2:role="wairole:button"/></xul:hbox></xul:vbox></div></div>
    </div>

    <!-- XXXben - get rid of me when the feed processor is bug free! -->
    <div id="feedError" style="display: none;" dir="ltr">
      <h1>Error Processing Feed</h1>
      <p>There was an error processing this feed. It's our fault. :-( You can still subscribe to the feed if you know what it is. For reference, the error was:</p>
      <p id="errorCode"/>
    </div>
    
    <div id="feedBody">
      <div id="feedTitle">
        <a id="feedTitleLink">
          <img id="feedTitleImage"/>
        </a>
        <div id="feedTitleContainer">
          <h1 id="feedTitleText"/>
          <h2 id="feedSubtitleText"/>
        </div>
      </div>
      <div id="feedContent"/>
    </div>
  </body>
</html>