Cool oneboxing you can do on OpenMRS Talk

Oneboxing is a cool way to embed content from other URL’s in your posts here on OpenMRS Talk. Several different sites are supported. This thread will show some examples of each.

Generally speaking, all you need to do to embed a onebox is place a URL (web address) on a line by itself in your post. Here are some samples.

Note: I included the URL above each sample so you’ll know what’s been linked. Normally, it doesn’t appear for oneboxed items.

YouTube:

https://www.youtube.com/watch?v=tou-Ei_AKAw

Specific files on GitHub:

https://github.com/openmrs/openmrs-core/blob/master/webapp/src/main/webapp/index.jsp

https://github.com/openmrs/openmrs-core/blob/master/webapp/src/main/webapp/index.jsp

GitHub commits:

https://github.com/openmrs/openmrs-core/commit/c39a27aefaa7284b414d5b8fb0d179316fcf750e

GitHub pull request:

https://github.com/openmrs/openmrs-contrib-modulus-ui/pull/1

Wikipedia entry:

http://en.wikipedia.org/wiki/OpenMRS

Onebox other OpenMRS Talk threads:

https://talk.openmrs.org/t/general-test-thread-test-things-out-here/16

Onebox specific posts in a given OpenMRS Talk thread:

https://talk.openmrs.org/t/general-test-thread-test-things-out-here/16/2

Images, generally (Note: Images from other sites will be automatically copied and stored locally on OpenMRS Talk in case they “disappear” later from remote servers.)

<img src='/uploads/default/35/cfe05ee273259d96.png'>

If you discover more oneboxes that you find useful, please add them to this thread!

2 Likes

Google Maps short links:

http://goo.gl/maps/jfHDf

http://goo.gl/maps/jfHDf

This is not exactly a Onebox but will probably make @burke happy:

https://issues.openmrs.org/browse/TRUNK-1

Yields:

https://issues.openmrs.org/browse/TRUNK-1

1 Like

Very cool. But in my first attempt at using it

I ran into a few places where it didn’t work as expected.

This works:

https://issues.openmrs.org/browse/TRUNK-1

But these didn’t work as I had hoped:

* https://issues.openmrs.org/browse/TRUNK-1

Lorem ipsum https://issues.openmrs.org/browse/TRUNK-1 dolor sit.

Lorem ipsum [TRUNK-1] - OpenMRS Issues dolor sit.


It looks like Oneboxing isn’t supported inline (yet).

Oneboxing never works anything but on a separate line, not just for JIRA.

Too bad. There are places where inline would be nice (e.g., in a list or indented within context). Oh well. It’s nice to have in any case.

1 Like

Oneboxing for wiki pages?

https://wiki.openmrs.org/x/OgEYBQ

:frowning:

The person who did the plugin for JIRA is also thinking about doing one for Confluence, unless you want to beat him to it. :wink: