{"id":15173007,"url":"https://github.com/bryjbrown/transclude_token","last_synced_at":"2026-01-27T15:31:57.834Z","repository":{"id":188564370,"uuid":"80527658","full_name":"bryjbrown/transclude_token","owner":"bryjbrown","description":"A Drupal module for transcluding external content","archived":false,"fork":false,"pushed_at":"2020-05-02T15:59:59.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"7.x-1.x","last_synced_at":"2025-05-22T06:46:51.554Z","etag":null,"topics":["drupal","drupal7","transclusion"],"latest_commit_sha":null,"homepage":null,"language":null,"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/bryjbrown.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,"governance":null}},"created_at":"2017-01-31T14:29:36.000Z","updated_at":"2020-05-02T13:19:06.000Z","dependencies_parsed_at":"2023-08-15T22:51:41.794Z","dependency_job_id":null,"html_url":"https://github.com/bryjbrown/transclude_token","commit_stats":null,"previous_names":["bryjbrown/transclude_token"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/bryjbrown/transclude_token","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryjbrown%2Ftransclude_token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryjbrown%2Ftransclude_token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryjbrown%2Ftransclude_token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryjbrown%2Ftransclude_token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bryjbrown","download_url":"https://codeload.github.com/bryjbrown/transclude_token/tar.gz/refs/heads/7.x-1.x","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bryjbrown%2Ftransclude_token/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28815400,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-27T12:25:15.069Z","status":"ssl_error","status_checked_at":"2026-01-27T12:25:05.297Z","response_time":168,"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":["drupal","drupal7","transclusion"],"created_at":"2024-09-27T10:25:09.067Z","updated_at":"2026-01-27T15:31:57.818Z","avatar_url":"https://github.com/bryjbrown.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Transclude Token\nTransclude Token is a Drupal module that defines a token that can be used to [transclude](https://en.wikipedia.org/wiki/Transclusion) external content into a node. This can be very handy for when you want to reuse language from an outside source (or even an internal one) without having to copy and paste, which can be a pain if the outside source changes. transclude allows you to reference an @id tag in an external web page and load it dynamically, so that when the outside source changes, the reference in your page changes too.\n\n## Usage\nYou can transclude content into a Drupal node by using the transclude token, `[transclude:'https://url.to/transclude#anchor']` (be sure to quote the URL). Drupal will recognize this token, load the specified page, extract the section with the specified anchor, and output it into the node wrapped in a `\u003cblockquote class=\"transclude\"\u003e` tag.\n\nPlease note that in order for tokens to be recognized and expanded within nodes, the token_filter module must be enabled along with token replacement in any text format that it may be used with. See [http://www.ryanwright.me/cookbook/drupal7/contrib-modules/token-filter](http://www.ryanwright.me/cookbook/drupal7/contrib-modules/token-filter) for more information on how to configure token replacement in nodes.\n\n## Prepping external content for transclusion\nIf you are in control of the external content to be transcluded, the easiest way to make it transclusion-friendly is to wrap the content you want to transclude in a `\u003cdiv id=\"name\"\u003e` tag. The transclusion token will then grab all of the content inside that `\u003cdiv\u003e`. Note that the transcluded content does not have to be inside any particular element, but `\u003cdiv\u003e` and `\u003cspan\u003e` are the most semantically valid choices.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryjbrown%2Ftransclude_token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbryjbrown%2Ftransclude_token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbryjbrown%2Ftransclude_token/lists"}