René's URL Explorer Experiment


Title: Support JSON-LD data islands in HTML pages · Issue #5 · JavaScriptSolidServer/solid-shim · GitHub

Open Graph Title: Support JSON-LD data islands in HTML pages · Issue #5 · JavaScriptSolidServer/solid-shim

X Title: Support JSON-LD data islands in HTML pages · Issue #5 · JavaScriptSolidServer/solid-shim

Description: Problem When browsing to an HTML page like https://jsonos.com/examples/organization.html, the browser shows nothing because rdflib's Fetcher doesn't extract JSON-LD data islands from HTML responses. Current behavior: User browses to orga...

Open Graph Description: Problem When browsing to an HTML page like https://jsonos.com/examples/organization.html, the browser shows nothing because rdflib's Fetcher doesn't extract JSON-LD data islands from HTML responses...

X Description: Problem When browsing to an HTML page like https://jsonos.com/examples/organization.html, the browser shows nothing because rdflib's Fetcher doesn't extract JSON-LD data islands from HTML r...

Opengraph URL: https://github.com/JavaScriptSolidServer/solid-shim/issues/5

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Support JSON-LD data islands in HTML pages","articleBody":"## Problem\n\nWhen browsing to an HTML page like `https://jsonos.com/examples/organization.html`, the browser shows nothing because rdflib's Fetcher doesn't extract JSON-LD data islands from HTML responses.\n\n**Current behavior:**\n1. User browses to `organization.html`\n2. Server returns `Content-Type: text/html`\n3. rdflib Fetcher doesn't know how to parse HTML\n4. Empty store, nothing renders\n\n**Expected behavior:**\n1. User browses to `organization.html`  \n2. solid-shim detects HTML response\n3. Extracts `\u003cscript type=\"application/ld+json\"\u003e` content\n4. Parses JSON-LD into store\n5. Renders with appropriate pane (or @view if specified)\n\n## Background\n\nJSON-LD data islands are part of the JSON-LD spec and widely used (Google's structured data, schema.org markup, etc.). The browser should handle them natively.\n\n## Proposed Solution\n\nHook into rdflib's Fetcher or add a custom handler:\n\n```javascript\n// When fetching a URL\nconst response = await fetch(url)\nconst contentType = response.headers.get('content-type')\n\nif (contentType?.includes('text/html')) {\n  const html = await response.text()\n  const doc = new DOMParser().parseFromString(html, 'text/html')\n  const jsonLdScript = doc.querySelector('script[type=\"application/ld+json\"]')\n  \n  if (jsonLdScript) {\n    const data = JSON.parse(jsonLdScript.textContent)\n    parseJsonLdToStore(data, url, store)\n    // Render with @view or type-based pane\n  }\n}\n```\n\n## Related\n\n- json-os/json-os.github.io#1 - The @view proposal\n- solid-shim#4 - @view predicate support","author":{"url":"https://github.com/melvincarvalho","@type":"Person","name":"melvincarvalho"},"datePublished":"2026-01-06T22:51:15.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/5/solid-shim/issues/5"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:8577de34-5fcc-e61b-7cbb-2e60fddceab0
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9AEE:130A5E:126349D:18BDC39:69797023
html-safe-nonce5781bf36e3b3352f225231f8f1c5ff202f103ba27686273424279c8ac763426a
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUVFOjEzMEE1RToxMjYzNDlEOjE4QkRDMzk6Njk3OTcwMjMiLCJ2aXNpdG9yX2lkIjoiMTc5MTA5MzYzNjAyNTE4MDUxIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmacca4d14aa54a8802ca4c6b3ef6d7d51324ae4bee573e9f48d003cc54e5d0a1223
hovercard-subject-tagissue:3786773147
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/JavaScriptSolidServer/solid-shim/5/issue_layout
twitter:imagehttps://opengraph.githubassets.com/e85c08624757b89b72869254e90ce377bdde29a98507c8058130185497bcb51b/JavaScriptSolidServer/solid-shim/issues/5
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/e85c08624757b89b72869254e90ce377bdde29a98507c8058130185497bcb51b/JavaScriptSolidServer/solid-shim/issues/5
og:image:altProblem When browsing to an HTML page like https://jsonos.com/examples/organization.html, the browser shows nothing because rdflib's Fetcher doesn't extract JSON-LD data islands from HTML responses...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamemelvincarvalho
hostnamegithub.com
expected-hostnamegithub.com
Nonec049b65ec7e54cbf2521f5a560b6527714c612b0bd169188e2ea6e16f83bd5f4
turbo-cache-controlno-preview
go-importgithub.com/JavaScriptSolidServer/solid-shim git https://github.com/JavaScriptSolidServer/solid-shim.git
octolytics-dimension-user_id205442424
octolytics-dimension-user_loginJavaScriptSolidServer
octolytics-dimension-repository_id1125206031
octolytics-dimension-repository_nwoJavaScriptSolidServer/solid-shim
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id1125206031
octolytics-dimension-repository_network_root_nwoJavaScriptSolidServer/solid-shim
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release87b137883e35e2766c3d0f6a257c4044f6390b83
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/JavaScriptSolidServer/solid-shim/issues/5#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsolid-shim%2Fissues%2F5
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FJavaScriptSolidServer%2Fsolid-shim%2Fissues%2F5
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=JavaScriptSolidServer%2Fsolid-shim
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/5
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/5
Reloadhttps://github.com/JavaScriptSolidServer/solid-shim/issues/5
JavaScriptSolidServer https://github.com/JavaScriptSolidServer
solid-shimhttps://github.com/JavaScriptSolidServer/solid-shim
Notifications https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Fork 0 https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Star 0 https://github.com/login?return_to=%2FJavaScriptSolidServer%2Fsolid-shim
Code https://github.com/JavaScriptSolidServer/solid-shim
Issues 5 https://github.com/JavaScriptSolidServer/solid-shim/issues
Pull requests 0 https://github.com/JavaScriptSolidServer/solid-shim/pulls
Actions https://github.com/JavaScriptSolidServer/solid-shim/actions
Projects 0 https://github.com/JavaScriptSolidServer/solid-shim/projects
Security 0 https://github.com/JavaScriptSolidServer/solid-shim/security
Insights https://github.com/JavaScriptSolidServer/solid-shim/pulse
Code https://github.com/JavaScriptSolidServer/solid-shim
Issues https://github.com/JavaScriptSolidServer/solid-shim/issues
Pull requests https://github.com/JavaScriptSolidServer/solid-shim/pulls
Actions https://github.com/JavaScriptSolidServer/solid-shim/actions
Projects https://github.com/JavaScriptSolidServer/solid-shim/projects
Security https://github.com/JavaScriptSolidServer/solid-shim/security
Insights https://github.com/JavaScriptSolidServer/solid-shim/pulse
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-shim/issues/5
New issuehttps://github.com/login?return_to=https://github.com/JavaScriptSolidServer/solid-shim/issues/5
Support JSON-LD data islands in HTML pageshttps://github.com/JavaScriptSolidServer/solid-shim/issues/5#top
https://github.com/melvincarvalho
https://github.com/melvincarvalho
melvincarvalhohttps://github.com/melvincarvalho
on Jan 6, 2026https://github.com/JavaScriptSolidServer/solid-shim/issues/5#issue-3786773147
@viewhttps://github.com/view
Proposal: @view as syntactic sugar for a standard RDF predicate json-os/json-os.github.io#1https://github.com/json-os/json-os.github.io/issues/1
@viewhttps://github.com/view
@viewhttps://github.com/view
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.