Oembed Discovery - What is being talked about?

Discourse 포럼을 읽는 한 가지 방법은 … 주제를 읽는 것입니다. 또 다른 방법은 주제에서 무엇에 대해 이야기되고 있는지, 즉 oembeds에 대해 살펴보는 것입니다. 예를 들어, 제 포럼에서 유튜브 클립을 논의해야 한다면, 포럼에서 최신 및 필터링된 Oembed 목록을 제공하여 포럼의 활동성을 발견하는 또 다른 관점을 얻고 싶습니다. 뉴스 기사 등도 마찬가지입니다.

이미 URL을 붙여넣어 주제를 시작할 수 있습니다. 단순한 일반 사용자로서 정확한 메커니즘은 알지 못하지만, 링크를 oembed로 변환하는 과정이 있으므로 Discourse가 이미 Oembeds를 특별한 "사물"로 등록하고 있다고 추측합니다. 그렇다면 이 과정이 일어날 때, oembed가 별도의 목록에 추가되도록 이벤트를 설정할 수 있을까요?

대안으로, 데이터베이스 탐색기에서 쿼리를 작성하는 방법과 이를 헤더에 링크하는 방법을 알고 싶습니다.

핵심은 사람들이 이야기하는 "사물"에 대한 감각을 얻는 것입니다.

#contribute:feature에 올렸지만, #contribute:ux가 더 적절했을 수도 있습니다.

여러분의 생각은 어떠신가요?

I think that a plugin that created a new route/view that has a page of YouTube links could work. My wild guess is that it’s a $500 to $2000 job depending on your specific needs and how pretty you want it to be.

Which is another way of saying, that it cannot be done easily.

Thank you Jay. Just wanted to check.

1개의 좋아요

Just being creative here :slight_smile: If a youtube link gets oembedded and thereby transformed so I can not without further ado just make a link that searches “youtube OR Vimeo OR x OR y only in body” - is there another way I can search my way to posts having youtube and the like returned as result ? I mean ust searching for youtube here gives me results with youtube in title not embedded youtube videos in the body of a post.

But as I recall last time I can just stop Oembedding actually. Then those urls would be searchable ? That is I would actually be able to just search for youtube.com in posts ? Probably a good solution for me, as I do not really need Oembed. I do not want to see all those images unless I positively ask to see it by clicking. Or am I wrong.

Otherwise one could make a community rule, where they cannot embed in posts - but have to make a new topic in a special media category.

Just … beign creative.

Any thoughts ?

I don’t see an easy way to search for “posts with some kind of video embedded”. I think that you might be able to do a data explorer query for something like

SELECT id post_id, topic_id from posts where cooked like '%lazyYT-containers' 
or cooked like '%inline-onebox%'

and get the posts and topics with some kind of embeds. You could refine it further to get just the ones that have things that you think you care about, and then, I think, you could have a theme component pull that data explorer query and do . . . something.

1개의 좋아요

But is the Oembed transformation of the link i put into the editor not recorded in the db as an event ?