# 게시 후 토픽의 추천 링크(URL) 수정 또는 추가 기능

**URL:** https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944
**Category:** Feature
**Tags:** featured-link
**Created:** [8월 11, 2022, 11:36오후 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944 "2022-08-11T23:36:18Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [8월 11, 2022, 11:36오후 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/1 "2022-08-11T23:36:19Z")

</div>

오래전부터 존재했지만 일반 사용자에게는 잘 알려지지 않은 **추천 링크(Featured Link)** 기능은 매우 유용합니다. 링크를 편집하거나 추가할 수 있는 기능이 있다면 더 유용하고(그리고 눈에 띄고) 편리할 것입니다.

### 현재 기능

##### 새 주제를 생성할 때:

[URL](https://en.wikipedia.org/wiki/URL)을 제목 필드에 직접 붙여넣으면(해당 필드에서 수행하는 첫 번째 작업으로), 해당 사이트의 제목이 자동으로 가져와지고 제목 끝에 작은 링크가 표시됩니다:

> ![image](https://global.discourse-cdn.com/meta/original/4X/3/b/b/3bb909d15bb781f414543bb96103b1f4f7743a1a.png)

또한 링크는 게시글 본문에도 복사되어 (바라는 대로) 다음과 같이 Onebox로 표시됩니다:

> **[URL](https://en.wikipedia.org/wiki/URL)**
>
> A uniform resource locator (URL), colloquially known as a web address, is a reference to a resource on the World Wide Web. A URL specifies the location of a resource on a computer network and a mechanism for retrieving it. A URL is a specific type of Uniform Resource Identifier (URI), although many people use the two terms interchangeably.\[a\] A URL is most commonly used to reference a web page (HTTP/HTTPS) but is also used for file transfer (FTP), email (mailto), database access (JDBC Most web b...

##### 삭제:

링크가 설정된 후에는 편집 권한이 있는 사용자가 이를 제거할 수 있습니다:

> ![Screenshot 2022-08-12 11.36.49](https://global.discourse-cdn.com/meta/original/4X/d/9/f/d9f2c3395a26f9c014408ce94b7b21b1fcc19c2c.png)

### 제한 사항

1. 링크를 편집하거나 변경할 수 없습니다.

2. 나중에 링크를 추가할 수 없습니다.

이 두 가지 모두 Rails 콘솔에 진입해야 하는 우회 방법이 있습니다:

> [@Rails 콘솔을 통해 주요 주제 링크 설정 또는 업데이트](https://meta.discourse.org/t/set-or-update-a-featured-topic-link/166923):
>
> 레일즈 콘솔을 사용하여 특정 토픽의 대표 링크를 설정하거나 업데이트할 수 있습니다. 서버에서 Discourse 폴더로 이동하여 레일즈 콘솔을 실행합니다: ./launcher enter app rails c 그 다음 @nathank의 폼을 사용하여 명령을 생성할 수 있습니다: Topic.where(id: =topic\_id=).update(featured\_link: "=featured\_link=") 생성된 명령을 레일즈 콘솔에 복사하여 붙여넣고 Enter 키를 누르세요. 그러면 대표 링크가 그에 따라 설정되거나 업데이트됩니다. information_source 명령의 원시 문법 예시: Topic.where(id: 9999).update(featured\_link: "https://blog.discourse.org/")

## 기능 요청

UI에서 이러한 추천 링크를 편집하고 나중에 추가할 수 있는 방법을 제공해 주실 수 있을까요?

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [12월 27, 2023, 1:18오후 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/2 "2023-12-27T13:18:01Z")

</div>

이 문제를 우회할 수 있는 방법을 찾으신 분이 계신가요?

---

<div class="post-metadata">

### Author: ![Jagster](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jagster/32/192154_2.png) [@Jagster](https://meta.discourse.org/u/Jagster)
#### Post date: [12월 27, 2023, 5:18오후 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/3 "2023-12-27T17:18:13Z")

</div>

새 링크로 새 주제를 시작하고, 기존 게시글을 새 주제로 이동한 뒤 기존 주제를 삭제했습니다. 이 과정에서 일부 메타데이터가 손실되었고, 원포스터(OP)의 날짜가 게시글보다 최신으로 표시됩니다.

원본 소스로의 직접 링크를 제공해야 할 뿐인 이 단순한 기능에 대해 수작업이 너무 많이 필요합니다.

---

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [12월 30, 2023, 3:42오전 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/4 "2023-12-30T03:42:56Z")

</div>

이거 보셨나요?

> [@nathank](#):
>
> 이 두 가지 모두에 대해 Rails 콘솔을 통해 해결할 수 있는 우회 방법이 있습니다:  
> [Set or update a featured topic link via the rails console](https://meta.discourse.org/t/set-or-update-a-featured-topic-link/166923)

---

<div class="post-metadata">

### Author: ![anon36484860](https://avatars.discourse-cdn.com/v4/letter/a/b782af/32.png) [@anon36484860](https://meta.discourse.org/u/anon36484860)
#### Post date: [1월 3, 2024, 3:56오후 UTC](https://meta.discourse.org/t/ability-to-modify-or-add-a-featured-link-url-to-topics-after-posting/235944/5 "2024-01-03T15:56:42Z")

</div>

Managed Hosting를 사용 중이라 콘솔에 접근할 수 없습니다. 하지만 첫 번째 게시글을 편집하고 모든 게시글 내용을 삭제하는 방식으로 우회 해결책을 찾았지만, 해당 단계를 설명하는 정확한 링크를 찾을 수 없습니다. 해당 단계를 안내하는 토픽이 있었습니다.
