This repository was archived by the owner on Feb 10, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Extension flow
matiasdoyle edited this page Aug 15, 2012
·
1 revision
- 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.
- 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
- The user has now a valid API key.
- 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.
- If the page does not have the format of
- When the user leaves/closes the page the extention saves the time they closed the page
- 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.
- The client recives a confirmation that the article has been saved.
- Show the confirmation to the user?