Browse files

now working

  • Loading branch information...
1 parent 2f94e10 commit aab459ffa1229336c0d0e10af0a4362c7bfcb791 @danja committed Mar 27, 2012
View
30 src/www/lists/workflowy/dump_2012-03-26.txt
@@ -12,7 +12,7 @@
- called from HTML or node engine etc.
- microdata/RDFa templater
- SWIB hook to remote store - fuseki GUI
- - transclusion - apply to <a href="..." rel="include"
+ - transclusion - apply to &lt;a href="..." rel="include"
- https://hacks.mozilla.org/2011/11/insertadjacenthtml-enables-faster-html-snippet-injection/
- little language based on XML proc
- Distributed Comments : custom trackback (as comments alternative)
@@ -42,7 +42,7 @@
- http://www.iks-project.eu/
- investigate IKS projects
- apply to my blog
- - https://docs.google.com/document/d/1XzdsjCfPylcyOoNtDfAgz15HwRdCD-0e0ixh21_U0y0/edit?hl=en_US&pli=1
+ - https://docs.google.com/document/d/1XzdsjCfPylcyOoNtDfAgz15HwRdCD-0e0ixh21_U0y0/edit?hl=en_US&amp;pli=1
- Lyons/UK
- Lyons
- http://www.easyjet.com/EN/
@@ -110,9 +110,12 @@
- TODO
- strip out current handling of Accept: RDF
- mock authentication
+ - use mustache templating
+ - https://github.com/janl/mustache.js#readme
+ - prepare for client-side RDF
- put http-proxy based router on input,
- - Accept: RDF -> auth -> Public
- - Accept: HTML -> Seki -> auth -> Public
+ - Accept: RDF -&gt; auth -&gt; Public
+ - Accept: HTML -&gt; Seki -&gt; auth -&gt; Public
- start test framework
- Proc
- http://vocab.deri.ie/rdforms
@@ -237,7 +240,7 @@
- general purpose recommender
- create a theme
- add items
- - if you like this -> you'll like that
+ - if you like this -&gt; you'll like that
- SVG Whiteboard
- federated...
- http://ifttt.com/
@@ -342,7 +345,7 @@
- (it's actually a link or script)
- empty box on a page is a token receiver : □
- you can drag a token from the bookmarks bar into the receiver
- - (it's actually an <input> field)
+ - (it's actually an &lt;input&gt; field)
- what to pass across?
- form associated with the token that you fill in
- when you pass the token along, it passes the data from the form fields
@@ -423,7 +426,7 @@
- Least Interesting People
- along the lines of Facebook recommendations, but who you should unsubscribe from
- I did X because of Y
- - e.g. I learnt how to use SPARQL because of <this post>
+ - e.g. I learnt how to use SPARQL because of &lt;this post&gt;
- Hearing test
- https://plus.google.com/u/0/112609322932428633493/posts/NKcC8DKoyHb
- Big Plans
@@ -476,8 +479,8 @@
- http://tinyurl.com/89g24gr
- Sites
- Get everything nicely organised and linked
- - add discrete adverts & analytics
- - add RDF for everything - especially images, mp3 & vids
+ - add discrete adverts &amp; analytics
+ - add RDF for everything - especially images, mp3 &amp; vids
- microdata/RDFa on index pages (at least)
- templater?
- integrate with blog data
@@ -488,7 +491,7 @@
- Knifes
- Tips
- Misc
- - stone carving & paintings
+ - stone carving &amp; paintings
- Tech
- XMLNS
- creative 404s
@@ -504,9 +507,9 @@
- Position Statement
- FOAF
- dating page
- - G+ pages for all domains & projects
+ - G+ pages for all domains &amp; projects
- Jottings
- - Cloud = commodification of infrastructure (but - p@ : RaisetheUnitofcurrencytobeapplication&servicesinsteadofinfrastructure
+ - Cloud = commodification of infrastructure (but - p@ : RaisetheUnitofcurrencytobeapplication&amp;servicesinsteadofinfrastructure
-
- Creative Writing
- http://www.ted.com/talks/andrew_stanton_the_clues_to_a_great_story.html
@@ -516,6 +519,3 @@
- Golden Rules
- incremental improvements must always be possible
- when switching work activity, leave things so they can be restarted without effort
-
-
-Created with WorkFlowy.com
View
848 src/www/lists/workflowy/output.html
@@ -1,6 +1,848 @@
-<ul><li>root<li>child1<ul><li>child1</li>
+<ul>
+<li>root
+<ul><li> TODO
+<ul><li> the better things are described, the more reusable they are</li>
+<li> Resume
+<ul><li> graph of interests</li>
+<li> timeline?</li>
</ul>
-</li><li>child2<ul><li>child2</li>
+</li>
+<li> Real World
+<ul><li> Business card</li>
+<li> Font</li>
</ul>
-</li></li>
+</li>
+<li> http://141.89.225.43/patchr/</li>
+<li> agent model!
+<ul><li> js in models http://www.ilrt.org/discovery/2001/03/rdf-moo/</li>
+<li> called from HTML or node engine etc.</li>
</ul>
+</li>
+<li> microdata/RDFa templater</li>
+<li> SWIB hook to remote store - fuseki GUI</li>
+<li> transclusion - apply to &amp;lt;a href="..." rel="include"</li>
+<li> https://hacks.mozilla.org/2011/11/insertadjacenthtml-enables-faster-html-snippet-injection/</li>
+<li> little language based on XML proc</li>
+<li> Distributed Comments : custom trackback (as comments alternative)
+<ul><li> enter URL of your comment (it should be publicly-readable)</li>
+<li> enter title to display on link</li>
+<li> enter your name or alias</li>
+<li> enter your personal URI (optional)
+<ul><li> requirements : the target must include a link to the post you are commenting on</li>
+</ul>
+</li>
+<li> comment on Twitter, FB, G+</li>
+<li> allow me to add related links</li>
+</ul>
+</li>
+<li> Pub-Sub on URI templates
+<ul><li> a feed tells you there's been a change in a resource "range"</li>
+</ul>
+</li>
+<li> RWW list mail - WebID and APIs</li>
+<li> 2012-12
+<ul><li> + no-links rendering</li>
+<li> "Web Outline" - links-only rendering</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> IEEE Piece
+<ul><li> If computers were human
+<ul><li> world turned upsde down</li>
+<li> layered abstraction the other way up, starting with humans</li>
+</ul>
+</li>
+<li> Affordances</li>
+<li> http://www.makemedia.com/blog/2012/03/15/what-is-the-future-for-web-intents/</li>
+<li> Dark Ages
+<ul><li> ??? taking a photo rather than experiencing the moment ???</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Salzburg
+<ul><li> http://wiki.iks-project.eu/index.php/Workshops/Salzburg2012</li>
+<li> http://www.iks-project.eu/</li>
+<li> investigate IKS projects</li>
+<li> apply to my blog</li>
+<li> https://docs.google.com/document/d/1XzdsjCfPylcyOoNtDfAgz15HwRdCD-0e0ixh21_U0y0/edit?hl=en_US&amp;amp;pli=1</li>
+</ul>
+</li>
+<li> Lyons/UK
+<ul><li> Lyons
+<ul><li> http://www.easyjet.com/EN/</li>
+<li> http://www.skyscanner.it/flights/psa/lys/120417/airfares-from-pisa-to-lyon-in-april-2012.html</li>
+<li> resume</li>
+<li> business cards</li>
+<li> ./workspace/hyperdata/docs/web-beep-proposal.html</li>
+<li> ./workspace/hyperdata/docs/web-beeps-presentation.html</li>
+<li> https://github.com/specgen/specgen#readme</li>
+<li> </li>
+</ul>
+</li>
+<li> UK
+<ul><li> wireless route</li>
+<li> maze carving</li>
+<li> something for Leslie</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Proc
+<ul><li> Agent Model
+<ul><li> agents message each other
+<ul><li> an agent is a computer = a computing unit
+<ul><li> diagram of computer</li>
+<li> http://www.c-jump.com/CIS77/CPU/VonNeumann/lecture.html</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> XProc mapping (informative)</li>
+<li> Implementations
+<ul><li> Beeps - demo GA</li>
+<li> Synth
+<ul><li> modules separated by HTTP!</li>
+</ul>
+</li>
+<li> Testing
+<ul><li> Vocab Validator : Data Stars
+<ul><li> http://pedantic-web.org/tools.html</li>
+<li> remember Vapour</li>
+<li> RDF lint</li>
+<li> http://ebiquity.umbc.edu/blogger/2012/03/04/lov-secrets-of-the-real-ontologies-of-the-lod-cloud/</li>
+<li> http://greggkellogg.net/2012/03/18/a-new-rdfa-test-harness</li>
+<li> term for steward? https://plus.google.com/114406186864069390644/posts/8d239nCmf8d</li>
+</ul>
+</li>
+<li> Seki see Seki</li>
+</ul>
+</li>
+<li> zip compression chain - demo GA</li>
+<li> http://www.nada.kth.se/~viggo/problemlist/compendium.html</li>
+</ul>
+</li>
+<li> Video!</li>
+<li> Parameters - refactor nitRandom</li>
+<li> Visualization
+<ul><li> http://code.google.com/p/sgvizler/</li>
+<li> http://code.google.com/apis/chart/interactive/docs/gallery/orgchart.html#Data_Format</li>
+</ul>
+</li>
+<li> Dedicated editor</li>
+<li> Mad Ideas
+<ul><li> make a computer http://www.c-jump.com/CIS77/CPU/VonNeumann/lecture.html</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Web Beeps
+<ul><li> Process Modelling
+<ul><li> http://www.w3.org/TR/xproc/</li>
+<li> self-replicating thing..?</li>
+<li> http://www.garshol.priv.no/blog/225.html</li>
+</ul>
+</li>
+<li> more write-up</li>
+<li> "mail Web Beeps"</li>
+<li> bit of promo - podcasters</li>
+<li> recorder widget</li>
+<li> "add beep widget to your site"</li>
+<li> </li>
+<li> vocab
+<ul><li> real-time vs. not</li>
+<li> monitoring - durations? heartbeat?</li>
+</ul>
+</li>
+<li> Turtle generation
+<ul><li> describe() - visitor pattern?</li>
+</ul>
+</li>
+<li> Cache-control</li>
+<li> http://code.google.com/p/rdf-pipeline/</li>
+</ul>
+</li>
+<li> Seki
+<ul><li> https://github.com/danja/seki and https://plus.google.com/b/102910670341143019851/</li>
+<li> TODO
+<ul><li> strip out current handling of Accept: RDF</li>
+<li> mock authentication</li>
+<li> use mustache templating
+<ul><li> https://github.com/janl/mustache.js#readme</li>
+</ul>
+</li>
+<li> prepare for client-side RDF</li>
+<li> put http-proxy based router on input,
+<ul><li> Accept: RDF -&amp;gt; auth -&amp;gt; Public</li>
+<li> Accept: HTML -&amp;gt; Seki -&amp;gt; auth -&amp;gt; Public</li>
+</ul>
+</li>
+<li> start test framework
+<ul><li> Proc</li>
+<li> http://vocab.deri.ie/rdforms</li>
+<li> http://www.w3.org/2009/sparql/docs/tests/</li>
+</ul>
+</li>
+<li> reorganize packages</li>
+<li> merge dev branch back into main</li>
+<li> make packageable
+<ul><li> http://howtonode.org/how-to-module</li>
+<li> package.json</li>
+<li> npm?</li>
+</ul>
+</li>
+<li> test on server
+<ul><li> try with Scute</li>
+</ul>
+</li>
+<li> implement I Ching service
+<ul><li> Special Pages (a la Wiki) e.g. list of resources (a la hypermedia discovery)</li>
+</ul>
+</li>
+<li> tweak assembler to create another dataset, to support one Public + one Private</li>
+<li> implement authentication
+<ul><li> http://trueg.wordpress.com/2012/03/19/you-do-not-need-to-know-rdf-or-foaf-to-use-webid/</li>
+</ul>
+</li>
+<li> tweak input router to HTTPS as appropriate</li>
+<li> test with Virtuoso</li>
+<li> play with templates
+<ul><li> DSL?
+<ul><li> property paths</li>
+<li> pipelines</li>
+<li> affordances
+<ul><li> javascript in model</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> look into deployment in Cloud
+<ul><li> http://www.amundsen.com/blog/archives/1116</li>
+</ul>
+</li>
+<li> map to agent model
+<ul><li> https://secure.flickr.com/photos/danja/6788357883/</li>
+<li> https://secure.flickr.com/photos/danja/5558883807/</li>
+</ul>
+</li>
+<li> pick another app to implement
+<ul><li> incorporate project vocab
+<ul><li> bookmarker
+<ul><li> +notes : tag QI (quick idea :)</li>
+</ul>
+</li>
+<li> listy thing</li>
+</ul>
+</li>
+<li> remember federation</li>
+<li> /stuff namespace
+<ul><li> http://open.vocab.org/</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> something using VoID</li>
+<li> http://demo.lod2.eu/lod2demo</li>
+<li> http://data.totl.net/</li>
+<li> http://www.windley.com/archives/2012/03/ways_not_places.shtml</li>
+<li> http://wiki.webhooks.org/w/page/13385124/FrontPage</li>
+<li> http://code.google.com/p/elda/source/browse/elda-testing-webapp/src/test/java/com/epimorphics/lda/systemtest/ResponseStatusTests.java</li>
+</ul>
+</li>
+<li> First Application : serve I Ching data
+<ul><li> Aim (MVP)
+<ul><li> provide RDF and HTML representations of all (public) resources at individual deref'able URLs</li>
+<li> HTML representation will support link-based navigation and representation editing through forms</li>
+</ul>
+</li>
+<li> clean source data, convert to rough RDF/XML (nearly done)</li>
+<li> load data
+<ul><li> one model for all hexagrams</li>
+<li> one model for vocabs (pipeline input)</li>
+</ul>
+</li>
+<li> serve data
+<ul><li> page templates</li>
+</ul>
+</li>
+<li> edit data via HTML forms</li>
+</ul>
+</li>
+<li> Play
+<ul><li> visualizations: check: http://mbostock.github.com/d3/ex/</li>
+</ul>
+</li>
+<li> Requirements (based on suggestions from @ephemerian and @kendall)
+<ul><li> authentication
+<ul><li> Basic over HTTPS</li>
+<li> https://github.com/magnetik/node-webid</li>
+</ul>
+</li>
+<li> authorization
+<ul><li> Private store contains ACL</li>
+<li> initially
+<ul><li> Private store admin R/W only, inaccessible directly</li>
+<li> Public anyone R admin W</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> logging
+<ul><li> text - for debugging (must be a node util available)</li>
+<li> RDF model - for analytics</li>
+</ul>
+</li>
+<li> federation
+<ul><li> it should be trivial to run federated queries</li>
+<li> SPARQL repository - prepared queries for e.g. selecting by shared interests</li>
+</ul>
+</li>
+<li> bake/unbake</li>
+<li> caching</li>
+<li> text search</li>
+<li> throttling</li>
+<li> support for Linked Data API
+<ul><li> http://code.google.com/p/linked-data-api/</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Test Framework
+<ul><li> http://www.w3.org/2009/sparql/docs/tests/</li>
+<li> implementation
+<ul><li> use zombie for HTML bits</li>
+<li> // what would an RDF zombie look like?</li>
+</ul>
+</li>
+<li> Design
+<ul><li> https://github.com/danja/seki/blob/dev/src/tests/notes.txt</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Common Graphs
+<ul><li> ACL</li>
+<li> event logs</li>
+<li> registry of other services/Seki instances (federation!)
+<ul><li> VoID</li>
+</ul>
+</li>
+<li> SPARQL repository</li>
+</ul>
+</li>
+<li> Nice to have
+<ul><li> data validation</li>
+<li> rules/reasoning/explanation/statistical stuff (much later!)</li>
+</ul>
+</li>
+<li> Reference
+<ul><li> http://trueg.wordpress.com/2012/03/15/webid-a-guide-for-the-clueless/</li>
+<li> http://roy.gbiv.com/untangled/2008/rest-apis-must-be-hypertext-driven</li>
+<li> http://www.w3.org/TR/HTTP-in-RDF10/</li>
+<li> http://prescod.net/rest/mistakes/</li>
+<li> http://javascript.infogami.com/Javascript_in_Ten_Minutes</li>
+<li> http://backbonejs.org/</li>
+<li> https://github.com/antoniogarrote/rdfstore-js</li>
+<li> http://howtonode.org/traitsjs</li>
+<li> http://betterexplained.com/articles/how-to-make-a-bookmarklet-for-your-web-application/</li>
+<li> https://github.com/shapeshed/nodejsbook.io.examples</li>
+<li> http://nodeguide.com/beginner.html</li>
+<li> visualization
+<ul><li> http://jesusabdullah.github.com/2011/02/26/plolt.html</li>
+<li> http://solutoire.com/flotr/</li>
+<li> http://bost.ocks.org/mike/hive/</li>
+<li> http://code.google.com/p/sgvizler/</li>
+<li> https://github.com/alangrafu/visualRDF#readme</li>
+<li> http://codinginparadise.org/projects/svgweb/docs/QuickStart.html</li>
+<li> http://mbostock.github.com/d3/ex/force.html</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> App Ideas (see separate list)
+<ul><li> SPARQL repository</li>
+<li> blog</li>
+<li> Wiki
+<ul><li> https://www.jottit.com</li>
+</ul>
+</li>
+<li> projects
+<ul><li> https://trello.com/</li>
+</ul>
+</li>
+<li> general purpose recommender
+<ul><li> create a theme</li>
+<li> add items</li>
+<li> if you like this -&amp;gt; you'll like that</li>
+</ul>
+</li>
+<li> SVG Whiteboard</li>
+<li> federated...</li>
+<li> http://ifttt.com/</li>
+<li> allow Listy Thing *Pages*</li>
+<li> webfinger thing
+<ul><li> http://tools.ietf.org/html/draft-jones-simple-web-discovery-02</li>
+</ul>
+</li>
+<li> the dreaded RSS aggregator
+<ul><li> https://github.com/danmactough/node-feedparser</li>
+</ul>
+</li>
+<li> http://ipython.org/ipython-doc/dev/interactive/htmlnotebook.html</li>
+<li> http://oli.web.cmu.edu/openlearning/forstudents/freecourses/media-programming</li>
+<li> http://bionicteaching.com/?p=2176</li>
+<li> Courseware
+<ul><li> start by taking *exactly this* and expressing it in RDF
+<ul><li> http://www.inf.unibz.it/~franconi/dl/course/</li>
+</ul>
+</li>
+<li> http://labs.mondeca.com/dataset/lov/details/vocabulary_crsw.html</li>
+</ul>
+</li>
+<li> natural history square metre
+<ul><li> microscope slide</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Fuseki in a Box
+<ul><li> startup:
+<ul><li> run locally</li>
+<li> connect to existing store</li>
+</ul>
+</li>
+<li> panes
+<ul><li> add triples (model dropt-down)</li>
+<li> delete triples " + clear model</li>
+<li> query</li>
+</ul>
+</li>
+<li> http://www.activestate.com/blog/2012/03/install-stackato-micro-cloud-one-command</li>
+</ul>
+</li>
+<li> Affordances
+<ul><li> RDFPub
+<ul><li> http://www.amundsen.com/blog/archives/1083</li>
+<li> http://tools.ietf.org/html/rfc5023#section-5</li>
+</ul>
+</li>
+<li> http://www.aaronsw.com/weblog/000931</li>
+<li> http://www.bbc.co.uk/news/business-16968125
+<ul><li> TiddlyWiki</li>
+</ul>
+</li>
+<li> Named Graphs as modular programs
+<ul><li> components are literal javascript functions
+<ul><li> possibly tied to queries</li>
+<li> https://github.com/antoniogarrote/rdfstore-js</li>
+<li> http://code.google.com/p/rdfquery/</li>
+</ul>
+</li>
+<li> Entity/Component
+<ul><li> http://piemaster.net/2011/07/entity-component-primer/</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> [gesture] does get on resource, including found triples in current graph</li>
+<li> http://stateless.co/hal_specification.html</li>
+<li> Intents
+<ul><li> http://designpush.pbworks.com/w/page/48061310/FrontPage</li>
+<li> http://www.makemedia.com/blog/2012/03/15/what-is-the-future-for-web-intents/</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Named Graph (including agent stuff)
+<ul><li> JS nodes corresponding to methods for use in browser?</li>
+<li> simplest thing that could possible work!
+<ul><li> Affordances - document (graph)-level triples</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Manuel
+<ul><li> as new kind of browser</li>
+<li> as game - link follower = game player
+<ul><li> two windows:
+<ul><li> Adventure-like text interactions
+<ul><li> change text colour for media type (doc web/data web)</li>
+</ul>
+</li>
+<li> low-level net interactions </li>
+<li> goals - answering a specifc question
+<ul><li> get folks to add Easter Eggs to data sets?</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> potted queries etc. in online repository
+<ul><li> keyed off current URI (e.g. SPARQL endpoints)</li>
+<li> annotated -title, creator, date, description</li>
+</ul>
+</li>
+<li> http://datatracker.ietf.org/doc/draft-gregorio-uritemplate/?include_text=1</li>
+<li> x = construct(endpointURI, query)
+<ul><li> http://talideon.com/weblog/2005/07/javascript-memoization.cfm</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Scute
+<ul><li> Vocab Authoring Assistant (term reuse)
+<ul><li> point it to proposed vocab in Current graph</li>
+<li> give it an empty New graph </li>
+<li> point it to known candidate vocabs - call them Existing
+<ul><li> ditto lov, sindice etc.</li>
+</ul>
+</li>
+<li> for each of your terms:
+<ul><li> offer similar terms from Existing (with full descriptions)
+<ul><li> need similarity measure - algorithms?</li>
+</ul>
+</li>
+<li> offer options:
+<ul><li> sameAs term in Existing
+<ul><li> (replace)
+<ul><li> add advisory annotation to New</li>
+</ul>
+</li>
+<li> (reference)
+<ul><li> add Current term, with sameAs Existing to New</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> similar to existing
+<ul><li> creating statement in New involving term from Current, subClass | superClass / subProperty | superProperty Existing term</li>
+<li> copy relevant triples from Current to New</li>
+</ul>
+</li>
+<li> genuinely new term
+<ul><li> copy relevant triples from Current to New </li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> (save New) </li>
+<li> check, if ok replace Current with New</li>
+<li> (later add doc generation tools - specgen or whatever)</li>
+</ul>
+</li>
+<li> sort out tabs etc.</li>
+<li> gnome-do style mode switcher
+<ul><li> better define modes - modeless UI!</li>
+</ul>
+</li>
+<li> undo() - Command pattern</li>
+<li> evolve scratchpad into clipboard
+<ul><li> everything that goes on the system clipboard goes on the scratchpad</li>
+<li> gets minimized to icon</li>
+<li> mouseover to show contents, click to copy to clipboard</li>
+</ul>
+</li>
+<li> make Help editable</li>
+</ul>
+</li>
+<li> Revisit Later
+<ul><li> Tokens
+<ul><li> http://dannyayers.com/stuff/token-thing/source.html</li>
+<li> icon on a page is a token : ■
+<ul><li> you can drag that token to the bookmarks bar</li>
+<li> (it's actually a link or script)</li>
+</ul>
+</li>
+<li> empty box on a page is a token receiver : □
+<ul><li> you can drag a token from the bookmarks bar into the receiver</li>
+<li> (it's actually an &amp;lt;input&amp;gt; field)</li>
+</ul>
+</li>
+<li> what to pass across?
+<ul><li> form associated with the token that you fill in</li>
+<li> when you pass the token along, it passes the data from the form fields</li>
+</ul>
+</li>
+<li> http://en.wikipedia.org/wiki/Geometric_Shapes</li>
+<li> http://en.wikipedia.org/wiki/Information_card</li>
+</ul>
+</li>
+<li> </li>
+</ul>
+</li>
+<li> Interstices
+<ul><li> make model</li>
+<li> crawler for seeding images?</li>
+<li> sliders UI</li>
+<li> Mechanical Turk for seeding data?</li>
+<li> </li>
+</ul>
+</li>
+<li> "How Should the Web Work?"
+<ul><li> open a browser, start typing</li>
+<li> modes stuff?</li>
+<li> why do I go to gmail.com when I want to see things related to danny.ayers@gmail.com?</li>
+</ul>
+</li>
+<li> Modules
+<ul><li> make pipelines a la beeps</li>
+<li> http://www.snee.com/bobdc.blog/2012/02/pull-rdf-metadata-out-of-jpegs.html</li>
+<li> http://apigee.com/about/products/free API toolkit</li>
+</ul>
+</li>
+<li> Principle
+<ul><li> what's shown on blog is determined by a SPARQL query (+?)</li>
+<li> as the query is changed, what's shown changes in real time</li>
+<li> // and apply to layout</li>
+<li> which components are visible?</li>
+</ul>
+</li>
+<li> App Ideas
+<ul><li> Local server
+<ul><li> server-side component acts as proxy</li>
+<li> when disconnect, server offers cached</li>
+</ul>
+</li>
+<li> analyze coverage of existing apps (a la Interstices)</li>
+<li> Idea Capture!
+<ul><li> include prj:helps etc</li>
+</ul>
+</li>
+<li> Where are you?
+<ul><li> situated agents http://en.wikipedia.org/wiki/Situated</li>
+<li> agents a bit like tamagotchi</li>
+<li> quasi MOO</li>
+<li> rooms a la MUD
+<ul><li> like library rooms</li>
+<li> like IRC but associated with web resources</li>
+<li> when you are in a particular room, you can talk to others in that room</li>
+<li> MyRooms?</li>
+</ul>
+</li>
+<li> post link bookmarklet a la del.icio.us</li>
+<li> background link follower/crawler</li>
+<li> notify when two people are nearby</li>
+</ul>
+</li>
+<li> Link Aggregator
+<ul><li> http://www.linkrdr.com/links/add_feed/</li>
+<li> add subscription list : OPML/twitter/whatever</li>
+<li> accumulate contained links</li>
+</ul>
+</li>
+<li> Listy Thing
+<ul><li> http://plcmcl2-things.blogspot.com/ 23 things</li>
+<li> http://danja.tiddlyspace.com/</li>
+</ul>
+</li>
+<li> http://notebookjs.me/#</li>
+<li> auto-comparison of items in different lists based on text search (like a two-way search)
+<ul><li> allow symlinking across: sameAs/seeAlso (actualy sameTopicAs, dc:related?)</li>
+</ul>
+</li>
+<li> Web Presentation : pages are slides
+<ul><li> preset
+<ul><li> put focus of a page on the link to next slide</li>
+</ul>
+</li>
+<li> pre-recorded sequence of URLs (each a "slide")</li>
+<li> can record audio+cues to run</li>
+</ul>
+</li>
+<li> Clonable
+<ul><li> http://www.clonestop.com/</li>
+<li> http://www.scriptcopy.com/</li>
+<li> StackOverflow clone
+<ul><li> https://github.com/anantgarg/Qwench</li>
+</ul>
+</li>
+<li> quasi-REST auth: http://stackoverflow.com/questions/319530/restful-authentication</li>
+</ul>
+</li>
+<li> Copy, Transform, Combine (remix vid)</li>
+<li> Pinterest, not just pictures
+<ul><li> https://pinboard.in/</li>
+</ul>
+</li>
+<li> "Story Behind"/ find sources
+<ul><li> take a piece like: http://online.wsj.com/article/SB10001424052970203646004577213010291701378.html</li>
+<li> find the papers
+<ul><li> possibly;</li>
+<li> http://www.brainmusic.org/MBB91%20Webpage/Sloboda_1991.pdf</li>
+<li> http://psy2.ucsd.edu/~vjkpublications/pdf/2010%20The%20influence%20of%20affect%20on%20music%20choice%20Ch.25,%20H-book%20of%20M-E.pdf</li>
+<li> http://www.getcited.org/pub/102502981</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Why Wasn't I Consulted
+<ul><li> http://www.ftrain.com/wwic.html</li>
+</ul>
+</li>
+<li> Least Interesting People
+<ul><li> along the lines of Facebook recommendations, but who you should unsubscribe from</li>
+</ul>
+</li>
+<li> I did X because of Y
+<ul><li> e.g. I learnt how to use SPARQL because of &amp;lt;this post&amp;gt;</li>
+</ul>
+</li>
+<li> Hearing test
+<ul><li> https://plus.google.com/u/0/112609322932428633493/posts/NKcC8DKoyHb</li>
+</ul>
+</li>
+<li> Big Plans
+<ul><li> Personal Web Server Proxy service</li>
+<li> Algorithm repository</li>
+<li> lazyweb</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> ShareJS
+<ul><li> remote pair programming</li>
+<li> Collaborative Comments :
+<ul><li> blog sidebar
+<ul><li> live edit</li>
+<li> freeze button (with auth) - adds as comment</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Wiki</li>
+<li> Shared Lists
+<ul><li> on JSON objects? Turtle?</li>
+<li> http://plcmcl2-things.blogspot.com/
+<ul><li> http://the23thingsproject.pbworks.com/w/page/20848476/FrontPage
+<ul><li> 22 Design an Application</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> see also
+<ul><li> http://flowingdata.com/2012/03/19/live-coding-implemented/</li>
+<li> http://ace.ajax.org/</li>
+<li> http://gabrielflor.it/</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> Daily
+<ul><li> 1/2 hr sites</li>
+<li> 1/2 hr reading</li>
+</ul>
+</li>
+<li> Blog
+<ul><li> mode switch: skimming/reading</li>
+<li> http://www.addthis.com/features#.T2chE4xSQ-o</li>
+<li> pinterest buttons</li>
+<li> http://sharethis.com/</li>
+<li> normal | mobile version | navigation page | data | flesh version</li>
+<li> next/previous</li>
+<li> add left sidebar</li>
+<li> improve font, see http://www.tbray.org/ongoing/misc/Colophon</li>
+<li> link to Web Beep (My Projects)
+<ul><li> Web Beep for this post (next to title)</li>
+</ul>
+</li>
+<li> fix G+ button</li>
+<li> fix archives</li>
+<li> http://labs.mondeca.com/sparqlEndpointsStatus/index.html</li>
+<li> Google Ads, analytics *everywhere*</li>
+<li> comments!!!</li>
+<li> add hit count property?</li>
+<li> add word count property</li>
+<li> wtf to do with http://hyperdata.org/microblog/</li>
+<li> "Buy Me a Coffee" - see</li>
+<li> VoID</li>
+<li> Red Pill/Green Pill</li>
+<li> http://aksw.org/Projects/RDFaCE</li>
+<li> oEmbed (for twitter)</li>
+<li> http://tinyurl.com/89g24gr</li>
+</ul>
+</li>
+<li> Sites
+<ul><li> Get everything nicely organised and linked</li>
+<li> add discrete adverts &amp;amp; analytics</li>
+<li> add RDF for everything - especially images, mp3 &amp;amp; vids</li>
+<li> microdata/RDFa on index pages (at least)
+<ul><li> templater?</li>
+</ul>
+</li>
+<li> integrate with blog data</li>
+<li> </li>
+<li> Stuff
+<ul><li> Woodcarving
+<ul><li> Jigs</li>
+<li> Knifes</li>
+<li> Tips</li>
+</ul>
+</li>
+<li> Misc
+<ul><li> stone carving &amp;amp; paintings</li>
+</ul>
+</li>
+<li> Tech</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> XMLNS
+<ul><li> creative 404s</li>
+<li> vocab wiki</li>
+<li> VoID</li>
+</ul>
+</li>
+<li> General
+<ul><li> Mailing List
+<ul><li> add links
+<ul><li> github pages</li>
+<li> blog</li>
+<li> etc.</li>
+<li> fix danny.ayers.name</li>
+<li> Position Statement</li>
+<li> FOAF</li>
+<li> dating page</li>
+</ul>
+</li>
+</ul>
+</li>
+<li> G+ pages for all domains &amp;amp; projects</li>
+</ul>
+</li>
+<li> Jottings
+<ul><li> Cloud = commodification of infrastructure (but - p@ : RaisetheUnitofcurrencytobeapplication&amp;amp;servicesinsteadofinfrastructure</li>
+<li> </li>
+</ul>
+</li>
+<li> Creative Writing
+<ul><li> http://www.ted.com/talks/andrew_stanton_the_clues_to_a_great_story.html</li>
+<li> http://www.katsommers.com/projects/how-not-to-write-a-novel/</li>
+</ul>
+</li>
+<li> Plan A
+<ul><li> one person takes each app to MVP</li>
+<li> Golden Rules
+<ul><li> incremental improvements must always be possible
+<ul><li> when switching work activity, leave things so they can be restarted without effort</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
+</li>
+</ul>
View
5 src/www/lists/workflowy/simple.txt
@@ -2,4 +2,9 @@
- Tea
- Black tea
- Green tea
+ - Light
+ - Dark
+ - Really Dark
- Milk
+ - Cow
+ - Sheep
View
4 src/www/lists/workflowy/test.js
@@ -1,8 +1,8 @@
var fs = require('fs');
var text2html = require("./text2html");
-// ./dump_2012-03-26.txt
-fs.readFile('./simple.txt', 'utf8', function(err, data) {
+// ./dump_2012-03-26.txt ./simple.txt
+fs.readFile('./dump_2012-03-26.txt', 'utf8', function(err, data) {
if (err)
throw err;
var result = text2html(data);
View
63 src/www/lists/workflowy/text2html.js
@@ -15,27 +15,41 @@ function ListTree(title) {
return last;
};
- // serializer - not correct output
+ // <li>A
+ // <ul>
+ // <li>B</li>
+ // <li>C</li>
+ // <li>D</li>
+ // </ul>
+ // </li>
+
this.toHTML = function() {
- var html = "<ul>";
+ var html = "<ul>\n" + this.toHTMLsub() + "</ul>";
+ return html;
+ };
+
+ this.toHTMLsub = function() {
+ var html = "";
html += "<li>" + this.title;
if (this.lists.length > 0) {
+ html += "\n<ul>"
+
for ( var i = 0; i < this.lists.length; i++) {
- html += "<li>";
- html += this.lists[i].title;
- html += this.lists[i].toHTML();
- html += "</li>";
+ // html += "<li>";
+ // html += this.lists[i].title;
+ html += this.lists[i].toHTMLsub();
+ // html += "</li>";
}
+ html += "</ul>\n";
}
html += "</li>\n";
- html += "</ul>\n";
return html;
};
}
// dummy tree
// called by test.js
-function text2html(source) {
+function text2html2(source) {
var root = new ListTree("root");
var child1 = new ListTree("child1");
root.addChild(child1);
@@ -48,19 +62,14 @@ function text2html(source) {
// parses Workflowy format - maybe ok
// will called by test.js
-function text2html2(source) {
+function text2html(source) {
var result = "";
var inText = false;
var indent = 0;
var previousIndent = 0;
- // var parent = new ListTree("under");
- // parent.setTitle("parent");
- var current = new ListTree("root");
- // var previousList;
- // list.setTitle("root");
- // parent.addChild(list);
-
+ var root = new ListTree("root");
+ var current = root;
var text = "";
for ( var i = 0; i < source.length; i++) {
@@ -78,8 +87,7 @@ function text2html2(source) {
}
if (inText && char != "\n") {
- text += char;
- // continue;
+ text += escape(char);
}
if (inText && char == "\n") { // read line
console.log("* text = " + text);
@@ -109,18 +117,15 @@ function text2html2(source) {
current.addChild(newList);
console.log("last = " + current.title);
console.log("adding " + newList.title + " to " + current.title);
- // parent = list;
- // previousList = current;
- // current = newList;
}
if (diff < 0) {
for ( var j = 0; j < -diff; j++) {
console.log("getting parent of " + current.title);
current = current.parent;
}
- console.log("new list2 " + newList.title);
- console.log("new current " + current.title);
- console.log("adding " + newList.title + " to " + current.title);
+// console.log("new list2 " + newList.title);
+// console.log("new current " + current.title);
+// console.log("adding " + newList.title + " to " + current.title);
current.addChild(newList);
}
@@ -139,13 +144,21 @@ function text2html2(source) {
}
}
- result = current.toHTML();
+ result = root.toHTML();
// result = JSON.stringify(list, null, '\t');
// result = parent.toHTML();
// console.log(JSON.stringify(current, null, '\t'));
return result;
//
}
+function escape(char) {
+ if(char == "<") return "&lt;";
+ if(char == ">") return "&gt;";
+ if(char == "&") return "&amp;";
+ return char;
+}
+
+
// make it available to other scripts
module.exports = text2html;

0 comments on commit aab459f

Please sign in to comment.