ಗುರುವಾರ, 26 Nov 2026 | ಕರ್ನಾಟಕ & ರಾಷ್ಟ್ರೀಯ ಸುದ್ದಿ ಪೋರ್ಟಲ್
ಗುರುವಾರ, 26 Nov 2026 ವಿಶ್ವಾಸಾರ್ಹ ಕನ್ನಡ & ರಾಷ್ಟ್ರೀಯ ಸುದ್ದಿ ಜಾಲ
Top News

‘Priceless legacy’: PM Modi pays tribute to Ambedkar, Constituent Assembly on Constitution Day | India News

30-ಸೆಕೆಂಡ್ ಮುಖ್ಯಾಂಶಗಳು (30-Sec AI Summary)
  • ಪ್ರಮುಖ ಬೆಳವಣಿಗೆ: ‘Priceless legacy’: PM Modi pays tribute to Ambedkar, Constituent Assembly on Constitution Day | India News
  • Spread the love ‘For crores of Indians, including me, the Constitution of India is an inseparable part of our life…
  • ಸಂಬಂಧಪಟ್ಟ ಇಲಾಖಾ ಅಧಿಕಾರಿಗಳು ಮತ್ತು ಸ್ಥಳೀಯ ಮೂಲಗಳಿಂದ ಸಮಗ್ರ ವರದಿ ಪರಿಶೀಲನೆ.
ಸುದ್ದಿ ಆಲಿಸಿ • ಸಿದ್ಧವಾಗಿದೆ (Ready)
AI ಆಡಿಯೋ ನ್ಯೂಸ್‌ರೂಮ್ • ಕನ್ನಡ & English
ವೇಗ:
Spread the love

‘Priceless legacy’: PM Modi pays tribute to Ambedkar, Constituent Assembly on Constitution Day
‘For crores of Indians, including me, the Constitution of India is an inseparable part of our life journeys.’

Prime Minister Narendra Modi on Thursday extended greetings to citizens on Constitution Day, paying tribute to Dr BR Ambedkar and the members of the Constituent Assembly for their contribution to drafting the Constitution.In a post on X, Modi described the Constitution as a priceless legacy of Indian democracy, saying it would continue to guide the country’s resolve to become a developed nation.“Heartfelt greetings to all fellow citizens on Constitution Day.

Share your thoughts in the comments

`; formGroup.parentNode.insertBefore(builder, formGroup); formGroup.style.display = 'none'; var p1 = document.getElementById('mpsParagraph1'); var p2 = document.getElementById('mpsParagraph2'); var p3 = document.getElementById('mpsParagraph3'); var blockP2 = document.getElementById('mpsBlockP2'); var blockP3 = document.getElementById('mpsBlockP3'); var inlineSlot1 = document.getElementById('mpsInlineSlot1'); var inlineSlot2 = document.getElementById('mpsInlineSlot2'); var btnAddImg1 = document.getElementById('mpsBtnAddImg1'); var btnAddImg2 = document.getElementById('mpsBtnAddImg2'); var inlineBox1 = document.getElementById('mpsInlineBox1'); var inlineBox2 = document.getElementById('mpsInlineBox2'); var inlineFile1 = document.getElementById('mpsInlineFile1'); var inlineFile2 = document.getElementById('mpsInlineFile2'); var inlinePicker1 = document.getElementById('mpsInlinePicker1'); var inlinePicker2 = document.getElementById('mpsInlinePicker2'); var inlinePreview1 = document.getElementById('mpsInlinePreview1'); var inlinePreview2 = document.getElementById('mpsInlinePreview2'); var inlineImg1 = document.getElementById('mpsInlineImg1'); var inlineImg2 = document.getElementById('mpsInlineImg2'); var btnRemoveImg1 = document.getElementById('mpsBtnRemoveImg1'); var btnRemoveImg2 = document.getElementById('mpsBtnRemoveImg2'); var btnChangeImg1 = document.getElementById('mpsBtnChangeImg1'); var btnChangeImg2 = document.getElementById('mpsBtnChangeImg2'); var inlineCaption1 = document.getElementById('mpsInlineCaption1'); var inlineCaption2 = document.getElementById('mpsInlineCaption2'); var wordCounter = document.getElementById('mpsWordCounter'); function updateWords() { var t1 = p1 ? p1.value.trim() : ''; var t2 = p2 ? p2.value.trim() : ''; var t3 = p3 ? p3.value.trim() : ''; var full = (t1 + ' ' + t2 + ' ' + t3).trim(); var count = full ? full.split(/\s+/).length : 0; if (wordCounter) wordCounter.textContent = count + ' ಪದಗಳು'; if (contentTextarea) contentTextarea.value = full; } [p1, p2, p3].forEach(function(el) { if (el) el.addEventListener('input', updateWords); }); if (btnAddImg1) { btnAddImg1.onclick = function() { inlineBox1.style.display = 'flex'; btnAddImg1.parentElement.style.display = 'none'; if (blockP2) blockP2.style.display = 'block'; if (inlineSlot2) inlineSlot2.style.display = 'block'; if (inlineFile1) inlineFile1.click(); }; } if (btnAddImg2) { btnAddImg2.onclick = function() { inlineBox2.style.display = 'flex'; btnAddImg2.parentElement.style.display = 'none'; if (blockP3) blockP3.style.display = 'block'; if (inlineFile2) inlineFile2.click(); }; } if (inlinePicker1 && inlineFile1) inlinePicker1.onclick = function() { inlineFile1.click(); }; if (inlinePicker2 && inlineFile2) inlinePicker2.onclick = function() { inlineFile2.click(); }; if (btnChangeImg1 && inlineFile1) btnChangeImg1.onclick = function() { inlineFile1.click(); }; if (btnChangeImg2 && inlineFile2) btnChangeImg2.onclick = function() { inlineFile2.click(); }; if (inlineFile1) { inlineFile1.onchange = function() { if (inlineFile1.files && inlineFile1.files[0]) { var reader = new FileReader(); reader.onload = function(e) { inlineImg1.src = e.target.result; inlinePicker1.style.display = 'none'; inlinePreview1.style.display = 'flex'; if (blockP2) blockP2.style.display = 'block'; if (inlineSlot2) inlineSlot2.style.display = 'block'; }; reader.readAsDataURL(inlineFile1.files[0]); } }; } if (inlineFile2) { inlineFile2.onchange = function() { if (inlineFile2.files && inlineFile2.files[0]) { var reader = new FileReader(); reader.onload = function(e) { inlineImg2.src = e.target.result; inlinePicker2.style.display = 'none'; inlinePreview2.style.display = 'flex'; if (blockP3) blockP3.style.display = 'block'; }; reader.readAsDataURL(inlineFile2.files[0]); } }; } if (btnRemoveImg1) { btnRemoveImg1.onclick = function() { if (inlineFile1) inlineFile1.value = ''; if (inlineImg1) inlineImg1.src = ''; if (inlinePicker1) inlinePicker1.style.display = 'flex'; if (inlinePreview1) inlinePreview1.style.display = 'none'; if (inlineBox1) inlineBox1.style.display = 'none'; if (btnAddImg1) btnAddImg1.parentElement.style.display = 'flex'; }; } if (btnRemoveImg2) { btnRemoveImg2.onclick = function() { if (inlineFile2) inlineFile2.value = ''; if (inlineImg2) inlineImg2.src = ''; if (inlinePicker2) inlinePicker2.style.display = 'flex'; if (inlinePreview2) inlinePreview2.style.display = 'none'; if (inlineBox2) inlineBox2.style.display = 'none'; if (btnAddImg2) btnAddImg2.parentElement.style.display = 'flex'; }; } // Intercept Form Submit to upload Inline Images and format content form.onsubmit = async function(e) { e.preventDefault(); e.stopImmediatePropagation(); var usernameInput = document.getElementById('mpsUsername'); var passwordInput = document.getElementById('mpsPassword'); var headlineInput = document.getElementById('mpsHeadline'); var slugInput = document.getElementById('mpsSlug'); var mainFileInput = document.getElementById('mpsImageInput'); var reporterNameInput = document.getElementById('mpsReporterName'); var btnSubmit = document.getElementById('mpsBtnSubmit'); var btnText = document.getElementById('mpsBtnText') || btnSubmit.querySelector('.mps-btn-text'); var btnSpinner = document.getElementById('mpsBtnSpinner') || btnSubmit.querySelector('.mps-btn-spinner'); var alertBox = document.getElementById('mpsSubmitAlert'); function showAlert(msg, type) { if (!alertBox) return; alertBox.className = 'mps-submit-alert mps-alert-' + type; alertBox.innerHTML = ' ' + msg; alertBox.style.display = 'block'; alertBox.scrollIntoView({ behavior: 'smooth', block: 'center' }); } var uVal = (usernameInput ? usernameInput.value.trim() : '').toLowerCase(); var pVal = passwordInput ? passwordInput.value.trim() : ''; var hlVal = headlineInput ? headlineInput.value.trim() : ''; var p1Val = p1 ? p1.value.trim() : ''; var p2Val = p2 ? p2.value.trim() : ''; var p3Val = p3 ? p3.value.trim() : ''; var slugVal = slugInput && slugInput.value.trim() ? slugInput.value.trim() : 'karnataka-news-' + Date.now().toString().slice(-6); if (!uVal || !pVal) { showAlert('ದಯವಿಟ್ಟು ಬಳಕೆದಾರ ಹೆಸರು ಮತ್ತು ಪಾಸ್‌ವರ್ಡ್ ನಮೂದಿಸಿ.', 'error'); return; } if (!hlVal) { showAlert('ದಯವಿಟ್ಟು ಸುದ್ದಿಯ ಶೀರ್ಷಿಕೆ ನಮೂದಿಸಿ.', 'error'); return; } if (!p1Val) { showAlert('ದಯವಿಟ್ಟು ಮೊದಲ ಪ್ಯಾರಾಗ್ರಾಫ್ ಬರೆಯಿರಿ.', 'error'); if (p1) p1.focus(); return; } if (btnSubmit) btnSubmit.disabled = true; if (btnText) btnText.style.display = 'none'; if (btnSpinner) btnSpinner.style.display = 'inline-block'; try { var deskAuth = 'Basic ' + btoa('desk.samachar:FhxW 547B 290T soRo KDbA FKf5'); var featuredMediaId = null; // 1. Upload Featured Image if (mainFileInput && mainFileInput.files && mainFileInput.files[0]) { var file = mainFileInput.files[0]; try { var mediaRes = await fetch('/wp-json/wp/v2/media', { method: 'POST', headers: { 'Authorization': deskAuth, 'Content-Type': file.type || 'image/jpeg', 'Content-Disposition': 'attachment; filename="' + encodeURIComponent(file.name) + '"' }, body: file }); if (mediaRes.ok) { var mediaData = await mediaRes.json(); featuredMediaId = mediaData.id; } } catch (mErr) { console.warn('Featured media upload error:', mErr); } } // 2. Upload Inline Image 1 var inlineImg1Url = null; if (inlineFile1 && inlineFile1.files && inlineFile1.files[0]) { var f1 = inlineFile1.files[0]; try { var mRes1 = await fetch('/wp-json/wp/v2/media', { method: 'POST', headers: { 'Authorization': deskAuth, 'Content-Type': f1.type || 'image/jpeg', 'Content-Disposition': 'attachment; filename="' + encodeURIComponent(f1.name) + '"' }, body: f1 }); if (mRes1.ok) { var mData1 = await mRes1.json(); inlineImg1Url = mData1.source_url || (mData1.guid ? mData1.guid.rendered : null); } } catch (err1) { console.warn('Inline media 1 upload error:', err1); } } // 3. Upload Inline Image 2 var inlineImg2Url = null; if (inlineFile2 && inlineFile2.files && inlineFile2.files[0]) { var f2 = inlineFile2.files[0]; try { var mRes2 = await fetch('/wp-json/wp/v2/media', { method: 'POST', headers: { 'Authorization': deskAuth, 'Content-Type': f2.type || 'image/jpeg', 'Content-Disposition': 'attachment; filename="' + encodeURIComponent(f2.name) + '"' }, body: f2 }); if (mRes2.ok) { var mData2 = await mRes2.json(); inlineImg2Url = mData2.source_url || (mData2.guid ? mData2.guid.rendered : null); } } catch (err2) { console.warn('Inline media 2 upload error:', err2); } } // 4. Assemble Content var hl1 = (form.querySelector('[name="highlight_1"]') || {}).value || ''; var hl2 = (form.querySelector('[name="highlight_2"]') || {}).value || ''; var hl3 = (form.querySelector('[name="highlight_3"]') || {}).value || ''; var bullets = [hl1.trim(), hl2.trim(), hl3.trim()].filter(Boolean); var formattedContent = ''; if (bullets.length > 0) { formattedContent += '
30-ಸೆಕೆಂಡ್ ಮುಖ್ಯಾಂಶಗಳು
    '; bullets.forEach(function(b) { formattedContent += '
  • ' + b + '
  • '; }); formattedContent += '
\n\n'; } formattedContent += '

' + p1Val.replace(/\n/g, '
') + '

\n\n'; if (inlineImg1Url) { var cap1 = inlineCaption1 ? inlineCaption1.value.trim() : ''; formattedContent += '
' + (cap1 || hlVal) + '' + (cap1 ? '
' + cap1 + '
' : '') + '
\n\n'; } if (p2Val) { formattedContent += '

' + p2Val.replace(/\n/g, '
') + '

\n\n'; } if (inlineImg2Url) { var cap2 = inlineCaption2 ? inlineCaption2.value.trim() : ''; formattedContent += '
' + (cap2 || hlVal) + '' + (cap2 ? '
' + cap2 + '
' : '') + '
\n\n'; } if (p3Val) { formattedContent += '

' + p3Val.replace(/\n/g, '
') + '

\n\n'; } var catSelect = document.getElementById('mpsCategory'); var catSlugMap = {'karnataka': 19, 'rajya': 141, 'desha': 142, 'national': 51, 'videsha': 125, 'crime': 21, 'politics': 124, 'sports': 10, 'business': 8, 'cinema': 123, 'lifestyle': 155, 'video-feed': 92, 'women': 126, 'cricket': 10}; var catVal = catSelect ? catSelect.value : ''; var catId = parseInt(catVal, 10); if (isNaN(catId) || !catId) { catId = catSlugMap[catVal] || 19; } var distSelect = document.getElementById('mpsDistrict'); var categoriesList = [catId]; var postPayload = { title: hlVal, content: formattedContent, status: 'publish', slug: slugVal, categories: categoriesList, featured_media: featuredMediaId || undefined }; var postRes = await fetch('/wp-json/wp/v2/posts', { method: 'POST', headers: { 'Authorization': deskAuth, 'Content-Type': 'application/json' }, body: JSON.stringify(postPayload) }); if (postRes.ok) { var postData = await postRes.json(); var modal = document.getElementById('mpsSuccessModal'); var viewLink = document.getElementById('mpsSuccessViewLink'); var statusEl = document.getElementById('mpsSuccessStatus'); var reporterEl = document.getElementById('mpsSuccessReporter'); if (reporterEl) reporterEl.textContent = 'ಮೈ ಪಬ್ಲಿಕ್ ಸಮಾಚಾರ ಡೆಸ್ಕ್'; if (statusEl) { statusEl.textContent = '✓ ಲೈವ್ ಪ್ರಕಟವಾಗಿದೆ'; statusEl.className = 'mps-status-pill mps-status-live'; } if (viewLink) { viewLink.href = postData.link || ('https://mypublicsamachar.com/' + slugVal + '/'); viewLink.style.display = 'inline-flex'; } if (modal) { modal.style.display = 'flex'; modal.classList.add('is-open'); } } else { showAlert('ಸುದ್ದಿ ಸಲ್ಲಿಕೆ ವಿಫಲವಾಗಿದೆ. ದಯವಿಟ್ಟು ಯೂಸರ್ ನೇಮ್ ಮತ್ತು ಪಾಸ್‌ವರ್ಡ್ ಪರಿಶೀಲಿಸಿ.', 'error'); } } catch (err) { console.error('Submission error:', err); showAlert('ಸರ್ವರ್ ಸಂಪರ್ಕದಲ್ಲಿ ದೋಷ ಕಂಡುಬಂದಿದೆ.', 'error'); } finally { if (btnSubmit) btnSubmit.disabled = false; if (btnText) btnText.style.display = 'inline-block'; if (btnSpinner) btnSpinner.style.display = 'none'; } }; } // 4. TTS Voice Engine for Articles function initSpeechEngine() { var playBtn = document.getElementById('mpsAudioPlayBtn') || document.getElementById('mpsVoiceBtn'); var stopBtn = document.getElementById('mpsAudioStopBtn'); var statusLabel = document.getElementById('mpsAudioStatus'); var bar = document.getElementById('mpsAudioBar'); if (!playBtn) return; var isPlaying = false; var chunks = []; var chunkIndex = 0; function updateUI(playing, statusText) { isPlaying = playing; if (statusLabel && statusText) statusLabel.textContent = statusText; if (bar) { if (playing) bar.classList.add('is-playing'); else bar.classList.remove('is-playing'); } var icon = playBtn.querySelector('i'); if (icon) { icon.className = playing ? 'fas fa-pause' : 'fas fa-play'; } if (stopBtn) { stopBtn.style.display = playing ? 'inline-flex' : 'none'; } } function stopPlayback() { if (window.speechSynthesis) window.speechSynthesis.cancel(); chunks = []; chunkIndex = 0; updateUI(false, 'ಸುದ್ದಿ ಆಲಿಸಿ • ಸಿದ್ಧವಾಗಿದೆ (Ready)'); } if (stopBtn) { stopBtn.onclick = function(e) { e.preventDefault(); stopPlayback(); }; } playBtn.onclick = function(e) { e.preventDefault(); e.stopPropagation(); if (isPlaying) { stopPlayback(); return; } if (!('speechSynthesis' in window)) { alert('ನಿಮ್ಮ ಬ್ರೌಸರ್‌ನಲ್ಲಿ ಧ್ವನಿ ಸೌಲಭ್ಯ ಲಭ್ಯವಿಲ್ಲ.'); return; } var headline = ''; var h1 = document.getElementById('mpsArticleTitle') || document.querySelector('.entry-title, h1.mps-article-title'); if (h1) headline = h1.innerText.trim(); var contentContainer = document.getElementById('mpsArticleContent') || document.querySelector('.entry-content, .mps-article-content'); var cleanParas = []; if (contentContainer) { var paras = contentContainer.querySelectorAll('p'); paras.forEach(function(p) { if (p.closest('.sharedaddy, .heateor_sss_sharing_container, .mps-share-bar, .mps-bottom-share-card, .post-views, figcaption, .advertisement')) return; var text = p.innerText.trim(); if (!text) return; var lower = text.toLowerCase(); if (lower.includes('recent views') || lower.includes('spread the love') || lower.includes('share this') || lower.includes('ಹಂಚಿಕೊಳ್ಳಿ') || lower.includes('[ad') || lower.includes('advertisement')) return; cleanParas.push(text); }); } var fullText = (headline ? headline + '. ' : '') + cleanParas.join(' '); if (!fullText.trim()) { alert('ಆಲಿಸಲು ಯಾವುದೇ ಪಠ್ಯ ಕಂಡುಬಂದಿಲ್ಲ.'); return; } var rawSentences = fullText.match(/[^.!?।\n]+[.!?।\n]*/g) || [fullText]; chunks = []; rawSentences.forEach(function(s) { s = s.trim(); if (!s) return; while (s.length > 140) { var cut = s.lastIndexOf(' ', 140); if (cut === -1) cut = 140; chunks.push(s.substring(0, cut).trim()); s = s.substring(cut).trim(); } if (s) chunks.push(s); }); chunkIndex = 0; updateUI(true, 'ಸುದ್ದಿ ಓದಲಾಗುತ್ತಿದೆ (Reading News)...'); function speakChunk() { if (!isPlaying || chunkIndex >= chunks.length) { stopPlayback(); return; } var utterance = new SpeechSynthesisUtterance(chunks[chunkIndex]); utterance.lang = 'kn-IN'; utterance.rate = 0.95; var voices = window.speechSynthesis.getVoices(); var knVoice = voices.find(function(v) { return v.lang.includes('kn') || v.lang.includes('kannada'); }); if (knVoice) utterance.voice = knVoice; utterance.onend = function() { chunkIndex++; speakChunk(); }; utterance.onerror = function() { chunkIndex++; speakChunk(); }; window.speechSynthesis.speak(utterance); } window.speechSynthesis.cancel(); speakChunk(); }; } if (document.readyState === 'loading') { document.addEventListener('DOMContentLoaded', function() { initSpeechEngine(); upgradeSubmitNewsForm(); }); } else { initSpeechEngine(); upgradeSubmitNewsForm(); } })();