Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images descriptions are lost #16

Open
pyrog opened this issue Nov 28, 2016 · 0 comments
Open

Images descriptions are lost #16

pyrog opened this issue Nov 28, 2016 · 0 comments

Comments

@pyrog
Copy link
Contributor

pyrog commented Nov 28, 2016

Exemple Rigi receiver.

Descriptions for theses pictures are:

  1. Panorama
  2. Hotel
  3. filter

The descriptions are kept for links only (key rel)

    "photos": [
      "http://openglidernetwork.wdfiles.com//local--files/list-of-receivers/rigi1.jpg",
      "http://openglidernetwork.wdfiles.com//local--files/list-of-receivers/rigi2.jpg",
      "http://www.flarm.com/files/FTS/Rx/rigi_combline_dvbt.JPG"
    ],
    "links": [
      {
        "href": "http://www.rigikulm.ch/?q=en",
        "rel": "Rigi Kulm hotel"
      },
      {
        "href": "http://www.hubersuhner.com/en/Home",
        "rel": "combline bandpass filter Huber+Suhner 2131.17.B"
      },
      {
        "href": "https://www.asmag.com/member/openfile.aspx?dd=43422.88575.pdf&qd=887",
        "rel": "VECOW EC-3000-3G"
      }
    ],

Wiki source code for the pictures section:

[*/local--files/list-of-receivers/rigi1.jpg Panorama]
[*/local--files/list-of-receivers/rigi2.jpg Hotel]
[*http://www.flarm.com/files/FTS/Rx/rigi_combline_dvbt.JPG filter]
[*http://www.flarm.com/files/FTS/Rx/rigi_unfiltered.jpg Spectrogram (filter off)]
[*http://www.flarm.com/files/FTS/Rx/rigi_filtered.jpg (filter on)]
[*http://www.flarm.com/files/FTS/Rx/rigi_pc.JPG Industrial PC]
pyrog pushed a commit to pyrog/ogn-rdb that referenced this issue Nov 29, 2016
Remove also the duplicate slash in ’{}/{}’.format(photos_base_url,
link.group('photo_url')

link.group('photo_url') always start with a slash ;)
pyrog pushed a commit to pyrog/ogn-rdb that referenced this issue Nov 29, 2016
Remove also the duplicate slash in ’{}/{}’.format(photos_base_url,
link.group('photo_url')

link.group('photo_url') always start with a slash ;)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant