# 프로필 설정에 따라 사용자에게 관련 있는 직무 블록을 데일리 다이제스트에 추가

**URL:** <https://meta.discourse.org/t/add-a-block-of-jobs-to-the-daily-digest-that-is-relevant-to-user-based-on-settings-in-their-profile/352361>\
**Category:** Product Support\
**Tags:** development, plugin-api\
**Created:** [2월 14, 2025, 7:23오후 UTC](https://meta.discourse.org/t/add-a-block-of-jobs-to-the-daily-digest-that-is-relevant-to-user-based-on-settings-in-their-profile/352361 "2025-02-14T19:23:34Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Elizeo\_Rocha](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elizeo_rocha/32/485602_2.png) [@Elizeo\_Rocha](https://meta.discourse.org/u/Elizeo_Rocha)\
**Post date:** [2월 14, 2025, 7:23오후 UTC](https://meta.discourse.org/t/add-a-block-of-jobs-to-the-daily-digest-that-is-relevant-to-user-based-on-settings-in-their-profile/352361/1 "2025-02-14T19:23:34Z")

</div>

프로필 설정에 기반하여 사용자에게 관련성이 있는 일자리 블록을 일일 다이제스트에 추가하는 것이 아이디어입니다. 제 첫 번째 생각은 다이제스트 이메일에 접근하고 수정하여 필요한 블록을 포함할 수 있는 플러그인을 개발하는 것입니다.

다음은 엔드포인트입니다. 사용자의 위치를 가져와서 이를 매개변수로 전달하여 쿼리를 실행하는 것이 목적입니다:  
[https://api.get.it/api/v1/listings/jobs/search/?limit=1&search=sales&city=Alexandria&state=VA](https://api.get.it/api/v1/listings/jobs/search/?limit=1&search=sales&city=Alexandria&state=VA)

이것은 일자리 표현식입니다. 파란색 영역은 이미 다이제스트 이메일에 존재하며, 우리는 일자리 목록(노란색 영역)을 구현하고자 합니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/f/9/3f915cf01bdb68cccc713ffd5acb428b02e7522f.jpeg)

현재까지 다음 두 가지 아이디어를 구현해 보고 있습니다:  
첫 번째 아이디어는 `user_notifications.digest.custom.html`을 통해 커스터마이징하는 것입니다:

- `user_notifications.digest.custom.html` 파일이 UI에서 다이제스트 이메일을 수정하는 데 사용될 수 있다는 것을 알고 있습니다.
- 이 유형의 파일에 접근할 수 있는 플러그인을 사용할 수 있는지 조사해 보고 싶습니다. 이것이 가장 좋은 접근 방식이라고 생각합니다.

두 번째 아이디어로, 일부 사이트의 텍스트가 '변수’를 사용한다는 것을 알아차렸습니다.

 ![image](https://global.discourse-cdn.com/meta/original/4X/3/d/8/3d813ab8625c779c74287777efa11b60426e0af1.png)

{jobtitle}과 같은 유형의 변수를 만들어 동적으로 처리할 수 있다면, 이를 custom.html에 추가할 수 있을 것입니다.

질문:

- 일일 다이제스트에 영향을 미치는 플러그인은 하나만 보입니다(목록으로 나열). 다른 플러그인이 있는지 아는 분이 계신가요? [GitHub - pfaffman/discourse-add-to-summary: Add text to summary before and after title · GitHub](https://github.com/pfaffman/discourse-add-to-summary)
- Discourse의 미래 버전과 호환성을 유지하면서 섹션을 추가하는 방식으로 다이제스트에 영향을 미칠 수 있는 가능성이 있습니까?

**이 작업의 목표는 프로필 설정에 기반하여 사용자에게 관련성이 있는 일자리 블록(API 응답에서 가져온)을 일일 다이제스트에 추가하는 것입니다**

제안이나 아이디어가 있다면 환영합니다. 미리 감사드립니다!

---

_[View the full topic](https://meta.discourse.org/t/add-a-block-of-jobs-to-the-daily-digest-that-is-relevant-to-user-based-on-settings-in-their-profile/352361)._
