{"id":31738186,"url":"https://github.com/tmpmachine/blogger-js-comment-section","last_synced_at":"2025-10-17T12:50:36.885Z","repository":{"id":315700455,"uuid":"1060536679","full_name":"tmpmachine/blogger-js-comment-section","owner":"tmpmachine","description":null,"archived":false,"fork":false,"pushed_at":"2025-09-20T05:31:18.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-09-20T07:11:29.513Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tmpmachine.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-09-20T05:10:21.000Z","updated_at":"2025-09-20T05:31:22.000Z","dependencies_parsed_at":"2025-09-20T07:11:38.963Z","dependency_job_id":"f0f2505f-6b11-43c0-88f5-0c8b736b6f15","html_url":"https://github.com/tmpmachine/blogger-js-comment-section","commit_stats":null,"previous_names":["tmpmachine/blogger-js-comment-section"],"tags_count":null,"template":false,"template_full_name":null,"purl":"pkg:github/tmpmachine/blogger-js-comment-section","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpmachine%2Fblogger-js-comment-section","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpmachine%2Fblogger-js-comment-section/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpmachine%2Fblogger-js-comment-section/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpmachine%2Fblogger-js-comment-section/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tmpmachine","download_url":"https://codeload.github.com/tmpmachine/blogger-js-comment-section/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tmpmachine%2Fblogger-js-comment-section/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001065,"owners_count":26083022,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-09T02:00:07.460Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-09T09:55:28.733Z","updated_at":"2025-10-09T09:55:29.818Z","avatar_url":"https://github.com/tmpmachine.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# blogger-js-comment-section\n\nThis loads Blogger post comments. Clicking the Reply button on each comment will show an embedded comment from to reply.\n\n![Blogger threaded comments displayed using JavaScript](https://blogger.googleusercontent.com/img/a/AVvXsEjo3BNobLlVu99pj9dHaxotsWSZWJRYYFvgy6cTXgOoZBfAivLla5fNibFcUk97xC7sUH80LPQiFTwuxxxCb_eElWLGVmd-vqgOY_CVlV43hLvW2JDOu3UDp97Pv8KSm9IY_ha9ODmeX15828LR4uNew3MSKJq-Cd4aUbcwRhjlCZENgVqdLdgtJ_6m-WbI)\n\nTech:\n- Blogger API v3\n\nRequirements:\n- Blogger API key\n\n## How-To\n\nNote: Implementation may vary.\n\nCreate a container for the comments:\n```html\n\u003cdiv class=\"_comments\"\u003e\u003c/div\u003e\n```\n\nThen load the script after.\n\nUpdate the following line with your API key:\n```js\nconst API_KEY = '';\n```\n\nThe blog ID and post ID should automatically set. But if it's not, e.g. due to template customization, you should provide it from here:\n```js\nconst dataBlogId = $('._dataBlogId')?.textContent;\nconst dataPostId = $('._dataPostId')?.textContent;\nconst BLOG_ID = dataBlogId || $('head link[rel=\"service.post\"]')?.href.split('feeds/')[1].split('/')[0];\nconst POST_ID = dataPostId || Array.from($$('head link[type=\"application/atom+xml\"]')).find(e =\u003e e.href.includes('comments/default'))?.href.split('feeds/')[1].split('/')[0];\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmpmachine%2Fblogger-js-comment-section","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftmpmachine%2Fblogger-js-comment-section","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftmpmachine%2Fblogger-js-comment-section/lists"}