OpenStreetMap

I’m trying to understand how to interpret the “Parsed by Markdown” table that appears next to the text “Body” in the OSM “New Diary Entry” form.

I understand to add a heading I must prefix it with a pound sign followed by a space “# “ : # This is a heading

To create an “Unordered list” you prefix the text with an asterisk followed by a space “* “

  • First item in an unordered list
  • Second item in and unordered list

Similarly an “Ordered list” is a number followed by a period and a space “1. “

  1. First item
  2. Second item

A link is to be entered by using the format “Text”. Here you retain the brackets and parenthesis and replace the word “Text” with the name of the URL and letters “URL” with the actual web address.

Here’s an example where I replaced “Text” with “OSM Diary Form” and URL with “http://www.openstreetmap.org/diary/new”

OSM Diary Form

The last example for displaying an image is giving me trouble. The problem is that you need to use a URL for an image and the places I store photos like Flicker and Google Photos don’t allows you to copy the link to the image file.

The format is “Alt text”.

Location: Bedford, Middlesex County, Massachusetts, 01730, United States

Discussion

Comment from BushmanK on 23 May 2016 at 15:47

Flickr does allow you to copy image URL, if you’ve made your pictures downloadable in account settings. For example, go here https://www.flickr.com/photos/itoworld/3184111672/ , click on icon with arrow down next to “add to favorite” and “share”, click “All sizes” and it will get you to https://www.flickr.com/photos/itoworld/3184111672/sizes/ page, where you can switch to desired size, right-click on it and copy image URL. Another way to do it is to use “Share” button, switch to BBCode mode there, pick desired size and copy resulting BBCode, which looks like this

[url=https://flic.kr/p/5Rnpt7]
[img]https://farm4.staticflickr.com/3445/3184111672_c9f17912b6.jpg[/img][/url]
[url=https://flic.kr/p/5Rnpt7]France - Railways[/url] by 
[url=https://www.flickr.com/photos/itoworld/]ItoWorld[/url], on Flickr

Then you just have to strip everything except the content of url tag.

Comment from BushmanK on 23 May 2016 at 15:48

Sorry, I meant “img tag”, not “url tag”.

Comment from Alan Bragg on 23 May 2016 at 16:36

BushmanK,

Fantastic. Works like a charm.

  • My test image from Flicker.

Alt text

Thanks

Log in to leave a comment