{"id":27646059,"url":"https://github.com/in2code-de/fetchurl","last_synced_at":"2025-04-24T01:16:20.716Z","repository":{"id":56990696,"uuid":"59497967","full_name":"in2code-de/fetchurl","owner":"in2code-de","description":"Extension fetchurl for TYPO3: Fetch and display remote content in a TYPO3 instance, via iframe or inline","archived":false,"fork":false,"pushed_at":"2025-02-17T14:56:12.000Z","size":518,"stargazers_count":2,"open_issues_count":0,"forks_count":5,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-04-24T01:16:16.779Z","etag":null,"topics":["contentreplace","iframe","typo3","typo3-cms-extension"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/in2code-de.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-23T16:12:20.000Z","updated_at":"2025-02-17T14:26:23.000Z","dependencies_parsed_at":"2022-08-21T10:10:54.075Z","dependency_job_id":null,"html_url":"https://github.com/in2code-de/fetchurl","commit_stats":null,"previous_names":[],"tags_count":22,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Ffetchurl","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Ffetchurl/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Ffetchurl/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/in2code-de%2Ffetchurl/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/in2code-de","download_url":"https://codeload.github.com/in2code-de/fetchurl/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250540935,"owners_count":21447428,"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":["contentreplace","iframe","typo3","typo3-cms-extension"],"created_at":"2025-04-24T01:16:20.105Z","updated_at":"2025-04-24T01:16:20.708Z","avatar_url":"https://github.com/in2code-de.png","language":"PHP","funding_links":[],"categories":[],"sub_categories":[],"readme":"# TYPO3 Extension fetchurl\n\n## Purpose\n\nThe task of this extension is to fetch an URL from the internet and display it on a website.\n\n## Features\n\n* The fetched URLs can be display inline or as an iframe.\n* If the URLs is displayed in an iframe, it is possible to activate an \"IFrame-Switch\" to ensure privacy\n\n## Installation\n\n### via composer\n\n`composer require in2code/fetchurl`\n\n### via the TYPO3 Extension Manager\n\n* go to the TYPO3 Module \"Admin Tools\" =\u003e \"Extensions\"\n* search for \"fetchurl\"\n* import and activate the extension\n\nor\n\n* download the extension from https://extensions.typo3.org/extension/fetchurl\n* go to the TYPO3 Module \"Admin Tools\" =\u003e \"Extensions\"\n* upload the extension (if it's already installed, set the checkmark for \"overwrite\")\n* activate the extension\n\n\n## Configuration\n\n### Templating\n\nCopy the folder contents from EXT:fetchurl/Resources/Private/Templates/ to any location and set the new path via\nTypoScript setup:\n\n```\nplugin.tx_fetchurl {\n\tview {\n\t\ttemplateRootPaths.1 = EXT:myextension/Resources/Private/Templates/Fetchurl/\n\t}\n}\n```\n\n### Activate Features\n\nActivate the iframe switch and link to your privacy page\n\n```\nplugin.tx_fetchurl_pi1 {\n    settings {\n        useIframeSwitch = 1 // \u003c- default is \"1\"\n        pidPrivacy = 8945 // replace with your own pid\n    }\n}\n\n```\n\n\n### Append additional parameters\n\nIt is possible to attach additional parameters to all requests of EXT:fetchurl.\\\nThis is done with the TypoScript keys \"**additionalParameter.static**\" and \"**additionalParameter.iframe**\".\n\nExisting parameters and the original fragment are kept.\n\n```\nplugin.tx_fetchurl_pi1 {\n    settings {\n        additionalParameter {\n            static {\n                # a static value\n                foo = bar\n                # value with TypoScript stdWrap\n                foo2 = TEXT\n                foo2.value = bar2\n            }\n\n            iframe {\n                # a static value\n                foo = bar\n                # value with TypoScript stdWrap\n                foo2 = TEXT\n                foo2.value = bar2\n            }\n        }\n    }\n}\n```\n\n**Note:**\nIf a parameter is specified in the url and also set by TypoScript, the value in the original url is overwritten and the\nvalue from TypoScript is used.\n\nSee the example below (for `parameterName=parameterValue`):\n\n| flexform url                                      | final url                                                    |\n|---------------------------------------------------|--------------------------------------------------------------|\n| https://example.com/                              | https://example.com/?parameterName=parameterValue            |\n| https://example.com/#c123                         | https://example.com/?parameterName=parameterValue#c123       |\n| https://example.com/?id=12#c123                   | https://example.com/?id=12\u0026parameterName=parameterValue#c123 |\n| https://example.com/?id=12\u0026parameterName=abc#c123 | https://example.com/?id=12\u0026parameterName=parameterValue#c123 |\n\n\n## Events\n\n| Signal class name                              | Event name          | information                                           |\n|------------------------------------------------|---------------------|-------------------------------------------------------|\n| \\In2code\\Fetchurl\\Domain\\Service\\FetchService  | AfterUrlBuildEvent  | after the protocol and additional parameter are added |\n| \\In2code\\Fetchurl\\Domain\\Service\\FetchService  | AfterHtmlFetchEvent | after the content fetched                             |\n| \\In2code\\Fetchurl\\Domain\\Service\\IframeService | AfterUrlBuildEvent  | after the protocol and additional parameter are added |\n\n\n## Screenshots\n\nFrontend example:\n![Frontend example](Documentation/Images/frontend.png)\n\nPlugin for editors in backend:\n![Backend example](Documentation/Images/backend.png)\n\nExample for a privacy save 2-click-solution:\n![Backend example](Documentation/Images/iframeswitch.png)\n\n\n## Changelog\n\n| Version | Date       | State   | Description                                                                                                           |\n|---------|------------|---------|-----------------------------------------------------------------------------------------------------------------------|\n| 6.0.0   | 2025-02-17 | Feature | Support TYPO3 13 / 12 and drop 11 support                                                                             |\n| 5.0.3   | 2023-11-26 | Bugfix  | Tiny bugfix                                                                                                           |\n| 5.0.2   | 2023-11-25 | Bugfix  | Fix GH action for TER release                                                                                         |\n| 5.0.1   | 2023-11-25 | Bugfix  | two tiny bugfixes                                                                                                     |\n| 5.0.0   | 2023-07-07 | Feature | TYPO3 V12 compatibility, switchable controller actions to CTypes, upgrade wizards added, replaced signals with events |\n| 4.5.2   | 2021-03-17 | Bugfix  | Add extension key to composer.json, small development updates                                                         |\n| 4.5.1   | 2021-03-05 | Bugfix  | Adjust composer.json                                                                                                  |\n| 4.5.0   | 2021-03-05 | Feature | Support TYPO3 11                                                                                                      |\n| 4.4.2   | 2021-03-04 | Task    | First TER release by @in2code-de                                                                                      |\n| 4.4.1   | 2021-02-22 | Bugfix  | Allow urls starting with \"//\"                                                                                         |\n| 4.4.0   | 2020-08-19 | Task    | Don't add empty values to additionalparameters                                                                        |\n| 4.3.0   | 2020-08-18 | Feature | Allow typoscript stdwrap for additionalparameters                                                                     |\n| 4.2.0   | 2020-08-13 | Feature | Add typoscript option to add additional parameter to the flexform url, add \"afterUrlBuild\" signals                    |\n| 4.1.1   | 2020-08-13 | Bugfix  | Replace signalSlogDispatcher phpDoc injection with method injection                                                   |\n| 4.1.0   | 2020-04-24 | Feature | Declare extension compatible with TYPO3 V10                                                                           |\n| 4.0.2   | 2020-03-10 | Bugfix  | Remove sandbox-attribute of the iframe                                                                                |\n| 4.0.1   | 2020-03-02 | Bugfix  | Fix small typo in template file                                                                                       |\n| 4.0.0   | 2020-02-27 | Feature | Add a 2-click solution for iframes                                                                                    |\n| 3.5.0   | 2019-07-29 | Task    | Use subtree split in composer for TYPO3 core                                                                          |\n| 3.4.0   | 2017-02-18 | !!!Task | Small refactoring, allow url without protocol                                                                         |\n| 3.3.1   | 2017-02-16 | Bugfix  | Show additional fields if plugin mode == iframe                                                                       |\n| 3.3.0   | 2017-02-01 | Feature | Set iFrame width and scrollbars in FlexForm                                                                           |\n| 3.2.0   | 2017-02-01 | Feature | Set iFrame height in FlexForm                                                                                         |\n| 3.1.0   | 2016-12-22 | Task    | Remove refactor ext_tables.php for T3 8.5 and newer                                                                   |\n| 3.0.2   | 2016-12-02 | Bugfix  | Remove version from composer.json                                                                                     |\n| 3.0.1   | 2016-12-02 | Bugfix  | Hide not needed tt_content fields                                                                                     |\n| 3.0.0   | 2016-11-28 | Task    | Add iframe feature                                                                                                    |\n| 2.0.0   | 2016-05-23 | Initial | Initial release of the fork of typo3-ter/fetch-url                                                                    |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Ffetchurl","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fin2code-de%2Ffetchurl","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fin2code-de%2Ffetchurl/lists"}