agical / friendsunhosted

FRIENDS#UNHOSTED - Own your network!
http://friendsunhosted.com/
Other
13 stars 2 forks source link

Direct links to topic/status #23

Open codification opened 11 years ago

codification commented 11 years ago

I think it would be great to be able to link directly to a status/thread/topic.

Something like http://friendsunhosted.com/?usr=someone@storage.org&update=13db452f36e3456a35f6

jancborchardt commented 11 years ago

What would be cool is if the direct link wouldn’t rip the update out of a person’s stream like Twitter does, but rather go to the user page, scrolling to and highlighting that status (maybe also a bit whitespace around the update).

Also, the link should be: friendsunhosted.com/#user@storage.com/first-words-of-update (We have to use hashes, because ? parameters are sent to the server, whereas anchors are not. Also, we should have the addresses use as much natural language as possible.)

brolund commented 11 years ago

Possibly instead

/#myfriends/username@storage.com/status/

That wouldn't make us have to write hairy conditionals about the parts of the local path, if(emailRegex.match(firstPart)) {...}.

In the same spirit:

/#myfriends

becomes

/#myfriends/user@store.com

to see a specific friend, or

/#status

becomes

/#status/

to lead to a specific conversation for the local user.

Or something more nifty. :-)

jancborchardt commented 11 years ago

Yeah, having a bit of a namespace for that is probably good. /#user/dude@storage.com is good.

jancborchardt commented 11 years ago

There could even be a way to embed the children of a post on a website. That way you could embed it to have commenting on a fully static page, like Disqus.