{"id":23050834,"url":"https://github.com/geta/tags","last_synced_at":"2025-08-15T03:31:43.105Z","repository":{"id":4864867,"uuid":"6019699","full_name":"Geta/Tags","owner":"Geta","description":"Geta Tags for EPiServer CMS","archived":false,"fork":false,"pushed_at":"2023-01-19T17:09:42.000Z","size":53774,"stargazers_count":20,"open_issues_count":19,"forks_count":34,"subscribers_count":32,"default_branch":"master","last_synced_at":"2023-04-10T16:50:58.977Z","etag":null,"topics":["cms","episerver"],"latest_commit_sha":null,"homepage":null,"language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mtymek/codebasehq-sdk","license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Geta.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2012-09-30T15:49:12.000Z","updated_at":"2023-01-19T17:09:47.000Z","dependencies_parsed_at":"2023-02-11T11:45:51.986Z","dependency_job_id":null,"html_url":"https://github.com/Geta/Tags","commit_stats":null,"previous_names":[],"tags_count":18,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FTags","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FTags/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FTags/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Geta%2FTags/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Geta","download_url":"https://codeload.github.com/Geta/Tags/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":229890100,"owners_count":18140042,"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":["cms","episerver"],"created_at":"2024-12-15T23:38:49.737Z","updated_at":"2024-12-15T23:38:50.309Z","avatar_url":"https://github.com/Geta.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Geta Tags for EPiServer\n\n* Master\u003cbr\u003e\n![](http://tc.geta.no/app/rest/builds/buildType:(id:GetaPackages_GetaTags_00ci),branch:master/statusIcon)\n[![Platform](https://img.shields.io/badge/Platform-.NET%204.6.1-blue.svg?style=flat)](https://msdn.microsoft.com/en-us/library/w0x726c2%28v=vs.110%29.aspx)\n[![Platform](https://img.shields.io/badge/EPiServer-%2011-orange.svg?style=flat)](http://world.episerver.com/cms/)\n\n## Optimizely CMS12?\n\nLooking for for Optimizely CMS12 supprot? We slightly changed the name of the package. Head [over there](https://github.com/Geta/geta-optimizely-tags) for more information.\n\n## Description\n\nGeta Tags is a library that adds tagging functionality to EPiServer content.\n\n## Features\n\n- Define tag properties\n- Query for data\n- Admin page for managing tags\n- Tags maintenance schedule job\n\nSee the [editor guide](docs/editor-guide.md) for more information.\n\n## How to get started?\n\nStart by installing NuGet package (use [EPiServer NuGet](http://nuget.episerver.com/)):\n\n    Install-Package Geta.Tags\n\nThe latest version is compiled for .NET 4.6.1 and EPiServer 11.\nGeta Tags library uses [tag-it](https://github.com/aehlke/tag-it) jQuery UI plugin for selecting tags.\nTo add Tags as a new property to your page types you need to use the UIHint attribute like in this example:\n\n```csharp\n[UIHint(\"Tags\")]\npublic virtual string Tags { get; set; }\n\n[TagsGroupKey(\"mykey\")]\n[UIHint(\"Tags\")]\npublic virtual string Tags { get; set; }\n\n[CultureSpecific]\n[UIHint(\"Tags\")]\npublic virtual string Tags { get; set; }\n```\n\nUse ITagEngine to query for data:\n\n```csharp\nIEnumerable\u003cContentData\u003e GetContentByTag(string tagName);\nIEnumerable\u003cContentData\u003e GetContentsByTag(Tag tag);\nIEnumerable\u003cContentData\u003e GetContentsByTag(string tagName, ContentReference rootContentReference);\nIEnumerable\u003cContentData\u003e GetContentsByTag(Tag tag, ContentReference rootContentReference);\nIEnumerable\u003cContentReference\u003e GetContentReferencesByTags(string tagNames);\nIEnumerable\u003cContentReference\u003e GetContentReferencesByTags(IEnumerable\u003cTag\u003e tags);\nIEnumerable\u003cContentReference\u003e GetContentReferencesByTags(string tagNames, ContentReference rootContentReference);\nIEnumerable\u003cContentReference\u003e GetContentReferencesByTags(IEnumerable\u003cTag\u003e tags, ContentReference rootContentReference);\n```\n\n## Customize Tag-it behaviour\nYou can customize the [Tag-it.js](https://github.com/aehlke/tag-it) settings by using the GetaTagsAttribute.\nThe following settings can currently be customized\n\n- allowSpaces - defaults to **false**\n- allowDuplicates - defaults to **false**\n- caseSensitive - defaults to **true**\n- readOnly - defaults to **false**\n- tagLimit - defaults to **-1** (none)\n\n```csharp\n[CultureSpecific]\n[UIHint(\"Tags\")]\n[GetaTags(AllowSpaces = true, AllowDuplicates = true, CaseSensitive = false, ReadOnly = true)]\npublic virtual string Tags { get; set; }\n```\n\n## Local development setup\n\nSee description in [shared repository](https://github.com/Geta/package-shared/blob/master/README.md#local-development-set-up) regarding how to setup local development environment.\n\n### Docker hostnames\n\nInstead of using the static IP addresses the following hostnames can be used out-of-the-box.\n\n- http://tags.getalocaltest.me\n\n## Package maintainer\n\nhttps://github.com/patkleef\n\n## Changelog\n\n[Changelog](CHANGELOG.md)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Ftags","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgeta%2Ftags","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgeta%2Ftags/lists"}