New Embedding Page (with support for Host ➡ Category)

embedding
feedback

(Robin Ward) #1

I just added a new page into the Discourse admin section to customize Embedding. You can now choose a category to post in that relates to the host you embedded the site on.

The new page also gives you a sample embed code for your site that is easily customized, and longer form descrptions of all the options. I’ve removed all embedding settings from the Settings tab to keep it all in one place. (the guides will have to be updated once we get this into stable.)

Multiple hosts posting to different categories

Settings below


Embedding with multiple categories?
(Jeff Atwood) #2

Just a warning on this, I upgraded discourse.codinghorror.com to latest Discourse and it seemed to break embedding – perhaps a backwards compatibility issue with previous settings?


(Robin Ward) #3

Indeed, my validator for the record was not run during the migration to strip out http:// – I’ve added a new migration to fix it:

https://github.com/discourse/discourse/commit/d418c4cfc09dcc7ee31663b78fb8abbce4e006e8