aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcin Rataj <lidel@lidel.org>2015-03-14 15:20:25 +0100
committerMarcin Rataj <lidel@lidel.org>2015-03-14 15:20:25 +0100
commitca8318bce8ae84264abd8361e05d1914d3325106 (patch)
treeca80c1db768c485c5dfe6ed40fd335e2bac6aa5e
parent9b686edce05e2ca308948bd4f1e459da1f2fc1f1 (diff)
downloaddiscourse-umap-ca8318bce8ae84264abd8361e05d1914d3325106.tar.gz
Updated README
-rw-r--r--README.md11
1 files changed, 3 insertions, 8 deletions
diff --git a/README.md b/README.md
index 2c1bcec..c06b373 100644
--- a/README.md
+++ b/README.md
@@ -22,16 +22,11 @@ Rebuild Discourse: `/var/discourse/launcher rebuild app`
## FAQ
-### What URLs are oneboxed?
+### What URLs are oneboxed by this plugin?
`http://www.openstreetmap.org/?mlat=[Marker Latitude]&mlon=[Marker Longitude]#map=[Zoom Level]/[Latitude]/[Longitude]&layers=[Layer code]`
-### Why URLs without *Marker* parameters are not being oneboxed?
+### I don't like/need oneboxing: can't I just copy&paste `<iframe>` code from OpenStreetMap.org's share menu?
-The `map` parameter is located inside URL hash.
-Root URLs without query parameters are currently [ignored by onebox library](https://github.com/discourse/onebox/blob/d94d4ef7dffaf299b2b1cd673e9f7d4f3b5da9dc/lib/onebox/matcher.rb#L17).
-This is a temporary inconvenience: [upstream fix is awaiting approval](https://github.com/discourse/onebox/pull/252).
+Sure you can! You don't even need this plugin for that, as [iframe code is whitelisted in Discourse itself since v1.1.1](https://github.com/discourse/discourse/commit/9dccd975d9446fc99f4c76322b8934c5afd25888).
-### I don't like oneboxing: can't I just copy&paste `<iframe>` code from OpenStreetMap.org's share menu?
-
-Sure you can: this plugin whitelists posting iframes from openstreetmap.org.