Website Links pasted into a Topic

Website Links are automatically expanded to provide additional context and information. What meta data is discourse reading and how is it formatted (e.g. Facebook’s Open Graph).

1개의 좋아요

Is this any help?

3개의 좋아요

Hello Jammy

It has to work automatically for the Forum Users. However, oEmbed might be the clue I need, perhaps that is what Discourse scrapes.

2개의 좋아요

… or you mean OneBox is what provides Discourse with the capability? I currently do not have a forum on my website but I want my website links to be expanded by the Discourse Forums I belong to.

For example the MIT App Inventor Forum uses Discourse and does expand some website links, but not mine. I have Open Graph property tags and my links are expanded by WhatsApp and LinkedIn, but not by Discourse, hence my Topic.

1개의 좋아요

I’m afraid I don’t have in-depth knowledge of the inner workings, but the guide above has some tips on what information Discourse needs to be able to Onebox:

And a couple of troubleshooting tips too:

How do they stack up compared to your existing metadata?

2개의 좋아요

Actually, sounds like my existing Open Graph tags should work with Discourse. Lets see what iFramely thinks…

Well, works perfectly on iFramely, including the mobile representation.

For some reason I cannot fathom, it is now working on Discourse (tested on the MIT Forum). The arrangement of the data is different to other platforms, including the iFramely test, but at least it works.

Your help very much appreciated JammyDodger, thank you.

2개의 좋아요