tmplat-extension / tmplat

Browser extension that quickly and easily copies info on the current page using a simple and unique template system
https://tmplat.com
MIT License
53 stars 11 forks source link

Social Network Integration #12

Open neocotic opened 13 years ago

neocotic commented 13 years ago

Social network support should be integrated to allow users to share their clipboards with their friends. Initial support should include (at least) Facebook and Twitter but a framework should be implemented to allow easy inclusion of additional implementations.

Probably the most ideal implementation is to include sharing links of each (enabled) social network in the notifications page. These links could potentially be customizable depending on what options are available for each network (e.g. small/medium/wide icons and smart links). It is probably best to prepare the HTML for this section of the notifications page similarly to the popup page to maintain performance. However, investigation is required as to whether or not smart links will hinder load times.

An option to disable social network links when in offline mode may also be useful.

Probably best to implement similarly to how the URL Shorteners were and keep authentication in mind.

Keep #10 in mind when creating the options section for these as a new tab would be best.

Finally, would it also be a good option to include a template sections for each network where their contents are automatically posted on the network responsible. For example;

{#facebook}Check this issue out! - {url}{/facebook}

Would post the following to the user's wall;

Check this issue out! - https://github.com/neocotic/template/issues/12

However, care should be taken to ensure shortened links are also included (since they are rendered when the response is received).

neocotic commented 13 years ago

Maybe I should also include Google+ initially as well since Chrome is a Google product...