docs: Update CompanyX news implementation with 2025-09-08 fixes
- Documented all actual fixes and implementations - No speculation, only facts from actual code changes - Added specific selectors and field names
This commit is contained in:
parent
75315b3671
commit
b0fd3e65ad
@ -76,8 +76,16 @@
|
||||
- 게시 완료 후 메시지 업데이트 기능
|
||||
|
||||
## 7. 2025-09-08 업데이트
|
||||
- Gateway /slack/interactive 프록시 구현 완료
|
||||
- skill-publish 422 에러: rb8001이 news_id, title, url만 전송 (content, summary 누락)
|
||||
- 해결: skill-news에서 GET /api/news/google/companyx/{article_id}로 전체 데이터 조회
|
||||
- companyx_news_posting.json에 status 필드 활용 (summarized/published/skipped)
|
||||
- 구현 필요: skill-news GET/PATCH 엔드포인트, rb8001 article_id 전달
|
||||
|
||||
### 7.1 구현 완료
|
||||
- Gateway /slack/interactive 프록시: 헤더 소문자 변환 문제 해결 (x-slack-signature)
|
||||
- skill-news GET /api/news/google/companyx/{article_id} 엔드포인트 추가
|
||||
- skill-news PATCH /api/news/google/companyx/{article_id} 상태 업데이트 추가
|
||||
- rb8001 news_id → article_id 변경
|
||||
- rb8001 skill-news에서 전체 데이터 조회 후 skill-publish 전송
|
||||
- 강원일보 스크래핑: div[itemprop='articleBody'] 셀렉터 추가
|
||||
- 강원도민일보 스크래핑: #article-view-content-div 셀렉터 추가
|
||||
- 날짜 추출: HTML 전체에서 "입력 2025.09.02" 패턴 검색 추가
|
||||
- parsed_date 필드 스크래핑 후 업데이트
|
||||
- Slack 메시지: 3개 제한 제거, 모든 뉴스 표시
|
||||
- 버튼 상태: 에러시에도 버튼 유지, 성공시 상태 텍스트만 추가
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user