Skip to content

Instantly share code, notes, and snippets.

@andysylvester
andysylvester / River5CallbackforFlickr.js
Last active Mar 19, 2016
Demonstration of using the user script functionality in the River5 RSS aggregator by Dave Winer
View River5CallbackforFlickr.js
var now = new Date ();
if (localStorage.feeds === undefined) {
localStorage.feeds = new Object ();
}
if (localStorage.feeds [urlfeed] === undefined) {
localStorage.feeds [urlfeed] = {
ctAdds: 0,
whenFirstAdd: now
};
@andysylvester
andysylvester / photos.opml
Created Mar 12, 2016
Test OPML subscription list for River5
View photos.opml
<?xml version="1.0"?>
<opml version="2.0">
<head>
<title>photos</title>
<dateModified>Tue, 20 Oct 2015 03:43:00 GMT</dateModified>
<expansionState></expansionState>
<lastCursor>0</lastCursor>
</head>
<body>
<outline text=""/>
@andysylvester
andysylvester / River5CallbackTest.js
Created Mar 12, 2016
This is a user script for the River5 RSS aggregator
View River5CallbackTest.js
// Based on https://gist.github.com/scripting/1737c886c4f653758033
var now = new Date ();
if (localStorage.feeds === undefined) {
localStorage.feeds = new Object ();
}
if (localStorage.feeds [urlfeed] === undefined) {
localStorage.feeds [urlfeed] = {
ctAdds: 0,
You can’t perform that action at this time.