andrewchen
(Andrew Chen)
February 6, 2015, 6:46pm
1
Making it easier to post a link (with a required comment) would be a nice way to stimulate conversation especially in small/early Discourse forums.
Has anyone looked into making a chrome extension or bookmarklet to make it easy to post a link into Discourse?
If not, would anyone else want this?
4 Likes
cpradio
(cpradio)
February 6, 2015, 7:05pm
2
Why is it difficult to post a link in Discourse?
andrewchen
(Andrew Chen)
February 6, 2015, 8:15pm
3
Here’s the workflow for a bookmarklet:
see an article you like
click a button
takes you to the forum with the link prepopulated
type in a message, click post
versus:
see an article you like
make a new tab
go to the forum
click new post
switch back to the old tab
copy the url
switch back to the forum tab
paste into the forum
click post
It’s more than 2x the number of steps, and for a casual user, it’s too much work. I think it would be a meaningful way to add new content into a forum, especially for a small/new community.
You can become 22% more efficient by copying the URL before leaving the original page, if that helps.
5 Likes
We found at Stack Exchange that users definitely know how to copy and paste links in their browser, and often prefer that to manual “share” buttons.
The data 100% supported this hypothesis, every time we looked.
(Possible it might be a bit different in mobile, where “tap and hold” is required to copy links.)
andrewchen
(Andrew Chen)
February 7, 2015, 4:35pm
6
Jeff,
not arguing that people don’t know how to do it, just saying it’s a lot more convenient to do it. This is why tweet buttons exist, Buffer, plus extensions for pinning to Pinterest, etc. All about making it easy.
I’m guessing this is possible but again, requires a plugin?
sam
(Sam Saffron)
February 7, 2015, 8:56pm
7
This should not require a plugin, I would be happy to have a feature that allows you to do something like
http://sitename.com/new-topic?title=some+title&body=some+body&category=come+category
At the moment though it is not yet supported.
6 Likes
andrewchen
(Andrew Chen)
February 7, 2015, 9:17pm
8
Yes, that would be great. That would make it simple to build “Post to discourse” or bookmarklets and the link.
Yes there are a few other topics here requesting that already.
thump
(Zack)
February 8, 2015, 4:48am
10
Yep - part of my post for being able to click a link and have the body and title filled out. That would be perfect.
andrewchen
(Andrew Chen)
March 31, 2015, 6:19pm
11
Hi Sam,
any update on getting this URL? It sounds like it’s getting requested by a few folks, and it would be great to have.
Sure, I like this idea @techapj can you add it to your list?
3 Likes
andrewchen
(Andrew Chen)
April 26, 2015, 6:08pm
13
Any update from @techapj ?
techAPJ
(Arpit Jalan)
April 27, 2015, 3:38am
14
I tried to get this feature in last week, but it’s more work than expected. Will get it done this week.
techAPJ
(Arpit Jalan)
April 28, 2015, 6:55pm
15
Just sent a PR for this feature
discourse:master
← arpitjalan:patch-2
opened 06:35PM - 28 Apr 15 UTC
[Brief feature spec here](https://meta.discourse.org/t/bookmarklet-or-chrome-ext… ension-for-posting-links-to-a-discourse/24919/7?u=techapj).
Create topic via URL params like:
```
http://forum.example.com/new-topic?title=topic%20title&body=topic%20body&category=category_name
```
See:
Discourse now supports composing a new (pre-filled) topic via URL! To compose a new pre-filled topic, modify URL params like this:
https://discourse.example.com/new-topic?title=topic%20title&body=topic%20body&category=category/subcategory&tags=email,planned
This will open composer window pre filled with topic title, body, category and tags.
Breaking down the link / URL to show the available options, we have:
the base URL / link: https://discourse.example.com/new-topic
the ? URL operator to…
5 Likes