{"id":37543085,"url":"https://github.com/aolde/shortcoder","last_synced_at":"2026-01-16T08:47:47.362Z","repository":{"id":30428284,"uuid":"33981249","full_name":"aolde/shortcoder","owner":"aolde","description":"Add support for Wordpress Shortcodes in a .NET application.","archived":false,"fork":false,"pushed_at":"2016-04-06T08:50:47.000Z","size":1339,"stargazers_count":15,"open_issues_count":2,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-08-01T08:49:37.146Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C#","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/aolde.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-04-15T08:07:13.000Z","updated_at":"2022-04-12T13:16:06.000Z","dependencies_parsed_at":"2022-09-10T03:02:19.770Z","dependency_job_id":null,"html_url":"https://github.com/aolde/shortcoder","commit_stats":null,"previous_names":["simplyio/shortcoder"],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/aolde/shortcoder","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aolde%2Fshortcoder","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aolde%2Fshortcoder/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aolde%2Fshortcoder/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aolde%2Fshortcoder/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aolde","download_url":"https://codeload.github.com/aolde/shortcoder/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aolde%2Fshortcoder/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28478048,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T06:30:42.265Z","status":"ssl_error","status_checked_at":"2026-01-16T06:30:16.248Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2026-01-16T08:47:46.682Z","updated_at":"2026-01-16T08:47:47.346Z","avatar_url":"https://github.com/aolde.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Shortcoder\n\n[![Build status](https://ci.appveyor.com/api/projects/status/wn2qb1t94d8vy4bk?svg=true)](https://ci.appveyor.com/project/simplyio/shortcoder)\n\n\u003e Add support for Wordpress Shortcodes in a .NET application.\n\n## Project Status\n\n- Parsing works in most cases, but more tests need to be added for edge cases.\n\n## Installation\n\nInstall through NuGet:\n\n\u003e Install-Package Shortcoder -Pre\n\nFollow steps below to get started.\n\n## Quick Sample Usage\n\n1. Create a Shortcode class.\n\n   ```csharp\n   public class NowShortcode : Shortcode\n   {\n       public override string Generate(IShortcodeContext context)\n       {\n           return DateTime.Now.ToString();\n       }\n   }\n   ```\n\n2. Register the shortcode.\n\n   ```csharp\n   ShortcodeFactory.Provider.Add\u003cNowShortcode\u003e(tag: \"now\");\n   ```\n\n3. Parse content using registered shortcodes\n\n   ```csharp\n   var content = \"The date and time is: [now].\";\n   var parsedContent = ShortcodeFactory.Parser.Parse(body);\n   ```\n\n   *Result:*\n\n   ```\n   parsedContent == \"The date and time is: 2015-01-01 10:10:00.\"\n   ```\n\n## License\n\nSee [LICENSE](LICENSE.txt)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faolde%2Fshortcoder","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faolde%2Fshortcoder","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faolde%2Fshortcoder/lists"}