view extension/content/river.xhtml @ 68:abae5a36eb6d

make filtering work, and save both filters and the unread flag to the URI
author Myk Melez <myk@mozilla.org>
date Tue, 13 May 2008 11:09:16 -0700
parents ab0ceada47bd
children e6c3b67e38ff
line wrap: on
line source

<?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="chrome://global/skin/" type="text/css"?>

<html id="feedHandler" xmlns="http://www.w3.org/1999/xhtml"
      xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  <head>
    <title>&feedPage.title;</title>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://browser/skin/feeds/subscribe.css"/>
    <link rel="stylesheet" type="text/css" media="all"
          href="chrome://snowl/content/river.css"/>
    <script type="application/x-javascript;version=1.8" src="chrome://snowl/content/river.js"/>
  </head>
  <body onload="RiverView.init()" onunload="RiverView.uninit()">
    <xul:hbox id="toolbar" align="center">
      <xul:button id="unreadButton" type="checkbox" label="Unread"
                  oncommand="RiverView.onCommandUnreadButton(event, this)"/>
      <xul:textbox id="filterTextbox" type="timed" timeout="200"
                   oncommand="RiverView.onCommandFilterTextbox(event, this)"/>
    </xul:hbox>

    <div>
      <div id="feedContent"/>
    </div>
  </body>
</html>