GithubHelp home page GithubHelp logo

necolas / newsriver-ui Goto Github PK

View Code? Open in Web Editor NEW
27.0 2.0 5.0 76 KB

User interface for displaying a river of news generated by Dave Winer's River2 software.

Home Page: http://river.nicolasgallagher.com

JavaScript 87.78% CSS 7.13% HTML 5.09%

newsriver-ui's Introduction

NewsRiver UI

unmaintained

This is a client-side, river of news UI that consumes a JSONP file generated using Dave Winer's River2 software.

Example: http://river.nicolasgallagher.com

Changelog:

v.0.5.0 : 9 March 2011

General

  • Automatically checks for updates to the feed.
  • Added a favicon and apple-touch-icon.
  • Added _json-example.js; only used for localhost debugging.
  • Switched to Google CDN jQuery (with local fallback).
  • Switched to local jQuery Templates plugin.

index.html

  • Removed HTML5 elements and shim; IE cannot style HTML5 elements generated from the jQuery templates.
  • Added X-UA-Compatible to force latest IE rendering engine and enable Chrome Frame.
  • Changed meta viewport to width=device-width, initial-scale=1.0.
  • Default JSON url, JSON callback, and social sharing settings can be overriden in River.settings in the document head.
  • Added ARIA landmark roles.
  • Default text now indicates that JavaScript is required.
  • Added RSS image to footer.
  • Updated footer's fine-print.
jQuery template
  • Stream item titles are now hyperlinks only if there is an item.permalink or item.link.
  • Each stream item's id is added to its container element. Used to check if new items exist in the stream.
  • Conditional display of Twitter and Facebook sharing links.
  • All stream items are contained within <div id="stream-items">.
  • Notification of updates to the feed are shown in <div id="stream-notice">.

default.css

  • Removed individual article borders to reduce visual clutter.
  • Added a marker to indicate which item was previously the most recent, prior to stream update. Only visible in expanded view.

custom.js

  • Complete rewrite of the scripts (including use of namespacing).
  • Loading message only present if JavaScript is enabled.
  • Regular checks for updates to the JSON feed.
  • Displays the number of new items available.
  • Repopulates the stream when the notice is clicked.
  • Changed the way the datetime format used on blocks of updates. Time comes last, no longer displays seconds.

Resources:

License:

MIT/GPL license

newsriver-ui's People

Contributors

necolas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.