<!doctype html> <html lang="ta"> <head> <meta charset="utf-8"> <meta name="viewport" content="width=device-width,initial-scale=1"> <link rel="manifest" href="/manifest.json"> <title>Desi.mobi Tamil</title> </head> <body> <header><h1>Desi.mobi — தமிழ்</h1> <input id="search" placeholder="தேடு…"></header> <main id="list"></main> <script src="app.js" defer></script> </body> </html> Simple fetch & render (app.js)
async function loadPosts() const res = await fetch('/content/posts.json'); const posts = await res.json(); const list = document.getElementById('list'); list.innerHTML = posts.map(p=>` <article class="card"> <h2>$p.title</h2> <p>$p.body.slice(0,120)…</p> <button data-id="$p.id" class="share">Share</button> </article>`).join(''); Desi.mobi..tamil
loadPosts(); Service worker caching strategy (sw.js outline) meta name="viewport" content="width=device-width
All trademarked things I mention here are TM by their respective owners. If you are one of those owners and want to be specifically mentioned, please, contact me and I'll include it.
Go back to the main index of JCAB's Rumblings
Wow!
hits and increasing...
Last updated: [an error occurred while processing this directive]