Closed Manishearth closed 10 years ago
This makes sense. We should go ahead with this.
Just a food for thought, this would anyway can be pretty long too. How about add a button to give a bit.ly shortened version.
bitly is good.
Kewl!
Sushant Hiray, Senior Undergrad CSE, IIT Bombay
On Fri, Jul 11, 2014 at 1:11 PM, Manish Goregaokar <notifications@github.com
wrote:
bitly is good.
— Reply to this email directly or view it on GitHub https://github.com/Manishearth/IIT-Timetable/issues/9#issuecomment-48702736 .
JSON.stringify()
+encodeURIComponent
= huge URLWe can possibly base64 encode it (
atob(decodeURIComponent(data))
andencodeURIComponent(btoa(JSON.stringify(json)))
work), or do something else. Either way, we won't have to percent encode the URL which makes it fatter.Thoughts? @sushant-hiray