Mercurial > code > home > repos > href
changeset 23:d6a09e8efa56
old diffs
Ignore-this: ff070c2de9eca9e3d9307bf9345debbb
author | drewp@bigasterisk.com |
---|---|
date | Sun, 22 May 2016 16:38:54 -0700 |
parents | fa55f4439977 |
children | ab9a6132529a |
files | link.py makefile readme |
diffstat | 3 files changed, 20 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/link.py Thu Jul 11 01:05:22 2013 -0700 +++ b/link.py Sun May 22 16:38:54 2016 -0700 @@ -65,3 +65,12 @@ tag=data.tag, t=t, ) + + def asDeliciousAddParams(self): + return dict(url=self['href'], + description=self['description'], + extended=self['extended'], + tags=','.join(self['tag'].split(' ')), + dt=self['t'], + replace='yes', + )
--- a/makefile Thu Jul 11 01:05:22 2013 -0700 +++ b/makefile Sun May 22 16:38:54 2016 -0700 @@ -1,4 +1,4 @@ -all: bin/python static/lib/jquery-1.9.1.min.js static/lib/knockout-2.2.1.js static/lib/select2 +all: bin/python static/lib/jquery-1.9.1.min.js static/lib/knockout-2.2.1.js static/lib/select2 static/lib/async-2013-03-17.js static/lib/jquery.rdfquery.rdfa.min-1.0.js static/lib/RDFa.min.0.21.0.js bin/python: bin/pip install -r pydeps @@ -12,3 +12,12 @@ static/lib/select2: git clone git://github.com/ivaynberg/select2.git static/lib/select2 (cd static/lib/select2; git checkout --quiet 4530e74e95) + +static/lib/async-2013-03-17.js: + curl -o $@ https://raw.github.com/caolan/async/522d97f3d1d8a708265827ae23a66ccf30c5821c/lib/async.js + +static/lib/jquery.rdfquery.rdfa.min-1.0.js: + curl -o $@ https://rdfquery.googlecode.com/files/jquery.rdfquery.rdfa.min-1.0.js + +static/lib/RDFa.min.0.21.0.js: + curl -o $@ https://green-turtle.googlecode.com/files/RDFa.min.0.21.0.js
--- a/readme Thu Jul 11 01:05:22 2013 -0700 +++ b/readme Sun May 22 16:38:54 2016 -0700 @@ -39,3 +39,4 @@ - pick up links from twitter - maybe pick up links from played podcasts - revyu on any link, get review data back so they can be used for sorting +- http proxy mode that can scrape all the pages you visit, perhaps between some start/end requests where you pick tags to apply to all the pages. This is for research mode. May involve multiple people on a team.