Just put a space in front of the link. Not sure how that’s too “techie” of a workaround, for now…
Ah, the space is useful as well for me. I meant “techie” in the sense that my users (mostly academics and higher ed staff) generally don’t actively look for ways to thwart their technology. If they don’t like how something works they just put up with it and/or complain
I agree with this @techAPJ
Can you add that to your list? Embedding a full Google spreadsheet, doc, etc is kind of insane when you think about it…
Yeah, if anything it should be optional, opt-in. I would hold off for 1.7 though and just have it use the generic default onebox support (after mini onebox is built)
Okay, this is now done.
When the doc is not public, the title and contents can’t be pulled in by the onebox, so the click target is a lot less obvious. Here’s a screenshot of an example:
Perhaps that “title” should be rendered in bold blue text as “Google Sheets” or “Google Docs” or “Google Slides” when the title content can’t be retrieved?
Yes, good point! I’ll make it so.
While you’re at it, would it be possible to make the large icon clickable as well?
Maybe private docs could also use the text field to have a note about that status? E.g. just put “Document is private” there.
This is perfect, except for a minor quibble:
But this doesn’t:
Both are valid URLs as far as Google Docs is concerned.
Sure @techapj can you have a look at that?
FWIW, I find the summaries for public documents underneath the title to be overlong and redundant.
For Google Sheets in particular, the summary is confusing as it runs along the column headings with data.
I don’t see this as useful at all.
I would love an option to turn the summaries off – or to turn them off entirely, unless there are stalwart fans of them.
Yeah it feels like there is other metadata that is far more interesting.
- Creation date of the document
- Last editor
- Last edit
Perhaps we can pick that up instead?
Accessing that data will require API credentials. Currently we are relying on OpenGraph data which provides title, type, description (summary), image (snippet).
I’m just started to try out the google docs onebox. The following link: (https://docs.google.com/spreadsheets/d/1lAuOv25IyOQgvkrTQb0ijKQhigAIeRrm2DoJUOsUiDQ/pubhtml?gid=1732160294&single=true) is puplished and are able to access through the browser or from the onebox even. But still said as you could see below; “
This Sheet is Private”.
Hmm, this has really screwed us over at www.talk.manvfat.com we used embedded Google Spreadsheets as a way for guys to record their weights, the spreadsheet then calculated BMI, etc.
e.g. - how it used to work for us:
What it looks like now:
We also used them as a way of running tracking threads - e.g. guys who wanted to track days off booze, etc.
It wasn’t perfect (mobile users didn’t report great functionality) so it could have been improved but neither of those functions can be replicated by Discourse as standard, so to my mind, you’ve stripped away something without much thought about who might be using this function.
Is there any other way of doing this? Any suggestions?
Create a custom plugin based on old onebox code.
Bummed that we lost the ability to embed Google Docs. The ability to easily iframe a Google Doc was a nice way to get shared notes in front of people’s eyes who are less likely to click through to a separate document. I wish there was a way to get the original embedded behavior (e.g., put “embed:” in front of the URL). Oh well.