{"id":16316623,"url":"https://github.com/philippfrenzel/yii2pinit","last_synced_at":"2025-05-06T14:13:32.280Z","repository":{"id":14687780,"uuid":"17407418","full_name":"philippfrenzel/yii2pinit","owner":"philippfrenzel","description":"Pin It Button for Yii2","archived":false,"fork":false,"pushed_at":"2014-03-06T12:02:42.000Z","size":180,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-16T18:19:30.334Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/philippfrenzel.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-03-04T15:48:04.000Z","updated_at":"2014-03-06T12:02:43.000Z","dependencies_parsed_at":"2022-08-23T23:31:03.250Z","dependency_job_id":null,"html_url":"https://github.com/philippfrenzel/yii2pinit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2pinit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2pinit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2pinit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/philippfrenzel%2Fyii2pinit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/philippfrenzel","download_url":"https://codeload.github.com/philippfrenzel/yii2pinit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252699561,"owners_count":21790680,"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":[],"created_at":"2024-10-10T22:05:11.544Z","updated_at":"2025-05-06T14:13:32.263Z","avatar_url":"https://github.com/philippfrenzel.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"yii2pinit\n=========\n\nPin It Button for Yii2\n\n\nSetup\n=====\n\nPls add the image you want to show as overlay to your pictures within the folder\n\nweb/img/pinterest.png\n\nShould be interlaced and not to big;)\n\nSample CKEDITOR\n===============\n\n```php\n$pinterest = \u003c\u003c\u003c SCRIPT\n{instanceReady: function() {\n  this.dataProcessor.htmlFilter.addRules({\n      elements: {\n          img: function( el ) {\n              if ( !el.attributes.alt )\n                  el.attributes.alt = 'pinterest-image';\n              var fragment = CKEDITOR.htmlParser.fragment.fromHtml( '\u003cdiv class=\"pinterest-image\"\u003e'+el.getOuterHtml()+'\u003c/div\u003e' );\n              el.replaceWith(fragment);\n          }\n      }\n  });          \n}}\nSCRIPT;\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2pinit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fphilippfrenzel%2Fyii2pinit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fphilippfrenzel%2Fyii2pinit/lists"}