{"id":16748385,"url":"https://github.com/gnestor/google-doc","last_synced_at":"2025-04-10T13:52:36.474Z","repository":{"id":22789166,"uuid":"26135392","full_name":"gnestor/google-doc","owner":"gnestor","description":"A web component to import Google Doc content into a webpage","archived":false,"fork":false,"pushed_at":"2015-10-09T20:17:04.000Z","size":1349,"stargazers_count":10,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-07T23:06:28.422Z","etag":null,"topics":["google-docs","polymer","web-components"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gnestor.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-11-03T19:41:38.000Z","updated_at":"2020-01-28T21:02:22.000Z","dependencies_parsed_at":"2022-08-21T12:00:20.970Z","dependency_job_id":null,"html_url":"https://github.com/gnestor/google-doc","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnestor%2Fgoogle-doc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnestor%2Fgoogle-doc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnestor%2Fgoogle-doc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gnestor%2Fgoogle-doc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gnestor","download_url":"https://codeload.github.com/gnestor/google-doc/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248228760,"owners_count":21068749,"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","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":["google-docs","polymer","web-components"],"created_at":"2024-10-13T02:12:32.204Z","updated_at":"2025-04-10T13:52:36.453Z","avatar_url":"https://github.com/gnestor.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# \u0026lt;google-doc\u0026gt;\n\nA web component to import Google Doc content into a webpage.\n\nSee the [component page](http://gnestor.github.io/google-doc) for more information.\n\n## Usage\n`\u003cgoogle-doc key=\"1dOEs7hBddMhZsuOGJ7J8ku5FhYdD2Ox_iZo-v23j_Ho\"\u003e\u003c/google-doc\u003e`\n\n## Properties\n`\u003cgoogle-doc key=\"1dOEs7hBddMhZsuOGJ7J8ku5FhYdD2Ox_iZo-v23j_Ho\" selector=\"img\" styles\u003e\u003c/google-doc\u003e`\n#### key\nThe key of the Google Doc that can be found in the URL after \"https://docs.google.com/document/d/\" and before \"/edit.\"\n\n*Note that the Google Doc must be published. To publish a document, go to File \u003e Publish to the web... \u003e Publish.*\n\n#### selector\nA [selector or selectors](https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Getting_Started/Selectors) (uses [querySelectorAll](https://developer.mozilla.org/en-US/docs/Web/API/Element/querySelectorAll)) to select only specific elements from your document (e.g. images).\n\n#### styles\nInclude to preserve styles from document (defaults to false).\n\n## Demo\n[http://gnestor.github.io/google-doc/components/google-doc/demo.html](http://gnestor.github.io/google-doc/components/google-doc/demo.html)\n\n## Install\n\nThis web component requires [Polymer](http://www.polymer-project.org).\n\n1. Install google-doc component `bower install google-doc`\n2. Import Polymer script `\u003cscript src=\"/bower_components/webcomponentsjs/webcomponents-lite.min.js\"\u003e\u003c/script\u003e` then google-doc component `\u003clink rel=\"import\" href=\"bower_components/google-doc/google-doc.html\" /\u003e`\n3. Use `\u003cgoogle-doc key=\"\u003cGOOGLE_DOC_KEY\u003e\"\u003e\u003c/google-doc\u003e` element\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnestor%2Fgoogle-doc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgnestor%2Fgoogle-doc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgnestor%2Fgoogle-doc/lists"}