HonestPDF introduces four new blog posts, automated translation and cross-linking scripts, and fixes for blog typography bugs in this update.
TL;DR
Four new long-form posts are live covering Smallpdf, Sejda, PDF redaction, and PDF merging. Internal Node.js scripts now handle AI-assisted translation via the Anthropic API and JSON-LD schema validation, making future content updates faster and more consistent across all 20+ supported locales.
What's New
- New blog posts added:
- Smallpdf review
- Sejda review
- PDF redaction guide
- PDF merging guide
append_links.js: Node.js script that uses the Anthropic API to auto-translate new posts and append internal cross-links across all localized markdown filescheck_page.js: Script that validates JSON-LD structured data schema for blog pages, keeping SEO metadata accurate as content grows- Existing blog content updated: Metadata, expanded body text, and cross-links refreshed across 20+ localized markdown files
- Bug fixes in
page.tsxandglobals.css: Resolved duplicated header rendering and corrected typography spacing issues in the blog layout
How to Use
To translate and cross-link a new post across all locales, run:
node scripts/append_links.js
To validate JSON-LD schema for blog pages:
node scripts/check_page.js
Both scripts require a valid ANTHROPIC_API_KEY in your environment.
FAQ
What does the append_links.js script actually do?
It reads new or updated markdown blog posts, uses the Anthropic API to generate localized translations, and appends consistent internal cross-links to all 20+ language variants automatically.
Does the auto-translation overwrite existing localized content?
No. The script is additive. It targets missing translations and appends new link entries without overwriting manually edited content already in place.
What was the duplicated header bug?
A rendering issue in page.tsx caused the blog post header to appear twice on certain routes. The fix corrects the component structure so the header renders once as expected.
Are the new blog posts indexed for SEO?
Yes. JSON-LD structured data is included and validated via the check_page.js script, and all posts are available in 20+ language versions for international search indexing.