Skip to content
This repository was archived by the owner on Feb 10, 2026. It is now read-only.

Extension flow

matiasdoyle edited this page Aug 15, 2012 · 1 revision

Extention flow

First run

  1. User gets prompted to sign-up/enter their API key.
    • If they enter an API key the client should send a request to the server with that key and check that the status code is 200.
  2. The user has now a valid API key.

Opening and closing a page

  1. When the user enters a website the client saves the time the user entered the page.
    • If the page does not have the format of http*://*.*/* the client discards the page when the user leaves, unless they click the extention to tell this is an article.
  2. When the user leaves/closes the page the extention saves the time they closed the page
  3. The client sends a POST request to the server to parse and save the page.
    • If the time between opening and closing is less than 10-15 seconds or the user has not scrolled more than 60% of the page (both numbers have to be revised...) the client will discard the result and not send a request to the server.
  4. The client recives a confirmation that the article has been saved.
    • Show the confirmation to the user?

Clone this wiki locally