malmaud
(Jonathan Malmaud)
Octobre 14, 2015, 11:42
1
Hi all,
Very pleased with the onebox support. One limitation seems to be that links to readthedocs.org aren’t oneboxed; eg
http://julia.readthedocs.org/en/latest/manual/types/
Would be great to have this as we experiment with moving the Julia forums over to Discourse ; I can help out if someone points me in the right direction.
1 « J'aime »
sam
(Sam Saffron)
Octobre 14, 2015, 11:46
2
You have two options here:
implement a custom onebox here: onebox/lib/onebox at master · discourse/onebox · GitHub
(more desirable) add support for opengraph http://ogp.me/ to readthedocs (which would help everywhere) … then you simply whitelist the url.
4 « J'aime »
You should implement OpenGraph at readthedocs.org if you control it, or strongly lobby them to do so.
malmaud
(Jonathan Malmaud)
Octobre 15, 2015, 3:28
4
4 « J'aime »