René's URL Explorer Experiment


Title: Content structure for code examples · Issue #68 · CodingTrain/thecodingtrain.com · GitHub

Open Graph Title: Content structure for code examples · Issue #68 · CodingTrain/thecodingtrain.com

X Title: Content structure for code examples · Issue #68 · CodingTrain/thecodingtrain.com

Description: Right now, we can add code examples to a video in it's corresponding JSON file: "codeExamples": [ { "title": "Random Square Design", "description": "Using the random() function to draw randomly sized squares", "image": "https://processin...

Open Graph Description: Right now, we can add code examples to a video in it's corresponding JSON file: "codeExamples": [ { "title": "Random Square Design", "description": "Using the random() function to draw randomly siz...

X Description: Right now, we can add code examples to a video in it's corresponding JSON file: "codeExamples": [ { "title": "Random Square Design", "description": "...

Opengraph URL: https://github.com/CodingTrain/thecodingtrain.com/issues/68

X: @github

direct link

Domain: github.com

IPv4 address: 140.82.114.4


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Content structure for code examples","articleBody":" Right now, we can add code examples to a video in it's corresponding JSON file:\r\n ```json\r\n\"codeExamples\": [\r\n    {\r\n      \"title\": \"Random Square Design\",\r\n      \"description\": \"Using the random() function to draw randomly sized squares\",\r\n      \"image\": \"https://processing.org/static/b8793fda1d825d4d138038d97deff7a2/b2a35/GameOfLife.webp\",\r\n      \"language\": \"p5js\",\r\n      \"folder\": \"folderWithCode\",\r\n      \"webEditor\": \"Sl8ml_Lz8\"\r\n    },\r\n...\r\n]\r\n```\r\n\r\nand the setup allows a `src` folder to be added alongside this `index.json` file, where multiple folders can be sub-added and can be referenced using the `\"folder\"` property of a code example specification.\r\n\r\nTo continue with #57 and #66, we need to add the images into this whole setup. One comes to mind:\r\n\r\nWe keep a similar approach to what we have now and add the possibility of creating an `images` folder on each video folder that contains only images. All these images can be then referenced by the `index.json` file of the video, specifically by an \"image\" property of code examples. This can also help us to add images in other parts, like for thumbnails for links. \r\n\r\nSo folders for videos would be:\r\n```\r\n[videos|journeys]\r\n└─ video-slug\r\n   ├─ index.json\r\n   ├─ src\r\n   │  ├─ code-folder-1\r\n   │  └─ ...\r\n   ├─ images\r\n   │  ├─ image1.png\r\n   │  └─ ...\r\n   └─ contributions\r\n      ├─ contribution-slug-1.json\r\n      ├─ contribution-slug-2.json\r\n      └─ ...\r\n ```\r\n \r\n and the code examples portion of `index.json` file would be:\r\n ```\r\n \"codeExamples\": [\r\n    {\r\n      \"title\": \"Random Square Design\",\r\n      \"description\": \"Using the random() function to draw randomly sized squares\",\r\n      \"image\": \"image1.png\",\r\n      \"language\": \"p5js\",\r\n      \"folder\": \"code-folder-1\",\r\n      \"webEditor\": \"Sl8ml_Lz8\"\r\n    },\r\n...\r\n]\r\n```\r\n\r\nAlso, as I'm writing this, I realize I'm not sure if every code examples would have a corresponding code folder with files. Maybe sometimes it just lives in the p5editor? ","author":{"url":"https://github.com/fdoflorenzano","@type":"Person","name":"fdoflorenzano"},"datePublished":"2022-02-14T20:10:29Z","url":"https://github.com/CodingTrain/thecodingtrain.com/issues/68"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:d748a2f4-dffd-216e-a8b0-3bfd2635734f
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id882C:121D2B:FFFE66:1538578:6B05148A
html-safe-nonce908c2982eed83c153f4ce16eea1dc3622e5a478717d9ad47d2621cfca9574082
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4ODJDOjEyMUQyQjpGRkZFNjY6MTUzODU3ODo2QjA1MTQ4QSIsInZpc2l0b3JfaWQiOiIxMjA2NDg3OTY0ODU1ODk5Mjc0IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac587fdbc60f7374adab293f4e31d3697812ebb5dc8eb6282ef65ebb40abe569a1
hovercard-subject-tagissue:1137785354
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/CodingTrain/thecodingtrain.com/68/issue_layout
twitter:imagehttps://opengraph.githubassets.com/9e6049158dfa99fd0123dade838773843086aaa94f543e3c22e809bc1fb51628/CodingTrain/thecodingtrain.com/issues/68
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/9e6049158dfa99fd0123dade838773843086aaa94f543e3c22e809bc1fb51628/CodingTrain/thecodingtrain.com/issues/68
og:image:altRight now, we can add code examples to a video in it's corresponding JSON file: "codeExamples": [ { "title": "Random Square Design", "description": "Using the random() function to draw randomly siz...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamefdoflorenzano
hostnamegithub.com
expected-hostnamegithub.com
None854d880890b5e847b3fce9d1b31f032107baeddeebad2aa379c48aa4f1451f6b
turbo-cache-controlno-preview
go-importgithub.com/CodingTrain/thecodingtrain.com git https://github.com/CodingTrain/thecodingtrain.com.git
octolytics-dimension-user_id18553964
octolytics-dimension-user_loginCodingTrain
octolytics-dimension-repository_id399865017
octolytics-dimension-repository_nwoCodingTrain/thecodingtrain.com
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id399865017
octolytics-dimension-repository_network_root_nwoCodingTrain/thecodingtrain.com
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
release220e980097d94ce616d5d11fbd5316d208e3fc93
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/CodingTrain/thecodingtrain.com/issues/68#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodingTrain%2Fthecodingtrain.com%2Fissues%2F68
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
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
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://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/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FCodingTrain%2Fthecodingtrain.com%2Fissues%2F68
Sign uphttps://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=CodingTrain%2Fthecodingtrain.com
Reloadhttps://github.com/CodingTrain/thecodingtrain.com/issues/68
Reloadhttps://github.com/CodingTrain/thecodingtrain.com/issues/68
Reloadhttps://github.com/CodingTrain/thecodingtrain.com/issues/68
CodingTrainhttps://github.com/CodingTrain
thecodingtrain.comhttps://github.com/CodingTrain/thecodingtrain.com
Codehttps://github.com/CodingTrain/thecodingtrain.com
Issues15 (15)https://github.com/CodingTrain/thecodingtrain.com/issues
Pull requests3 (3)https://github.com/CodingTrain/thecodingtrain.com/pulls
Actionshttps://github.com/CodingTrain/thecodingtrain.com/actions
Projectshttps://github.com/CodingTrain/thecodingtrain.com/projects
Security and qualityhttps://github.com/CodingTrain/thecodingtrain.com/security
Insightshttps://github.com/CodingTrain/thecodingtrain.com/insights
https://github.com/CodingTrain/thecodingtrain.com
New issuehttps://github.com/login?return_to=https://github.com/CodingTrain/thecodingtrain.com/issues/68
New issuehttps://github.com/login?return_to=https://github.com/CodingTrain/thecodingtrain.com/issues/68
Content structure for code exampleshttps://github.com/CodingTrain/thecodingtrain.com/issues/68#top
https://github.com/NwE0kmCE
https://github.com/fdoflorenzano
fdoflorenzanohttps://github.com/fdoflorenzano
on Feb 14, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issue-1137785354
#57https://github.com/CodingTrain/thecodingtrain.com/issues/57
#66https://github.com/CodingTrain/thecodingtrain.com/pull/66
fdoflorenzanohttps://github.com/fdoflorenzano
shiffmanhttps://github.com/shiffman
bravomartinhttps://github.com/bravomartin
shiffmanhttps://github.com/shiffman
bravomartinhttps://github.com/bravomartin
on Feb 14, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#event-6069897880
https://github.com/fdoflorenzano
fdoflorenzanohttps://github.com/fdoflorenzano
on Feb 14, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1039518896
https://github.com/bravomartin
bravomartinhttps://github.com/bravomartin
on Feb 15, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1040657743
this commenthttps://github.com/designsystemsinternational/thecodingtrain.com/pull/66#issuecomment-1039748942
@shiffmanhttps://github.com/shiffman
https://github.com/shiffman
shiffmanhttps://github.com/shiffman
on Feb 15, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1040695215
@bravomartinhttps://github.com/bravomartin
https://github.com/bravomartin
bravomartinhttps://github.com/bravomartin
on Feb 15, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1040709672
@shiffmanhttps://github.com/shiffman
@fdoflorenzanohttps://github.com/fdoflorenzano
https://github.com/shiffman
shiffmanhttps://github.com/shiffman
on Feb 15, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1040792274
https://user-images.githubusercontent.com/191758/154148523-0653a2af-012c-499d-bb3e-c15985dbb9f6.png
https://github.com/fdoflorenzano
fdoflorenzanohttps://github.com/fdoflorenzano
on Feb 16, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1041503828
@shiffmanhttps://github.com/shiffman
@shiffmanhttps://github.com/shiffman
https://github.com/shiffman
shiffmanhttps://github.com/shiffman
on Feb 16, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1041516945
https://github.com/NwE0kmCE
NwE0kmCEhttps://github.com/NwE0kmCE
on Feb 16, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1041919663
@shiffmanhttps://github.com/shiffman
@fdoflorenzanohttps://github.com/fdoflorenzano
@shiffmanhttps://github.com/shiffman
https://github.com/shiffman
shiffmanhttps://github.com/shiffman
on Feb 16, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1041972500
shiffmanhttps://github.com/shiffman
NwE0kmCEhttps://github.com/NwE0kmCE
shiffmanhttps://github.com/shiffman
on Feb 17, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#event-6092472790
https://github.com/shiffman
shiffmanhttps://github.com/shiffman
on Feb 17, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1043285167
https://github.com/CodingTrain/Coding-Challengeshttps://github.com/CodingTrain/Coding-Challenges
https://github.com/NwE0kmCE
NwE0kmCEhttps://github.com/NwE0kmCE
on Feb 24, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#issuecomment-1049984427
#73https://github.com/CodingTrain/thecodingtrain.com/pull/73
NwE0kmCEhttps://github.com/NwE0kmCE
completedhttps://github.com/CodingTrain/thecodingtrain.com/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Feb 24, 2022https://github.com/CodingTrain/thecodingtrain.com/issues/68#event-6133094932
Sign up for freehttps://github.com/signup?return_to=https://github.com/CodingTrain/thecodingtrain.com/issues/68
Sign in to commenthttps://github.com/login?return_to=https://github.com/CodingTrain/thecodingtrain.com/issues/68
NwE0kmCEhttps://github.com/NwE0kmCE
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

Response headers:
Servergithub.com
Content-Typetext/html; charset=utf-8
Cache-Controlmax-age=0, private, must-revalidate

Viewport: width=device-width


URLs of crawlers that visited me.