Skip to content

Commit

Permalink
misc notes
Browse files Browse the repository at this point in the history
  • Loading branch information
alexch committed Nov 20, 2011
1 parent 37ba536 commit 59a16b2
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .gitignore
@@ -1,5 +1,5 @@
oauth.yaml
local
local/
.project
.buildpath
.settings/
Expand Down
57 changes: 36 additions & 21 deletions README.md
Expand Up @@ -50,44 +50,59 @@ Um, we don't really have any good ones yet. Sorry.

this will fire up the server and launch <http://localhost:9292>, and use `rerun` so it'll relaunch if you change a file. Since I'm on Mac it also runs `open http://localhost:9292` but that'll fail on other systems so don't worry about it.

# BUGS
# TODO (tech)

* reconcile google_ids and friends entries
* reconcile google_ids and friends entry counts
* re-fetch friends list
* catch exceptions in e.g.
* http://www.airbrake.io/
* exceptional
* carefully read http://code.google.com/p/pyrfeed/wiki/GoogleReaderAPI
* use https://github.com/rkh/rack-protection if it won't break stuff

# TODO (site):
# TODO (site design):

* better colors
* tagline
* logo (Superman style?)
* better site design
* make "links" an RSS feed
* logo
* simple \S/ icon
* turn logo into favicon.ico

# TODO (features and design):

# TODO (app):
* admin page with log
* check lipsumar feeds first

* sort subscriptions
* admin page: log
* save off old shared items (broadcast state JSON)
* for all known users? why not?
* simple S icon
* shared items API
* reorder subscription list: put "Shares" folder at the top
* riddlr-esque features:
* https://www.google.com/reader/view/user%2F-%2Flabel%2FPeople%20you%20follow
* "Send To Sharebro" or "Send to Shares"
* use Ridllr's "Shared Items" public tag

* provide an API for other reader apps

* share bookmarklet
* see min as a way to strip extranous content http://min.artequalswork.com/js/m.js

* see Road Map page

* shared comments
* see http://www.salmon-protocol.org/
* reorder subscription list: put "Shares" folder at the top
* riddlr-esque features:
* https://www.google.com/reader/view/user%2F-%2Flabel%2FPeople%20you%20follow
* add various blogs to 'shared' tag and see if they show up in folder
* "Send To Sharebro"

* re-fetch friends list
* catch exceptions in e.g.
* http://www.airbrake.io/
* exceptional
* make "links" an RSS feed
* OPML export
* http://www.opml.org/spec
* http://www.opml.org/spec2
* refresh google friends list

# TODO (promo)

* iconistan: +1, FB Like, Tweet, AddToAny by Lockerz, Digg, etc.
http://digg.com/submit?phase=2&url=http%3A%2F%2Fsharebro.org
* "spread the word" iconistan sidebar
* : +1, FB Like, Tweet, AddToAny by Lockerz, Digg, etc.
* http://digg.com/submit?phase=2&url=http%3A%2F%2Fsharebro.org
* add to Chrome Store
* write a Safari Extension
* http://developer.apple.com/programs/safari/
Expand Down
3 changes: 3 additions & 0 deletions lib/ant.rb
Expand Up @@ -4,6 +4,9 @@
require 'ext'

# an ant is a worker
#
# for an arguably better system see http://blog.leshill.org/blog/2011/04/03/using-resque-and-resque-scheduler-on-heroku.html

class Ant
extend Say

Expand Down
16 changes: 15 additions & 1 deletion notes/google-reader-api.txt
Expand Up @@ -160,4 +160,18 @@ http://codeclimber.googlecode.com/svn-history/r101/GoogleReaderConnector/trunk/R


Sort by "magic"
r=a solo su /items/ids
r=a solo su /items/ids



* sort subscriptions
https://groups.google.com/forum/#!searchin/fougrapi/subscriptions$20order/fougrapi/rr9ZWA_R47Y/fRa-gM8vp-AJ
> order? I know that I can read this
> from http://www.google.com/reader/api/0/preference/stream/list but I am
> unaware of any URL that would allow me to edit.
You can POST to
http://www.google.com/reader/api/0/preference/stream/set with
parameters "s" (the stream to set the preference for), "k" (the
preference key, "subscription-ordering" in this case) and "v" (the
value, the concatenated IDs in this case).

16 changes: 16 additions & 0 deletions notes/heroku-api.txt
@@ -0,0 +1,16 @@
# https://groups.google.com/d/msg/heroku/vNz06ZvTUQg/Ns6_CvJ4yHIJ

# unix command line

heroku config:add HEROKU_APP_NAME="myapp" \
HEROKU_EMAIL="me@example.com" \
HEROKU_PASSWORD="secret"

# ruby

require 'heroku'
heroku = Heroku::Client.new(ENV["HEROKU_EMAIL"], ENV["HEROKU_PASSWORD"])
heroku.ps_scale(ENV["HEROKU_APP_NAME"], type: "worker", qty: 0)
heroku.ps_scale("sharebro", type: "worker", qty: 2)


16 changes: 12 additions & 4 deletions web/links.rb
Expand Up @@ -75,19 +75,22 @@ def content
comment: "Chrome Extension that fixes some whitespace and layout issues. Sharing still gone."
item name: "Google Reader Plus Theme fixed", url: "http://userstyles.org/styles/55568/google-reader-plus-theme-fixed",
comment: "i think he \"fixed\" it a bit too much but it's a start -- hosted at userstyles.org"
item name: "Google Reader Share", url: "http://userscripts.org/scripts/show/117058",
comment: "puts a 'Share' button inside the new Reader that adds the current item to your personal RSS feed, served off the author's web site",
quote: "My point in making this plugin is that the share feature should be OPEN and STANDARD. I'm willing to gather a community and define a standard way to share items (anything) via bookmarklet or even a new sharing button in ALL reader apps ! Just like you can tweet any link, you could share any feed item.",
author: "Emmanuel Pire"

item name: "Google Reader Compact", url: "http://userscripts.org/scripts/show/116890",
comment: "CSS munging userscript by lipsumar"
p ' By the way, beware of userscripts.org! They have deliberately misleading ads. Click the "Install" button in the upper right, not any big "Download" button in the center of the page.'

item name: "Google Reader Compact Minimal For Small Screen",
url: "http://userscripts.org/scripts/show/116957",
author: "Massimiliano Ferrari"

item name: "Google Reader Compact (Stb)", author: "http://userscripts.org/users/369554",
url: "http://userscripts.org/scripts/show/117389",
comment: "via https://plus.google.com/u/0/105170258389555213273/posts/8iy46vmYt1Q; A simplified version of an existent Script > http://goo.gl/165A9"

item name: "FTFY G-Reader",
url: "https://chrome.google.com/webstore/detail/miblblopaoafnidomnpjcngoipapiehc",
author: "http://www.2app.in/"
end

section "Replacement Readers" do
Expand All @@ -109,6 +112,11 @@ def content
comment: "a \"share this on X\" (on steroids) browser plugin for the 6 major browsers",
url: "http://www.shareaholic.com/tools/"

item name: "Google Reader Share", url: "http://userscripts.org/scripts/show/117058",
comment: "puts a 'Share' button inside the new Reader that adds the current item to your personal RSS feed, served off the author's web site",
quote: "My point in making this plugin is that the share feature should be OPEN and STANDARD. I'm willing to gather a community and define a standard way to share items (anything) via bookmarklet or even a new sharing button in ALL reader apps ! Just like you can tweet any link, you could share any feed item.",
author: "Emmanuel Pire"

item name: "RSS Share",
comment: "a Chrome extension that attempts G+/Reader integration",
url: "https://chrome.google.com/webstore/detail/cngpndgifehgejmkemnmmiknpafnhpec",
Expand Down

0 comments on commit 59a16b2

Please sign in to comment.