Notes towards a project…
Synopsis
- Greasemonkey script to convert Facebook groups into useful knowledge tools, and collaboration tools.
- Add features: archiving, tagging, collaborative editing (Wiki), workflows, WYSIWYG…
- Improve signal-to-noise.
RFP, MVP, bla
- Archive (sync) group posts to another site, WordPress or Node.js based (because I like them ;o). Or maybe Google Drive?
- Tagging: folksonomies; see Web 2.0.
- Wiki
- WYSIWYG: code embedding (with syntax highlighting ;o), clean hypertext links, etc.
Workflows (usecases)
- FAQs: find answers in archives, link to, and generally get them out of the way.
- Wiki — ThreadedMode to DocumentMode
- Moderation: karma system, eg like Slashdot’s.
Archives
- Data model? Posts and comments, same as in WordPress?
- Performance (AJAX)?
…
Greasemonkey
- AJAX without SOP limitations
- jQuery? Or Sizzle, Zepto?
- CoffeeScript
- No built-in support… yet. But, some workarounds?
- Updates?
- Packaging, installation?
- Configuration/settings?
- DOM
- Data model — selectors:
- Message UID: #mall_post_463225913747358.uiUnifiedStory.uiStreamStory.genericStreamStory.aid_850360601.aid_135673716502581.uiStreamNoBorderStory
- Message text: h5.uiStreamMessage.userContentWrapper span.messageBody span.userContent
- Message author
- Message timestamp: span.uiStreamSource abbr.ffixer-handled[data-utime=”1366314959″]
- Comment text: li[id=”.reactRoot[171].[1][4][1]{comment463225913747358_463505197052763}”].UFIRow.UFIComment.UFIUnseenItem div.UFIImageBlockContent div.UFICommentContent span[id=”.reactRoot[171].[1][4][1]{comment463225913747358_463505197052763}.0.[1].0.[1].0.[0].[0][2].0.[0]”]
- Comment permalink: a.uiLinkSubtle
- Comment timestamp: abbr.livetimestamp.ffixer-handled[data-utime=”1366368920″]
- AJAX?
Development
…