Stream: general

Topic: Zulip+Mapillary integrācija


view this post on Zulip Rihards Olups (Dec 15 2022 at 20:03):

Heya @i-ky, neatceros, vai runājām ko vairāk par Mapillary integrāciju te?
Būtu stilīgi parādīt uzreiz attēlu no kā tāda kā https://www.mapillary.com/app/?pKey=1184287212197989 :)

view this post on Zulip i-ky (Dec 15 2022 at 20:31):

Šeit būs vajadzīgs "īstais bots". Zulip'am ir švaki ar link preview. Un tas arī nesuportē markdown image linkus, attēli tikai kā "attachment". Bet bots varētu lejuplādēt attēlu no Mapillary un ielikt Zulipā.

view this post on Zulip Rihards Olups (Dec 15 2022 at 20:40):

Skaidrs, paldies. Ta laikam pagaidām var piefiksēt kā ideju nākotnei :)

view this post on Zulip i-ky (Dec 16 2022 at 10:44):

Izrādījās, ka preview var konfigurēt, un ka mums bija izslēgts "Show previews of linked websites". Pamēģināsim tagad...
https://www.mapillary.com/app/?pKey=1184287212197989

view this post on Zulip i-ky (Dec 16 2022 at 10:50):

Bet YouTube preview itkā strādā... YouTube - Learn How To Map in OpenStreetMap

view this post on Zulip i-ky (Dec 16 2022 at 11:05):

Izskatās, ka tā loģika ir hardkodēta Zulip serverā https://github.com/zulip/zulip/blob/d4d285fc43b9ede7556f30878e28d8f851289bf2/zerver/lib/markdown/__init__.py#L628

Zulip server and web application. Open-source team chat that helps teams stay productive and focused. - zulip/__init__.py at d4d285fc43b9ede7556f30878e28d8f851289bf2 · zulip/zulip

view this post on Zulip i-ky (Dec 16 2022 at 11:29):

Var būt saistīts - https://github.com/zulip/zulip/issues/23664

Hi, it seems like the preview is not displayed for some URLs, e.g. for the arxiv website: Is there a reason for this? Can it be fixed? On slack preview is fine for arxiv.

view this post on Zulip i-ky (Dec 16 2022 at 14:51):

Šeit ir aprakstīta līdzīga problēma ar Mapillary+Discourse.
Cik es sapratu, Zulip saprot oEmbed un Open Graph tagus.
Mapillary itkā atgriež <meta name="og:image" ...>, bet dažreiz tur ir vienkārši content="https://www.mapillaty.com/assets/dotcompass.png".
Tāpēc problēma var būt Mapillary laukā...

in a topic, linking a mapillary image gives link, not the image. for example, the topic How to tag an arch **symbolising** entry to area holds links to images on different platforms, only the ones on mapillary do not get rendered as images.
The Open Graph protocol enables any web page to become a rich object in a social graph.

view this post on Zulip Rihards Olups (Dec 20 2022 at 19:01):

Tur arī minēts, ka šādi linki strādā?
https://www.mapillary.com/app/?lat=18.785124499999995&lng=98.99314630000003&z=17&pKey=204383767969703

view this post on Zulip i-ky (Dec 21 2022 at 09:19):

Rihards Olups said:

Tur arī minēts, ka šādi linki strādā?
https://www.mapillary.com/app/?lat=18.785124499999995&lng=98.99314630000003&z=17&pKey=204383767969703

Jā tādiem linkiem arī būtu jāstrādā.


Last updated: May 18 2024 at 07:42 UTC