Visit ml4pnp.github.io 🚀
Built with Lab Website Template
The News page and each post link to the Atom feed at /feed.xml. Publishing a post updates the feed automatically.
The site can display shared like counts for projects, software, publications and individual news posts. New entries use the existing content fields. Counts belong to the post URL, publication ID, or project/software link (title if a link is absent).
To enable likes from an authorised Cloudflare account, run from _likes/:
npx wrangler login
npx wrangler d1 create ml4pnp-likesCopy the returned database ID into wrangler.toml, then run:
npx wrangler d1 execute ml4pnp-likes --remote --file=schema.sql
npx wrangler deploySet likes_endpoint in _config.yaml to the deployed HTTPS Worker URL and rebuild the site. For a preview origin, use a separate Worker and database and set its SITE_ORIGIN to the exact preview origin.
The browser remembers a separate random token for each item it likes. The likes database stores only item keys and tokens. The hosting provider receives network requests. Clearing browser storage or switching devices loses the ability to undo an earlier like. Counts describe reactions and cannot establish how many distinct people voted.