Học AI Ứng Dụng Trong Marketing Kỹ Thuật Số

Học AI Ứng Dụng Trong Marketing Kỹ Thuật Số

ỡợùúúủũụưứừửữựỳýỷỹỵĐđ])' + re.escape(anchor_text) + r'(?![a- thought The user wants to add internal links to an HTML article. I need to find relevant words or phrases in the provided article text and link them to the corresponding slugs from the provided list. The links should use the `` tag with the `href` attribute set to the slug (e.g., `/slug-here`). I should only use the slugs provided and link them to existing text in the article. I must return the complete HTML with the links embedded. Plan: 1. Parse the provided list of slugs. Create a dictionary or list of potential linkable phrases (derived from the slugs) and their corresponding slugs. 2. Parse the article HTML. 3. Iterate through the paragraphs and list items in the article. 4. For each piece of text, search for phrases from the list of potential linkable phrases. 5. Prioritize longer, more specific phrases if multiple matches overlap. 6. Insert the `` tags around the matched text, using the corresponding slug. 7. Be careful not to link already linked text or text inside other HTML tags. 8. Ensure the exact text in the article is used for the link anchor, without adding words. 9. Return the full modified HTML. Let's refine the potential linkable phrases from the slugs: - "xay-lo-trinh-hoc-n8n-cho-nha-quan-tri-he-thong" -> "lo trinh hoc n8n cho nha quan tri he thong" - "ung-dung-coze-trong-quan-ly-nhan-su" -> "ung dung coze trong quan ly nhan su" - "tu-khai-niem-den-ung-dung-tu-hoc-make-trong-30-ngay" -> "tu hoc make" - "tu-hoc-n8n-xay-cong-cu-trung-gian-middleware" -> "tu hoc n8n" (This is too generic, might link too much. Better use more specific N8N links.) - "tu-hoc-n8n-xay-bot-chat-tu-dong" -> "tu hoc n8n xay bot chat tu dong", "xay bot chat tu dong" - "tu-hoc-n8n-tich-hop-api-ben-ngoai" -> "tu hoc n8n tich hop api ben ngoai", "tich hop api ben ngoai" - "tu-hoc-n8n-huong-dan-tu-cai-dat-den-trien-khai" -> "tu hoc n8n huong dan tu cai dat den trien khai" - "tu-hoc-n8n-case-study-tu-dong-bao-cao" -> "tu hoc n8n case study tu dong bao cao", "tu dong bao cao" - "tu-hoc-n8n-qua-vi-du-tich-hop-google-sheets" -> "tich hop google sheets" - "tu-hoc-n8n-cho-nguoi-quan-tam-iot" -> "tu hoc n8n cho nguoi quan tam iot" - "tu-hoc-make-xay-dung-quy-trinh-tu-dong-dinh-cao" -> "tu hoc make xay dung quy trinh tu dong dinh cao", "xay dung quy trinh tu dong dinh cao" - "tu-hoc-make-ket-noi-voi-slack-trello-gmail" -> "tu hoc make ket noi voi slack trello gmail" - "tu-hoc-make-cho-startup-cong-nghe" -> "tu hoc make cho startup cong nghe" - "tu-hoc-coze-bi-quyet-nang-cao-hieu-suat-lam-viec" -> "tu hoc coze" - "tu-hoc-ai-xu-ly-ngon-ngu-tu-nhien-nlp" -> "xu ly ngon ngu tu nhien" (NLP) - "tu-hoc-ai-tu-dau-huong-dan-chi-tiet-cho-nguoi-moi" -> "tu hoc ai tu dau" - "tu-hoc-ai-qua-khoa-machine-learning-co-ban" -> "tu hoc ai qua khoa machine learning co ban", "machine learning co ban" - "tu-hoc-ai-qua-cac-khoa-micro-credential" -> "tu hoc ai qua cac khoa micro credential", "khoa micro credential" - "top-5-khoa-hoc-ai-uy-tin-cho-nguoi-moi-bat-dau" -> "khoa hoc ai uy tin cho nguoi moi bat dau" - "top-10-loi-thuong-gap-khi-tu-hoc-ai-va-cach-khac-phuc" -> "tu hoc ai" (Again, too generic) - "top-10-khoa-hoc-ai-uy-tin-nhat-nam-2025" -> "khoa hoc ai uy tin" - "tao-lap-lo-trinh-hoc-n8n-hieu-qua-trong-4-tuan" -> "lo trinh hoc n8n" - "tai-sao-startup-nen-hoc-n8n-giam-tai-nhan-su-bang-quy-trinh-tu-dong-hoa" -> "startup nen hoc n8n", "giam tai nhan su bang quy trinh tu dong hoa" - "tai-sao-nen-chon-n8n-thay-vi-make-hay-zapier-so-sanh-tinh-nang-va-chi-phi-su-dung" -> "chon n8n thay vi make hay zapier", "so sanh n8n make zapier" - "tai-sao-n8n-lai-duoc-ua-chuong-trong-cong-dong-dev-phan-tich-diem-manh-va-so-sanh-voi-zapier" -> "n8n cong dong dev", "so sanh voi zapier" - "soan-lo-trinh-hoc-n8n-cho-doi-ngu-marketing" -> "lo trinh hoc n8n cho doi ngu marketing" - "so-sanh-make-va-n8n-cong-cu-nao-phu- hop-voi-ban" -> "so sanh make va n8n" - "so-sanh-coze-va-zapier-ai-manh-hon-trong-tu- dong" -> "so sanh coze va zapier" - "review-khoa-hoc-ai-online-uu-va-nhuoc-diem" -> "review khoa hoc ai online" - "n8n-xu-ly-loi-nhu-the-nao-co-che-try-catch-va-debugging-trong-moi-truong-automation" -> "n8n xu ly loi", "co che try catch va debugging", "moi truong automation" - "n8n-phu-hop-voi-team-bao-nhieu-nguoi-cach-to-chuc-nhom-va-phan-quyen-hop-ly" -> "n8n phu hop voi team bao nhieu nguoi" - "n8n-phu-hop-cho-nganh-nao-nhat-5-nganh-de-ung-dung-automation-bang-n8n" -> "ung dung automation bang n8n" - "n8n-la-gi-giai-thich-cong-cu-tu-dong-hoa-ma-nguon-mo-dang-duoc-san-don" -> "n8n la gi", "cong cu tu dong hoa ma nguon mo" - "n8n-hoat-dong-nhu-the-nao-kham-pha-co-che-workflow-va-cach-hoat-dong-cua-cac-node" -> "n8n hoat dong nhu the nao", "co che workflow", "cac node" - "n8n-ho-tro-bao-nhieu-node-cap-nhat-danh-sach-node-tich-hop-moi-nhat-nam-2025" -> "n8n ho tro bao nhieu node", "danh sach node tich hop moi nhat" - "n8n-co-ung-dung-trong-nganh-bat-dong-san-khong-tu-dong-hoa-quan-ly-khach-hang-tiem-nang" -> "n8n ung dung bat dong san", "tu dong hoa quan ly khach hang tiem nang" - "n8n-co-tuong-thich-voi-airtable-khong-tu-dong-tao-ban-ghi-va-dong-bo-du-lieu-real-time" -> "n8n tuong thich airtable", "tu dong tao ban ghi", "dong bo du lieu real time" - "n8n-co-the-xuat-file-excel-khong-huong-dan-tao-va-gui-bao-cao-dinh-ky-qua-email" -> "n8n xuat file excel", "gui bao cao dinh ky qua email" - "n8n-co-the-xu-ly-task-dinh-ky-khong-giai-phap-tu-dong-hoa-checklist-hang-ngay" -> "n8n xu ly task dinh ky", "tu dong hoa checklist hang ngay" - "n8n-co-the-xu-ly-real-time-data-khong-giai-phap-cho-he-thong-canh-bao-va-phan-hoi-nhanh" -> "n8n xu ly real time data" - "n8n-co-the-xu-ly-du-lieu-phuc-tap-khong-dung-node-function-va-cac-node-logic-nang-cao" -> "n8n xu ly du lieu phuc tap", "node function", "node logic nang cao" - "n8n-co-the-xu-ly-du-lieu-json-khong-tips-thao-tac-voi-json-hieu-qua-va-it-loi" -> "n8n xu ly du lieu json", "thao tac voi json" - "n8n-co-the-xay-dung-ung-dung-noi-bo-khong-goi-y-tao-he-thong-quan-ly-noi-bo-khong-can-code" -> "n8n xay dung ung dung noi bo", "he thong quan ly noi bo khong can code" - "n8n-co-the-xay-dung-he-thong-loyalty-khong-theo-doi-diem-thuong-va-gui-uu-dai-tu-dong" -> "n8n xay dung he thong loyalty", "theo doi diem thuong va gui uu dai tu dong" - "n8n-co-the-tu-dong-phan-tich-du-lieu-khong-tich-hop-python-va-visualization-don-