feat(seo): enrich structured data with inLanguage and isAccessibleForFree#52
Open
anurag629 wants to merge 1 commit into
Open
feat(seo): enrich structured data with inLanguage and isAccessibleForFree#52anurag629 wants to merge 1 commit into
anurag629 wants to merge 1 commit into
Conversation
…Free - Add inLanguage: "en" to the SoftwareApplication and WebSite nodes. - Add isAccessibleForFree: true to each tool (every tool is free with no account). No datePublished: we have no authoritative date to state and fabricating one would break the same no-fabrication rule that keeps aggregateRating off these nodes. - Add lib/__tests__/jsonLd.test.ts covering the builders (none existed). Closes #45
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Phase 4 technical SEO: honest structured-data enrichment.
What changed
inLanguage: "en"to the SoftwareApplication and WebSite JSON-LD nodes.isAccessibleForFree: trueto each tool. Every tool is free and needs no account, so this is truthful.datePublished: there is no authoritative publish date to state, and fabricating one would break the same no-fabrication rule that already keeps aggregateRating off these nodes (noted inline).lib/__tests__/jsonLd.test.tscovering the JSON-LD builders. There were no tests for them before.Verification
npm run lint && npm run test && npm run buildall pass. The new test file adds 4 tests.Closes #45