malmaud
(Jonathan Malmaud)
2015 年10 月 14 日 23: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 个赞
sam
(Sam Saffron)
2015 年10 月 14 日 23: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 个赞
You should implement OpenGraph at readthedocs.org if you control it, or strongly lobby them to do so.
malmaud
(Jonathan Malmaud)
2015 年10 月 15 日 03:28
4
4 个赞